Freigeben über


Providers - Get At Tenant Scope

Ruft den angegebenen Ressourcenanbieter auf Mandantenebene ab.

GET https://management.azure.com/providers/{resourceProviderNamespace}?api-version=2021-04-01
GET https://management.azure.com/providers/{resourceProviderNamespace}?$expand={$expand}&api-version=2021-04-01

URI-Parameter

Name In Erforderlich Typ Beschreibung
resourceProviderNamespace
path True

string

Der Namespace des Ressourcenanbieters.

api-version
query True

string

Hierbei handelt es sich um die für diesen Vorgang zu verwendende API-Version.

$expand
query

string

Der $expand Abfrageparameter. Verwenden Sie beispielsweise $expand=resourceTypes/aliases, um Eigenschaftsalias als Antwort einzubeziehen.

Antworten

Name Typ Beschreibung
200 OK

Provider

OK: Gibt Informationen zum Ressourcenanbieter zurück.

Other Status Codes

CloudError

Fehlerantwort mit Beschreibung des Grunds für den Fehler.

Sicherheit

azure_auth

Azure Active Directory-OAuth2-Flow

Typ: oauth2
Ablauf: implicit
Autorisierungs-URL: https://login.microsoftonline.com/common/oauth2/authorize

Bereiche

Name Beschreibung
user_impersonation Identitätswechsel Ihres Benutzerkontos

Beispiele

Get a resource provider at tenant scope

Beispielanforderung

GET https://management.azure.com/providers/Microsoft.Storage?$expand=resourceTypes/aliases&api-version=2021-04-01

Beispiel für eine Antwort

{
  "namespace": "Microsoft.Storage",
  "resourceTypes": [
    {
      "resourceType": "storageAccounts",
      "locations": [
        "East US",
        "East US 2",
        "East US 2 (Stage)",
        "West US",
        "West Europe",
        "East Asia",
        "Southeast Asia",
        "Japan East",
        "Japan West",
        "North Central US",
        "South Central US",
        "Central US",
        "North Europe",
        "Brazil South",
        "Australia East",
        "Australia Southeast",
        "South India",
        "Central India",
        "West India",
        "Canada East",
        "Canada Central",
        "West US 2",
        "West Central US",
        "UK South",
        "UK West",
        "Korea Central",
        "Korea South",
        "East US 2 EUAP",
        "Central US EUAP",
        "France Central",
        "France South",
        "Australia Central",
        "Australia Central 2",
        "South Africa West",
        "South Africa North",
        "UAE Central",
        "UAE North",
        "Switzerland North",
        "Switzerland West",
        "Germany West Central",
        "Germany North",
        "Norway East",
        "Norway West",
        "South Central US STG",
        "Brazil Southeast"
      ],
      "apiVersions": [
        "2019-06-01",
        "2019-04-01",
        "2018-11-01",
        "2018-07-01",
        "2018-03-01-preview",
        "2018-02-01",
        "2017-10-01",
        "2017-06-01",
        "2016-12-01",
        "2016-05-01",
        "2016-01-01",
        "2015-06-15",
        "2015-05-01-preview"
      ],
      "defaultApiVersion": "2019-06-01",
      "apiProfiles": [
        {
          "profileVersion": "2019-03-01-hybrid",
          "apiVersion": "2017-10-01"
        },
        {
          "profileVersion": "2017-03-09-profile",
          "apiVersion": "2016-01-01"
        },
        {
          "profileVersion": "2018-03-01-hybrid",
          "apiVersion": "2016-01-01"
        },
        {
          "profileVersion": "2018-06-01-profile",
          "apiVersion": "2017-10-01"
        }
      ],
      "aliases": [
        {
          "name": "Microsoft.Storage/storageAccounts/accountType",
          "paths": [
            {
              "path": "properties.accountType",
              "apiVersions": [
                "2015-06-15",
                "2015-05-01-preview"
              ]
            },
            {
              "path": "sku.name",
              "apiVersions": [
                "2018-11-01",
                "2018-11-09",
                "2018-07-01",
                "2018-03-01-Preview",
                "2018-02-01",
                "2017-10-01",
                "2017-06-01",
                "2016-12-01",
                "2016-05-01",
                "2016-01-01"
              ]
            }
          ],
          "defaultPath": "sku.name"
        },
        {
          "name": "Microsoft.Storage/storageAccounts/sku.name",
          "paths": [
            {
              "path": "properties.accountType",
              "apiVersions": [
                "2015-06-15",
                "2015-05-01-preview"
              ]
            },
            {
              "path": "sku.name",
              "apiVersions": [
                "2018-11-01",
                "2018-11-09",
                "2018-07-01",
                "2018-03-01-Preview",
                "2018-02-01",
                "2017-10-01",
                "2017-06-01",
                "2016-12-01",
                "2016-05-01",
                "2016-01-01"
              ]
            }
          ],
          "defaultPath": "sku.name"
        },
        {
          "name": "Microsoft.Storage/storageAccounts/accessTier",
          "paths": [
            {
              "path": "properties.accessTier",
              "apiVersions": [
                "2018-11-01",
                "2018-11-09",
                "2018-07-01",
                "2018-03-01-Preview",
                "2018-02-01",
                "2017-10-01",
                "2017-06-01",
                "2016-12-01",
                "2016-05-01",
                "2016-01-01",
                "2015-06-15",
                "2015-05-01-preview"
              ]
            }
          ],
          "defaultPath": "properties.accessTier"
        },
        {
          "name": "Microsoft.Storage/storageAccounts/enableBlobEncryption",
          "paths": [
            {
              "path": "properties.encryption.services.blob.enabled",
              "apiVersions": [
                "2018-11-01",
                "2018-11-09",
                "2018-07-01",
                "2018-03-01-Preview",
                "2018-02-01",
                "2017-10-01",
                "2017-06-01",
                "2016-12-01",
                "2016-05-01",
                "2016-01-01",
                "2015-06-15",
                "2015-05-01-preview"
              ]
            }
          ],
          "defaultPath": "properties.encryption.services.blob.enabled"
        },
        {
          "name": "Microsoft.Storage/storageAccounts/enableFileEncryption",
          "paths": [
            {
              "path": "properties.encryption.services.file.enabled",
              "apiVersions": [
                "2018-11-01",
                "2018-11-09",
                "2018-07-01",
                "2018-03-01-Preview",
                "2018-02-01",
                "2017-10-01",
                "2017-06-01",
                "2016-12-01",
                "2016-05-01",
                "2016-01-01",
                "2015-06-15",
                "2015-05-01-preview"
              ]
            }
          ],
          "defaultPath": "properties.encryption.services.file.enabled"
        },
        {
          "name": "Microsoft.Storage/storageAccounts/supportsHttpsTrafficOnly",
          "paths": [
            {
              "path": "properties.supportsHttpsTrafficOnly",
              "apiVersions": [
                "2018-11-09",
                "2018-03-01-Preview",
                "2016-05-01",
                "2016-01-01",
                "2015-06-15",
                "2015-05-01-preview"
              ],
              "metadata": {
                "type": "NotSpecified",
                "attributes": "None"
              }
            }
          ],
          "defaultPath": "properties.supportsHttpsTrafficOnly",
          "defaultMetadata": {
            "type": "Boolean",
            "attributes": "Modifiable"
          }
        }
      ],
      "capabilities": "SupportsTags, SupportsLocation"
    }
  ]
}

Definitionen

Name Beschreibung
Alias

Der Aliastyp.

AliasPath

Der Typ der Pfade für Aliase.

AliasPathAttributes

Die Attribute des Tokens, auf das sich der Aliaspfad bezieht.

AliasPathMetadata
AliasPathTokenType

Der Typ des Tokens, auf den der Aliaspfad verweist.

AliasPattern

Der Typ des Musters für einen Aliaspfad.

AliasPatternType

Typ des Aliasmusters

AliasType

Der Typ de Alias.

ApiProfile
CloudError

Eine Fehlerantwort für eine Ressourcenverwaltungsanforderung.

ErrorAdditionalInfo

Zusätzliche Informationen zum Ressourcenverwaltungsfehler.

ErrorResponse

Fehlerantwort

Provider

Informationen zum Ressourcenanbieter.

ProviderAuthorizationConsentState

Der Berechtigungsstatus des Anbieters.

ProviderExtendedLocation

Der erweiterte Standort des Anbieters.

ProviderResourceType

Durch den Ressourcenanbieter verwalteter Ressourcentyp.

ZoneMapping

Alias

Der Aliastyp.

Name Typ Beschreibung
defaultMetadata

AliasPathMetadata

Die Standard-Aliaspfadmetadaten. Gilt für den Standardpfad und für alle Aliaspfade ohne Metadaten

defaultPath

string

Der Standardpfad für einen Alias.

defaultPattern

AliasPattern

Das Standardmuster für einen Alias.

name

string

Der Aliasname.

paths

AliasPath[]

Die Pfade für einen Alias.

type

AliasType

Der Typ de Alias.

AliasPath

Der Typ der Pfade für Aliase.

Name Typ Beschreibung
apiVersions

string[]

Die API-Versionen.

metadata

AliasPathMetadata

Die Metadaten des Aliaspfads. Falls sie fehlen, greifen Sie auf die Standardmetadaten des Alias zurück.

path

string

Der Pfad eines Alias.

pattern

AliasPattern

Das Muster für einen Aliaspfad.

AliasPathAttributes

Die Attribute des Tokens, auf das sich der Aliaspfad bezieht.

Name Typ Beschreibung
Modifiable

string

Das Token, auf das sich der Aliaspfad bezieht, kann durch Richtlinien mit dem Effekt "ändern" geändert werden.

None

string

Das Token, auf das sich der Aliaspfad bezieht, weist keine Attribute auf.

AliasPathMetadata

Name Typ Beschreibung
attributes

AliasPathAttributes

Die Attribute des Tokens, auf das sich der Aliaspfad bezieht.

type

AliasPathTokenType

Der Typ des Tokens, auf den der Aliaspfad verweist.

AliasPathTokenType

Der Typ des Tokens, auf den der Aliaspfad verweist.

Name Typ Beschreibung
Any

string

Der Tokentyp kann ein beliebiger Typ sein.

Array

string

Der Tokentyp ist Array.

Boolean

string

Der Tokentyp ist boolesch.

Integer

string

Der Tokentyp ist ganzzahliger Wert.

NotSpecified

string

Der Tokentyp wird nicht angegeben.

Number

string

Der Tokentyp ist zahl.

Object

string

Der Tokentyp ist das Objekt.

String

string

Der Tokentyp ist Zeichenfolge.

AliasPattern

Der Typ des Musters für einen Aliaspfad.

Name Typ Beschreibung
phrase

string

Der Aliasmusterbegriff.

type

AliasPatternType

Typ des Aliasmusters

variable

string

Die Aliasmustervariable.

AliasPatternType

Typ des Aliasmusters

Name Typ Beschreibung
Extract

string

Extrahieren ist der einzige zulässige Wert.

NotSpecified

string

NotSpecified ist nicht zulässig.

AliasType

Der Typ de Alias.

Name Typ Beschreibung
Mask

string

Der Aliaswert ist geheim.

NotSpecified

string

Der Aliastyp ist unbekannt (identisch mit der Angabe des Aliastyps).

PlainText

string

Der Aliaswert ist kein Geheimnis.

ApiProfile

Name Typ Beschreibung
apiVersion

string

Die API-Version.

profileVersion

string

Die Profilversion.

CloudError

Eine Fehlerantwort für eine Ressourcenverwaltungsanforderung.

Name Typ Beschreibung
error

ErrorResponse

Fehlerantwort
Allgemeine Fehlerantwort für alle Azure Resource Manager-APIs, zur Rückgabe von Fehlerdetails für fehlgeschlagene Vorgänge. (Dies folgt auch dem OData-Fehlerantwortformat.)

ErrorAdditionalInfo

Zusätzliche Informationen zum Ressourcenverwaltungsfehler.

Name Typ Beschreibung
info

object

Zusätzliche Informationen.

type

string

Typ der zusätzlichen Informationen.

ErrorResponse

Fehlerantwort

Name Typ Beschreibung
additionalInfo

ErrorAdditionalInfo[]

Die zusätzlichen Fehlerinformationen.

code

string

Der Fehlercode.

details

ErrorResponse[]

Die Fehlerdetails.

message

string

Die Fehlermeldung.

target

string

Das Fehlerziel.

Provider

Informationen zum Ressourcenanbieter.

Name Typ Beschreibung
id

string

Die Anbieter-ID.

namespace

string

Der Namespace des Ressourcenanbieters.

providerAuthorizationConsentState

ProviderAuthorizationConsentState

Der Berechtigungsstatus des Anbieters.

registrationPolicy

string

Die Registrierungsrichtlinie des Ressourcenanbieters.

registrationState

string

Der Registrierungsstatus des Ressourcenanbieters.

resourceTypes

ProviderResourceType[]

Die Auflistung der Anbieterressourcentypen.

ProviderAuthorizationConsentState

Der Berechtigungsstatus des Anbieters.

Name Typ Beschreibung
Consented

string

NotRequired

string

NotSpecified

string

Required

string

ProviderExtendedLocation

Der erweiterte Standort des Anbieters.

Name Typ Beschreibung
extendedLocations

string[]

Die erweiterten Speicherorte für den Azure-Standort.

location

string

Der Azure-Standort.

type

string

Der erweiterte Standorttyp.

ProviderResourceType

Durch den Ressourcenanbieter verwalteter Ressourcentyp.

Name Typ Beschreibung
aliases

Alias[]

Die Aliase, die von diesem Ressourcentyp unterstützt werden.

apiProfiles

ApiProfile[]

Die API-Profile für den Ressourcenanbieter.

apiVersions

string[]

Die API-Version.

capabilities

string

Die zusätzlichen Funktionen, die von diesem Ressourcentyp angeboten werden.

defaultApiVersion

string

Die Standard-API-Version.

locationMappings

ProviderExtendedLocation[]

Die Standortzuordnungen, die von diesem Ressourcentyp unterstützt werden.

locations

string[]

Die Auflistung der Speicherorte, an denen dieser Ressourcentyp erstellt werden kann.

properties

object

Die Eigenschaften.

resourceType

string

Der Ressourcentyp.

zoneMappings

ZoneMapping[]

ZoneMapping

Name Typ Beschreibung
location

string

Der Speicherort der Zonenzuordnung.

zones

string[]