UNPKG

@microsoft/msgraph-beta-sdk-solutions

Version:
72 lines 4.31 kB
import { type BusinessScenario } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the businessScenarios property of the microsoft.graph.solutionsRoot entity. */ export interface BusinessScenariosWithUniqueNameRequestBuilder extends BaseRequestBuilder<BusinessScenariosWithUniqueNameRequestBuilder> { /** * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @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/businessscenario-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Read the properties and relationships of a businessScenario object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<BusinessScenario>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/businessscenario-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<BusinessScenariosWithUniqueNameRequestBuilderGetQueryParameters> | undefined): Promise<BusinessScenario | undefined>; /** * Update the properties of a businessScenario object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<BusinessScenario>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/businessscenario-update?view=graph-rest-beta|Find more info here} */ patch(body: BusinessScenario, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<BusinessScenario | undefined>; /** * Delete a businessScenario object. The deletion of a scenario causes all data associated with the scenario to be deleted. * @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 businessScenario object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<BusinessScenariosWithUniqueNameRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a businessScenario object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: BusinessScenario, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a businessScenario object. */ export interface BusinessScenariosWithUniqueNameRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const BusinessScenariosWithUniqueNameRequestBuilderUriTemplate = "{+baseurl}/solutions/businessScenarios(uniqueName='{uniqueName}'){?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const BusinessScenariosWithUniqueNameRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map