你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceTopologyResource 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ServiceTopologyResource() |
初始化 ServiceTopologyResource 类的新实例。 |
ServiceTopologyResource(String, String, String, String, IDictionary<String,String>, String) |
初始化 ServiceTopologyResource 类的新实例。 |
ServiceTopologyResource()
初始化 ServiceTopologyResource 类的新实例。
public ServiceTopologyResource ();
Public Sub New ()
适用于
ServiceTopologyResource(String, String, String, String, IDictionary<String,String>, String)
初始化 ServiceTopologyResource 类的新实例。
public ServiceTopologyResource (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string artifactSourceId = default);
new Microsoft.Azure.Management.DeploymentManager.Models.ServiceTopologyResource : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string -> Microsoft.Azure.Management.DeploymentManager.Models.ServiceTopologyResource
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional artifactSourceId As String = Nothing)
参数
- location
- String
资源所在的地理位置
- id
- String
资源的完全限定资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 Ex-Microsoft.Compute/virtualMachines 或 Microsoft.Storage/storageAccounts。
- tags
- IDictionary<String,String>
资源标记。
- artifactSourceId
- String
项目源的资源 ID,其中包含可在服务单元中引用的项目。