UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
79 lines 4.85 kB
import { type ServiceHealthIssue } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type IncidentReportRequestBuilder } from './incidentReport/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the issues property of the microsoft.graph.serviceAnnouncement entity. */ export interface ServiceHealthIssueItemRequestBuilder extends BaseRequestBuilder<ServiceHealthIssueItemRequestBuilder> { /** * Provides operations to call the incidentReport method. */ get incidentReport(): IncidentReportRequestBuilder; /** * Delete navigation property issues 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 serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ServiceHealthIssue>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/servicehealthissue-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<ServiceHealthIssueItemRequestBuilderGetQueryParameters> | undefined): Promise<ServiceHealthIssue | undefined>; /** * Update the navigation property issues in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ServiceHealthIssue>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: ServiceHealthIssue, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ServiceHealthIssue | undefined>; /** * Delete navigation property issues 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 serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ServiceHealthIssueItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property issues 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: ServiceHealthIssue, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Retrieve the properties and relationships of a serviceHealthIssue object. This operation retrieves a specified service health issue for tenant. The operation returns an error if the issue does not exist for the tenant. */ export interface ServiceHealthIssueItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ServiceHealthIssueItemRequestBuilderUriTemplate = "{+baseurl}/admin/serviceAnnouncement/issues/{serviceHealthIssue%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ServiceHealthIssueItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ServiceHealthIssueItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ServiceHealthIssueItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map