Struct azure_mgmt_riskiq::package_preview_2023_04::labels::Client
source · pub struct Client(/* private fields */);
Implementations§
source§impl Client
impl Client
sourcepub fn list_by_workspace(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>
) -> RequestBuilder
pub fn list_by_workspace( &self, resource_group_name: impl Into<String>, subscription_id: impl Into<String>, workspace_name: impl Into<String> ) -> RequestBuilder
Returns a list of labels in the given 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 get_by_workspace(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>,
label_name: impl Into<String>
) -> RequestBuilder
pub fn get_by_workspace( &self, resource_group_name: impl Into<String>, subscription_id: impl Into<String>, workspace_name: impl Into<String>, label_name: impl Into<String> ) -> RequestBuilder
Returns a label in the given 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.label_name
: The name of the Label.
sourcepub fn create_and_update(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>,
label_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>, label_name: impl Into<String> ) -> RequestBuilder
Create or update a Label.
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.label_name
: The name of the Label.
sourcepub fn update(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>,
label_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>, label_name: impl Into<String> ) -> RequestBuilder
Update a Label.
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.label_name
: The name of the Label.
sourcepub fn delete(
&self,
resource_group_name: impl Into<String>,
subscription_id: impl Into<String>,
workspace_name: impl Into<String>,
label_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>, label_name: impl Into<String> ) -> RequestBuilder
Delete a Label.
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.label_name
: The name of the Label.
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