Condividi tramite


PurviewAccountClient.UpdateAccountPropertiesAsync Method

Definition

Updates an account.

public virtual System.Threading.Tasks.Task<Azure.Response> UpdateAccountPropertiesAsync (Azure.Core.RequestContent content, Azure.RequestOptions options = default);
abstract member UpdateAccountPropertiesAsync : Azure.Core.RequestContent * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
override this.UpdateAccountPropertiesAsync : Azure.Core.RequestContent * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function UpdateAccountPropertiesAsync (content As RequestContent, Optional options As RequestOptions = Nothing) As Task(Of Response)

Parameters

content
RequestContent

The content to send as the body of the request.

options
Azure.RequestOptions

The request options.

Returns

Exceptions

content is null.

Remarks

Schema for Request Body:

{
              friendlyName: string
            }

Schema for 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
            }

Schema for Response Error:

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

Applies to