pub struct Client(/* private fields */);
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.
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more