public interface ProvidersClient
| Modifier and Type | Method and Description |
|---|---|
ProviderInner |
get(String resourceProviderNamespace)
Gets the specified resource provider.
|
Mono<ProviderInner> |
getAsync(String resourceProviderNamespace)
Gets the specified resource provider.
|
Mono<ProviderInner> |
getAsync(String resourceProviderNamespace,
String expand)
Gets the specified resource provider.
|
ProviderInner |
getAtTenantScope(String resourceProviderNamespace)
Gets the specified resource provider at the tenant level.
|
Mono<ProviderInner> |
getAtTenantScopeAsync(String resourceProviderNamespace)
Gets the specified resource provider at the tenant level.
|
Mono<ProviderInner> |
getAtTenantScopeAsync(String resourceProviderNamespace,
String expand)
Gets the specified resource provider at the tenant level.
|
com.azure.core.http.rest.Response<ProviderInner> |
getAtTenantScopeWithResponse(String resourceProviderNamespace,
String expand,
com.azure.core.util.Context context)
Gets the specified resource provider at the tenant level.
|
Mono<com.azure.core.http.rest.Response<ProviderInner>> |
getAtTenantScopeWithResponseAsync(String resourceProviderNamespace,
String expand)
Gets the specified resource provider at the tenant level.
|
com.azure.core.http.rest.Response<ProviderInner> |
getWithResponse(String resourceProviderNamespace,
String expand,
com.azure.core.util.Context context)
Gets the specified resource provider.
|
Mono<com.azure.core.http.rest.Response<ProviderInner>> |
getWithResponseAsync(String resourceProviderNamespace,
String expand)
Gets the specified resource provider.
|
com.azure.core.http.rest.PagedIterable<ProviderInner> |
list()
Gets all resource providers for a subscription.
|
com.azure.core.http.rest.PagedIterable<ProviderInner> |
list(Integer top,
String expand,
com.azure.core.util.Context context)
Gets all resource providers for a subscription.
|
com.azure.core.http.rest.PagedFlux<ProviderInner> |
listAsync()
Gets all resource providers for a subscription.
|
com.azure.core.http.rest.PagedFlux<ProviderInner> |
listAsync(Integer top,
String expand)
Gets all resource providers for a subscription.
|
com.azure.core.http.rest.PagedIterable<ProviderInner> |
listAtTenantScope()
Gets all resource providers for the tenant.
|
com.azure.core.http.rest.PagedIterable<ProviderInner> |
listAtTenantScope(Integer top,
String expand,
com.azure.core.util.Context context)
Gets all resource providers for the tenant.
|
com.azure.core.http.rest.PagedFlux<ProviderInner> |
listAtTenantScopeAsync()
Gets all resource providers for the tenant.
|
com.azure.core.http.rest.PagedFlux<ProviderInner> |
listAtTenantScopeAsync(Integer top,
String expand)
Gets all resource providers for the tenant.
|
ProviderInner |
register(String resourceProviderNamespace)
Registers a subscription with a resource provider.
|
Mono<ProviderInner> |
registerAsync(String resourceProviderNamespace)
Registers a subscription with a resource provider.
|
void |
registerAtManagementGroupScope(String resourceProviderNamespace,
String groupId)
Registers a management group with a resource provider.
|
Mono<Void> |
registerAtManagementGroupScopeAsync(String resourceProviderNamespace,
String groupId)
Registers a management group with a resource provider.
|
com.azure.core.http.rest.Response<Void> |
registerAtManagementGroupScopeWithResponse(String resourceProviderNamespace,
String groupId,
com.azure.core.util.Context context)
Registers a management group with a resource provider.
|
Mono<com.azure.core.http.rest.Response<Void>> |
registerAtManagementGroupScopeWithResponseAsync(String resourceProviderNamespace,
String groupId)
Registers a management group with a resource provider.
|
com.azure.core.http.rest.Response<ProviderInner> |
registerWithResponse(String resourceProviderNamespace,
com.azure.core.util.Context context)
Registers a subscription with a resource provider.
|
Mono<com.azure.core.http.rest.Response<ProviderInner>> |
registerWithResponseAsync(String resourceProviderNamespace)
Registers a subscription with a resource provider.
|
ProviderInner |
unregister(String resourceProviderNamespace)
Unregisters a subscription from a resource provider.
|
Mono<ProviderInner> |
unregisterAsync(String resourceProviderNamespace)
Unregisters a subscription from a resource provider.
|
com.azure.core.http.rest.Response<ProviderInner> |
unregisterWithResponse(String resourceProviderNamespace,
com.azure.core.util.Context context)
Unregisters a subscription from a resource provider.
|
Mono<com.azure.core.http.rest.Response<ProviderInner>> |
unregisterWithResponseAsync(String resourceProviderNamespace)
Unregisters a subscription from a resource provider.
|
Mono<com.azure.core.http.rest.Response<ProviderInner>> unregisterWithResponseAsync(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider to unregister.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ProviderInner> unregisterAsync(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider to unregister.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ProviderInner unregister(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider to unregister.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ProviderInner> unregisterWithResponse(String resourceProviderNamespace, com.azure.core.util.Context context)
resourceProviderNamespace - The namespace of the resource provider to unregister.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Void>> registerAtManagementGroupScopeWithResponseAsync(String resourceProviderNamespace, String groupId)
resourceProviderNamespace - The namespace of the resource provider to register.groupId - The management group ID.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> registerAtManagementGroupScopeAsync(String resourceProviderNamespace, String groupId)
resourceProviderNamespace - The namespace of the resource provider to register.groupId - The management group ID.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void registerAtManagementGroupScope(String resourceProviderNamespace, String groupId)
resourceProviderNamespace - The namespace of the resource provider to register.groupId - The management group ID.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> registerAtManagementGroupScopeWithResponse(String resourceProviderNamespace, String groupId, com.azure.core.util.Context context)
resourceProviderNamespace - The namespace of the resource provider to register.groupId - The management group ID.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<ProviderInner>> registerWithResponseAsync(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider to register.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ProviderInner> registerAsync(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider to register.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ProviderInner register(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider to register.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ProviderInner> registerWithResponse(String resourceProviderNamespace, com.azure.core.util.Context context)
resourceProviderNamespace - The namespace of the resource provider to register.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<ProviderInner> listAsync(Integer top, String expand)
top - The number of results to return. If null is passed returns all deployments.expand - The properties to include in the results. For example, use &$expand=metadata in the query
string to retrieve resource provider metadata. To include property aliases in response, use
$expand=resourceTypes/aliases.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<ProviderInner> listAsync()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ProviderInner> list()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ProviderInner> list(Integer top, String expand, com.azure.core.util.Context context)
top - The number of results to return. If null is passed returns all deployments.expand - The properties to include in the results. For example, use &$expand=metadata in the query
string to retrieve resource provider metadata. To include property aliases in response, use
$expand=resourceTypes/aliases.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<ProviderInner> listAtTenantScopeAsync(Integer top, String expand)
top - The number of results to return. If null is passed returns all providers.expand - The properties to include in the results. For example, use &$expand=metadata in the query
string to retrieve resource provider metadata. To include property aliases in response, use
$expand=resourceTypes/aliases.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<ProviderInner> listAtTenantScopeAsync()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ProviderInner> listAtTenantScope()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<ProviderInner> listAtTenantScope(Integer top, String expand, com.azure.core.util.Context context)
top - The number of results to return. If null is passed returns all providers.expand - The properties to include in the results. For example, use &$expand=metadata in the query
string to retrieve resource provider metadata. To include property aliases in response, use
$expand=resourceTypes/aliases.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<ProviderInner>> getWithResponseAsync(String resourceProviderNamespace, String expand)
resourceProviderNamespace - The namespace of the resource provider.expand - The $expand query parameter. For example, to include property aliases in response, use
$expand=resourceTypes/aliases.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ProviderInner> getAsync(String resourceProviderNamespace, String expand)
resourceProviderNamespace - The namespace of the resource provider.expand - The $expand query parameter. For example, to include property aliases in response, use
$expand=resourceTypes/aliases.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ProviderInner> getAsync(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ProviderInner get(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ProviderInner> getWithResponse(String resourceProviderNamespace, String expand, com.azure.core.util.Context context)
resourceProviderNamespace - The namespace of the resource provider.expand - The $expand query parameter. For example, to include property aliases in response, use
$expand=resourceTypes/aliases.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<ProviderInner>> getAtTenantScopeWithResponseAsync(String resourceProviderNamespace, String expand)
resourceProviderNamespace - The namespace of the resource provider.expand - The $expand query parameter. For example, to include property aliases in response, use
$expand=resourceTypes/aliases.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ProviderInner> getAtTenantScopeAsync(String resourceProviderNamespace, String expand)
resourceProviderNamespace - The namespace of the resource provider.expand - The $expand query parameter. For example, to include property aliases in response, use
$expand=resourceTypes/aliases.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<ProviderInner> getAtTenantScopeAsync(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ProviderInner getAtTenantScope(String resourceProviderNamespace)
resourceProviderNamespace - The namespace of the resource provider.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<ProviderInner> getAtTenantScopeWithResponse(String resourceProviderNamespace, String expand, com.azure.core.util.Context context)
resourceProviderNamespace - The namespace of the resource provider.expand - The $expand query parameter. For example, to include property aliases in response, use
$expand=resourceTypes/aliases.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.