Partager via


PurviewAccountClient.UpdateAccountProperties Méthode

Définition

Mises à jour un compte.

public virtual Azure.Response UpdateAccountProperties (Azure.Core.RequestContent content, Azure.RequestOptions options = default);
abstract member UpdateAccountProperties : Azure.Core.RequestContent * Azure.RequestOptions -> Azure.Response
override this.UpdateAccountProperties : Azure.Core.RequestContent * Azure.RequestOptions -> Azure.Response
Public Overridable Function UpdateAccountProperties (content As RequestContent, Optional options As RequestOptions = Nothing) As Response

Paramètres

content
RequestContent

Contenu à envoyer en tant que corps de la demande.

options
Azure.RequestOptions

Options de demande.

Retours

Exceptions

content a la valeur null.

Remarques

Schéma pour Request Body:

{
              friendlyName: string
            }

Schéma pour Response Body:

{
              id: string,
              identity: {
                principalId: string,
                tenantId: string,
                type: "SystemAssigned"
              },
              location: string,
              name: string,
              properties: {
                cloudConnectors: {
                  awsExternalId: string
                },
                createdAt: string (ISO 8601 Format),
                createdBy: string,
                createdByObjectId: string,
                endpoints: {
                  catalog: string,
                  guardian: string,
                  scan: string
                },
                friendlyName: string,
                managedResourceGroupName: string,
                managedResources: {
                  eventHubNamespace: string,
                  resourceGroup: string,
                  storageAccount: string
                },
                privateEndpointConnections: [
                  {
                    id: string,
                    name: string,
                    properties: {
                      privateEndpoint: {
                        id: string
                      },
                      privateLinkServiceConnectionState: {
                        actionsRequired: string,
                        description: string,
                        status: "Unknown" | "Pending" | "Approved" | "Rejected" | "Disconnected"
                      },
                      provisioningState: string
                    },
                    type: string
                  }
                ],
                provisioningState: "Unknown" | "Creating" | "Moving" | "Deleting" | "SoftDeleting" | "SoftDeleted" | "Failed" | "Succeeded" | "Canceled",
                publicNetworkAccess: "NotSpecified" | "Enabled" | "Disabled"
              },
              sku: {
                capacity: number,
                name: "Standard"
              },
              systemData: {
                createdAt: string (ISO 8601 Format),
                createdBy: string,
                createdByType: "User" | "Application" | "ManagedIdentity" | "Key",
                lastModifiedAt: string (ISO 8601 Format),
                lastModifiedBy: string,
                lastModifiedByType: "User" | "Application" | "ManagedIdentity" | "Key"
              },
              tags: Dictionary<string, string>,
              type: string
            }

Schéma pour Response Error:

{
              error: {
                code: string,
                details: [
                  {
                    code: string,
                    details: [ErrorModel],
                    message: string,
                    target: string
                  }
                ],
                message: string,
                target: string
              }
            }

S’applique à