Share via


Features - List

Hiermee haalt u alle preview-functies in een providernaamruimte op die beschikbaar zijn via AFEC voor het abonnement.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features?api-version=2021-07-01

URI-parameters

Name In Vereist Type Description
resourceProviderNamespace
path True

string

De naamruimte van de resourceprovider voor het ophalen van functies.

subscriptionId
path True

string

De Azure-abonnements-id.

api-version
query True

string

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

Antwoorden

Name Type Description
200 OK

FeatureOperationsListResult

OK: retourneert een matrix met metagegevens voor elke functie in de resourceprovider. De metagegevens bevatten de naam van de functie, de registratiestatus, de resource-id en het resourcetype.

Media Types: "application/json", "text/json"

Other Status Codes

ErrorResponse

Foutreactie met een beschrijving van de reden voor het mislukken van de bewerking.

Media Types: "application/json", "text/json"

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

Voorbeelden

List provider Features

Sample Request

GET https://management.azure.com/subscriptions/subid/providers/Microsoft.Features/providers/Resource Provider Namespace/features?api-version=2021-07-01

Sample Response

{
  "value": [
    {
      "name": "Feature1",
      "properties": {
        "state": "registered"
      },
      "id": "feature_id1",
      "type": "type1"
    },
    {
      "name": "Feature2",
      "properties": {
        "state": "unregistered"
      },
      "id": "feature_id2",
      "type": "type2"
    }
  ]
}

Definities

Name Description
ErrorDefinition

Foutdefinitie.

ErrorResponse

Foutreactie geeft aan dat de service de binnenkomende aanvraag niet kan verwerken.

FeatureOperationsListResult

Lijst met preview-functies.

FeatureProperties

Informatie over de functie.

FeatureResult

Voorbeeld van functie-informatie.

ErrorDefinition

Foutdefinitie.

Name Type Description
code

string

Servicespecifieke foutcode die fungeert als de substatus voor de HTTP-foutcode.

details

ErrorDefinition[]

Details van interne fouten.

message

string

Beschrijving van de fout.

ErrorResponse

Foutreactie geeft aan dat de service de binnenkomende aanvraag niet kan verwerken.

Name Type Description
error

ErrorDefinition

De foutdetails.

FeatureOperationsListResult

Lijst met preview-functies.

Name Type Description
nextLink

string

De URL die moet worden gebruikt om de volgende set resultaten op te halen.

value

FeatureResult[]

De matrix met functies.

FeatureProperties

Informatie over de functie.

Name Type Description
state

string

De registratiestatus van de functie voor het abonnement.

FeatureResult

Voorbeeld van functie-informatie.

Name Type Description
id

string

De resource-id van de functie.

name

string

De naam van de functie.

properties

FeatureProperties

Eigenschappen van de preview-functie.

type

string

Het resourcetype van de functie.