Share via


Providers - Register

Registreert een abonnement bij een resourceprovider.

POST https://management.azure.com/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register?api-version=2021-04-01

URI-parameters

Name In Vereist Type Description
resourceProviderNamespace
path True

string

De naamruimte van de resourceprovider die moet worden geregistreerd.

subscriptionId
path True

string

De Microsoft Azure-abonnements-id.

api-version
query True

string

De API-versie die voor deze bewerking moet worden gebruikt.

Aanvraagbody

Name Type Description
thirdPartyProviderConsent

ProviderConsentDefinition

De toestemming van de provider.

Antwoorden

Name Type Description
200 OK

Provider

OK: retourneert informatie over de resourceprovider.

Other Status Codes

CloudError

Foutreactie waarin wordt beschreven waarom de bewerking is mislukt.

Beveiliging

azure_auth

Azure Active Directory OAuth2-stroom

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation uw gebruikersaccount imiteren

Definities

Name Description
Alias

Het aliastype.

AliasPath

Het type van de paden voor alias.

AliasPathAttributes

De kenmerken van het token waarnaar het aliaspad verwijst.

AliasPathMetadata
AliasPathTokenType

Het type token waarnaar het aliaspad verwijst.

AliasPattern

Het type patroon voor een aliaspad.

AliasPatternType

Het type aliaspatroon

AliasType

Het type alias.

ApiProfile
CloudError

Een foutreactie voor een resourcebeheeraanvraag.

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

ErrorResponse

Foutreactie

Provider

Resourceprovidergegevens.

ProviderAuthorizationConsentState

De autorisatietoestemmingsstatus van de provider.

ProviderConsentDefinition

De toestemming van de provider.

ProviderExtendedLocation

De uitgebreide locatie van de provider.

ProviderRegistrationRequest

De registratiedefinitie van de provider.

ProviderResourceType

Resourcetype dat wordt beheerd door de resourceprovider.

ZoneMapping

Alias

Het aliastype.

Name Type Description
defaultMetadata

AliasPathMetadata

De metagegevens van het standaardaliaspad. Is van toepassing op het standaardpad en op elk aliaspad dat geen metagegevens bevat

defaultPath

string

Het standaardpad voor een alias.

defaultPattern

AliasPattern

Het standaardpatroon voor een alias.

name

string

De aliasnaam.

paths

AliasPath[]

De paden voor een alias.

type

AliasType

Het type alias.

AliasPath

Het type van de paden voor alias.

Name Type Description
apiVersions

string[]

De API-versies.

metadata

AliasPathMetadata

De metagegevens van het aliaspad. Als dit ontbreekt, moet u terugvallen op de standaardmetagegevens van de alias.

path

string

Het pad van een alias.

pattern

AliasPattern

Het patroon voor een aliaspad.

AliasPathAttributes

De kenmerken van het token waarnaar het aliaspad verwijst.

Name Type Description
Modifiable

string

Het token waarnaar het aliaspad verwijst, kan worden gewijzigd door beleidsregels met een 'wijzigen'-effect.

None

string

Het token waarnaar het aliaspad verwijst, heeft geen kenmerken.

AliasPathMetadata

Name Type Description
attributes

AliasPathAttributes

De kenmerken van het token waarnaar het aliaspad verwijst.

type

AliasPathTokenType

Het type token waarnaar het aliaspad verwijst.

AliasPathTokenType

Het type token waarnaar het aliaspad verwijst.

Name Type Description
Any

string

Het tokentype kan van alles zijn.

Array

string

Het tokentype is matrix.

Boolean

string

Het tokentype is booleaans.

Integer

string

Het tokentype is geheel getal.

NotSpecified

string

Het tokentype is niet opgegeven.

Number

string

Het tokentype is number.

Object

string

Het tokentype is object.

String

string

Het tokentype is een tekenreeks.

AliasPattern

Het type patroon voor een aliaspad.

Name Type Description
phrase

string

De aliaspatroonzin.

type

AliasPatternType

Het type aliaspatroon

variable

string

De aliaspatroonvariabele.

AliasPatternType

Het type aliaspatroon

Name Type Description
Extract

string

Uitpakken is de enige toegestane waarde.

NotSpecified

string

NotSpecified is niet toegestaan.

AliasType

Het type alias.

Name Type Description
Mask

string

Aliaswaarde is geheim.

NotSpecified

string

Aliastype is onbekend (hetzelfde als geen aliastype opgeven).

PlainText

string

Aliaswaarde is niet geheim.

ApiProfile

Name Type Description
apiVersion

string

De API-versie.

profileVersion

string

De profielversie.

CloudError

Een foutreactie voor een resourcebeheeraanvraag.

Name Type Description
error

ErrorResponse

Foutreactie
Algemene foutreactie voor alle Azure Resource Manager API's om foutdetails voor mislukte bewerkingen te retourneren. (Dit volgt ook de OData-foutreactieindeling.)

ErrorAdditionalInfo

Aanvullende informatie over de resourcebeheerfout.

Name Type Description
info

object

De aanvullende informatie.

type

string

Het type aanvullende informatie.

ErrorResponse

Foutreactie

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

Aanvullende informatie over de fout.

code

string

De foutcode.

details

ErrorResponse[]

De foutdetails.

message

string

Het foutbericht.

target

string

Het foutdoel.

Provider

Resourceprovidergegevens.

Name Type Description
id

string

De provider-id.

namespace

string

De naamruimte van de resourceprovider.

providerAuthorizationConsentState

ProviderAuthorizationConsentState

De autorisatietoestemmingsstatus van de provider.

registrationPolicy

string

Het registratiebeleid van de resourceprovider.

registrationState

string

De registratiestatus van de resourceprovider.

resourceTypes

ProviderResourceType[]

De verzameling providerresourcetypen.

ProviderAuthorizationConsentState

De autorisatietoestemmingsstatus van de provider.

Name Type Description
Consented

string

NotRequired

string

NotSpecified

string

Required

string

ProviderConsentDefinition

De toestemming van de provider.

Name Type Description
consentToAuthorization

boolean

Een waarde die aangeeft of autorisatie al dan niet is toegestaan.

ProviderExtendedLocation

De uitgebreide locatie van de provider.

Name Type Description
extendedLocations

string[]

De uitgebreide locaties voor de Azure-locatie.

location

string

De Azure-locatie.

type

string

Het uitgebreide locatietype.

ProviderRegistrationRequest

De registratiedefinitie van de provider.

Name Type Description
thirdPartyProviderConsent

ProviderConsentDefinition

De toestemming van de provider.

ProviderResourceType

Resourcetype dat wordt beheerd door de resourceprovider.

Name Type Description
aliases

Alias[]

De aliassen die worden ondersteund door dit resourcetype.

apiProfiles

ApiProfile[]

De API-profielen voor de resourceprovider.

apiVersions

string[]

De API-versie.

capabilities

string

De extra mogelijkheden die door dit resourcetype worden geboden.

defaultApiVersion

string

De standaard-API-versie.

locationMappings

ProviderExtendedLocation[]

De locatietoewijzingen die worden ondersteund door dit resourcetype.

locations

string[]

De verzameling locaties waar dit resourcetype kan worden gemaakt.

properties

object

De eigenschappen.

resourceType

string

Het resourcetype.

zoneMappings

ZoneMapping[]

ZoneMapping

Name Type Description
location

string

De locatie van de zonetoewijzing.

zones

string[]