com.azure.resourcemanager.security.fluent.CustomEntityStoreAssignmentsClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-security Show documentation
Show all versions of azure-resourcemanager-security Show documentation
This package contains Microsoft Azure SDK for Security Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. API spec for Microsoft.Security (Azure Security Center) resource provider. Package tag package-composite-v3.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.security.fluent.models.CustomEntityStoreAssignmentInner;
import com.azure.resourcemanager.security.models.CustomEntityStoreAssignmentRequest;
/**
* An instance of this class provides access to all the operations defined in CustomEntityStoreAssignmentsClient.
*/
public interface CustomEntityStoreAssignmentsClient {
/**
* Gets a custom entity store assignment
*
* 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 context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a single custom entity store assignment by name for the provided subscription and resource group along
* with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByResourceGroupWithResponse(String resourceGroupName,
String customEntityStoreAssignmentName, Context context);
/**
* Gets a custom entity store assignment
*
* 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a single custom entity store assignment by name for the provided subscription and resource group.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CustomEntityStoreAssignmentInner getByResourceGroup(String resourceGroupName,
String customEntityStoreAssignmentName);
/**
* Creates a custom entity store assignment
*
* 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 context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return custom entity store assignment along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createWithResponse(String resourceGroupName,
String customEntityStoreAssignmentName,
CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody, Context context);
/**
* Creates a custom entity store assignment
*
* 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return custom entity store assignment.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
CustomEntityStoreAssignmentInner create(String resourceGroupName, String customEntityStoreAssignmentName,
CustomEntityStoreAssignmentRequest customEntityStoreAssignmentRequestBody);
/**
* Deleted a custom entity store assignment
*
* 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 context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteWithResponse(String resourceGroupName, String customEntityStoreAssignmentName,
Context context);
/**
* Deleted a custom entity store assignment
*
* 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String customEntityStoreAssignmentName);
/**
* List custom entity store assignments in a subscription and a resource group
*
* 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.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of custom entity store assignments as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName);
/**
* List custom entity store assignments in a subscription and a resource group
*
* 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 context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of custom entity store assignments as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable listByResourceGroup(String resourceGroupName, Context context);
/**
* List custom entity store assignments in a subscription
*
* List custom entity store assignments by provided subscription.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of custom entity store assignments as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list();
/**
* List custom entity store assignments in a subscription
*
* List custom entity store assignments by provided subscription.
*
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a list of custom entity store assignments as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(Context context);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy