Partager via


ResourceManagerModelFactory.ProviderResourceType Méthode

Définition

Initialise une nouvelle instance 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

Paramètres

resourceType
String

Type de ressource.

locations
IEnumerable<String>

Collection d’emplacements où ce type de ressource peut être créé.

locationMappings
IEnumerable<ProviderExtendedLocation>

Mappages d’emplacements pris en charge par ce type de ressource.

aliases
IEnumerable<ResourceTypeAlias>

Alias pris en charge par ce type de ressource.

apiVersions
IEnumerable<String>

Version de l'API.

defaultApiVersion
String

Version de l’API par défaut.

zoneMappings
IEnumerable<ZoneMapping>
apiProfiles
IEnumerable<ApiProfile>

Profils d’API pour le fournisseur de ressources.

capabilities
String

Fonctionnalités supplémentaires offertes par ce type de ressource.

properties
IReadOnlyDictionary<String,String>

Propriétés.

Retours

Une nouvelle ProviderResourceType instance de moqueries.

S’applique à