UNPKG

@microsoft/msgraph-sdk-policies

Version:
81 lines 4.75 kB
import { type FeatureRolloutPolicy } from '@microsoft/msgraph-sdk/models/index.js'; import { type AppliesToRequestBuilder } from './appliesTo/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the featureRolloutPolicies property of the microsoft.graph.policyRoot entity. */ export interface FeatureRolloutPolicyItemRequestBuilder extends BaseRequestBuilder<FeatureRolloutPolicyItemRequestBuilder> { /** * Provides operations to manage the appliesTo property of the microsoft.graph.featureRolloutPolicy entity. */ get appliesTo(): AppliesToRequestBuilder; /** * Delete a featureRolloutPolicy object. * @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 * @see {@link https://learn.microsoft.com/graph/api/featurerolloutpolicy-delete?view=graph-rest-1.0|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Retrieve the properties and relationships of a featureRolloutPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<FeatureRolloutPolicy>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/featurerolloutpolicy-get?view=graph-rest-1.0|Find more info here} */ get(requestConfiguration?: RequestConfiguration<FeatureRolloutPolicyItemRequestBuilderGetQueryParameters> | undefined): Promise<FeatureRolloutPolicy | undefined>; /** * Update the properties of featureRolloutPolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<FeatureRolloutPolicy>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/featurerolloutpolicy-update?view=graph-rest-1.0|Find more info here} */ patch(body: FeatureRolloutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<FeatureRolloutPolicy | undefined>; /** * Delete a featureRolloutPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Retrieve the properties and relationships of a featureRolloutPolicy object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<FeatureRolloutPolicyItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of featureRolloutPolicy object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: FeatureRolloutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties and relationships of a featureRolloutPolicy object. */ export interface FeatureRolloutPolicyItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const FeatureRolloutPolicyItemRequestBuilderUriTemplate = "{+baseurl}/policies/featureRolloutPolicies/{featureRolloutPolicy%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const FeatureRolloutPolicyItemRequestBuilderNavigationMetadata: Record<Exclude<keyof FeatureRolloutPolicyItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const FeatureRolloutPolicyItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map