@azure/arm-security
Version:
A generated SDK for SecurityCenter.
85 lines • 5.29 kB
TypeScript
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { CustomEntityStoreAssignments } from "../operationsInterfaces";
import { SecurityCenter } from "../securityCenter";
import { CustomEntityStoreAssignment, CustomEntityStoreAssignmentsListByResourceGroupOptionalParams, CustomEntityStoreAssignmentsListBySubscriptionOptionalParams, CustomEntityStoreAssignmentsGetOptionalParams, CustomEntityStoreAssignmentsGetResponse, CustomEntityStoreAssignmentRequest, CustomEntityStoreAssignmentsCreateOptionalParams, CustomEntityStoreAssignmentsCreateResponse, CustomEntityStoreAssignmentsDeleteOptionalParams } from "../models";
/** Class containing CustomEntityStoreAssignments operations. */
export declare class CustomEntityStoreAssignmentsImpl implements CustomEntityStoreAssignments {
private readonly client;
/**
* Initialize a new instance of the class CustomEntityStoreAssignments class.
* @param client Reference to the service client
*/
constructor(client: SecurityCenter);
/**
* List custom entity store assignments by a provided subscription and resource group
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
* case insensitive.
* @param options The options parameters.
*/
listByResourceGroup(resourceGroupName: string, options?: CustomEntityStoreAssignmentsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CustomEntityStoreAssignment>;
private listByResourceGroupPagingPage;
private listByResourceGroupPagingAll;
/**
* List custom entity store assignments by provided subscription
* @param options The options parameters.
*/
listBySubscription(options?: CustomEntityStoreAssignmentsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CustomEntityStoreAssignment>;
private listBySubscriptionPagingPage;
private listBySubscriptionPagingAll;
/**
* Gets a single custom entity store assignment by name for the provided subscription and resource
* group.
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
* case insensitive.
* @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is
* GUID.
* @param options The options parameters.
*/
get(resourceGroupName: string, customEntityStoreAssignmentName: string, options?: CustomEntityStoreAssignmentsGetOptionalParams): Promise<CustomEntityStoreAssignmentsGetResponse>;
/**
* Creates a custom entity store assignment for the provided subscription, if not already exists.
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
* case insensitive.
* @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is
* GUID.
* @param customEntityStoreAssignmentRequestBody Custom entity store assignment body
* @param options The options parameters.
*/
create(resourceGroupName: string, customEntityStoreAssignmentName: string, customEntityStoreAssignmentRequestBody: CustomEntityStoreAssignmentRequest, options?: CustomEntityStoreAssignmentsCreateOptionalParams): Promise<CustomEntityStoreAssignmentsCreateResponse>;
/**
* Delete a custom entity store assignment by name for a provided subscription
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
* case insensitive.
* @param customEntityStoreAssignmentName Name of the custom entity store assignment. Generated name is
* GUID.
* @param options The options parameters.
*/
delete(resourceGroupName: string, customEntityStoreAssignmentName: string, options?: CustomEntityStoreAssignmentsDeleteOptionalParams): Promise<void>;
/**
* List custom entity store assignments by a provided subscription and resource group
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
* case insensitive.
* @param options The options parameters.
*/
private _listByResourceGroup;
/**
* List custom entity store assignments by provided subscription
* @param options The options parameters.
*/
private _listBySubscription;
/**
* ListByResourceGroupNext
* @param resourceGroupName The name of the resource group within the user's subscription. The name is
* case insensitive.
* @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
* @param options The options parameters.
*/
private _listByResourceGroupNext;
/**
* ListBySubscriptionNext
* @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
* @param options The options parameters.
*/
private _listBySubscriptionNext;
}
//# sourceMappingURL=customEntityStoreAssignments.d.ts.map