pub struct Client(_);
Implementations§
source§impl Client
impl Client
sourcepub fn list_by_subscription_id(
&self,
subscription_id: impl Into<String>
) -> RequestBuilder
pub fn list_by_subscription_id( &self, subscription_id: impl Into<String> ) -> RequestBuilder
Lists the current availability status for all the resources in the subscription.
Arguments:
subscription_id
: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
sourcepub fn list_by_resource_group(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>
) -> RequestBuilder
pub fn list_by_resource_group( &self, subscription_id: impl Into<String>, resource_group_name: impl Into<String> ) -> RequestBuilder
Lists the current availability status for all the resources in the resource group.
Arguments:
subscription_id
: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.resource_group_name
: The name of the resource group.
sourcepub fn get_by_resource(&self, resource_uri: impl Into<String>) -> RequestBuilder
pub fn get_by_resource(&self, resource_uri: impl Into<String>) -> RequestBuilder
Gets current availability status for a single resource
Arguments:
resource_uri
: The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}
sourcepub fn list(&self, resource_uri: impl Into<String>) -> RequestBuilder
pub fn list(&self, resource_uri: impl Into<String>) -> RequestBuilder
Lists all historical availability transitions and impacting events for a single resource.
Arguments:
resource_uri
: The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}