PurviewAccountClient.UpdateAccountProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates an account.
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
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET