@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
42 lines • 1.94 kB
TypeScript
import { type Payload } from '@microsoft/msgraph-sdk/models/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the payload property of the microsoft.graph.simulation entity.
*/
export interface PayloadRequestBuilder extends BaseRequestBuilder<PayloadRequestBuilder> {
/**
* The payload associated with a simulation during its creation.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Payload>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<PayloadRequestBuilderGetQueryParameters> | undefined): Promise<Payload | undefined>;
/**
* The payload associated with a simulation during its creation.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<PayloadRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* The payload associated with a simulation during its creation.
*/
export interface PayloadRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const PayloadRequestBuilderUriTemplate = "{+baseurl}/security/attackSimulation/simulations/{simulation%2Did}/payload{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const PayloadRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map