Compartilhar via


ResourceManagerModelFactory.ProviderResourceType Método

Definição

Inicializa uma nova instância de ProviderResourceType.

public static Azure.ResourceManager.Resources.Models.ProviderResourceType ProviderResourceType (string resourceType = default, System.Collections.Generic.IEnumerable<string> locations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ProviderExtendedLocation> locationMappings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ResourceTypeAlias> aliases = default, System.Collections.Generic.IEnumerable<string> apiVersions = default, string defaultApiVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ZoneMapping> zoneMappings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ApiProfile> apiProfiles = default, string capabilities = default, System.Collections.Generic.IReadOnlyDictionary<string,string> properties = default);
static member ProviderResourceType : string * seq<string> * seq<Azure.ResourceManager.Resources.Models.ProviderExtendedLocation> * seq<Azure.ResourceManager.Resources.Models.ResourceTypeAlias> * seq<string> * string * seq<Azure.ResourceManager.Resources.Models.ZoneMapping> * seq<Azure.ResourceManager.Resources.Models.ApiProfile> * string * System.Collections.Generic.IReadOnlyDictionary<string, string> -> Azure.ResourceManager.Resources.Models.ProviderResourceType
Public Shared Function ProviderResourceType (Optional resourceType As String = Nothing, Optional locations As IEnumerable(Of String) = Nothing, Optional locationMappings As IEnumerable(Of ProviderExtendedLocation) = Nothing, Optional aliases As IEnumerable(Of ResourceTypeAlias) = Nothing, Optional apiVersions As IEnumerable(Of String) = Nothing, Optional defaultApiVersion As String = Nothing, Optional zoneMappings As IEnumerable(Of ZoneMapping) = Nothing, Optional apiProfiles As IEnumerable(Of ApiProfile) = Nothing, Optional capabilities As String = Nothing, Optional properties As IReadOnlyDictionary(Of String, String) = Nothing) As ProviderResourceType

Parâmetros

resourceType
String

O tipo de recurso.

locations
IEnumerable<String>

A coleção de locais em que esse tipo de recurso pode ser criado.

locationMappings
IEnumerable<ProviderExtendedLocation>

Os mapeamentos de localização compatíveis com esse tipo de recurso.

aliases
IEnumerable<ResourceTypeAlias>

Os aliases compatíveis com esse tipo de recurso.

apiVersions
IEnumerable<String>

A versão da API.

defaultApiVersion
String

A versão padrão da API.

zoneMappings
IEnumerable<ZoneMapping>
apiProfiles
IEnumerable<ApiProfile>

Os perfis de API para o provedor de recursos.

capabilities
String

Os recursos adicionais oferecidos por esse tipo de recurso.

properties
IReadOnlyDictionary<String,String>

As propriedades.

Retornos

Uma nova ProviderResourceType instância para simulação.

Aplica-se a