@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
108 lines • 5.88 kB
TypeScript
import { type AdminWindowsUpdates } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CatalogRequestBuilder } from './catalog/index.js';
import { type DeploymentAudiencesRequestBuilder } from './deploymentAudiences/index.js';
import { type DeploymentsRequestBuilder } from './deployments/index.js';
import { type ProductsRequestBuilder } from './products/index.js';
import { type ResourceConnectionsRequestBuilder } from './resourceConnections/index.js';
import { type UpdatableAssetsRequestBuilder } from './updatableAssets/index.js';
import { type UpdatePoliciesRequestBuilder } from './updatePolicies/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the updates property of the microsoft.graph.adminWindows entity.
*/
export interface UpdatesRequestBuilder extends BaseRequestBuilder<UpdatesRequestBuilder> {
/**
* Provides operations to manage the catalog property of the microsoft.graph.adminWindowsUpdates entity.
*/
get catalog(): CatalogRequestBuilder;
/**
* Provides operations to manage the deploymentAudiences property of the microsoft.graph.adminWindowsUpdates entity.
*/
get deploymentAudiences(): DeploymentAudiencesRequestBuilder;
/**
* Provides operations to manage the deployments property of the microsoft.graph.adminWindowsUpdates entity.
*/
get deployments(): DeploymentsRequestBuilder;
/**
* Provides operations to manage the products property of the microsoft.graph.adminWindowsUpdates entity.
*/
get products(): ProductsRequestBuilder;
/**
* Provides operations to manage the resourceConnections property of the microsoft.graph.adminWindowsUpdates entity.
*/
get resourceConnections(): ResourceConnectionsRequestBuilder;
/**
* Provides operations to manage the updatableAssets property of the microsoft.graph.adminWindowsUpdates entity.
*/
get updatableAssets(): UpdatableAssetsRequestBuilder;
/**
* Provides operations to manage the updatePolicies property of the microsoft.graph.adminWindowsUpdates entity.
*/
get updatePolicies(): UpdatePoliciesRequestBuilder;
/**
* Delete navigation property updates for admin
* @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>;
/**
* Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<AdminWindowsUpdates>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<UpdatesRequestBuilderGetQueryParameters> | undefined): Promise<AdminWindowsUpdates | undefined>;
/**
* Update the navigation property updates in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<AdminWindowsUpdates>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: AdminWindowsUpdates, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AdminWindowsUpdates | undefined>;
/**
* Delete navigation property updates for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<UpdatesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property updates 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: AdminWindowsUpdates, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Entity that acts as a container for all Windows Update for Business deployment service functionalities. Read-only.
*/
export interface UpdatesRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const UpdatesRequestBuilderUriTemplate = "{+baseurl}/admin/windows/updates{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const UpdatesRequestBuilderNavigationMetadata: Record<Exclude<keyof UpdatesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const UpdatesRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map