你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AuthorizationContract interface

授权协定。

扩展

属性

authorizationType

授权类型选项

error

授权错误详细信息。

oAuth2GrantType

OAuth2 授权类型选项

parameters

授权参数

status

授权状态

继承属性

id

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。 它只能由服务器填充。

name

资源的名称 注意:此属性不会被序列化。 它只能由服务器填充。

type

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

authorizationType

授权类型选项

authorizationType?: string

属性值

string

error

授权错误详细信息。

error?: AuthorizationError

属性值

oAuth2GrantType

OAuth2 授权类型选项

oAuth2GrantType?: string

属性值

string

parameters

授权参数

parameters?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

status

授权状态

status?: string

属性值

string

继承属性详细信息

id

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} 注意:此属性不会序列化。 它只能由服务器填充。

id?: string

属性值

string

继承自ProxyResource.id

name

资源的名称 注意:此属性不会被序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自ProxyResource.name

type

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自ProxyResource.type