pub struct Client(_);
Implementations§
source§impl Client
impl Client
sourcepub fn list_by_subscription(
&self,
subscription_id: impl Into<String>
) -> RequestBuilder
pub fn list_by_subscription( &self, subscription_id: impl Into<String> ) -> RequestBuilder
Returns a list of workspaces under the given subscription.
Arguments:
subscription_id
: The ID of the target subscription.
sourcepub fn list_by_resource_group(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>
) -> RequestBuilder
pub fn list_by_resource_group( &self, resource_group_name: impl Into<String>, subscription_id: impl Into<String> ) -> RequestBuilder
Returns a list of workspaces in the given resource group.
Arguments:
resource_group_name
: The name of the resource group. The name is case insensitive.subscription_id
: The ID of the target subscription.
sourcepub fn get(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>
) -> RequestBuilder
pub fn get( &self, resource_group_name: impl Into<String>, subscription_id: impl Into<String>, workspace_name: impl Into<String> ) -> RequestBuilder
Returns a workspace with the given name.
Arguments:
resource_group_name
: The name of the resource group. The name is case insensitive.subscription_id
: The ID of the target subscription.workspace_name
: The name of the Workspace.
sourcepub fn create_and_update(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>
) -> RequestBuilder
pub fn create_and_update( &self, resource_group_name: impl Into<String>, subscription_id: impl Into<String>, workspace_name: impl Into<String> ) -> RequestBuilder
Create or update a Workspace.
Arguments:
resource_group_name
: The name of the resource group. The name is case insensitive.subscription_id
: The ID of the target subscription.workspace_name
: The name of the Workspace.
sourcepub fn update(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>
) -> RequestBuilder
pub fn update( &self, resource_group_name: impl Into<String>, subscription_id: impl Into<String>, workspace_name: impl Into<String> ) -> RequestBuilder
Update a Workspace.
Arguments:
resource_group_name
: The name of the resource group. The name is case insensitive.subscription_id
: The ID of the target subscription.workspace_name
: The name of the Workspace.
sourcepub fn delete(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>
) -> RequestBuilder
pub fn delete( &self, resource_group_name: impl Into<String>, subscription_id: impl Into<String>, workspace_name: impl Into<String> ) -> RequestBuilder
Delete a Workspace.
Arguments:
resource_group_name
: The name of the resource group. The name is case insensitive.subscription_id
: The ID of the target subscription.workspace_name
: The name of the Workspace.