UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
71 lines 4.42 kB
import { type CloudPcOrganizationSettings } 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 organizationSettings property of the microsoft.graph.virtualEndpoint entity. */ export interface OrganizationSettingsRequestBuilder extends BaseRequestBuilder<OrganizationSettingsRequestBuilder> { /** * Delete navigation property organizationSettings for deviceManagement * @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 and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CloudPcOrganizationSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/cloudpcorganizationsettings-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<OrganizationSettingsRequestBuilderGetQueryParameters> | undefined): Promise<CloudPcOrganizationSettings | undefined>; /** * Update the properties of the cloudPcOrganizationSettings object in a tenant. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<CloudPcOrganizationSettings>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/cloudpcorganizationsettings-update?view=graph-rest-beta|Find more info here} */ patch(body: CloudPcOrganizationSettings, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<CloudPcOrganizationSettings | undefined>; /** * Delete navigation property organizationSettings for deviceManagement * @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 and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<OrganizationSettingsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of the cloudPcOrganizationSettings object in a tenant. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: CloudPcOrganizationSettings, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of the cloudPcOrganizationSettings from the current tenant. A tenant has only one cloudPcOrganizationSettings object. */ export interface OrganizationSettingsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const OrganizationSettingsRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/virtualEndpoint/organizationSettings{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const OrganizationSettingsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map