UNPKG

@microsoft/msgraph-beta-sdk-admin

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