public class ProviderOperationsImpl extends Object implements ServiceOperations<ResourceManagementClientImpl>, ProviderOperations
| Modifier and Type | Method and Description |
|---|---|
ProviderGetResult |
get(String resourceProviderNamespace)
Gets a resource provider.
|
Future<ProviderGetResult> |
getAsync(String resourceProviderNamespace)
Gets a resource provider.
|
ResourceManagementClientImpl |
getClient()
Gets a reference to the
microsoft.azure.management.resources.ResourceManagementClientImpl.
|
ProviderListResult |
list(ProviderListParameters parameters)
Gets a list of resource providers.
|
Future<ProviderListResult> |
listAsync(ProviderListParameters parameters)
Gets a list of resource providers.
|
ProviderListResult |
listNext(String nextLink)
Get a list of deployments.
|
Future<ProviderListResult> |
listNextAsync(String nextLink)
Get a list of deployments.
|
ProviderRegistionResult |
register(String resourceProviderNamespace)
Registers provider to be used with a subscription.
|
Future<ProviderRegistionResult> |
registerAsync(String resourceProviderNamespace)
Registers provider to be used with a subscription.
|
ProviderUnregistionResult |
unregister(String resourceProviderNamespace)
Unregisters provider from a subscription.
|
Future<ProviderUnregistionResult> |
unregisterAsync(String resourceProviderNamespace)
Unregisters provider from a subscription.
|
public ResourceManagementClientImpl getClient()
getClient in interface ServiceOperations<ResourceManagementClientImpl>public Future<ProviderGetResult> getAsync(String resourceProviderNamespace)
getAsync in interface ProviderOperationsresourceProviderNamespace - Required. Namespace of the resource
provider.public ProviderGetResult get(String resourceProviderNamespace) throws IOException, ServiceException, URISyntaxException
get in interface ProviderOperationsresourceProviderNamespace - Required. Namespace of the resource
provider.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.public Future<ProviderListResult> listAsync(ProviderListParameters parameters)
listAsync in interface ProviderOperationsparameters - Optional. Query parameters. If null is passed returns
all deployments.public ProviderListResult list(ProviderListParameters parameters) throws IOException, ServiceException, URISyntaxException
list in interface ProviderOperationsparameters - Optional. Query parameters. If null is passed returns
all deployments.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.public Future<ProviderListResult> listNextAsync(String nextLink)
listNextAsync in interface ProviderOperationsnextLink - Required. NextLink from the previous successful call to
List operation.public ProviderListResult listNext(String nextLink) throws IOException, ServiceException, URISyntaxException
listNext in interface ProviderOperationsnextLink - Required. NextLink from the previous successful call to
List operation.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.URISyntaxException - Thrown if there was an error parsing a URI in
the response.public Future<ProviderRegistionResult> registerAsync(String resourceProviderNamespace)
registerAsync in interface ProviderOperationsresourceProviderNamespace - Required. Namespace of the resource
provider.public ProviderRegistionResult register(String resourceProviderNamespace) throws IOException, ServiceException
register in interface ProviderOperationsresourceProviderNamespace - Required. Namespace of the resource
provider.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found.public Future<ProviderUnregistionResult> unregisterAsync(String resourceProviderNamespace)
unregisterAsync in interface ProviderOperationsresourceProviderNamespace - Required. Namespace of the resource
provider.public ProviderUnregistionResult unregister(String resourceProviderNamespace) throws IOException, ServiceException
unregister in interface ProviderOperationsresourceProviderNamespace - Required. Namespace of the resource
provider.IOException - Signals that an I/O exception of some sort has
occurred. This class is the general class of exceptions produced by
failed or interrupted I/O operations.ServiceException - Thrown if an unexpected response is found./**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/