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

ResourceModelWithAllowedPropertySet 构造函数

定义

重载

ResourceModelWithAllowedPropertySet()

初始化 ResourceModelWithAllowedPropertySet 类的新实例。

ResourceModelWithAllowedPropertySet(String, String, String, String, String, String, String, IDictionary<String,String>, ResourceModelWithAllowedPropertySetIdentity, ResourceModelWithAllowedPropertySetSku, ResourceModelWithAllowedPropertySetPlan)

初始化 ResourceModelWithAllowedPropertySet 类的新实例。

ResourceModelWithAllowedPropertySet()

初始化 ResourceModelWithAllowedPropertySet 类的新实例。

public ResourceModelWithAllowedPropertySet ();
Public Sub New ()

适用于

ResourceModelWithAllowedPropertySet(String, String, String, String, String, String, String, IDictionary<String,String>, ResourceModelWithAllowedPropertySetIdentity, ResourceModelWithAllowedPropertySetSku, ResourceModelWithAllowedPropertySetPlan)

初始化 ResourceModelWithAllowedPropertySet 类的新实例。

public ResourceModelWithAllowedPropertySet (string id = default, string name = default, string type = default, string location = default, string managedBy = default, string kind = default, string etag = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.KubernetesConfiguration.Extensions.Models.ResourceModelWithAllowedPropertySetIdentity identity = default, Microsoft.Azure.Management.KubernetesConfiguration.Extensions.Models.ResourceModelWithAllowedPropertySetSku sku = default, Microsoft.Azure.Management.KubernetesConfiguration.Extensions.Models.ResourceModelWithAllowedPropertySetPlan plan = default);
new Microsoft.Azure.Management.KubernetesConfiguration.Extensions.Models.ResourceModelWithAllowedPropertySet : string * string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.KubernetesConfiguration.Extensions.Models.ResourceModelWithAllowedPropertySetIdentity * Microsoft.Azure.Management.KubernetesConfiguration.Extensions.Models.ResourceModelWithAllowedPropertySetSku * Microsoft.Azure.Management.KubernetesConfiguration.Extensions.Models.ResourceModelWithAllowedPropertySetPlan -> Microsoft.Azure.Management.KubernetesConfiguration.Extensions.Models.ResourceModelWithAllowedPropertySet
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional managedBy As String = Nothing, Optional kind As String = Nothing, Optional etag As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As ResourceModelWithAllowedPropertySetIdentity = Nothing, Optional sku As ResourceModelWithAllowedPropertySetSku = Nothing, Optional plan As ResourceModelWithAllowedPropertySetPlan = Nothing)

参数

id
String

资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

资源的名称

type
String

资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”

location
String

资源所在的地理位置

managedBy
String

管理此资源的资源的完全限定的资源 ID。 指示此资源是否由另一个 Azure 资源管理。 如果存在这种情况,如果从模板中删除资源,则完整模式部署不会删除该资源,因为它由另一个资源管理。

kind
String

门户/工具等用于呈现相同类型资源的不同 UX 体验的元数据;例如,ApiApps 是一种 Microsoft.Web/sites 类型。 如果受支持,资源提供程序必须验证并保留此值。

etag
String

etag 字段 是必需的。 如果响应正文中提供了它,则还必须根据常规 etag 约定将其作为标头提供。 实体标记用于比较同一请求资源中的两个或多个实体。 HTTP/1.1 使用 etag (第 14.19 节) 、If-Match (第 14.24 节) 、If-None-Match (第 14.26 节) 中的实体标记,以及第 14.27 节If-Range () 标头字段。

tags
IDictionary<String,String>

资源标记。

适用于