@microsoft/msgraph-beta-sdk-policies
Version:
Policies fluent API for Microsoft Graph
83 lines • 4.86 kB
TypeScript
import { type ServicePrincipalCreationPolicy } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type ExcludesRequestBuilder } from './excludes/index.js';
import { type IncludesRequestBuilder } from './includes/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the servicePrincipalCreationPolicies property of the microsoft.graph.policyRoot entity.
*/
export interface ServicePrincipalCreationPolicyItemRequestBuilder extends BaseRequestBuilder<ServicePrincipalCreationPolicyItemRequestBuilder> {
/**
* Provides operations to manage the excludes property of the microsoft.graph.servicePrincipalCreationPolicy entity.
*/
get excludes(): ExcludesRequestBuilder;
/**
* Provides operations to manage the includes property of the microsoft.graph.servicePrincipalCreationPolicy entity.
*/
get includes(): IncludesRequestBuilder;
/**
* Delete navigation property servicePrincipalCreationPolicies for policies
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Get servicePrincipalCreationPolicies from policies
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ServicePrincipalCreationPolicy>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<ServicePrincipalCreationPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<ServicePrincipalCreationPolicy | undefined>;
/**
* Update the navigation property servicePrincipalCreationPolicies in policies
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ServicePrincipalCreationPolicy>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: ServicePrincipalCreationPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServicePrincipalCreationPolicy | undefined>;
/**
* Delete navigation property servicePrincipalCreationPolicies for policies
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get servicePrincipalCreationPolicies from policies
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServicePrincipalCreationPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property servicePrincipalCreationPolicies in policies
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: ServicePrincipalCreationPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get servicePrincipalCreationPolicies from policies
*/
export interface ServicePrincipalCreationPolicyItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ServicePrincipalCreationPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/servicePrincipalCreationPolicies/{servicePrincipalCreationPolicy%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ServicePrincipalCreationPolicyItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ServicePrincipalCreationPolicyItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ServicePrincipalCreationPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map