pub struct Client(_);
Implementations§
source§impl Client
impl Client
sourcepub fn list_all(&self, subscription_id: impl Into<String>) -> RequestBuilder
pub fn list_all(&self, subscription_id: impl Into<String>) -> RequestBuilder
Gets all the preview features that are available through AFEC for the subscription.
Arguments:
subscription_id
: The Azure subscription ID.
sourcepub fn list(
&self,
resource_provider_namespace: impl Into<String>,
subscription_id: impl Into<String>
) -> RequestBuilder
pub fn list( &self, resource_provider_namespace: impl Into<String>, subscription_id: impl Into<String> ) -> RequestBuilder
Gets all the preview features in a provider namespace that are available through AFEC for the subscription.
Arguments:
resource_provider_namespace
: The namespace of the resource provider for getting features.subscription_id
: The Azure subscription ID.
sourcepub fn get(
&self,
resource_provider_namespace: impl Into<String>,
feature_name: impl Into<String>,
subscription_id: impl Into<String>
) -> RequestBuilder
pub fn get( &self, resource_provider_namespace: impl Into<String>, feature_name: impl Into<String>, subscription_id: impl Into<String> ) -> RequestBuilder
Gets the preview feature with the specified name.
Arguments:
resource_provider_namespace
: The resource provider namespace for the feature.feature_name
: The name of the feature to get.subscription_id
: The Azure subscription ID.
sourcepub fn register(
&self,
resource_provider_namespace: impl Into<String>,
feature_name: impl Into<String>,
subscription_id: impl Into<String>
) -> RequestBuilder
pub fn register( &self, resource_provider_namespace: impl Into<String>, feature_name: impl Into<String>, subscription_id: impl Into<String> ) -> RequestBuilder
Registers the preview feature for the subscription.
Arguments:
resource_provider_namespace
: The namespace of the resource provider.feature_name
: The name of the feature to register.subscription_id
: The Azure subscription ID.
sourcepub fn unregister(
&self,
resource_provider_namespace: impl Into<String>,
feature_name: impl Into<String>,
subscription_id: impl Into<String>
) -> RequestBuilder
pub fn unregister( &self, resource_provider_namespace: impl Into<String>, feature_name: impl Into<String>, subscription_id: impl Into<String> ) -> RequestBuilder
Unregisters the preview feature for the subscription.
Arguments:
resource_provider_namespace
: The namespace of the resource provider.feature_name
: The name of the feature to unregister.subscription_id
: The Azure subscription ID.