azure.mgmt.resource.features.v2015_12_01 package

class azure.mgmt.resource.features.v2015_12_01.FeatureClient(credential: ‘TokenCredential’, subscription_id: str, base_url: Optional[str] = None, **kwargs: Any)[source]

Azure Feature Exposure Control (AFEC) provides a mechanism for the resource providers to control feature exposure to users. Resource providers typically use this mechanism to provide public/private preview for new features prior to making them generally available. Users need to explicitly register for AFEC features to get access to such functionality.

Variables

features (azure.mgmt.resource.features.v2015_12_01.operations.FeaturesOperations) – FeaturesOperations operations

Parameters
  • credential (TokenCredential) – Credential needed for the client to connect to Azure.

  • subscription_id (str) – The ID of the target subscription.

  • base_url (str) – Service URL

close()None[source]
list_operations(**kwargs: Any) → Iterable[‘models.OperationListResult’]

Lists all of the available Microsoft.Features REST API operations.

Keyword Arguments

cls (callable) – A custom type or function that will be passed the direct response

Returns

An iterator like instance of either OperationListResult or the result of cls(response)

Return type

ItemPaged[OperationListResult]

Raises

~azure.core.exceptions.HttpResponseError