UNPKG

@microsoft/msgraph-beta-sdk-groups

Version:
71 lines 4.98 kB
import { type OnPremisesSyncBehavior } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.group entity. */ export interface OnPremisesSyncBehaviorRequestBuilder extends BaseRequestBuilder<OnPremisesSyncBehaviorRequestBuilder> { /** * Delete navigation property onPremisesSyncBehavior for groups * @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>; /** * Read the properties of an onPremisesSyncBehavior object. The isCloudManaged property indicates whether the object's source of authority is set to the cloud. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<OnPremisesSyncBehavior>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/onpremisessyncbehavior-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<OnPremisesSyncBehaviorRequestBuilderGetQueryParameters> | undefined): Promise<OnPremisesSyncBehavior | undefined>; /** * Update the properties of an onPremisesSyncBehavior object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<OnPremisesSyncBehavior>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/onpremisessyncbehavior-update?view=graph-rest-beta|Find more info here} */ patch(body: OnPremisesSyncBehavior, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<OnPremisesSyncBehavior | undefined>; /** * Delete navigation property onPremisesSyncBehavior for groups * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties of an onPremisesSyncBehavior object. The isCloudManaged property indicates whether the object's source of authority is set to the cloud. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<OnPremisesSyncBehaviorRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of an onPremisesSyncBehavior object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: OnPremisesSyncBehavior, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties of an onPremisesSyncBehavior object. The isCloudManaged property indicates whether the object's source of authority is set to the cloud. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. */ export interface OnPremisesSyncBehaviorRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const OnPremisesSyncBehaviorRequestBuilderUriTemplate = "{+baseurl}/groups/{group%2Did}/onPremisesSyncBehavior{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const OnPremisesSyncBehaviorRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map