NamespaceCreateOrUpdateParameters interface
提供给 CreateOrUpdate 命名空间作的参数。
- 扩展
属性
| created |
创建命名空间的时间。 |
| critical | 命名空间是否设置为“严重”。 |
| data |
命名空间的数据中心 |
| enabled | 命名空间当前是否已启用。 |
| metric |
Azure Insights 指标的标识符注意:此属性不会序列化。 它只能由服务器填充。 |
| name |
命名空间的名称。 |
| namespace |
命名空间类型。 |
| provisioning |
命名空间的预配状态。 |
| region | 指定应在其中创建命名空间的目标区域。 可以是以下任何值:澳大利亚东部、澳大利亚东南部、美国中部、美国东部、美国东部 2、美国西部、美国中北部、美国中南部、东亚、东南亚、巴西南部、日本东部、日本西部、北欧、西欧 |
| scale |
在其中创建命名空间的 ScaleUnit |
| service |
可用于执行 NotificationHub作的终结点。 |
| status | 命名空间的状态。 可以是以下任何值:1 = Created/Active2 = Creating3 = Suspended4 = 删除 |
| subscription |
与命名空间关联的 Azure 订阅的 ID。 |
| updated |
命名空间的更新时间。 |
继承属性
| id | 资源 ID 注意:此属性不会序列化。 它只能由服务器填充。 |
| location | 资源位置 |
| name | 资源名称注意:此属性不会序列化。 它只能由服务器填充。 |
| sku | 创建的命名空间的 SKU |
| tags | 资源标记 |
| type | 资源类型注意:此属性不会序列化。 它只能由服务器填充。 |
属性详细信息
createdAt
创建命名空间的时间。
createdAt?: Date
属性值
Date
critical
命名空间是否设置为“严重”。
critical?: boolean
属性值
boolean
dataCenter
命名空间的数据中心
dataCenter?: string
属性值
string
enabled
命名空间当前是否已启用。
enabled?: boolean
属性值
boolean
metricId
Azure Insights 指标的标识符注意:此属性不会序列化。 它只能由服务器填充。
metricId?: string
属性值
string
namePropertiesName
命名空间的名称。
namePropertiesName?: string
属性值
string
namespaceType
provisioningState
命名空间的预配状态。
provisioningState?: string
属性值
string
region
指定应在其中创建命名空间的目标区域。 可以是以下任何值:澳大利亚东部、澳大利亚东南部、美国中部、美国东部、美国东部 2、美国西部、美国中北部、美国中南部、东亚、东南亚、巴西南部、日本东部、日本西部、北欧、西欧
region?: string
属性值
string
scaleUnit
在其中创建命名空间的 ScaleUnit
scaleUnit?: string
属性值
string
serviceBusEndpoint
可用于执行 NotificationHub作的终结点。
serviceBusEndpoint?: string
属性值
string
status
命名空间的状态。 可以是以下任何值:1 = Created/Active2 = Creating3 = Suspended4 = 删除
status?: string
属性值
string
subscriptionId
与命名空间关联的 Azure 订阅的 ID。
subscriptionId?: string
属性值
string
updatedAt
命名空间的更新时间。
updatedAt?: Date
属性值
Date