Share via


Subscription Feature Registrations - List All By Subscription

Returns subscription feature registrations for given subscription.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Features/subscriptionFeatureRegistrations?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

SubscriptionFeatureRegistrationList

Subscription Feature Registrations.

Other Status Codes

ErrorResponse

Error response describing the reason for operation failure.

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

Gets a list of feature registrations

Sample request

GET https://management.azure.com/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/subscriptionFeatureRegistrations?api-version=2021-07-01

Sample response

{
  "nextLink": "string",
  "value": [
    {
      "name": "testFeature",
      "id": "/subscriptions/00000000-1111-2222-3333-444444444444/providers/Microsoft.Features/featureProviders/Microsoft.TestRP/subscriptionFeatureRegistrations/testFeature",
      "type": "Microsoft.Features/featureProviders/subscriptionFeatureRegistrations",
      "properties": {
        "subscriptionId": "00000000-1111-2222-3333-444444444444",
        "featureName": "testFeature",
        "providerNamespace": "Microsoft.TestRP",
        "state": "Pending",
        "authorizationProfile": {},
        "releaseDate": "2019-11-05T00:34:53.1243228Z",
        "approvalType": "ApprovalRequired",
        "registrationDate": "2020-02-26T01:57:51.734777Z"
      }
    }
  ]
}

Definitions

Name Description
AuthorizationProfile

Authorization Profile

ErrorDefinition

Error definition.

ErrorResponse

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

Properties
SubscriptionFeatureRegistration

Subscription feature registration details

SubscriptionFeatureRegistrationApprovalType

The feature approval type.

SubscriptionFeatureRegistrationList

The list of subscription feature registrations.

SubscriptionFeatureRegistrationState

The state.

AuthorizationProfile

Authorization Profile

Name Type Description
approvedTime

string (date-time)

The approved time

approver

string

The approver

requestedTime

string (date-time)

The requested time

requester

string

The requester

requesterObjectId

string

The requester object id

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.

Properties

Name Type Default value Description
approvalType

SubscriptionFeatureRegistrationApprovalType

The feature approval type.

authorizationProfile

AuthorizationProfile

Authorization Profile

description

string

maxLength: 1000

The feature description.

displayName

string

The featureDisplayName.

documentationLink

string

maxLength: 1000

The feature documentation link.

featureName

string

The featureName.

metadata

object

Key-value pairs for meta data.

providerNamespace

string

The providerNamespace.

registrationDate

string (date-time)

The feature registration date.

releaseDate

string (date-time)

The feature release date.

shouldFeatureDisplayInPortal

boolean

False

Indicates whether feature should be displayed in Portal.

state

SubscriptionFeatureRegistrationState

The state.

subscriptionId

string

The subscriptionId.

tenantId

string

The tenantId.

SubscriptionFeatureRegistration

Subscription feature registration details

Name Type Description
id

string

Azure resource Id.

name

string

Azure resource name.

properties

Properties

type

string

Azure resource type.

SubscriptionFeatureRegistrationApprovalType

The feature approval type.

Value Description
NotSpecified
ApprovalRequired
AutoApproval

SubscriptionFeatureRegistrationList

The list of subscription feature registrations.

Name Type Description
nextLink

string

The link used to get the next page of subscription feature registrations list.

value

SubscriptionFeatureRegistration[]

The list of subscription feature registrations.

SubscriptionFeatureRegistrationState

The state.

Value Description
NotSpecified
NotRegistered
Pending
Registering
Registered
Unregistering
Unregistered