您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

秘密资源属性SecretResourceProperties

描述机密资源的属性。Describes the properties of a secret resource.

属性Properties

名称Name 类型Type 必选Required
description 字符串string No
status 字符串(枚举)string (enum) No
statusDetails 字符串string No
contentType 字符串string No

description

类型: 字符串Type: string
必需: 否Required: No

用户可读的机密说明。User readable description of the secret.


status

类型: 字符串 (枚举)Type: string (enum)
必需: 否Required: No

资源的状态。Status of the resource.

可能的值包括:Possible values are:

  • Unknown- 指示资源状态未知。Unknown - Indicates the resource status is unknown. 值为 0。The value is zero.
  • Ready- 指示资源已准备就绪。Ready - Indicates the resource is ready. 值为 1。The value is 1.
  • Upgrading- 指示资源正在升级。Upgrading - Indicates the resource is upgrading. 值为 2。The value is 2.
  • Creating- 指示正在创建资源。Creating - Indicates the resource is being created. 值为 3。The value is 3.
  • Deleting- 指示正在删除资源。Deleting - Indicates the resource is being deleted. 值为 4。The value is 4.
  • Failed- 指示由于持续故障,资源无法正常工作。Failed - Indicates the resource is not functional due to persistent failures. 有关详细信息,请参阅状态详细信息属性。See statusDetails property for more details. 值为 5。The value is 5.

statusDetails

类型: 字符串Type: string
必需: 否Required: No

提供有关机密当前状态的其他信息。Gives additional information about the current status of the secret.


contentType

类型: 字符串Type: string
必需: 否Required: No

存储在机密值中的内容的类型。The type of the content stored in the secret value. 此属性的值对服务结构不透明。The value of this property is opaque to Service Fabric. 设置后,无法更改此属性的值。Once set, the value of this property cannot be changed.