@microsoft/msgraph-beta-sdk-directory
Version:
Directory fluent API for Microsoft Graph
103 lines • 6.56 kB
TypeScript
import { type FeatureRolloutPolicy, type FeatureRolloutPolicyCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type FeatureRolloutPolicyItemRequestBuilder } from './item/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.directory entity.
*/
export interface FeatureRolloutPoliciesRequestBuilder extends BaseRequestBuilder<FeatureRolloutPoliciesRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
* @deprecated Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30
*/
get count(): CountRequestBuilder;
/**
* Provides operations to manage the featureRolloutPolicies property of the microsoft.graph.directory entity.
* @param featureRolloutPolicyId The unique identifier of featureRolloutPolicy
* @returns {FeatureRolloutPolicyItemRequestBuilder}
* @deprecated Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30
*/
byFeatureRolloutPolicyId(featureRolloutPolicyId: string): FeatureRolloutPolicyItemRequestBuilder;
/**
* Get featureRolloutPolicies from directory
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<FeatureRolloutPolicyCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30
*/
get(requestConfiguration?: RequestConfiguration<FeatureRolloutPoliciesRequestBuilderGetQueryParameters> | undefined): Promise<FeatureRolloutPolicyCollectionResponse | undefined>;
/**
* Create new navigation property to featureRolloutPolicies for directory
* @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
* @deprecated Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30
*/
post(body: FeatureRolloutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<FeatureRolloutPolicy | undefined>;
/**
* Get featureRolloutPolicies from directory
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<FeatureRolloutPoliciesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Create new navigation property to featureRolloutPolicies for directory
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Feature Rollout Policies have been grouped with other policies under /policies. The existing /directory/featureRolloutPolicies is deprecated and will stop returning data on 06/30/2021. Please use /policies/featureRolloutPolicies. as of 2021-01/DirectoryFeatureRolloutPolicies on 2021-03-05 and will be removed 2021-06-30
*/
toPostRequestInformation(body: FeatureRolloutPolicy, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get featureRolloutPolicies from directory
*/
export interface FeatureRolloutPoliciesRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* Expand related entities
*/
expand?: string[];
/**
* Filter items by property values
*/
filter?: string;
/**
* Order items by property values
*/
orderby?: string[];
/**
* Search items by search phrases
*/
search?: string;
/**
* Select properties to be returned
*/
select?: string[];
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Uri template for the request builder.
*/
export declare const FeatureRolloutPoliciesRequestBuilderUriTemplate = "{+baseurl}/directory/featureRolloutPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const FeatureRolloutPoliciesRequestBuilderNavigationMetadata: Record<Exclude<keyof FeatureRolloutPoliciesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const FeatureRolloutPoliciesRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map