Features - List All

Gets all the preview features that are available through AFEC for the subscription.

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

URI Parameters

Name In Required Type Description
subscriptionId
path True

string

The Azure subscription ID.

api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

FeatureOperationsListResult

OK - Returns an array containing metadata for each feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.

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

Other Status Codes

ErrorResponse

Error response describing the reason for operation failure.

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

Security

azure_auth

Azure Active Directory OAuth2 Flow.

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

Scopes

Name Description
user_impersonation impersonate your user account

Examples

List subscription Features

Sample Request

GET https://management.azure.com/subscriptions/subid/providers/Microsoft.Features/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"
    }
  ]
}

Definitions

Name Description
ErrorDefinition

Error definition.

ErrorResponse

Error response indicates that the service is not able to process the incoming request.

FeatureOperationsListResult

List of previewed features.

FeatureProperties

Information about feature.

FeatureResult

Previewed feature information.

ErrorDefinition

Error definition.

Name Type Description
code

string

Service specific error code which serves as the substatus for the HTTP error code.

details

ErrorDefinition[]

Internal error details.

message

string

Description of the error.

ErrorResponse

Error response indicates that the service is not able to process the incoming request.

Name Type Description
error

ErrorDefinition

The error details.

FeatureOperationsListResult

List of previewed features.

Name Type Description
nextLink

string

The URL to use for getting the next set of results.

value

FeatureResult[]

The array of features.

FeatureProperties

Information about feature.

Name Type Description
state

string

The registration state of the feature for the subscription.

FeatureResult

Previewed feature information.

Name Type Description
id

string

The resource ID of the feature.

name

string

The name of the feature.

properties

FeatureProperties

Properties of the previewed feature.

type

string

The resource type of the feature.