UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
100 lines 5.87 kB
import { type DeploymentAudience } from '@microsoft/msgraph-beta-sdk/models/windowsUpdates/index.js'; import { type ApplicableContentRequestBuilder } from './applicableContent/index.js'; import { type ExclusionsRequestBuilder } from './exclusions/index.js'; import { type MembersRequestBuilder } from './members/index.js'; import { type MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder } from './microsoftGraphWindowsUpdatesUpdateAudience/index.js'; import { type MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder } from './microsoftGraphWindowsUpdatesUpdateAudienceById/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the deploymentAudiences property of the microsoft.graph.adminWindowsUpdates entity. */ export interface DeploymentAudienceItemRequestBuilder extends BaseRequestBuilder<DeploymentAudienceItemRequestBuilder> { /** * Provides operations to manage the applicableContent property of the microsoft.graph.windowsUpdates.deploymentAudience entity. */ get applicableContent(): ApplicableContentRequestBuilder; /** * Provides operations to manage the exclusions property of the microsoft.graph.windowsUpdates.deploymentAudience entity. */ get exclusions(): ExclusionsRequestBuilder; /** * Provides operations to manage the members property of the microsoft.graph.windowsUpdates.deploymentAudience entity. */ get members(): MembersRequestBuilder; /** * Provides operations to call the updateAudience method. */ get microsoftGraphWindowsUpdatesUpdateAudience(): MicrosoftGraphWindowsUpdatesUpdateAudienceRequestBuilder; /** * Provides operations to call the updateAudienceById method. */ get microsoftGraphWindowsUpdatesUpdateAudienceById(): MicrosoftGraphWindowsUpdatesUpdateAudienceByIdRequestBuilder; /** * Delete a deploymentAudience 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-deploymentaudience-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Read the properties and relationships of a deploymentAudience object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeploymentAudience>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/windowsupdates-deploymentaudience-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<DeploymentAudienceItemRequestBuilderGetQueryParameters> | undefined): Promise<DeploymentAudience | undefined>; /** * Update the navigation property deploymentAudiences in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DeploymentAudience>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: DeploymentAudience, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<DeploymentAudience | undefined>; /** * Delete a deploymentAudience 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 deploymentAudience object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DeploymentAudienceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property deploymentAudiences in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: DeploymentAudience, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a deploymentAudience object. */ export interface DeploymentAudienceItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DeploymentAudienceItemRequestBuilderUriTemplate = "{+baseurl}/admin/windows/updates/deploymentAudiences/{deploymentAudience%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DeploymentAudienceItemRequestBuilderNavigationMetadata: Record<Exclude<keyof DeploymentAudienceItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DeploymentAudienceItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map