@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
79 lines • 4.63 kB
TypeScript
import { type ServiceHealth } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type IssuesRequestBuilder } from './issues/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity.
*/
export interface ServiceHealthItemRequestBuilder extends BaseRequestBuilder<ServiceHealthItemRequestBuilder> {
/**
* Provides operations to manage the issues property of the microsoft.graph.serviceHealth entity.
*/
get issues(): IssuesRequestBuilder;
/**
* Delete navigation property healthOverviews 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>;
/**
* Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ServiceHealth>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/servicehealth-get?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<ServiceHealthItemRequestBuilderGetQueryParameters> | undefined): Promise<ServiceHealth | undefined>;
/**
* Update the navigation property healthOverviews in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ServiceHealth>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: ServiceHealth, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServiceHealth | undefined>;
/**
* Delete navigation property healthOverviews for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServiceHealthItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property healthOverviews 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: ServiceHealth, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Retrieve the properties and relationships of a serviceHealth object. This operation provides the health information of a specified service for a tenant.
*/
export interface ServiceHealthItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ServiceHealthItemRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/healthOverviews/{serviceHealth%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ServiceHealthItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ServiceHealthItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ServiceHealthItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map