Struct azure_mgmt_resources::package_policy_2021_06::operations::policy_exemptions::Client
source · [−]pub struct Client(_);
Implementations
sourceimpl Client
impl Client
sourcepub fn get(
&self,
scope: impl Into<String>,
policy_exemption_name: impl Into<String>
) -> Builder
pub fn get(
&self,
scope: impl Into<String>,
policy_exemption_name: impl Into<String>
) -> Builder
Retrieves a policy exemption.
sourcepub fn create_or_update(
&self,
scope: impl Into<String>,
policy_exemption_name: impl Into<String>,
parameters: impl Into<PolicyExemption>
) -> Builder
pub fn create_or_update(
&self,
scope: impl Into<String>,
policy_exemption_name: impl Into<String>,
parameters: impl Into<PolicyExemption>
) -> Builder
Creates or updates a policy exemption.
sourcepub fn delete(
&self,
scope: impl Into<String>,
policy_exemption_name: impl Into<String>
) -> Builder
pub fn delete(
&self,
scope: impl Into<String>,
policy_exemption_name: impl Into<String>
) -> Builder
Deletes a policy exemption.
sourcepub fn list(&self, subscription_id: impl Into<String>) -> Builder
pub fn list(&self, subscription_id: impl Into<String>) -> Builder
Retrieves all policy exemptions that apply to a subscription.
sourcepub fn list_for_resource_group(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>
) -> Builder
pub fn list_for_resource_group(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>
) -> Builder
Retrieves all policy exemptions that apply to a resource group.
sourcepub fn list_for_resource(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
resource_provider_namespace: impl Into<String>,
parent_resource_path: impl Into<String>,
resource_type: impl Into<String>,
resource_name: impl Into<String>
) -> Builder
pub fn list_for_resource(
&self,
subscription_id: impl Into<String>,
resource_group_name: impl Into<String>,
resource_provider_namespace: impl Into<String>,
parent_resource_path: impl Into<String>,
resource_type: impl Into<String>,
resource_name: impl Into<String>
) -> Builder
Retrieves all policy exemptions that apply to a resource.
sourcepub fn list_for_management_group(
&self,
management_group_id: impl Into<String>
) -> Builder
pub fn list_for_management_group(
&self,
management_group_id: impl Into<String>
) -> Builder
Retrieves all policy exemptions that apply to a management group.
Auto Trait Implementations
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more