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

Provider 构造函数

定义

重载

Provider()

初始化 Provider 类的新实例。

Provider(String, String, String, String, IList<ProviderResourceType>, String)

初始化 Provider 类的新实例。

Provider()

初始化 Provider 类的新实例。

public Provider ();
Public Sub New ()

适用于

Provider(String, String, String, String, IList<ProviderResourceType>, String)

初始化 Provider 类的新实例。

public Provider (string id = default, string namespaceProperty = default, string registrationState = default, string registrationPolicy = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.ProviderResourceType> resourceTypes = default, string providerAuthorizationConsentState = default);
new Microsoft.Azure.Management.ResourceManager.Models.Provider : string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Models.ProviderResourceType> * string -> Microsoft.Azure.Management.ResourceManager.Models.Provider
Public Sub New (Optional id As String = Nothing, Optional namespaceProperty As String = Nothing, Optional registrationState As String = Nothing, Optional registrationPolicy As String = Nothing, Optional resourceTypes As IList(Of ProviderResourceType) = Nothing, Optional providerAuthorizationConsentState As String = Nothing)

参数

id
String

提供程序 ID。

namespaceProperty
String

资源提供程序的命名空间。

registrationState
String

资源提供程序的注册状态。

registrationPolicy
String

资源提供程序的注册策略。

resourceTypes
IList<ProviderResourceType>

提供程序资源类型的集合。

providerAuthorizationConsentState
String

提供程序授权同意状态。 可能的值包括:“NotSpecified”、“Required”、“NotRequired”、“Consented”

适用于