@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
113 lines • 6.03 kB
TypeScript
import { type AttackSimulationRoot } from '@microsoft/msgraph-sdk/models/index.js';
import { type EndUserNotificationsRequestBuilder } from './endUserNotifications/index.js';
import { type LandingPagesRequestBuilder } from './landingPages/index.js';
import { type LoginPagesRequestBuilder } from './loginPages/index.js';
import { type OperationsRequestBuilder } from './operations/index.js';
import { type PayloadsRequestBuilder } from './payloads/index.js';
import { type SimulationAutomationsRequestBuilder } from './simulationAutomations/index.js';
import { type SimulationsRequestBuilder } from './simulations/index.js';
import { type TrainingsRequestBuilder } from './trainings/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the attackSimulation property of the microsoft.graph.security entity.
*/
export interface AttackSimulationRequestBuilder extends BaseRequestBuilder<AttackSimulationRequestBuilder> {
/**
* Provides operations to manage the endUserNotifications property of the microsoft.graph.attackSimulationRoot entity.
*/
get endUserNotifications(): EndUserNotificationsRequestBuilder;
/**
* Provides operations to manage the landingPages property of the microsoft.graph.attackSimulationRoot entity.
*/
get landingPages(): LandingPagesRequestBuilder;
/**
* Provides operations to manage the loginPages property of the microsoft.graph.attackSimulationRoot entity.
*/
get loginPages(): LoginPagesRequestBuilder;
/**
* Provides operations to manage the operations property of the microsoft.graph.attackSimulationRoot entity.
*/
get operations(): OperationsRequestBuilder;
/**
* Provides operations to manage the payloads property of the microsoft.graph.attackSimulationRoot entity.
*/
get payloads(): PayloadsRequestBuilder;
/**
* Provides operations to manage the simulationAutomations property of the microsoft.graph.attackSimulationRoot entity.
*/
get simulationAutomations(): SimulationAutomationsRequestBuilder;
/**
* Provides operations to manage the simulations property of the microsoft.graph.attackSimulationRoot entity.
*/
get simulations(): SimulationsRequestBuilder;
/**
* Provides operations to manage the trainings property of the microsoft.graph.attackSimulationRoot entity.
*/
get trainings(): TrainingsRequestBuilder;
/**
* Delete navigation property attackSimulation for security
* @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>;
/**
* Get attackSimulation from security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<AttackSimulationRoot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<AttackSimulationRequestBuilderGetQueryParameters> | undefined): Promise<AttackSimulationRoot | undefined>;
/**
* Update the navigation property attackSimulation in security
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<AttackSimulationRoot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: AttackSimulationRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AttackSimulationRoot | undefined>;
/**
* Delete navigation property attackSimulation for security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get attackSimulation from security
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AttackSimulationRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property attackSimulation in security
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: AttackSimulationRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get attackSimulation from security
*/
export interface AttackSimulationRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const AttackSimulationRequestBuilderUriTemplate = "{+baseurl}/security/attackSimulation{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const AttackSimulationRequestBuilderNavigationMetadata: Record<Exclude<keyof AttackSimulationRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const AttackSimulationRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map