public class NetworkResourceProviderClientImpl extends ServiceClient<NetworkResourceProviderClient> implements NetworkResourceProviderClient
| Constructor and Description |
|---|
NetworkResourceProviderClientImpl(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService)
Initializes a new instance of the NetworkResourceProviderClientImpl class.
|
NetworkResourceProviderClientImpl(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService,
SubscriptionCloudCredentials credentials)
Initializes a new instance of the NetworkResourceProviderClientImpl class.
|
NetworkResourceProviderClientImpl(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService,
SubscriptionCloudCredentials credentials,
URI baseUri)
Initializes a new instance of the NetworkResourceProviderClientImpl class.
|
NetworkResourceProviderClientImpl(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService,
SubscriptionCloudCredentials credentials,
URI baseUri,
String apiVersion,
int longRunningOperationInitialTimeout,
int longRunningOperationRetryTimeout)
Initializes a new instance of the NetworkResourceProviderClientImpl class.
|
| Modifier and Type | Method and Description |
|---|---|
DnsNameAvailabilityResponse |
checkDnsNameAvailability(String location,
String domainNameLabel)
Checks whether a domain name in the cloudapp.net zone is available for
use.
|
Future<DnsNameAvailabilityResponse> |
checkDnsNameAvailabilityAsync(String location,
String domainNameLabel)
Checks whether a domain name in the cloudapp.net zone is available for
use.
|
String |
getApiVersion()
Gets the API version.
|
ApplicationGatewayOperations |
getApplicationGatewaysOperations()
The Network Resource Provider API includes operations managing the
application gateways for your subscription.
|
URI |
getBaseUri()
Gets the URI used as the base for all cloud service requests.
|
SubscriptionCloudCredentials |
getCredentials()
Gets subscription credentials which uniquely identify Microsoft Azure
subscription.
|
LoadBalancerOperations |
getLoadBalancersOperations()
The Network Resource Provider API includes operations for managing the
load balancers for your subscription.
|
LocalNetworkGatewayOperations |
getLocalNetworkGatewaysOperations()
The Network Resource Provider API includes operations for managing the
Virtual network Gateway for your subscription.
|
int |
getLongRunningOperationInitialTimeout()
Gets or sets the initial timeout for Long Running Operations.
|
int |
getLongRunningOperationRetryTimeout()
Gets or sets the retry timeout for Long Running Operations.
|
AzureAsyncOperationResponse |
getLongRunningOperationStatus(String azureAsyncOperation)
The Get Operation Status operation returns the status of the specified
operation.
|
Future<AzureAsyncOperationResponse> |
getLongRunningOperationStatusAsync(String azureAsyncOperation)
The Get Operation Status operation returns the status of the specified
operation.
|
NetworkInterfaceOperations |
getNetworkInterfacesOperations()
The Network Resource Provider API includes operations for managing the
subnets for your subscription.
|
NetworkSecurityGroupOperations |
getNetworkSecurityGroupsOperations()
The Network Resource Provider API includes operations for managing the
NetworkSecurityGroups for your subscription.
|
PublicIpAddressOperations |
getPublicIpAddressesOperations()
The Network Resource Provider API includes operations for managing the
PublicIPAddress for your subscription.
|
RouteOperations |
getRoutesOperations()
The Network Resource Provider API includes operations for managing the
Routes for your subscription.
|
RouteTableOperations |
getRouteTablesOperations()
The Network Resource Provider API includes operations for managing the
RouteTables for your subscription.
|
SecurityRuleOperations |
getSecurityRulesOperations()
The Network Resource Provider API includes operations for managing the
SecurityRules for your subscription.
|
SubnetOperations |
getSubnetsOperations()
The Network Resource Provider API includes operations for managing the
subnets for your subscription.
|
UsageOperations |
getUsagesOperations()
Operations for listing usage.
|
VirtualNetworkGatewayConnectionOperations |
getVirtualNetworkGatewayConnectionsOperations()
The Network Resource Provider API includes operations for managing the
Virtual network Gateway for your subscription.
|
VirtualNetworkGatewayOperations |
getVirtualNetworkGatewaysOperations()
The Network Resource Provider API includes operations for managing the
Virtual network Gateway for your subscription.
|
VirtualNetworkOperations |
getVirtualNetworksOperations()
The Network Resource Provider API includes operations for managing the
Virtual Networks for your subscription.
|
protected NetworkResourceProviderClientImpl |
newInstance(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService)
Initializes a new instance of the NetworkResourceProviderClientImpl class.
|
void |
setLongRunningOperationInitialTimeout(int longRunningOperationInitialTimeoutValue)
Gets or sets the initial timeout for Long Running Operations.
|
void |
setLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeoutValue)
Gets or sets the retry timeout for Long Running Operations.
|
close, getExecutorService, getHttpClient, withRequestFilterFirst, withRequestFilterLast, withResponseFilterFirst, withResponseFilterLastclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwithRequestFilterFirst, withRequestFilterLast, withResponseFilterFirst, withResponseFilterLastpublic NetworkResourceProviderClientImpl(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService)
httpBuilder - The HTTP client builder.executorService - The executor service.@Inject
public NetworkResourceProviderClientImpl(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService,
@Named(value="com.microsoft.windowsazure.Configuration.credentials")
SubscriptionCloudCredentials credentials,
@Named(value="management.uri")
URI baseUri)
httpBuilder - The HTTP client builder.executorService - The executor service.credentials - Required. Gets subscription credentials which uniquely
identify Microsoft Azure subscription. The subscription ID forms part of
the URI for every service call.baseUri - Optional. Gets the URI used as the base for all cloud
service requests.public NetworkResourceProviderClientImpl(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService,
SubscriptionCloudCredentials credentials)
throws URISyntaxException
httpBuilder - The HTTP client builder.executorService - The executor service.credentials - Required. Gets subscription credentials which uniquely
identify Microsoft Azure subscription. The subscription ID forms part of
the URI for every service call.URISyntaxException - Thrown if there was an error parsing a URI in
the response.public NetworkResourceProviderClientImpl(org.apache.http.impl.client.HttpClientBuilder httpBuilder,
ExecutorService executorService,
SubscriptionCloudCredentials credentials,
URI baseUri,
String apiVersion,
int longRunningOperationInitialTimeout,
int longRunningOperationRetryTimeout)
httpBuilder - The HTTP client builder.executorService - The executor service.credentials - Required. Gets subscription credentials which uniquely
identify Microsoft Azure subscription. The subscription ID forms part of
the URI for every service call.baseUri - Optional. Gets the URI used as the base for all cloud
service requests.apiVersion - Optional. Gets the API version.longRunningOperationInitialTimeout - Required. Gets or sets the
initial timeout for Long Running Operations.longRunningOperationRetryTimeout - Required. Gets or sets the retry
timeout for Long Running Operations.public String getApiVersion()
getApiVersion in interface NetworkResourceProviderClientpublic URI getBaseUri()
getBaseUri in interface NetworkResourceProviderClientpublic SubscriptionCloudCredentials getCredentials()
getCredentials in interface NetworkResourceProviderClientpublic int getLongRunningOperationInitialTimeout()
getLongRunningOperationInitialTimeout in interface NetworkResourceProviderClientpublic void setLongRunningOperationInitialTimeout(int longRunningOperationInitialTimeoutValue)
setLongRunningOperationInitialTimeout in interface NetworkResourceProviderClientlongRunningOperationInitialTimeoutValue - The
LongRunningOperationInitialTimeout value.public int getLongRunningOperationRetryTimeout()
getLongRunningOperationRetryTimeout in interface NetworkResourceProviderClientpublic void setLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeoutValue)
setLongRunningOperationRetryTimeout in interface NetworkResourceProviderClientlongRunningOperationRetryTimeoutValue - The
LongRunningOperationRetryTimeout value.public ApplicationGatewayOperations getApplicationGatewaysOperations()
getApplicationGatewaysOperations in interface NetworkResourceProviderClientpublic LoadBalancerOperations getLoadBalancersOperations()
getLoadBalancersOperations in interface NetworkResourceProviderClientpublic LocalNetworkGatewayOperations getLocalNetworkGatewaysOperations()
getLocalNetworkGatewaysOperations in interface NetworkResourceProviderClientpublic NetworkInterfaceOperations getNetworkInterfacesOperations()
getNetworkInterfacesOperations in interface NetworkResourceProviderClientpublic NetworkSecurityGroupOperations getNetworkSecurityGroupsOperations()
getNetworkSecurityGroupsOperations in interface NetworkResourceProviderClientpublic PublicIpAddressOperations getPublicIpAddressesOperations()
getPublicIpAddressesOperations in interface NetworkResourceProviderClientpublic RouteOperations getRoutesOperations()
getRoutesOperations in interface NetworkResourceProviderClientpublic RouteTableOperations getRouteTablesOperations()
getRouteTablesOperations in interface NetworkResourceProviderClientpublic SecurityRuleOperations getSecurityRulesOperations()
getSecurityRulesOperations in interface NetworkResourceProviderClientpublic SubnetOperations getSubnetsOperations()
getSubnetsOperations in interface NetworkResourceProviderClientpublic UsageOperations getUsagesOperations()
getUsagesOperations in interface NetworkResourceProviderClientpublic VirtualNetworkGatewayConnectionOperations getVirtualNetworkGatewayConnectionsOperations()
getVirtualNetworkGatewayConnectionsOperations in interface NetworkResourceProviderClientpublic VirtualNetworkGatewayOperations getVirtualNetworkGatewaysOperations()
getVirtualNetworkGatewaysOperations in interface NetworkResourceProviderClientpublic VirtualNetworkOperations getVirtualNetworksOperations()
getVirtualNetworksOperations in interface NetworkResourceProviderClientprotected NetworkResourceProviderClientImpl newInstance(org.apache.http.impl.client.HttpClientBuilder httpBuilder, ExecutorService executorService)
newInstance in class ServiceClient<NetworkResourceProviderClient>httpBuilder - The HTTP client builder.executorService - The executor service.public Future<DnsNameAvailabilityResponse> checkDnsNameAvailabilityAsync(String location, String domainNameLabel)
checkDnsNameAvailabilityAsync in interface NetworkResourceProviderClientlocation - Required. The location of the domain namedomainNameLabel - Required. The domain name to be verified. It must
conform to the following regular expression:
^[a-z][a-z0-9-]{1,61}[a-z0-9]$.public DnsNameAvailabilityResponse checkDnsNameAvailability(String location, String domainNameLabel) throws IOException, ServiceException
checkDnsNameAvailability in interface NetworkResourceProviderClientlocation - Required. The location of the domain namedomainNameLabel - Required. The domain name to be verified. It must
conform to the following regular expression:
^[a-z][a-z0-9-]{1,61}[a-z0-9]$.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<AzureAsyncOperationResponse> getLongRunningOperationStatusAsync(String azureAsyncOperation)
getLongRunningOperationStatusAsync in interface NetworkResourceProviderClientazureAsyncOperation - Required. Location value returned by the Begin
operation.public AzureAsyncOperationResponse getLongRunningOperationStatus(String azureAsyncOperation) throws IOException, ServiceException
getLongRunningOperationStatus in interface NetworkResourceProviderClientazureAsyncOperation - Required. Location value returned by the Begin
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./**
* 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.
*/