UNPKG

@microsoft/msgraph-beta-sdk-security

Version:
79 lines 4.79 kB
import { type IdentityAccounts } from '@microsoft/msgraph-beta-sdk/models/security/index.js'; import { type MicrosoftGraphSecurityInvokeActionRequestBuilder } from './microsoftGraphSecurityInvokeAction/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the identityAccounts property of the microsoft.graph.security.identityContainer entity. */ export interface IdentityAccountsItemRequestBuilder extends BaseRequestBuilder<IdentityAccountsItemRequestBuilder> { /** * Provides operations to call the invokeAction method. */ get microsoftGraphSecurityInvokeAction(): MicrosoftGraphSecurityInvokeActionRequestBuilder; /** * Delete navigation property identityAccounts 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>; /** * Read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<IdentityAccounts>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/security-identityaccounts-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<IdentityAccountsItemRequestBuilderGetQueryParameters> | undefined): Promise<IdentityAccounts | undefined>; /** * Update the navigation property identityAccounts in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<IdentityAccounts>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: IdentityAccounts, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IdentityAccounts | undefined>; /** * Delete navigation property identityAccounts for security * @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 single identity security account object. This allows retrieving information about available identity accounts. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<IdentityAccountsItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property identityAccounts 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: IdentityAccounts, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a single identity security account object. This allows retrieving information about available identity accounts. */ export interface IdentityAccountsItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const IdentityAccountsItemRequestBuilderUriTemplate = "{+baseurl}/security/identities/identityAccounts/{identityAccounts%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const IdentityAccountsItemRequestBuilderNavigationMetadata: Record<Exclude<keyof IdentityAccountsItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const IdentityAccountsItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map