你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
GlobalSchemaContract 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GlobalSchemaContract() |
初始化 GlobalSchemaContract 类的新实例。 |
GlobalSchemaContract(String, String, String, String, String, Object, Object) |
初始化 GlobalSchemaContract 类的新实例。 |
GlobalSchemaContract()
初始化 GlobalSchemaContract 类的新实例。
public GlobalSchemaContract();
Public Sub New ()
适用于
GlobalSchemaContract(String, String, String, String, String, Object, Object)
初始化 GlobalSchemaContract 类的新实例。
public GlobalSchemaContract(string schemaType, string id = default, string name = default, string type = default, string description = default, object value = default, object document = default);
new Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract : string * string * string * string * string * obj * obj -> Microsoft.Azure.Management.ApiManagement.Models.GlobalSchemaContract
Public Sub New (schemaType As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional description As String = Nothing, Optional value As Object = Nothing, Optional document As Object = Nothing)
参数
- schemaType
- String
架构类型。 不可变。 可能的值包括:“Xml”、“Json”
- id
- String
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”
- description
- String
自由格式的架构实体说明。
- value
- Object
非基于 json 的架构的 Json 编码字符串。
- document
- Object
基于 json 的架构格式的全局架构文档对象 (例如 json 架构) 。