com.azure.resourcemanager.managementgroups.models.ResourceProviders Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-managementgroups Show documentation
Show all versions of azure-resourcemanager-managementgroups Show documentation
This package contains Microsoft Azure SDK for ManagementGroups Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Azure Management Groups API enables consolidation of multiple
subscriptions/resources into an organizational hierarchy and centrally
manage access control, policies, alerting and reporting for those resources.
. Package tag package-2021-04.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.managementgroups.models;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
/** Resource collection API of ResourceProviders. */
public interface ResourceProviders {
/**
* Checks if the specified management group name is valid and unique.
*
* @param checkNameAvailabilityRequest Management group name availability check parameters.
* @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 describes the result of the request to check management group name availability along with {@link
* Response}.
*/
Response checkNameAvailabilityWithResponse(
CheckNameAvailabilityRequest checkNameAvailabilityRequest, Context context);
/**
* Checks if the specified management group name is valid and unique.
*
* @param checkNameAvailabilityRequest Management group name availability check parameters.
* @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 describes the result of the request to check management group name availability.
*/
CheckNameAvailabilityResult checkNameAvailability(CheckNameAvailabilityRequest checkNameAvailabilityRequest);
/**
* Starts backfilling subscriptions for the Tenant.
*
* @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 tenant backfill status along with {@link Response}.
*/
Response startTenantBackfillWithResponse(Context context);
/**
* Starts backfilling subscriptions for the Tenant.
*
* @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 tenant backfill status.
*/
TenantBackfillStatusResult startTenantBackfill();
/**
* Gets tenant backfill status.
*
* @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 tenant backfill status along with {@link Response}.
*/
Response tenantBackfillStatusWithResponse(Context context);
/**
* Gets tenant backfill status.
*
* @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 tenant backfill status.
*/
TenantBackfillStatusResult tenantBackfillStatus();
}