azure.mgmt.resource.features.v2021_07_01.models module

class azure.mgmt.resource.features.v2021_07_01.models.AuthorizationProfile(**kwargs: Any)[source]

Bases: Model

Authorization Profile.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • requested_time (datetime) – The requested time.

  • requester (str) – The requester.

  • requester_object_id (str) – The requester object id.

  • approved_time (datetime) – The approved time.

  • approver (str) – The approver.

class azure.mgmt.resource.features.v2021_07_01.models.ErrorDefinition(*, details: List[_models.ErrorDefinition] | None = None, **kwargs: Any)[source]

Bases: Model

Error definition.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • code (str) – Service specific error code which serves as the substatus for the HTTP error code.

  • message (str) – Description of the error.

  • details (list[ErrorDefinition]) – Internal error details.

Keyword Arguments:

details (list[ErrorDefinition]) – Internal error details.

class azure.mgmt.resource.features.v2021_07_01.models.ErrorResponse(*, error: _models.ErrorDefinition | None = None, **kwargs: Any)[source]

Bases: Model

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

Variables:

error (ErrorDefinition) – The error details.

Keyword Arguments:

error (ErrorDefinition) – The error details.

class azure.mgmt.resource.features.v2021_07_01.models.FeatureOperationsListResult(*, value: List[_models.FeatureResult] | None = None, next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

List of previewed features.

Variables:
  • value (list[FeatureResult]) – The array of features.

  • next_link (str) – The URL to use for getting the next set of results.

Keyword Arguments:
  • value (list[FeatureResult]) – The array of features.

  • next_link (str) – The URL to use for getting the next set of results.

class azure.mgmt.resource.features.v2021_07_01.models.FeatureProperties(*, state: str | None = None, **kwargs: Any)[source]

Bases: Model

Information about feature.

Variables:

state (str) – The registration state of the feature for the subscription.

Keyword Arguments:

state (str) – The registration state of the feature for the subscription.

class azure.mgmt.resource.features.v2021_07_01.models.FeatureResult(*, name: str | None = None, properties: _models.FeatureProperties | None = None, id: str | None = None, type: str | None = None, **kwargs: Any)[source]

Bases: Model

Previewed feature information.

Variables:
  • name (str) – The name of the feature.

  • properties (FeatureProperties) – Properties of the previewed feature.

  • id (str) – The resource ID of the feature.

  • type (str) – The resource type of the feature.

Keyword Arguments:
  • name (str) – The name of the feature.

  • properties (FeatureProperties) – Properties of the previewed feature.

  • id (str) – The resource ID of the feature.

  • type (str) – The resource type of the feature.

class azure.mgmt.resource.features.v2021_07_01.models.Operation(*, name: str | None = None, display: _models.OperationDisplay | None = None, **kwargs: Any)[source]

Bases: Model

Microsoft.Features operation.

Variables:
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDisplay) – The object that represents the operation.

Keyword Arguments:
  • name (str) – Operation name: {provider}/{resource}/{operation}.

  • display (OperationDisplay) – The object that represents the operation.

class azure.mgmt.resource.features.v2021_07_01.models.OperationDisplay(*, provider: str | None = None, resource: str | None = None, operation: str | None = None, **kwargs: Any)[source]

Bases: Model

The object that represents the operation.

Variables:
  • provider (str) – Service provider: Microsoft.Features.

  • resource (str) – Resource on which the operation is performed: Profile, endpoint, etc.

  • operation (str) – Operation type: Read, write, delete, etc.

Keyword Arguments:
  • provider (str) – Service provider: Microsoft.Features.

  • resource (str) – Resource on which the operation is performed: Profile, endpoint, etc.

  • operation (str) – Operation type: Read, write, delete, etc.

class azure.mgmt.resource.features.v2021_07_01.models.OperationListResult(*, value: List[_models.Operation] | None = None, next_link: str | None = None, **kwargs: Any)[source]

Bases: Model

Result of the request to list Microsoft.Features operations. It contains a list of operations and a URL link to get the next set of results.

Variables:
  • value (list[Operation]) – List of Microsoft.Features operations.

  • next_link (str) – URL to get the next set of operation list results if there are any.

Keyword Arguments:
  • value (list[Operation]) – List of Microsoft.Features operations.

  • next_link (str) – URL to get the next set of operation list results if there are any.

class azure.mgmt.resource.features.v2021_07_01.models.ProxyResource(**kwargs: Any)[source]

Bases: Model

An Azure proxy resource.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • id (str) – Azure resource Id.

  • name (str) – Azure resource name.

  • type (str) – Azure resource type.

class azure.mgmt.resource.features.v2021_07_01.models.SubscriptionFeatureRegistration(*, properties: _models.SubscriptionFeatureRegistrationProperties | None = None, **kwargs: Any)[source]

Bases: ProxyResource

Subscription feature registration details.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
Keyword Arguments:

properties (SubscriptionFeatureRegistrationProperties)

class azure.mgmt.resource.features.v2021_07_01.models.SubscriptionFeatureRegistrationApprovalType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

The feature approval type.

APPROVAL_REQUIRED = 'ApprovalRequired'
AUTO_APPROVAL = 'AutoApproval'
NOT_SPECIFIED = 'NotSpecified'
class azure.mgmt.resource.features.v2021_07_01.models.SubscriptionFeatureRegistrationList(*, next_link: str | None = None, value: List[_models.SubscriptionFeatureRegistration] | None = None, **kwargs: Any)[source]

Bases: Model

The list of subscription feature registrations.

Variables:
  • next_link (str) – The link used to get the next page of subscription feature registrations list.

  • value (list[SubscriptionFeatureRegistration]) – The list of subscription feature registrations.

Keyword Arguments:
  • next_link (str) – The link used to get the next page of subscription feature registrations list.

  • value (list[SubscriptionFeatureRegistration]) – The list of subscription feature registrations.

class azure.mgmt.resource.features.v2021_07_01.models.SubscriptionFeatureRegistrationProperties(*, state: str | _models.SubscriptionFeatureRegistrationState | None = None, authorization_profile: _models.AuthorizationProfile | None = None, metadata: Dict[str, str] | None = None, should_feature_display_in_portal: bool = False, description: str | None = None, **kwargs: Any)[source]

Bases: Model

SubscriptionFeatureRegistrationProperties.

Variables are only populated by the server, and will be ignored when sending a request.

Variables:
  • tenant_id (str) – The tenantId.

  • subscription_id (str) – The subscriptionId.

  • feature_name (str) – The featureName.

  • display_name (str) – The featureDisplayName.

  • provider_namespace (str) – The providerNamespace.

  • state (str or SubscriptionFeatureRegistrationState) – The state. Known values are: “NotSpecified”, “NotRegistered”, “Pending”, “Registering”, “Registered”, “Unregistering”, and “Unregistered”.

  • authorization_profile (AuthorizationProfile) – Authorization Profile.

  • metadata (dict[str, str]) – Key-value pairs for meta data.

  • release_date (datetime) – The feature release date.

  • registration_date (datetime) – The feature registration date.

  • documentation_link (str) – The feature documentation link.

  • approval_type (str or SubscriptionFeatureRegistrationApprovalType) – The feature approval type. Known values are: “NotSpecified”, “ApprovalRequired”, and “AutoApproval”.

  • should_feature_display_in_portal (bool) – Indicates whether feature should be displayed in Portal.

  • description (str) – The feature description.

Keyword Arguments:
  • state (str or SubscriptionFeatureRegistrationState) – The state. Known values are: “NotSpecified”, “NotRegistered”, “Pending”, “Registering”, “Registered”, “Unregistering”, and “Unregistered”.

  • authorization_profile (AuthorizationProfile) – Authorization Profile.

  • metadata (dict[str, str]) – Key-value pairs for meta data.

  • should_feature_display_in_portal (bool) – Indicates whether feature should be displayed in Portal.

  • description (str) – The feature description.

class azure.mgmt.resource.features.v2021_07_01.models.SubscriptionFeatureRegistrationState(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: str, Enum

The state.

NOT_REGISTERED = 'NotRegistered'
NOT_SPECIFIED = 'NotSpecified'
PENDING = 'Pending'
REGISTERED = 'Registered'
REGISTERING = 'Registering'
UNREGISTERED = 'Unregistered'
UNREGISTERING = 'Unregistering'