Struct ServicePrincipalsIdApiClient

Source
pub struct ServicePrincipalsIdApiClient { /* private fields */ }

Implementations§

Source§

impl ServicePrincipalsIdApiClient

Source

pub fn owner<ID: AsRef<str>>( &self, id: ID, ) -> ServicePrincipalsOwnersIdApiClient

Source

pub fn member_of(&self) -> MemberOfApiClient

Source

pub fn transitive_member_of(&self) -> TransitiveMemberOfApiClient

Source

pub fn owners(&self) -> ServicePrincipalsOwnersApiClient

Source

pub fn delete_service_principal(&self) -> RequestHandler

Delete servicePrincipal

Source

pub fn get_service_principal(&self) -> RequestHandler

Get servicePrincipal

Source

pub fn update_service_principal<B: BodyExt>(&self, body: B) -> RequestHandler

Update entity in servicePrincipals

Source

pub fn add_key<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action addKey

Source

pub fn add_password<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action addPassword

Source

pub fn add_token_signing_certificate<B: BodyExt>( &self, body: B, ) -> RequestHandler

Invoke action addTokenSigningCertificate

Source

pub fn list_app_management_policies(&self) -> RequestHandler

Get appManagementPolicies from servicePrincipals

Source

pub fn count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn get_app_management_policies( &self, app_management_policy_id: impl AsRef<str>, ) -> RequestHandler

Get appManagementPolicies from servicePrincipals

Source

pub fn create_app_role_assigned_to<B: BodyExt>(&self, body: B) -> RequestHandler

Grant an appRoleAssignment for a service principal

Source

pub fn list_app_role_assigned_to(&self) -> RequestHandler

List appRoleAssignments granted for a service principal

Source

pub fn get_app_role_assigned_to_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_app_role_assigned_to( &self, app_role_assignment_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property appRoleAssignedTo for servicePrincipals

Source

pub fn get_app_role_assigned_to( &self, app_role_assignment_id: impl AsRef<str>, ) -> RequestHandler

Get appRoleAssignedTo from servicePrincipals

Source

pub fn update_app_role_assigned_to<B: BodyExt>( &self, app_role_assignment_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property appRoleAssignedTo in servicePrincipals

Source

pub fn list_app_role_assignments(&self) -> RequestHandler

Get appRoleAssignments from servicePrincipals

Source

pub fn create_app_role_assignments<B: BodyExt>(&self, body: B) -> RequestHandler

Grant an appRoleAssignment to a service principal

Source

pub fn get_app_role_assignments_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_app_role_assignments( &self, app_role_assignment_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property appRoleAssignments for servicePrincipals

Source

pub fn get_app_role_assignments( &self, app_role_assignment_id: impl AsRef<str>, ) -> RequestHandler

Get appRoleAssignments from servicePrincipals

Source

pub fn update_app_role_assignments<B: BodyExt>( &self, app_role_assignment_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property appRoleAssignments in servicePrincipals

Source

pub fn check_member_groups<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action checkMemberGroups

Source

pub fn check_member_objects<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action checkMemberObjects

Source

pub fn list_claims_mapping_policies(&self) -> RequestHandler

List assigned claimsMappingPolicy

Source

pub fn get_claims_mapping_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn create_ref_claims_mapping_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create new navigation property ref to claimsMappingPolicies for servicePrincipals

Source

pub fn list_ref_claims_mapping_policies(&self) -> RequestHandler

List assigned claimsMappingPolicy

Source

pub fn delete_ref_claims_mapping_policies( &self, claims_mapping_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete ref of navigation property claimsMappingPolicies for servicePrincipals

Source

pub fn create_delegated_permission_classifications<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create delegatedPermissionClassification

Source

pub fn list_delegated_permission_classifications(&self) -> RequestHandler

List delegatedPermissionClassifications collection of servicePrincipal

Source

pub fn get_delegated_permission_classifications_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_delegated_permission_classifications( &self, delegated_permission_classification_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property delegatedPermissionClassifications for servicePrincipals

Source

pub fn get_delegated_permission_classifications( &self, delegated_permission_classification_id: impl AsRef<str>, ) -> RequestHandler

Get delegatedPermissionClassifications from servicePrincipals

Source

pub fn update_delegated_permission_classifications<B: BodyExt>( &self, delegated_permission_classification_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property delegatedPermissionClassifications in servicePrincipals

Source

pub fn create_endpoints<B: BodyExt>(&self, body: B) -> RequestHandler

Create new navigation property to endpoints for servicePrincipals

Source

pub fn list_endpoints(&self) -> RequestHandler

Get endpoints from servicePrincipals

Source

pub fn get_endpoints_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_endpoints(&self, endpoint_id: impl AsRef<str>) -> RequestHandler

Delete navigation property endpoints for servicePrincipals

Source

pub fn get_endpoints(&self, endpoint_id: impl AsRef<str>) -> RequestHandler

Get endpoints from servicePrincipals

Source

pub fn update_endpoints<B: BodyExt>( &self, endpoint_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property endpoints in servicePrincipals

Source

pub fn create_federated_identity_credentials<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create new navigation property to federatedIdentityCredentials for servicePrincipals

Source

pub fn list_federated_identity_credentials(&self) -> RequestHandler

Get federatedIdentityCredentials from servicePrincipals

Source

pub fn get_federated_identity_credentials_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn delete_federated_identity_credentials( &self, federated_identity_credential_id: impl AsRef<str>, ) -> RequestHandler

Delete navigation property federatedIdentityCredentials for servicePrincipals

Source

pub fn get_federated_identity_credentials( &self, federated_identity_credential_id: impl AsRef<str>, ) -> RequestHandler

Get federatedIdentityCredentials from servicePrincipals

Source

pub fn update_federated_identity_credentials<B: BodyExt>( &self, federated_identity_credential_id: impl AsRef<str>, body: B, ) -> RequestHandler

Update the navigation property federatedIdentityCredentials in servicePrincipals

Source

pub fn get_member_groups<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action getMemberGroups

Source

pub fn get_member_objects<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action getMemberObjects

Source

pub fn list_home_realm_discovery_policies(&self) -> RequestHandler

List assigned homeRealmDiscoveryPolicy

Source

pub fn get_home_realm_discovery_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn create_ref_home_realm_discovery_policies<B: BodyExt>( &self, body: B, ) -> RequestHandler

Create new navigation property ref to homeRealmDiscoveryPolicies for servicePrincipals

Source

pub fn list_ref_home_realm_discovery_policies(&self) -> RequestHandler

List assigned homeRealmDiscoveryPolicy

Source

pub fn delete_ref_home_realm_discovery_policies( &self, home_realm_discovery_policy_id: impl AsRef<str>, ) -> RequestHandler

Delete ref of navigation property homeRealmDiscoveryPolicies for servicePrincipals

Source

pub fn remove_key<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action removeKey

Source

pub fn remove_password<B: BodyExt>(&self, body: B) -> RequestHandler

Invoke action removePassword

Source

pub fn restore(&self) -> RequestHandler

Invoke action restore

Source

pub fn list_token_issuance_policies(&self) -> RequestHandler

Get tokenIssuancePolicies from servicePrincipals

Source

pub fn get_token_issuance_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn get_token_issuance_policies( &self, token_issuance_policy_id: impl AsRef<str>, ) -> RequestHandler

Get tokenIssuancePolicies from servicePrincipals

Source

pub fn list_token_lifetime_policies(&self) -> RequestHandler

Get tokenLifetimePolicies from servicePrincipals

Source

pub fn get_token_lifetime_policies_count(&self) -> RequestHandler

Get the number of the resource

Source

pub fn get_token_lifetime_policies( &self, token_lifetime_policy_id: impl AsRef<str>, ) -> RequestHandler

Get tokenLifetimePolicies from servicePrincipals

Trait Implementations§

Source§

impl ApiClientImpl for ServicePrincipalsIdApiClient

Source§

fn url(&self) -> Url

Source§

fn render_path<S: AsRef<str>>( &self, path: S, path_params_map: &Value, ) -> GraphResult<String>

Source§

fn build_url<S>( &self, path: S, path_params_map: &Value, ) -> Result<Url, GraphFailure>
where S: AsRef<str>,

Source§

impl Debug for ServicePrincipalsIdApiClient

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl ODataQuery for ServicePrincipalsIdApiClient

Source§

fn append_query_pair<KV: AsRef<str>>(self, key: KV, value: KV) -> Self

Source§

fn count<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the total count of matching resources. See the docs
Source§

fn select(self, value: &[&str]) -> Self

Filters properties (columns). See the docs
Source§

fn expand(self, value: &[&str]) -> Self

Retrieves related resources. See the docs
Source§

fn filter(self, value: &[&str]) -> Self

Filters results (rows). See the docs
Source§

fn order_by(self, value: &[&str]) -> Self

Orders results. See the docs
Source§

fn search<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns results based on search criteria. See the docs
Source§

fn format<S>(self, value: S) -> Self
where S: AsRef<str>,

Returns the results in the specified media format. See the docs
Source§

fn skip<S>(self, value: S) -> Self
where S: AsRef<str>,

Indexes into a result set. Also used by some APIs to implement paging and can be used together with $top to manually page results. See the docs
Source§

fn skip_token<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Source§

fn delta_token<S>(self, value: S) -> Self
where S: AsRef<str>,

Retrieves the next page of results from result sets that span multiple pages. (Some APIs use $skip instead.) See the docs
Source§

fn top<S>(self, value: S) -> Self
where S: AsRef<str>,

Sets the page size of results. See the docs
Source§

impl ResourceIdentifier for ServicePrincipalsIdApiClient

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

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
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more