[maven-release-plugin] prepare release v1.1.0

This commit is contained in:
Jianghao Lu 2017-06-08 11:30:03 -07:00
Родитель d778aedeee
Коммит 6034528a19
568 изменённых файлов: 104433 добавлений и 63835 удалений

Просмотреть файл

@ -13,7 +13,7 @@ script:
mvn -pl !azure-keyvault,!azure-keyvault-extensions install -Dorg.slf4j.simpleLogger.defaultLogLevel=error || travis_terminate 1 ;
else
mvn install -DskipTests=true || travis_terminate 1 ;
mvn -pl !azure-keyvault,!azure-keyvault-extensions test -Dorg.slf4j.simpleLogger.defaultLogLevel=error || travis_terminate 1 ;
mvn -pl !azure-keyvault,!azure-keyvault-extensions test -Dorg.slf4j.simpleLogger.defaultLogLevel=error -Dsurefire.rerunFailingTestsCount=6|| travis_terminate 1 ;
mvn -pl !azure-keyvault,!azure-keyvault-extensions,!azure-keyvault-core,!azure-keyvault-webkey,!azure-keyvault-cryptography checkstyle:check || travis_terminate 1 ;
mvn -pl !azure-samples package javadoc:aggregate -DskipTests=true || travis_terminate 1 ;
fi

57
AUTH.md
Просмотреть файл

@ -17,7 +17,6 @@ The authentication file, referenced as "my.azureauth" in the example above, uses
```
subscription=########-####-####-####-############
client=########-####-####-####-############
key=XXXXXXXXXXXXXXXX
tenant=########-####-####-####-############
managementURI=https\://management.core.windows.net/
baseURL=https\://management.azure.com/
@ -25,18 +24,54 @@ authURL=https\://login.windows.net/
graphURL=https\://graph.windows.net/
```
This approach enables unattended authentication for your application (i.e. no interactive user login, no token management needed). The `client`, `key` and `tenant` are from [your service principal registration](#creating-a-service-principal-in-azure). The `subscription` represents the subscription ID you want to use as the default subscription. The remaining URIs and URLs represent the end points for the needed Azure services, and the example above assumes you are using the Azure worldwide cloud.
The `client` and `tenant` are from [your service principal registration](#creating-a-service-principal-in-azure). If your service principal uses key authentication, your authentication file must also contain
```
key=XXXXXXXXXXXXXXXX
```
If your service principal uses certificate authentication, your authentication file must also contain
```
certificate=<path to pfx file>
certificatePassword=XXXXXXXXXXXXXXXX
```
This approach enables unattended authentication for your application (i.e. no interactive user login, no token management needed). The `subscription` represents the subscription ID you want to use as the default subscription. The remaining URIs and URLs represent the end points for the needed Azure services, and the example above assumes you are using the Azure worldwide cloud.
## Using `ApplicationTokenCredentials`
Similarly to the [file-based approach](#using-an-authentication-file), this method requires a [service principal registration](#creating-a-service-principal-in-azure), but instead of storing the credentials in a local file, the required inputs can be supplied directly via an instance of the `ApplicationTokenCredentials` class:
```
ApplicationTokenCredentials credentials = new ApplicationTokenCredentials(client, tenant, key, AzureEnvironment.AZURE);
ApplicationTokenCredentials credentials = new ApplicationTokenCredentials(
client, tenant, key, AzureEnvironment.AZURE);
Azure azure = Azure.authenticate(credentials).withSubscription(subscriptionId);
```
where `client`, `tenant`, `key` and `subscriptionId` are strings with the required pieces of information about your service principal and subscription. The last parameter, `AzureEnvironment.AZURE` represents the Azure worldwide public cloud. You can use a different value out of the currently supported alternatives in the `AzureEnvironment` enum.
or
```
ApplicationTokenCredentials credentials = new ApplicationTokenCredentials(
client, tenant, pfxCertificatePath, password, AzureEnvironment.AZURE);
Azure azure = Azure.authenticate(credentials).withSubscription(subscriptionId);
```
where `client`, `tenant`, `subscriptionId`, and `key` or `pfxCertificatePath` and `password` are strings with the required pieces of information about your service principal and subscription. The last parameter, `AzureEnvironment.AZURE` represents the Azure worldwide public cloud. You can use a different value out of the currently supported alternatives in the `AzureEnvironment` enum.
## Using credentials from Azure CLI Automatically (Preview)
If you have [Azure CLI](https://github.com/Azure/azure-cli) (>=2.0) installed and authenticated on your machine, the SDK client is able to use the current account and subscription Azure CLI is logged in.
Run `az login` to authenticate to Azure CLI and `az account set --subscription <subscription Id>` in your terminal to select the subscription to use. Initialize the Azure client as following:
```
Azure azure = Azure.authenticate(AzureCliCredentials.create()).withDefaultSubscription();
```
And you are good to go.
If Azure CLI is authenticated as a user, tokens acquired in Azure CLI expire after 90 days. You will be prompted to re-authenticate. If Azure CLI is authenticated with a service principal, it will never expire until the service principal credential expires.
## Creating a Service Principal in Azure
@ -48,15 +83,13 @@ If you save such service principal-based credentials as a file, or store them in
You can easily create a service principal and grant it access privileges for a given subscription through Azure CLI 2.0.
1. Install Azure CLI (>=0.1.0b11) by following the [README](https://github.com/Azure/azure-cli/blob/master/README.md).
1. Install `jq` (>=1.5) by following the instructions here: https://stedolan.github.io/jq/download/.
1. Login as a user by running command `az login`. If you are not in Azure public cloud, use `az context create` command to switch to your cloud before login.
1. Select the subscription you want your service principal to have access to by running `az account set --subscription <subscription name>`. You can view your subscriptions by `az account list --out jsonc`.
1. Run the following command to create a service principal authentication file.
1. Install Azure CLI (>=2.0) by following the [README](https://github.com/Azure/azure-cli/blob/master/README.md).
2. Login as a user by running command `az login`. If you are not in Azure public cloud, use `az cloud set` command to switch to your cloud before login.
3. Select the subscription you want your service principal to have access to by running `az account set --subscription <subscription name>`. You can view your subscriptions by `az account list --out jsonc`.
4. Run the following command to create a service principal authentication file.
```
az ad sp create-for-rbac --expanded-view -o json --query "{subscription: subscriptionId, client: client, key: password, tenant: tenantId, managementURI: endpoints.management, baseURL: endpoints.resourceManager, authURL: endpoints.activeDirectory, graphURL: endpoints.activeDirectoryGraphResourceId}" | jq -r "to_entries|map(\"\(.key)=\(.value|sub(\"https:(?<x>.+[^/])/?$\";\"https\\\\:\(.x)/\"))\")|.[]"
curl -L https://raw.githubusercontent.com/Azure/azure-sdk-for-java/master/tools/authgen.py | python > my.azureauth
```
Now all the pieces are in place to enable authenticating your code without requiring an interactive login nor the need to manage access tokens.
This will save the output of the command into an Azure service principal-based authentication file which can now be used in the Azure Management Libraries for Java and/or the Azure Toolkits for IntelliJ and Eclipse without requiring an interactive login nor the need to manage access tokens.

Просмотреть файл

@ -2,11 +2,11 @@
# Azure Management Libraries for Java
This README is based on the released stable version (1.0.0). If you are looking for other releases, see [More Information](#more-information)
This README is based on the released stable version (1.1.0). If you are looking for other releases, see [More Information](#more-information)
The Azure Management Libraries for Java is a higher-level, object-oriented API for managing Azure resources.
## Feature Availability and Road Map as of Version 1.0.0 ##
## Feature Availability and Road Map as of Version 1.1.0 ##
<table>
<tr>
@ -18,8 +18,8 @@ The Azure Management Libraries for Java is a higher-level, object-oriented API f
<tr>
<td>Compute</td>
<td>Virtual machines and VM extensions<br>Virtual machine scale sets<br>Managed disks</td>
<td></td>
<td valign="top">Azure container services<br>Azure container registry</td>
<td valign="top"></td>
</tr>
<tr>
<td>Storage</td>
@ -31,24 +31,24 @@ The Azure Management Libraries for Java is a higher-level, object-oriented API f
<td>SQL Database</td>
<td>Databases<br>Firewalls<br>Elastic pools</td>
<td></td>
<td valign="top"></td>
<td valign="top">More features</td>
</tr>
<tr>
<td>Networking</td>
<td>Virtual networks<br>Network interfaces<br>IP addresses<br>Routing table<br>Network security groups<br>DNS<br>Traffic managers</td>
<td valign="top">Load balancers<br>Application gateways</td>
<td valign="top"></td>
<td>Virtual networks<br>Network interfaces<br>IP addresses<br>Routing table<br>Network security groups<br>Application gateways<br>DNS<br>Traffic managers</td>
<td valign="top">Load balancers</td>
<td valign="top">VPN<br>Network watchers<br>More application gateway features</td>
</tr>
<tr>
<td>More services</td>
<td>Resource Manager<br>Key Vault<br>Redis<br>CDN<br>Batch</td>
<td valign="top">App service - Web apps<br>Functions<br>Service bus</td>
<td valign="top">Monitor<br>Graph RBAC<br>DocumentDB<br>Scheduler</td>
<td valign="top">Web apps<br>Function Apps<br>Service bus<br>Graph RBAC<br>DocumentDB</td>
<td valign="top">Monitor<br>Scheduler<br>Functions management<br>Search<br>More Graph RBAC features</td>
</tr>
<tr>
<td>Fundamentals</td>
<td>Authentication - core</td>
<td>Async methods</td>
<td>Authentication - core<br>Async methods</td>
<td></td>
<td valign="top"></td>
</tr>
</table>
@ -57,13 +57,28 @@ The Azure Management Libraries for Java is a higher-level, object-oriented API f
> *Preview* features are marked with the @Beta annotation at the class or interface or method level in libraries. These features are subject to change. They can be modified in any way, or even removed, in the future.
**Azure Authentication**
#### Azure Authentication
The `Azure` class is the simplest entry point for creating and interacting with Azure resources.
`Azure azure = Azure.authenticate(credFile).withDefaultSubscription();`
**Create a Virtual Machine**
#### Create a Cosmos DB with DocumentDB Programming Model
You can create a Cosmos DB account by using a `define() … create()` method chain.
```java
DocumentDBAccount documentDBAccount = azure.documentDBs().define(docDBName)
.withRegion(Region.US_EAST)
.withNewResourceGroup(rgName)
.withKind(DatabaseAccountKind.GLOBAL_DOCUMENT_DB)
.withSessionConsistency()
.withWriteReplication(Region.US_WEST)
.withReadReplication(Region.US_CENTRAL)
.create()
```
#### Create a Virtual Machine
You can create a virtual machine instance by using a `define() … create()` method chain.
@ -74,8 +89,8 @@ VirtualMachine linuxVM = azure.virtualMachines().define("myLinuxVM")
.withRegion(Region.US_EAST)
.withNewResourceGroup(rgName)
.withNewPrimaryNetwork("10.0.0.0/28")
.withPrimaryPrivateIpAddressDynamic()
.withNewPrimaryPublicIpAddress("mylinuxvmdns")
.withPrimaryPrivateIPAddressDynamic()
.withNewPrimaryPublicIPAddress("mylinuxvmdns")
.withPopularLinuxImage(KnownLinuxVirtualMachineImage.UBUNTU_SERVER_16_04_LTS)
.withRootUsername("tirekicker")
.withSsh(sshKey)
@ -85,7 +100,7 @@ VirtualMachine linuxVM = azure.virtualMachines().define("myLinuxVM")
System.out.println("Created a Linux VM: " + linuxVM.id());
```
**Update a Virtual Machine**
#### Update a Virtual Machine
You can update a virtual machine instance by using an `update() … apply()` method chain.
@ -94,7 +109,7 @@ linuxVM.update()
.withNewDataDisk(20, lun, CachingTypes.READ_WRITE)
.apply();
```
**Create a Virtual Machine Scale Set**
#### Create a Virtual Machine Scale Set
You can create a virtual machine scale set instance by using another `define() … create()` method chain.
@ -119,7 +134,7 @@ You can create a virtual machine scale set instance by using another `define()
.create();
```
**Create a Network Security Group**
#### Create a Network Security Group
You can create a network security group instance by using another `define() … create()` method chain.
@ -150,7 +165,7 @@ NetworkSecurityGroup frontEndNSG = azure.networkSecurityGroups().define(frontEnd
.create();
```
**Create an Application Gateway**
#### Create an Application Gateway
You can create a application gateway instance by using another `define() … create()` method chain.
@ -172,7 +187,7 @@ ApplicationGateway applicationGateway = azure.applicationGateways().define("myFi
.create();
```
**Create a Web App**
#### Create a Web App
You can create a Web App instance by using another `define() … create()` method chain.
@ -185,7 +200,7 @@ WebApp webApp = azure.webApps()
.create();
```
**Create a SQL Database**
#### Create a SQL Database
You can create a SQL server instance by using another `define() … create()` method chain.
@ -209,7 +224,7 @@ SqlDatabase database = sqlServer.databases().define("myNewDatabase")
# Sample Code
You can find plenty of sample code that illustrates management scenarios (69+ end-to-end scenarios) for Azure Virtual Machines, Virtual Machine Scale Sets, Managed Disks, Storage, Networking, Resource Manager, SQL Database, App Service (Web Apps on Windows and Linux), Functions, Service Bus, Key Vault, Redis, CDN and Batch …
You can find plenty of sample code that illustrates management scenarios (80+ end-to-end scenarios) for Azure Virtual Machines, Virtual Machine Scale Sets, Managed Disks, Active Directory Azure Container Service and Registry, Storage, Networking, Resource Manager, SQL Database, Cosmos DB, App Service (Web Apps on Windows and Linux), Functions, Service Bus, Key Vault, Redis, CDN and Batch …
<table>
<tr>
@ -247,6 +262,25 @@ You can find plenty of sample code that illustrates management scenarios (69+ en
<li><a href="https://github.com/Azure-Samples/compute-java-manage-virtual-machine-scale-sets">Manage virtual machine scale sets (behind an Internet facing load balancer)</a></li>
<li><a href="https://github.com/Azure-Samples/compute-java-manage-virtual-machine-scale-sets-async">Manage virtual machine scale sets (behind an Internet facing load balancer) asynchronously</a></li>
<li><a href="https://github.com/Azure-Samples/compute-java-manage-virtual-machine-scale-set-with-unmanaged-disks">Manage virtual machine scale sets with unmanaged disks</li>
</ul></td>
</tr>
<tr>
<td>Active Directory</td>
<td><ul style="list-style-type:circle">
<li><a href="https://github.com/Azure-Samples/aad-java-manage-service-principals">Manage service principals using Java</a></li>
<li><a href="https://github.com/Azure-Samples/aad-java-browse-graph-and-manage-roles">Browse graph (users, groups and members) and managing roles</a></li>
<li><a href="https://github.com/Azure-Samples/aad-java-manage-passwords">Manage passwords</li>
</ul></td>
</tr>
<tr>
<td>Container Service and Container Registry</td>
<td><ul style="list-style-type:circle">
<li><a href="https://github.com/Azure-Samples/acr-java-manage-azure-container-registry">Manage container registry</a></li>
<li><a href="https://github.com/Azure-Samples/acs-java-deploy-image-from-acr-to-kubernetes">Deploy an image from container registry to Kubernetes cluster</a></li>
<li><a href="https://github.com/Azure-Samples/acs-java-deploy-image-from-acr-to-swarm">Deploy an image from container registry to Swarm cluster</li>
<li><a href="https://github.com/Azure-Samples/acs-java-deploy-image-from-docker-hub-to-kubernetes">Deploy an image from Docker hub to Kubernetes cluster</a></li>
<li><a href="https://github.com/Azure-Samples/acs-java-deploy-image-from-docker-hub-to-swarm">Deploy an image from Docker hub to Swarm cluster</li>
<li><a href="https://github.com/Azure-Samples/acs-java-manage-azure-container-service">Manage container service</li>
</ul></td>
</tr>
<tr>
@ -323,6 +357,7 @@ You can find plenty of sample code that illustrates management scenarios (69+ en
<td>App Service - Web Apps on <b>Linux</b></td>
<td><ul style="list-style-type:circle">
<li><a href="https://github.com/Azure-Samples/app-service-java-manage-web-apps-on-linux">Manage Web apps</a></li>
<li><a href="https://github.com/Azure-Samples/app-service-java-deploy-image-from-acr-to-linux">Deploy a container image from Azure Container Registry to Linux containers</a></li>
<li><a href="https://github.com/Azure-Samples/app-service-java-manage-web-apps-on-linux-with-custom-domains">Manage Web apps with custom domains</a></li>
<li><a href="https://github.com/Azure-Samples/app-service-java-configure-deployment-sources-for-web-apps-on-linux">Configure deployment sources for Web apps</a></li>
<li><a href="https://github.com/Azure-Samples/app-service-java-scale-web-apps-on-linux">Scale Web apps</a></li>
@ -341,6 +376,17 @@ You can find plenty of sample code that illustrates management scenarios (69+ en
</ul></td>
</tr>
<tr>
<td>Cosmos DB</td>
<td><ul style="list-style-type:circle">
<li><a href="https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-configure-for-high-availability">Create a DocumentDB and configure it for high availability</a></li>
<li><a href="https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-configure-for-eventual-consistency">Create a DocumentDB and configure it with eventual consistency</a></li>
<li><a href="https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-configure-firewall">Create a DocumentDB, configure it for high availability and create a firewall to limit access from an approved set of IP addresses</li>
<li><a href="https://github.com/Azure-Samples/cosmosdb-java-create-documentdb-and-get-mongodb-connection-string">Create a DocumentDB and get MongoDB connection string</li>
</ul></td>
</tr>
<tr>
<td>Service Bus</td>
<td><ul style="list-style-type:circle">
@ -392,15 +438,15 @@ You can find plenty of sample code that illustrates management scenarios (69+ en
# Download
**1.0.0**
**1.1.0**
If you are using released builds from 1.0.0, add the following to your POM file:
If you are using released builds from 1.1.0, add the following to your POM file:
```xml
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
```
@ -413,7 +459,7 @@ If you are using released builds from 1.0.0, add the following to your POM file:
## Help
If you are migrating your code to 1.0.0, you can use these notes for [preparing your code for 1.0 from 1.0 beta 5](./notes/prepare-for-1.0.0.md).
If you are migrating your code to 1.1.0, you can use these notes for [preparing your code for 1.1.0 from 1.0.0](./notes/prepare-for-1.1.0.md).
If you encounter any bugs with these libraries, please file issues via [Issues](https://github.com/Azure/azure-sdk-for-java/issues) or checkout [StackOverflow for Azure Java SDK](http://stackoverflow.com/questions/tagged/azure-java-sdk).
@ -436,6 +482,7 @@ If you would like to become an active contributor to this project please follow
| Version | SHA1 | Remarks |
|-------------------|-------------------------------------------------------------------------------------------|-------------------------------------------------------|
| 1.0.0 | [1.0.0](https://github.com/Azure/azure-sdk-for-java/tree/v1.0.0) | Tagged release for 1.0.0 version of Azure management libraries |
| 1.0.0-beta5 | [1.0.0-beta5](https://github.com/Azure/azure-sdk-for-java/tree/v1.0.0-beta5) | Tagged release for 1.0.0-beta5 version of Azure management libraries |
| 1.0.0-beta4.1 | [1.0.0-beta4.1](https://github.com/Azure/azure-sdk-for-java/tree/v1.0.0-beta4.1) | Tagged release for 1.0.0-beta4.1 version of Azure management libraries |
| 1.0.0-beta3 | [1.0.0-beta3](https://github.com/Azure/azure-sdk-for-java/tree/v1.0.0-beta3) | Tagged release for 1.0.0-beta3 version of Azure management libraries |

Просмотреть файл

@ -8,7 +8,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Просмотреть файл

@ -8,7 +8,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Просмотреть файл

@ -9,7 +9,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -57,12 +57,12 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault-core</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault-webkey</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</dependency>
</dependencies>
</project>

Просмотреть файл

@ -8,7 +8,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -68,22 +68,22 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault-core</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault-cryptography</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault-webkey</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>

Просмотреть файл

@ -8,7 +8,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Просмотреть файл

@ -8,7 +8,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -54,7 +54,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-keyvault-webkey</artifactId>
<version>1.0.0-beta6-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</dependency>
<!-- Test dependencies -->

Просмотреть файл

@ -8,7 +8,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -30,7 +30,7 @@
<scm>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
<tag>v1.0.0</tag>
<tag>v1.1.0</tag>
</scm>
<properties>
@ -53,17 +53,17 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-storage</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-keyvault</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
@ -84,7 +84,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>

Просмотреть файл

@ -101,11 +101,6 @@ public interface AppServiceCertificate extends
*/
HostingEnvironmentProfile hostingEnvironmentProfile();
/**************************************************************
* Fluent interfaces to provision a App service certificate
**************************************************************/
/**
* Container interface for all the definitions that need to be implemented.
*/

Просмотреть файл

@ -17,14 +17,14 @@ import com.fasterxml.jackson.annotation.JsonProperty;
*/
public class BackupSchedule {
/**
* How often should be the backup executed (e.g. for weekly backup, this
* How often the backup should be executed (e.g. for weekly backup, this
* should be set to 7 and FrequencyUnit should be set to Day).
*/
@JsonProperty(value = "frequencyInterval", required = true)
private int frequencyInterval;
/**
* The unit of time for how often should be the backup executed (e.g. for
* The unit of time for how often the backup should be executed (e.g. for
* weekly backup, this should be set to Day and FrequencyInterval should be
* set to 7). Possible values include: 'Day', 'Hour'.
*/

Просмотреть файл

@ -91,6 +91,13 @@ public class CloningInfo {
@JsonProperty(value = "trafficManagerProfileName")
private String trafficManagerProfileName;
/**
* &lt;code&gt;true&lt;/code&gt; if quotas should be ignored; otherwise,
* &lt;code&gt;false&lt;/code&gt;.
*/
@JsonProperty(value = "ignoreQuotas")
private Boolean ignoreQuotas;
/**
* Get the correlationId value.
*
@ -291,4 +298,24 @@ public class CloningInfo {
return this;
}
/**
* Get the ignoreQuotas value.
*
* @return the ignoreQuotas value
*/
public Boolean ignoreQuotas() {
return this.ignoreQuotas;
}
/**
* Set the ignoreQuotas value.
*
* @param ignoreQuotas the ignoreQuotas value to set
* @return the CloningInfo object itself.
*/
public CloningInfo withIgnoreQuotas(Boolean ignoreQuotas) {
this.ignoreQuotas = ignoreQuotas;
return this;
}
}

Просмотреть файл

@ -29,7 +29,7 @@ public class ConnStringInfo {
/**
* Type of database. Possible values include: 'MySql', 'SQLServer',
* 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub',
* 'ApiHub', 'DocDb', 'RedisCache'.
* 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'.
*/
@JsonProperty(value = "type")
private ConnectionStringType type;

Просмотреть файл

@ -23,7 +23,7 @@ public class ConnStringValueTypePair {
/**
* Type of database. Possible values include: 'MySql', 'SQLServer',
* 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub',
* 'ApiHub', 'DocDb', 'RedisCache'.
* 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'.
*/
@JsonProperty(value = "type", required = true)
private ConnectionStringType type;

Просмотреть файл

@ -43,7 +43,10 @@ public enum ConnectionStringType {
DOC_DB("DocDb"),
/** Enum value RedisCache. */
REDIS_CACHE("RedisCache");
REDIS_CACHE("RedisCache"),
/** Enum value PostgreSQL. */
POSTGRE_SQL("PostgreSQL");
/** The actual serialized value for a ConnectionStringType instance. */
private String value;

Просмотреть файл

@ -16,7 +16,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
public class DatabaseBackupSetting {
/**
* Database type (e.g. SqlAzure / MySql). Possible values include:
* 'SqlAzure', 'MySql', 'LocalMySql'.
* 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'.
*/
@JsonProperty(value = "databaseType", required = true)
private DatabaseType databaseType;

Просмотреть файл

@ -23,6 +23,9 @@ public final class DatabaseType {
/** Static value LocalMySql for DatabaseType. */
public static final DatabaseType LOCAL_MY_SQL = new DatabaseType("LocalMySql");
/** Static value PostgreSql for DatabaseType. */
public static final DatabaseType POSTGRE_SQL = new DatabaseType("PostgreSql");
private String value;
/**

Просмотреть файл

@ -0,0 +1,53 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Defines values for DnsType.
*/
public enum DnsType {
/** Enum value AzureDns. */
AZURE_DNS("AzureDns"),
/** Enum value DefaultDomainRegistrarDns. */
DEFAULT_DOMAIN_REGISTRAR_DNS("DefaultDomainRegistrarDns");
/** The actual serialized value for a DnsType instance. */
private String value;
DnsType(String value) {
this.value = value;
}
/**
* Parses a serialized value to a DnsType instance.
*
* @param value the serialized value to parse.
* @return the parsed DnsType object, or null if unable to parse.
*/
@JsonCreator
public static DnsType fromString(String value) {
DnsType[] items = DnsType.values();
for (DnsType item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}
@JsonValue
@Override
public String toString() {
return this.value;
}
}

Просмотреть файл

@ -14,6 +14,7 @@ import com.microsoft.azure.management.resources.fluentcore.model.Creatable;
import com.microsoft.azure.management.resources.fluentcore.model.Refreshable;
import com.microsoft.azure.management.resources.fluentcore.model.Updatable;
import com.microsoft.azure.management.storage.StorageAccount;
import rx.Completable;
import rx.Observable;
/**
@ -41,6 +42,17 @@ public interface FunctionApp extends
*/
Observable<String> getMasterKeyAsync();
/**
* Syncs the triggers on the function app.
*/
void syncTriggers();
/**
* Syncs the triggers on the function app.
* @return a completable for the operation
*/
Completable syncTriggersAsync();
/**************************************************************
* Fluent interfaces to provision a Function App
**************************************************************/

Просмотреть файл

@ -87,6 +87,13 @@ public interface HostNameSslBinding extends
*/
WithSslType<ParentT> withPfxCertificateToUpload(File pfxFile, String password);
/**
* Use an existing certificate in the resource group.
* @param certificateName the name of the certificate
* @return the next stage of the definition
*/
WithSslType<ParentT> withExistingCertificate(String certificateName);
/**
* Places a new App Service certificate order to use for the hostname.
* @param certificateOrderName the name of the certificate order
@ -202,6 +209,13 @@ public interface HostNameSslBinding extends
*/
WithSslType<ParentT> withPfxCertificateToUpload(File pfxFile, String password);
/**
* Use an existing certificate in the resource group.
* @param certificateNameOrThumbprint the name or the thumbprint of the certificate
* @return the next stage of the definition
*/
WithSslType<ParentT> withExistingCertificate(String certificateNameOrThumbprint);
/**
* Places a new App Service certificate order to use for the hostname.
* @param certificateOrderName the name of the certificate order

Просмотреть файл

@ -6,79 +6,60 @@
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;
import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum;
/**
* Defines values for Java versions.
*/
public final class JavaVersion {
public final class JavaVersion extends ExpandableStringEnum<JavaVersion> {
/** Static value 'Off' for JavaVersion. */
public static final JavaVersion OFF = new JavaVersion("null");
public static final JavaVersion OFF = fromString("null");
/** Static value Java 7 newest for JavaVersion. */
public static final JavaVersion JAVA_7_NEWEST = new JavaVersion("1.7");
public static final JavaVersion JAVA_7_NEWEST = fromString("1.7");
/** Static value 1.7.0_51 for JavaVersion. */
public static final JavaVersion JAVA_1_7_0_51 = new JavaVersion("1.7.0_51");
public static final JavaVersion JAVA_1_7_0_51 = fromString("1.7.0_51");
/** Static value 1.7.0_71 for JavaVersion. */
public static final JavaVersion JAVA_1_7_0_71 = new JavaVersion("1.7.0_71");
public static final JavaVersion JAVA_1_7_0_71 = fromString("1.7.0_71");
/** Static value Java 8 newest for JavaVersion. */
public static final JavaVersion JAVA_8_NEWEST = new JavaVersion("1.8");
public static final JavaVersion JAVA_8_NEWEST = fromString("1.8");
/** Static value 1.8.0_25 for JavaVersion. */
public static final JavaVersion JAVA_1_8_0_25 = new JavaVersion("1.8.0_25");
public static final JavaVersion JAVA_1_8_0_25 = fromString("1.8.0_25");
/** Static value 1.8.0_60 for JavaVersion. */
public static final JavaVersion JAVA_1_8_0_60 = new JavaVersion("1.8.0_60");
public static final JavaVersion JAVA_1_8_0_60 = fromString("1.8.0_60");
/** Static value 1.8.0_73 for JavaVersion. */
public static final JavaVersion JAVA_1_8_0_73 = new JavaVersion("1.8.0_73");
public static final JavaVersion JAVA_1_8_0_73 = fromString("1.8.0_73");
/** Static value 1.8.0_111 for JavaVersion. */
public static final JavaVersion JAVA_1_8_0_111 = new JavaVersion("1.8.0_111");
public static final JavaVersion JAVA_1_8_0_111 = fromString("1.8.0_111");
/** Static value Zulu 1.8.0_92 for JavaVersion. */
public static final JavaVersion JAVA_ZULU_1_8_0_92 = new JavaVersion("1.8.0_92");
public static final JavaVersion JAVA_ZULU_1_8_0_92 = fromString("1.8.0_92");
/** Static value Zulu 1.8.0_102 for JavaVersion. */
public static final JavaVersion JAVA_ZULU_1_8_0_102 = new JavaVersion("1.8.0_102");
private String value;
public static final JavaVersion JAVA_ZULU_1_8_0_102 = fromString("1.8.0_102");
/**
* Creates a custom value for JavaVersion.
* @param value the custom value
* Finds or creates a Java version value based on the provided name.
* @param name a name
* @return a JavaVersion instance
*/
public JavaVersion(String value) {
this.value = value;
public static JavaVersion fromString(String name) {
return fromString(name, JavaVersion.class);
}
@JsonValue
@Override
public String toString() {
return value;
}
@Override
public int hashCode() {
return value.hashCode();
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof JavaVersion)) {
return false;
}
if (obj == this) {
return true;
}
JavaVersion rhs = (JavaVersion) obj;
if (value == null) {
return rhs.value == null;
} else {
return value.equals(rhs.value);
}
/**
* @return known Java versions
*/
public static Collection<JavaVersion> values() {
return values(JavaVersion.class);
}
}

Просмотреть файл

@ -6,52 +6,33 @@
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;
import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum;
/**
* Defines values for .NET framework version.
*/
public final class NetFrameworkVersion {
public final class NetFrameworkVersion extends ExpandableStringEnum<NetFrameworkVersion> {
/** Static value v3.5 for NetFrameworkVersion. */
public static final NetFrameworkVersion V3_0 = new NetFrameworkVersion("v3.0");
public static final NetFrameworkVersion V3_0 = NetFrameworkVersion.fromString("v3.0");
/** Static value v4.6 for NetFrameworkVersion. */
public static final NetFrameworkVersion V4_6 = new NetFrameworkVersion("v4.6");
private String value;
public static final NetFrameworkVersion V4_6 = NetFrameworkVersion.fromString("v4.6");
/**
* Creates a custom value for NetFrameworkVersion.
* @param value the custom value
* Finds or creates a .NET Framework version based on the name.
* @param name a name
* @return an instance of NetFrameworkVersion
*/
public NetFrameworkVersion(String value) {
this.value = value;
public static NetFrameworkVersion fromString(String name) {
return fromString(name, NetFrameworkVersion.class);
}
@JsonValue
@Override
public String toString() {
return value;
}
@Override
public int hashCode() {
return value.hashCode();
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof NetFrameworkVersion)) {
return false;
}
if (obj == this) {
return true;
}
NetFrameworkVersion rhs = (NetFrameworkVersion) obj;
if (value == null) {
return rhs.value == null;
} else {
return value.equals(rhs.value);
}
/**
* @return known .NET framework versions
*/
public static Collection<NetFrameworkVersion> values() {
return values(NetFrameworkVersion.class);
}
}

Просмотреть файл

@ -6,61 +6,42 @@
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;
import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum;
/**
* Defines values for PHP version.
*/
public final class PhpVersion {
public final class PhpVersion extends ExpandableStringEnum<PhpVersion> {
/** Static value 'Off' for PhpVersion. */
public static final PhpVersion OFF = new PhpVersion("null");
public static final PhpVersion OFF = PhpVersion.fromString("null");
/** Static value 5.5 for PhpVersion. */
public static final PhpVersion PHP5_5 = new PhpVersion("5.5");
public static final PhpVersion PHP5_5 = PhpVersion.fromString("5.5");
/** Static value 5.6 for PhpVersion. */
public static final PhpVersion PHP5_6 = new PhpVersion("5.6");
public static final PhpVersion PHP5_6 = PhpVersion.fromString("5.6");
/** Static value 7.0 for PhpVersion. */
public static final PhpVersion PHP7 = new PhpVersion("7.0");
public static final PhpVersion PHP7 = PhpVersion.fromString("7.0");
/** Static value 7.1 for PhpVersion. */
public static final PhpVersion PHP7_1 = new PhpVersion("7.1");
private String value;
public static final PhpVersion PHP7_1 = PhpVersion.fromString("7.1");
/**
* Creates a custom value for PhpVersion.
* @param value the custom value
* Finds or creates a PHP version based on the specified name.
* @param name a name
* @return a PhpVersion instance
*/
public PhpVersion(String value) {
this.value = value;
public static PhpVersion fromString(String name) {
return fromString(name, PhpVersion.class);
}
@JsonValue
@Override
public String toString() {
return value;
}
@Override
public int hashCode() {
return value.hashCode();
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof PhpVersion)) {
return false;
}
if (obj == this) {
return true;
}
PhpVersion rhs = (PhpVersion) obj;
if (value == null) {
return rhs.value == null;
} else {
return value.equals(rhs.value);
}
/**
* @return known PHP versions
*/
public static Collection<PhpVersion> values() {
return values(PhpVersion.class);
}
}

Просмотреть файл

@ -13,7 +13,7 @@ import com.microsoft.azure.management.apigeneration.Fluent;
* Defines App service pricing tiers.
*/
@Fluent(ContainerName = "/Microsoft.Azure.Management.AppService.Fluent")
public class PricingTier {
public final class PricingTier {
/** Basic pricing tier with a small size. */
public static final PricingTier BASIC_B1 = new PricingTier("Basic", "B1");

Просмотреть файл

@ -6,55 +6,36 @@
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;
import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum;
/**
* Defines values for Python version.
*/
public final class PythonVersion {
public final class PythonVersion extends ExpandableStringEnum<PythonVersion> {
/** Static value 'Off' for PythonVersion. */
public static final PythonVersion OFF = new PythonVersion("null");
public static final PythonVersion OFF = PythonVersion.fromString("null");
/** Static value 2.7 for PythonVersion. */
public static final PythonVersion PYTHON_27 = new PythonVersion("2.7");
public static final PythonVersion PYTHON_27 = PythonVersion.fromString("2.7");
/** Static value 3.4 for PythonVersion. */
public static final PythonVersion PYTHON_34 = new PythonVersion("3.4");
private String value;
public static final PythonVersion PYTHON_34 = PythonVersion.fromString("3.4");
/**
* Creates a custom value for PythonVersion.
* @param value the custom value
* Finds or creates a Python version based on the specified name.
* @param name a name
* @return a PythonVersion instance
*/
public PythonVersion(String value) {
this.value = value;
public static PythonVersion fromString(String name) {
return fromString(name, PythonVersion.class);
}
@JsonValue
@Override
public String toString() {
return value;
}
@Override
public int hashCode() {
return value.hashCode();
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof PythonVersion)) {
return false;
}
if (obj == this) {
return true;
}
PythonVersion rhs = (PythonVersion) obj;
if (value == null) {
return rhs.value == null;
} else {
return value.equals(rhs.value);
}
/**
* @return known Python versions
*/
public static Collection<PythonVersion> values() {
return values(PythonVersion.class);
}
}

Просмотреть файл

@ -6,55 +6,36 @@
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;
import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum;
/**
* Defines values for remote visual studio version for remote debugging.
*/
public final class RemoteVisualStudioVersion {
public final class RemoteVisualStudioVersion extends ExpandableStringEnum<RemoteVisualStudioVersion> {
/** Static value VS2012 for RemoteVisualStudioVersion. */
public static final RemoteVisualStudioVersion VS2012 = new RemoteVisualStudioVersion("VS2012");
public static final RemoteVisualStudioVersion VS2012 = RemoteVisualStudioVersion.fromString("VS2012");
/** Static value VS2013 for RemoteVisualStudioVersion. */
public static final RemoteVisualStudioVersion VS2013 = new RemoteVisualStudioVersion("VS2013");
public static final RemoteVisualStudioVersion VS2013 = RemoteVisualStudioVersion.fromString("VS2013");
/** Static value VS2015 for RemoteVisualStudioVersion. */
public static final RemoteVisualStudioVersion VS2015 = new RemoteVisualStudioVersion("VS2015");
private String value;
public static final RemoteVisualStudioVersion VS2015 = RemoteVisualStudioVersion.fromString("VS2015");
/**
* Creates a custom value for RemoteVisualStudioVersion.
* @param value the custom value
* Finds or creates a Visual Studio version based on the specified name.
* @param name a name
* @return a RemoteVisualStudioVersion instance
*/
public RemoteVisualStudioVersion(String value) {
this.value = value;
public static RemoteVisualStudioVersion fromString(String name) {
return fromString(name, RemoteVisualStudioVersion.class);
}
@JsonValue
@Override
public String toString() {
return value;
}
@Override
public int hashCode() {
return value.hashCode();
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof RemoteVisualStudioVersion)) {
return false;
}
if (obj == this) {
return true;
}
RemoteVisualStudioVersion rhs = (RemoteVisualStudioVersion) obj;
if (value == null) {
return rhs.value == null;
} else {
return value.equals(rhs.value);
}
/**
* @return known Visual Studio versions
*/
public static Collection<RemoteVisualStudioVersion> values() {
return values(RemoteVisualStudioVersion.class);
}
}

Просмотреть файл

@ -13,29 +13,35 @@ import com.microsoft.azure.management.apigeneration.Fluent;
*/
@Fluent(ContainerName = "/Microsoft.Azure.Management.AppService.Fluent")
public class RuntimeStack {
/** Node.JS 6.9.3. */
public static final RuntimeStack NODEJS_6_9_3 = new RuntimeStack("NODE", "6.9.3");
/** Node.JS 6.10. */
public static final RuntimeStack NODEJS_6_10 = new RuntimeStack("NODE", "6.10");
/** Node.JS 6.6.0. */
public static final RuntimeStack NODEJS_6_6_0 = new RuntimeStack("NODE", "6.6.0");
/** Node.JS 6.9. */
public static final RuntimeStack NODEJS_6_9 = new RuntimeStack("NODE", "6.9");
/** Node.JS 6.2.2. */
public static final RuntimeStack NODEJS_6_2_2 = new RuntimeStack("NODE", "6.2.2");
/** Node.JS 6.6. */
public static final RuntimeStack NODEJS_6_6 = new RuntimeStack("NODE", "6.6");
/** Node.JS 4.5.0. */
public static final RuntimeStack NODEJS_4_5_0 = new RuntimeStack("NODE", "4.5.0");
/** Node.JS 6.2. */
public static final RuntimeStack NODEJS_6_2 = new RuntimeStack("NODE", "6.2");
/** Node.JS 4.4.7. */
public static final RuntimeStack NODEJS_4_4_7 = new RuntimeStack("NODE", "4.4.7");
/** Node.JS 4.5. */
public static final RuntimeStack NODEJS_4_5 = new RuntimeStack("NODE", "4.5");
/** PHP 5.6.23. */
public static final RuntimeStack PHP_5_6_23 = new RuntimeStack("PHP", "5.6.23");
/** Node.JS 4.4. */
public static final RuntimeStack NODEJS_4_4 = new RuntimeStack("NODE", "4.4");
/** PHP 7.0.6. */
public static final RuntimeStack PHP_7_0_6 = new RuntimeStack("PHP", "7.0.6");
/** PHP 5.6. */
public static final RuntimeStack PHP_5_6 = new RuntimeStack("PHP", "5.6");
/** PHP 7.0. */
public static final RuntimeStack PHP_7_0 = new RuntimeStack("PHP", "7.0");
/** .NET Core v1.0. */
public static final RuntimeStack NETCORE_V1_0 = new RuntimeStack("DOTNETCORE", "v1.0");
public static final RuntimeStack NETCORE_V1_0 = new RuntimeStack("DOTNETCORE", "1.0");
/** .NET Core v1.1. */
public static final RuntimeStack NETCORE_V1_1 = new RuntimeStack("DOTNETCORE", "1.1");
/** Ruby 2.3. */
public static final RuntimeStack RUBY_2_3 = new RuntimeStack("RUBY", "2.3");

Просмотреть файл

@ -32,6 +32,9 @@ public final class SkuName {
/** Static value Dynamic for SkuName. */
public static final SkuName DYNAMIC = new SkuName("Dynamic");
/** Static value Isolated for SkuName. */
public static final SkuName ISOLATED = new SkuName("Isolated");
private String value;
/**

Просмотреть файл

@ -1,45 +0,0 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Options for retrieving the list of top level domain legal agreements.
*/
public class TopLevelDomainAgreementOption {
/**
* If &lt;code&gt;true&lt;/code&gt;, then the list of agreements will
* include agreements for domain privacy as well; otherwise,
* &lt;code&gt;false&lt;/code&gt;.
*/
@JsonProperty(value = "includePrivacy")
private Boolean includePrivacy;
/**
* Get the includePrivacy value.
*
* @return the includePrivacy value
*/
public Boolean includePrivacy() {
return this.includePrivacy;
}
/**
* Set the includePrivacy value.
*
* @param includePrivacy the includePrivacy value to set
* @return the TopLevelDomainAgreementOption object itself.
*/
public TopLevelDomainAgreementOption withIncludePrivacy(Boolean includePrivacy) {
this.includePrivacy = includePrivacy;
return this;
}
}

Просмотреть файл

@ -6,79 +6,60 @@
package com.microsoft.azure.management.appservice;
import com.fasterxml.jackson.annotation.JsonValue;
import java.util.Collection;
import com.microsoft.azure.management.resources.fluentcore.arm.ExpandableStringEnum;
/**
* Defines values for Java web container.
*/
public final class WebContainer {
public final class WebContainer extends ExpandableStringEnum<WebContainer> {
/** Static value tomcat 7.0 newest for WebContainer. */
public static final WebContainer TOMCAT_7_0_NEWEST = new WebContainer("tomcat 7.0");
public static final WebContainer TOMCAT_7_0_NEWEST = WebContainer.fromString("tomcat 7.0");
/** Static value tomcat 7.0.50 for WebContainer. */
public static final WebContainer TOMCAT_7_0_50 = new WebContainer("tomcat 7.0.50");
public static final WebContainer TOMCAT_7_0_50 = WebContainer.fromString("tomcat 7.0.50");
/** Static value tomcat 7.0.62 for WebContainer. */
public static final WebContainer TOMCAT_7_0_62 = new WebContainer("tomcat 7.0.62");
public static final WebContainer TOMCAT_7_0_62 = WebContainer.fromString("tomcat 7.0.62");
/** Static value tomcat 8.0 newest for WebContainer. */
public static final WebContainer TOMCAT_8_0_NEWEST = new WebContainer("tomcat 8.0");
public static final WebContainer TOMCAT_8_0_NEWEST = WebContainer.fromString("tomcat 8.0");
/** Static value tomcat 8.0.23 for WebContainer. */
public static final WebContainer TOMCAT_8_0_23 = new WebContainer("tomcat 8.0.23");
public static final WebContainer TOMCAT_8_0_23 = WebContainer.fromString("tomcat 8.0.23");
/** Static value tomcat 8.0 newest for WebContainer. */
public static final WebContainer TOMCAT_8_5_NEWEST = new WebContainer("tomcat 8.5");
public static final WebContainer TOMCAT_8_5_NEWEST = WebContainer.fromString("tomcat 8.5");
/** Static value tomcat 8.0.23 for WebContainer. */
public static final WebContainer TOMCAT_8_5_6 = new WebContainer("tomcat 8.5.6");
public static final WebContainer TOMCAT_8_5_6 = WebContainer.fromString("tomcat 8.5.6");
/** Static value jetty 9.1 for WebContainer. */
public static final WebContainer JETTY_9_1_NEWEST = new WebContainer("jetty 9.1");
public static final WebContainer JETTY_9_1_NEWEST = WebContainer.fromString("jetty 9.1");
/** Static value jetty 9.1.0 v20131115 for WebContainer. */
public static final WebContainer JETTY_9_1_V20131115 = new WebContainer("jetty 9.1.0.20131115");
public static final WebContainer JETTY_9_1_V20131115 = WebContainer.fromString("jetty 9.1.0.20131115");
/** Static value jetty 9.3 for WebContainer. */
public static final WebContainer JETTY_9_3_NEWEST = new WebContainer("jetty 9.3");
public static final WebContainer JETTY_9_3_NEWEST = WebContainer.fromString("jetty 9.3");
/** Static value jetty 9.3.13 v20161014 for WebContainer. */
public static final WebContainer JETTY_9_3_V20161014 = new WebContainer("jetty 9.3.13.20161014");
private String value;
public static final WebContainer JETTY_9_3_V20161014 = WebContainer.fromString("jetty 9.3.13.20161014");
/**
* Creates a custom value for WebContainer.
* @param value the custom value
* Finds or creates a Web container based on the specified name.
* @param name a name
* @return a WebContainer instance
*/
public WebContainer(String value) {
this.value = value;
public static WebContainer fromString(String name) {
return fromString(name, WebContainer.class);
}
@JsonValue
@Override
public String toString() {
return value;
}
@Override
public int hashCode() {
return value.hashCode();
}
@Override
public boolean equals(Object obj) {
if (!(obj instanceof WebContainer)) {
return false;
}
if (obj == this) {
return true;
}
WebContainer rhs = (WebContainer) obj;
if (value == null) {
return rhs.value == null;
} else {
return value.equals(rhs.value);
}
/**
* @return known Web container types
*/
public static Collection<WebContainer> values() {
return values(WebContainer.class);
}
}

Просмотреть файл

@ -122,7 +122,7 @@ class AppServiceCertificateImpl
@Override
protected Observable<CertificateInner> getInnerAsync() {
return this.manager().inner().certificates().getAsync(resourceGroupName(), name());
return this.manager().inner().certificates().getByResourceGroupAsync(resourceGroupName(), name());
}
@Override

Просмотреть файл

@ -51,7 +51,7 @@ public class AppServiceCertificateInner {
* Set the keyVaultId value.
*
* @param keyVaultId the keyVaultId value to set
* @return the AppServiceCertificateInner object itself.
* @return the AppServiceCertificate object itself.
*/
public AppServiceCertificateInner withKeyVaultId(String keyVaultId) {
this.keyVaultId = keyVaultId;
@ -71,7 +71,7 @@ public class AppServiceCertificateInner {
* Set the keyVaultSecretName value.
*
* @param keyVaultSecretName the keyVaultSecretName value to set
* @return the AppServiceCertificateInner object itself.
* @return the AppServiceCertificate object itself.
*/
public AppServiceCertificateInner withKeyVaultSecretName(String keyVaultSecretName) {
this.keyVaultSecretName = keyVaultSecretName;

Просмотреть файл

@ -8,17 +8,17 @@
package com.microsoft.azure.management.appservice.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.azure.Resource;
import com.microsoft.azure.management.appservice.CertificateDetails;
import com.microsoft.azure.management.appservice.CertificateOrderStatus;
import java.util.Map;
import com.microsoft.azure.management.appservice.AppServiceCertificate;
import com.microsoft.azure.management.appservice.CertificateProductType;
import com.microsoft.azure.management.appservice.ProvisioningState;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.appservice.CertificateOrderStatus;
import com.microsoft.azure.management.appservice.CertificateDetails;
import org.joda.time.DateTime;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
/**
* SSL certificate purchase order.
@ -29,7 +29,7 @@ public class AppServiceCertificateOrderInner extends Resource {
* State of the Key Vault secret.
*/
@JsonProperty(value = "properties.certificates")
private Map<String, AppServiceCertificateInner> certificates;
private Map<String, AppServiceCertificate> certificates;
/**
* Certificate distinguished name.
@ -130,22 +130,28 @@ public class AppServiceCertificateOrderInner extends Resource {
* &lt;code&gt;true&lt;/code&gt; if private key is external; otherwise,
* &lt;code&gt;false&lt;/code&gt;.
*/
@JsonProperty(value = "properties.isPrivateKeyExternal")
@JsonProperty(value = "properties.isPrivateKeyExternal", access = JsonProperty.Access.WRITE_ONLY)
private Boolean isPrivateKeyExternal;
/**
* Reasons why App Service Certificate is not renewable at the current
* moment.
*/
@JsonProperty(value = "properties.appServiceCertificateNotRenewableReasons")
@JsonProperty(value = "properties.appServiceCertificateNotRenewableReasons", access = JsonProperty.Access.WRITE_ONLY)
private List<String> appServiceCertificateNotRenewableReasons;
/**
* Time stamp when the certificate would be auto renewed next.
*/
@JsonProperty(value = "properties.nextAutoRenewalTimeStamp", access = JsonProperty.Access.WRITE_ONLY)
private DateTime nextAutoRenewalTimeStamp;
/**
* Get the certificates value.
*
* @return the certificates value
*/
public Map<String, AppServiceCertificateInner> certificates() {
public Map<String, AppServiceCertificate> certificates() {
return this.certificates;
}
@ -155,7 +161,7 @@ public class AppServiceCertificateOrderInner extends Resource {
* @param certificates the certificates value to set
* @return the AppServiceCertificateOrderInner object itself.
*/
public AppServiceCertificateOrderInner withCertificates(Map<String, AppServiceCertificateInner> certificates) {
public AppServiceCertificateOrderInner withCertificates(Map<String, AppServiceCertificate> certificates) {
this.certificates = certificates;
return this;
}
@ -370,17 +376,6 @@ public class AppServiceCertificateOrderInner extends Resource {
return this.isPrivateKeyExternal;
}
/**
* Set the isPrivateKeyExternal value.
*
* @param isPrivateKeyExternal the isPrivateKeyExternal value to set
* @return the AppServiceCertificateOrderInner object itself.
*/
public AppServiceCertificateOrderInner withIsPrivateKeyExternal(Boolean isPrivateKeyExternal) {
this.isPrivateKeyExternal = isPrivateKeyExternal;
return this;
}
/**
* Get the appServiceCertificateNotRenewableReasons value.
*
@ -391,14 +386,12 @@ public class AppServiceCertificateOrderInner extends Resource {
}
/**
* Set the appServiceCertificateNotRenewableReasons value.
* Get the nextAutoRenewalTimeStamp value.
*
* @param appServiceCertificateNotRenewableReasons the appServiceCertificateNotRenewableReasons value to set
* @return the AppServiceCertificateOrderInner object itself.
* @return the nextAutoRenewalTimeStamp value
*/
public AppServiceCertificateOrderInner withAppServiceCertificateNotRenewableReasons(List<String> appServiceCertificateNotRenewableReasons) {
this.appServiceCertificateNotRenewableReasons = appServiceCertificateNotRenewableReasons;
return this;
public DateTime nextAutoRenewalTimeStamp() {
return this.nextAutoRenewalTimeStamp;
}
}

Просмотреть файл

@ -33,7 +33,7 @@ class AppServiceCertificatesImpl
@Override
protected Observable<CertificateInner> getInnerAsync(String resourceGroupName, String name) {
return this.inner().getAsync(resourceGroupName, name);
return this.inner().getByResourceGroupAsync(resourceGroupName, name);
}
@Override

Просмотреть файл

@ -65,7 +65,7 @@ class AppServiceDomainImpl
String[] domainParts = this.name().split("\\.");
String topLevel = domainParts[domainParts.length - 1];
final DomainsInner client = this.manager().inner().domains();
return this.manager().inner().topLevelDomains().listAgreementsAsync(topLevel)
return this.manager().inner().topLevelDomains().listAgreementsAsync(topLevel, new TopLevelDomainAgreementOptionInner())
// Step 1: Consent to agreements
.flatMap(new Func1<Page<TldLegalAgreementInner>, Observable<List<String>>>() {
@Override

Просмотреть файл

@ -57,6 +57,6 @@ class AppServiceDomainsImpl
public DomainLegalAgreement typeConvert(TldLegalAgreementInner tldLegalAgreementInner) {
return new DomainLegalAgreementImpl(tldLegalAgreementInner);
}
}.convert(this.manager().inner().topLevelDomains().listAgreements(topLevelExtension));
}.convert(this.manager().inner().topLevelDomains().listAgreements(topLevelExtension, new TopLevelDomainAgreementOptionInner()));
}
}

Просмотреть файл

@ -202,12 +202,6 @@ public class AppServiceEnvironmentInner {
@JsonProperty(value = "environmentStatus", access = JsonProperty.Access.WRITE_ONLY)
private String environmentStatus;
/**
* Kind of the app service environment.
*/
@JsonProperty(value = "kind")
private String kind;
/**
* Resource group of the App Service Environment.
*/
@ -653,26 +647,6 @@ public class AppServiceEnvironmentInner {
return this.environmentStatus;
}
/**
* Get the kind value.
*
* @return the kind value
*/
public String kind() {
return this.kind;
}
/**
* Set the kind value.
*
* @param kind the kind value to set
* @return the AppServiceEnvironmentInner object itself.
*/
public AppServiceEnvironmentInner withKind(String kind) {
this.kind = kind;
return this;
}
/**
* Get the resourceGroup value.
*

Просмотреть файл

@ -205,12 +205,6 @@ public class AppServiceEnvironmentResourceInner extends Resource {
@JsonProperty(value = "properties.environmentStatus", access = JsonProperty.Access.WRITE_ONLY)
private String environmentStatus;
/**
* Kind of the app service environment.
*/
@JsonProperty(value = "properties.kind")
private String appServiceEnvironmentResourceKind;
/**
* Resource group of the App Service Environment.
*/
@ -656,26 +650,6 @@ public class AppServiceEnvironmentResourceInner extends Resource {
return this.environmentStatus;
}
/**
* Get the appServiceEnvironmentResourceKind value.
*
* @return the appServiceEnvironmentResourceKind value
*/
public String appServiceEnvironmentResourceKind() {
return this.appServiceEnvironmentResourceKind;
}
/**
* Set the appServiceEnvironmentResourceKind value.
*
* @param appServiceEnvironmentResourceKind the appServiceEnvironmentResourceKind value to set
* @return the AppServiceEnvironmentResourceInner object itself.
*/
public AppServiceEnvironmentResourceInner withAppServiceEnvironmentResourceKind(String appServiceEnvironmentResourceKind) {
this.appServiceEnvironmentResourceKind = appServiceEnvironmentResourceKind;
return this;
}
/**
* Get the resourceGroup value.
*

Просмотреть файл

@ -20,6 +20,7 @@ import com.microsoft.azure.management.keyvault.implementation.KeyVaultManager;
import com.microsoft.azure.management.resources.fluentcore.arm.AzureConfigurable;
import com.microsoft.azure.management.resources.fluentcore.arm.implementation.AzureConfigurableImpl;
import com.microsoft.azure.management.resources.fluentcore.arm.implementation.Manager;
import com.microsoft.azure.management.resources.fluentcore.utils.ProviderRegistrationInterceptor;
import com.microsoft.azure.management.storage.implementation.StorageManager;
import com.microsoft.azure.serializer.AzureJacksonAdapter;
import com.microsoft.rest.RestClient;
@ -63,6 +64,7 @@ public final class AppServiceManager extends Manager<AppServiceManager, WebSiteM
.withCredentials(credentials)
.withSerializerAdapter(new AzureJacksonAdapter())
.withResponseBuilderFactory(new AzureResponseBuilder.Factory())
.withInterceptor(new ProviderRegistrationInterceptor(credentials))
.build(), credentials.domain(), subscriptionId);
}

Просмотреть файл

@ -21,11 +21,6 @@ import com.microsoft.azure.Resource;
*/
@JsonFlatten
public class AppServicePlanInner extends Resource {
/**
* Kind of resource.
*/
private String kind;
/**
* Name for the App Service plan.
*/
@ -128,26 +123,6 @@ public class AppServicePlanInner extends Resource {
@JsonProperty(value = "sku")
private SkuDescription sku;
/**
* Get the kind value.
*
* @return the kind value
*/
public String kind() {
return kind;
}
/**
* Set the kind value.
*
* @param kind the kind value to set
* @return the SiteInner object itself
*/
public AppServicePlanInner withKind(String kind) {
this.kind = kind;
return this;
}
/**
* Get the appServicePlanName value.
*

Просмотреть файл

@ -96,7 +96,7 @@ public class CertificateInner extends Resource {
/**
* Raw bytes of .cer file.
*/
@JsonProperty(value = "properties.cerBlob")
@JsonProperty(value = "properties.cerBlob", access = JsonProperty.Access.WRITE_ONLY)
private String cerBlob;
/**
@ -135,6 +135,18 @@ public class CertificateInner extends Resource {
@JsonProperty(value = "properties.keyVaultSecretStatus", access = JsonProperty.Access.WRITE_ONLY)
private KeyVaultSecretStatus keyVaultSecretStatus;
/**
* Region of the certificate.
*/
@JsonProperty(value = "properties.geoRegion", access = JsonProperty.Access.WRITE_ONLY)
private String geoRegion;
/**
* Resource name of the certificate.
*/
@JsonProperty(value = "properties.name", access = JsonProperty.Access.WRITE_ONLY)
private String certificateName;
/**
* Resource ID of the associated App Service plan, formatted as:
* "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
@ -292,17 +304,6 @@ public class CertificateInner extends Resource {
return this.cerBlob;
}
/**
* Set the cerBlob value.
*
* @param cerBlob the cerBlob value to set
* @return the CertificateInner object itself.
*/
public CertificateInner withCerBlob(String cerBlob) {
this.cerBlob = cerBlob;
return this;
}
/**
* Get the publicKeyHash value.
*
@ -370,6 +371,24 @@ public class CertificateInner extends Resource {
return this.keyVaultSecretStatus;
}
/**
* Get the geoRegion value.
*
* @return the geoRegion value
*/
public String geoRegion() {
return this.geoRegion;
}
/**
* Get the certificateName value.
*
* @return the certificateName value
*/
public String certificateName() {
return this.certificateName;
}
/**
* Get the serverFarmId value.
*

Просмотреть файл

@ -8,6 +8,7 @@
package com.microsoft.azure.management.appservice.implementation;
import com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsGet;
import com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsDelete;
import com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsListing;
import retrofit2.Retrofit;
@ -42,7 +43,7 @@ import rx.Observable;
* An instance of this class provides access to all the operations defined
* in Certificates.
*/
public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSupportsListing<CertificateInner> {
public class CertificatesInner implements InnerSupportsGet<CertificateInner>, InnerSupportsDelete<Void>, InnerSupportsListing<CertificateInner> {
/** The Retrofit service to perform REST calls. */
private CertificatesService service;
/** The service client containing this operation class. */
@ -72,9 +73,9 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
@GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates")
Observable<Response<ResponseBody>> listByResourceGroup(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates get" })
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates getByResourceGroup" })
@GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}")
Observable<Response<ResponseBody>> get(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
Observable<Response<ResponseBody>> getByResourceGroup(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates createOrUpdate" })
@PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}")
@ -88,26 +89,6 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
@PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}")
Observable<Response<ResponseBody>> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CertificateInner certificateEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates listSigningRequestByResourceGroup" })
@GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs")
Observable<Response<ResponseBody>> listSigningRequestByResourceGroup(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates getSigningRequest" })
@GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}")
Observable<Response<ResponseBody>> getSigningRequest(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates createOrUpdateSigningRequest" })
@PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}")
Observable<Response<ResponseBody>> createOrUpdateSigningRequest(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsrInner csrEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates deleteSigningRequest" })
@HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}", method = "DELETE", hasBody = true)
Observable<Response<ResponseBody>> deleteSigningRequest(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates updateSigningRequest" })
@PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/csrs/{name}")
Observable<Response<ResponseBody>> updateSigningRequest(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsrInner csrEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates listNext" })
@GET
Observable<Response<ResponseBody>> listNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@ -116,10 +97,6 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
@GET
Observable<Response<ResponseBody>> listByResourceGroupNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Certificates listSigningRequestByResourceGroupNext" })
@GET
Observable<Response<ResponseBody>> listSigningRequestByResourceGroupNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
}
/**
@ -361,8 +338,8 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the CertificateInner object if successful.
*/
public CertificateInner get(String resourceGroupName, String name) {
return getWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body();
public CertificateInner getByResourceGroup(String resourceGroupName, String name) {
return getByResourceGroupWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body();
}
/**
@ -375,8 +352,8 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<CertificateInner> getAsync(String resourceGroupName, String name, final ServiceCallback<CertificateInner> serviceCallback) {
return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, name), serviceCallback);
public ServiceFuture<CertificateInner> getByResourceGroupAsync(String resourceGroupName, String name, final ServiceCallback<CertificateInner> serviceCallback) {
return ServiceFuture.fromResponse(getByResourceGroupWithServiceResponseAsync(resourceGroupName, name), serviceCallback);
}
/**
@ -388,8 +365,8 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the CertificateInner object
*/
public Observable<CertificateInner> getAsync(String resourceGroupName, String name) {
return getWithServiceResponseAsync(resourceGroupName, name).map(new Func1<ServiceResponse<CertificateInner>, CertificateInner>() {
public Observable<CertificateInner> getByResourceGroupAsync(String resourceGroupName, String name) {
return getByResourceGroupWithServiceResponseAsync(resourceGroupName, name).map(new Func1<ServiceResponse<CertificateInner>, CertificateInner>() {
@Override
public CertificateInner call(ServiceResponse<CertificateInner> response) {
return response.body();
@ -406,7 +383,7 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the CertificateInner object
*/
public Observable<ServiceResponse<CertificateInner>> getWithServiceResponseAsync(String resourceGroupName, String name) {
public Observable<ServiceResponse<CertificateInner>> getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String name) {
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}
@ -417,12 +394,12 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2016-03-01";
return service.get(resourceGroupName, name, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
return service.getByResourceGroup(resourceGroupName, name, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<CertificateInner>>>() {
@Override
public Observable<ServiceResponse<CertificateInner>> call(Response<ResponseBody> response) {
try {
ServiceResponse<CertificateInner> clientResponse = getDelegate(response);
ServiceResponse<CertificateInner> clientResponse = getByResourceGroupDelegate(response);
return Observable.just(clientResponse);
} catch (Throwable t) {
return Observable.error(t);
@ -431,7 +408,7 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
});
}
private ServiceResponse<CertificateInner> getDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
private ServiceResponse<CertificateInner> getByResourceGroupDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<CertificateInner, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<CertificateInner>() { }.getType())
.registerError(CloudException.class)
@ -718,492 +695,6 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
.build(response);
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the PagedList&lt;CsrInner&gt; object if successful.
*/
public PagedList<CsrInner> listSigningRequestByResourceGroup(final String resourceGroupName) {
ServiceResponse<Page<CsrInner>> response = listSigningRequestByResourceGroupSinglePageAsync(resourceGroupName).toBlocking().single();
return new PagedList<CsrInner>(response.body()) {
@Override
public Page<CsrInner> nextPage(String nextPageLink) {
return listSigningRequestByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body();
}
};
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<List<CsrInner>> listSigningRequestByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback<CsrInner> serviceCallback) {
return AzureServiceFuture.fromPageResponse(
listSigningRequestByResourceGroupSinglePageAsync(resourceGroupName),
new Func1<String, Observable<ServiceResponse<Page<CsrInner>>>>() {
@Override
public Observable<ServiceResponse<Page<CsrInner>>> call(String nextPageLink) {
return listSigningRequestByResourceGroupNextSinglePageAsync(nextPageLink);
}
},
serviceCallback);
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;CsrInner&gt; object
*/
public Observable<Page<CsrInner>> listSigningRequestByResourceGroupAsync(final String resourceGroupName) {
return listSigningRequestByResourceGroupWithServiceResponseAsync(resourceGroupName)
.map(new Func1<ServiceResponse<Page<CsrInner>>, Page<CsrInner>>() {
@Override
public Page<CsrInner> call(ServiceResponse<Page<CsrInner>> response) {
return response.body();
}
});
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;CsrInner&gt; object
*/
public Observable<ServiceResponse<Page<CsrInner>>> listSigningRequestByResourceGroupWithServiceResponseAsync(final String resourceGroupName) {
return listSigningRequestByResourceGroupSinglePageAsync(resourceGroupName)
.concatMap(new Func1<ServiceResponse<Page<CsrInner>>, Observable<ServiceResponse<Page<CsrInner>>>>() {
@Override
public Observable<ServiceResponse<Page<CsrInner>>> call(ServiceResponse<Page<CsrInner>> page) {
String nextPageLink = page.body().nextPageLink();
if (nextPageLink == null) {
return Observable.just(page);
}
return Observable.just(page).concatWith(listSigningRequestByResourceGroupNextWithServiceResponseAsync(nextPageLink));
}
});
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
ServiceResponse<PageImpl<CsrInner>> * @param resourceGroupName Name of the resource group to which the resource belongs.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;CsrInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
public Observable<ServiceResponse<Page<CsrInner>>> listSigningRequestByResourceGroupSinglePageAsync(final String resourceGroupName) {
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2016-03-01";
return service.listSigningRequestByResourceGroup(resourceGroupName, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<CsrInner>>>>() {
@Override
public Observable<ServiceResponse<Page<CsrInner>>> call(Response<ResponseBody> response) {
try {
ServiceResponse<PageImpl<CsrInner>> result = listSigningRequestByResourceGroupDelegate(response);
return Observable.just(new ServiceResponse<Page<CsrInner>>(result.body(), result.response()));
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<PageImpl<CsrInner>> listSigningRequestByResourceGroupDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<PageImpl<CsrInner>, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<PageImpl<CsrInner>>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
/**
* Get a certificate signing request.
* Get a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the CsrInner object if successful.
*/
public CsrInner getSigningRequest(String resourceGroupName, String name) {
return getSigningRequestWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body();
}
/**
* Get a certificate signing request.
* Get a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<CsrInner> getSigningRequestAsync(String resourceGroupName, String name, final ServiceCallback<CsrInner> serviceCallback) {
return ServiceFuture.fromResponse(getSigningRequestWithServiceResponseAsync(resourceGroupName, name), serviceCallback);
}
/**
* Get a certificate signing request.
* Get a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the CsrInner object
*/
public Observable<CsrInner> getSigningRequestAsync(String resourceGroupName, String name) {
return getSigningRequestWithServiceResponseAsync(resourceGroupName, name).map(new Func1<ServiceResponse<CsrInner>, CsrInner>() {
@Override
public CsrInner call(ServiceResponse<CsrInner> response) {
return response.body();
}
});
}
/**
* Get a certificate signing request.
* Get a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the CsrInner object
*/
public Observable<ServiceResponse<CsrInner>> getSigningRequestWithServiceResponseAsync(String resourceGroupName, String name) {
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}
if (name == null) {
throw new IllegalArgumentException("Parameter name is required and cannot be null.");
}
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2016-03-01";
return service.getSigningRequest(resourceGroupName, name, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<CsrInner>>>() {
@Override
public Observable<ServiceResponse<CsrInner>> call(Response<ResponseBody> response) {
try {
ServiceResponse<CsrInner> clientResponse = getSigningRequestDelegate(response);
return Observable.just(clientResponse);
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<CsrInner> getSigningRequestDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<CsrInner, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<CsrInner>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
/**
* Create or update a certificate signing request.
* Create or update a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param csrEnvelope Details of certificate signing request, if it exists already.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the CsrInner object if successful.
*/
public CsrInner createOrUpdateSigningRequest(String resourceGroupName, String name, CsrInner csrEnvelope) {
return createOrUpdateSigningRequestWithServiceResponseAsync(resourceGroupName, name, csrEnvelope).toBlocking().single().body();
}
/**
* Create or update a certificate signing request.
* Create or update a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param csrEnvelope Details of certificate signing request, if it exists already.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<CsrInner> createOrUpdateSigningRequestAsync(String resourceGroupName, String name, CsrInner csrEnvelope, final ServiceCallback<CsrInner> serviceCallback) {
return ServiceFuture.fromResponse(createOrUpdateSigningRequestWithServiceResponseAsync(resourceGroupName, name, csrEnvelope), serviceCallback);
}
/**
* Create or update a certificate signing request.
* Create or update a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param csrEnvelope Details of certificate signing request, if it exists already.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the CsrInner object
*/
public Observable<CsrInner> createOrUpdateSigningRequestAsync(String resourceGroupName, String name, CsrInner csrEnvelope) {
return createOrUpdateSigningRequestWithServiceResponseAsync(resourceGroupName, name, csrEnvelope).map(new Func1<ServiceResponse<CsrInner>, CsrInner>() {
@Override
public CsrInner call(ServiceResponse<CsrInner> response) {
return response.body();
}
});
}
/**
* Create or update a certificate signing request.
* Create or update a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param csrEnvelope Details of certificate signing request, if it exists already.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the CsrInner object
*/
public Observable<ServiceResponse<CsrInner>> createOrUpdateSigningRequestWithServiceResponseAsync(String resourceGroupName, String name, CsrInner csrEnvelope) {
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}
if (name == null) {
throw new IllegalArgumentException("Parameter name is required and cannot be null.");
}
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
if (csrEnvelope == null) {
throw new IllegalArgumentException("Parameter csrEnvelope is required and cannot be null.");
}
Validator.validate(csrEnvelope);
final String apiVersion = "2016-03-01";
return service.createOrUpdateSigningRequest(resourceGroupName, name, this.client.subscriptionId(), csrEnvelope, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<CsrInner>>>() {
@Override
public Observable<ServiceResponse<CsrInner>> call(Response<ResponseBody> response) {
try {
ServiceResponse<CsrInner> clientResponse = createOrUpdateSigningRequestDelegate(response);
return Observable.just(clientResponse);
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<CsrInner> createOrUpdateSigningRequestDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<CsrInner, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<CsrInner>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
/**
* Delete a certificate signing request.
* Delete a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
*/
public void deleteSigningRequest(String resourceGroupName, String name) {
deleteSigningRequestWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body();
}
/**
* Delete a certificate signing request.
* Delete a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<Void> deleteSigningRequestAsync(String resourceGroupName, String name, final ServiceCallback<Void> serviceCallback) {
return ServiceFuture.fromResponse(deleteSigningRequestWithServiceResponseAsync(resourceGroupName, name), serviceCallback);
}
/**
* Delete a certificate signing request.
* Delete a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponse} object if successful.
*/
public Observable<Void> deleteSigningRequestAsync(String resourceGroupName, String name) {
return deleteSigningRequestWithServiceResponseAsync(resourceGroupName, name).map(new Func1<ServiceResponse<Void>, Void>() {
@Override
public Void call(ServiceResponse<Void> response) {
return response.body();
}
});
}
/**
* Delete a certificate signing request.
* Delete a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponse} object if successful.
*/
public Observable<ServiceResponse<Void>> deleteSigningRequestWithServiceResponseAsync(String resourceGroupName, String name) {
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}
if (name == null) {
throw new IllegalArgumentException("Parameter name is required and cannot be null.");
}
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2016-03-01";
return service.deleteSigningRequest(resourceGroupName, name, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Void>>>() {
@Override
public Observable<ServiceResponse<Void>> call(Response<ResponseBody> response) {
try {
ServiceResponse<Void> clientResponse = deleteSigningRequestDelegate(response);
return Observable.just(clientResponse);
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<Void> deleteSigningRequestDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<Void, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<Void>() { }.getType())
.register(204, new TypeToken<Void>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
/**
* Create or update a certificate signing request.
* Create or update a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param csrEnvelope Details of certificate signing request, if it exists already.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the CsrInner object if successful.
*/
public CsrInner updateSigningRequest(String resourceGroupName, String name, CsrInner csrEnvelope) {
return updateSigningRequestWithServiceResponseAsync(resourceGroupName, name, csrEnvelope).toBlocking().single().body();
}
/**
* Create or update a certificate signing request.
* Create or update a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param csrEnvelope Details of certificate signing request, if it exists already.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<CsrInner> updateSigningRequestAsync(String resourceGroupName, String name, CsrInner csrEnvelope, final ServiceCallback<CsrInner> serviceCallback) {
return ServiceFuture.fromResponse(updateSigningRequestWithServiceResponseAsync(resourceGroupName, name, csrEnvelope), serviceCallback);
}
/**
* Create or update a certificate signing request.
* Create or update a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param csrEnvelope Details of certificate signing request, if it exists already.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the CsrInner object
*/
public Observable<CsrInner> updateSigningRequestAsync(String resourceGroupName, String name, CsrInner csrEnvelope) {
return updateSigningRequestWithServiceResponseAsync(resourceGroupName, name, csrEnvelope).map(new Func1<ServiceResponse<CsrInner>, CsrInner>() {
@Override
public CsrInner call(ServiceResponse<CsrInner> response) {
return response.body();
}
});
}
/**
* Create or update a certificate signing request.
* Create or update a certificate signing request.
*
* @param resourceGroupName Name of the resource group to which the resource belongs.
* @param name Name of the certificate signing request.
* @param csrEnvelope Details of certificate signing request, if it exists already.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the CsrInner object
*/
public Observable<ServiceResponse<CsrInner>> updateSigningRequestWithServiceResponseAsync(String resourceGroupName, String name, CsrInner csrEnvelope) {
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}
if (name == null) {
throw new IllegalArgumentException("Parameter name is required and cannot be null.");
}
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
if (csrEnvelope == null) {
throw new IllegalArgumentException("Parameter csrEnvelope is required and cannot be null.");
}
Validator.validate(csrEnvelope);
final String apiVersion = "2016-03-01";
return service.updateSigningRequest(resourceGroupName, name, this.client.subscriptionId(), csrEnvelope, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<CsrInner>>>() {
@Override
public Observable<ServiceResponse<CsrInner>> call(Response<ResponseBody> response) {
try {
ServiceResponse<CsrInner> clientResponse = updateSigningRequestDelegate(response);
return Observable.just(clientResponse);
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<CsrInner> updateSigningRequestDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<CsrInner, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<CsrInner>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
/**
* Get all certificates for a subscription.
* Get all certificates for a subscription.
@ -1436,120 +927,4 @@ public class CertificatesInner implements InnerSupportsDelete<Void>, InnerSuppor
.build(response);
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the PagedList&lt;CsrInner&gt; object if successful.
*/
public PagedList<CsrInner> listSigningRequestByResourceGroupNext(final String nextPageLink) {
ServiceResponse<Page<CsrInner>> response = listSigningRequestByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single();
return new PagedList<CsrInner>(response.body()) {
@Override
public Page<CsrInner> nextPage(String nextPageLink) {
return listSigningRequestByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body();
}
};
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param serviceFuture the ServiceFuture object tracking the Retrofit calls
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<List<CsrInner>> listSigningRequestByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture<List<CsrInner>> serviceFuture, final ListOperationCallback<CsrInner> serviceCallback) {
return AzureServiceFuture.fromPageResponse(
listSigningRequestByResourceGroupNextSinglePageAsync(nextPageLink),
new Func1<String, Observable<ServiceResponse<Page<CsrInner>>>>() {
@Override
public Observable<ServiceResponse<Page<CsrInner>>> call(String nextPageLink) {
return listSigningRequestByResourceGroupNextSinglePageAsync(nextPageLink);
}
},
serviceCallback);
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;CsrInner&gt; object
*/
public Observable<Page<CsrInner>> listSigningRequestByResourceGroupNextAsync(final String nextPageLink) {
return listSigningRequestByResourceGroupNextWithServiceResponseAsync(nextPageLink)
.map(new Func1<ServiceResponse<Page<CsrInner>>, Page<CsrInner>>() {
@Override
public Page<CsrInner> call(ServiceResponse<Page<CsrInner>> response) {
return response.body();
}
});
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;CsrInner&gt; object
*/
public Observable<ServiceResponse<Page<CsrInner>>> listSigningRequestByResourceGroupNextWithServiceResponseAsync(final String nextPageLink) {
return listSigningRequestByResourceGroupNextSinglePageAsync(nextPageLink)
.concatMap(new Func1<ServiceResponse<Page<CsrInner>>, Observable<ServiceResponse<Page<CsrInner>>>>() {
@Override
public Observable<ServiceResponse<Page<CsrInner>>> call(ServiceResponse<Page<CsrInner>> page) {
String nextPageLink = page.body().nextPageLink();
if (nextPageLink == null) {
return Observable.just(page);
}
return Observable.just(page).concatWith(listSigningRequestByResourceGroupNextWithServiceResponseAsync(nextPageLink));
}
});
}
/**
* Get all certificate signing requests in a resource group.
* Get all certificate signing requests in a resource group.
*
ServiceResponse<PageImpl<CsrInner>> * @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;CsrInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
public Observable<ServiceResponse<Page<CsrInner>>> listSigningRequestByResourceGroupNextSinglePageAsync(final String nextPageLink) {
if (nextPageLink == null) {
throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.");
}
String nextUrl = String.format("%s", nextPageLink);
return service.listSigningRequestByResourceGroupNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<CsrInner>>>>() {
@Override
public Observable<ServiceResponse<Page<CsrInner>>> call(Response<ResponseBody> response) {
try {
ServiceResponse<PageImpl<CsrInner>> result = listSigningRequestByResourceGroupNextDelegate(response);
return Observable.just(new ServiceResponse<Page<CsrInner>>(result.body(), result.response()));
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<PageImpl<CsrInner>> listSigningRequestByResourceGroupNextDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<PageImpl<CsrInner>, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<PageImpl<CsrInner>>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
}

Просмотреть файл

@ -1,202 +0,0 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
/**
* Certificate signing request.
*/
@JsonFlatten
public class CsrInner extends Resource {
/**
* Name used to locate CSR object.
*/
@JsonProperty(value = "properties.name")
private String csrName;
/**
* Distinguished name of certificate to be created.
*/
@JsonProperty(value = "properties.distinguishedName")
private String distinguishedName;
/**
* Actual CSR string created.
*/
@JsonProperty(value = "properties.csrString")
private String csrString;
/**
* PFX certifcate of created certificate.
*/
@JsonProperty(value = "properties.pfxBlob")
private String pfxBlob;
/**
* PFX password.
*/
@JsonProperty(value = "properties.password")
private String password;
/**
* Hash of the certificate's public key.
*/
@JsonProperty(value = "properties.publicKeyHash")
private String publicKeyHash;
/**
* App Service Environment.
*/
@JsonProperty(value = "properties.hostingEnvironment")
private String hostingEnvironment;
/**
* Get the csrName value.
*
* @return the csrName value
*/
public String csrName() {
return this.csrName;
}
/**
* Set the csrName value.
*
* @param csrName the csrName value to set
* @return the CsrInner object itself.
*/
public CsrInner withCsrName(String csrName) {
this.csrName = csrName;
return this;
}
/**
* Get the distinguishedName value.
*
* @return the distinguishedName value
*/
public String distinguishedName() {
return this.distinguishedName;
}
/**
* Set the distinguishedName value.
*
* @param distinguishedName the distinguishedName value to set
* @return the CsrInner object itself.
*/
public CsrInner withDistinguishedName(String distinguishedName) {
this.distinguishedName = distinguishedName;
return this;
}
/**
* Get the csrString value.
*
* @return the csrString value
*/
public String csrString() {
return this.csrString;
}
/**
* Set the csrString value.
*
* @param csrString the csrString value to set
* @return the CsrInner object itself.
*/
public CsrInner withCsrString(String csrString) {
this.csrString = csrString;
return this;
}
/**
* Get the pfxBlob value.
*
* @return the pfxBlob value
*/
public String pfxBlob() {
return this.pfxBlob;
}
/**
* Set the pfxBlob value.
*
* @param pfxBlob the pfxBlob value to set
* @return the CsrInner object itself.
*/
public CsrInner withPfxBlob(String pfxBlob) {
this.pfxBlob = pfxBlob;
return this;
}
/**
* Get the password value.
*
* @return the password value
*/
public String password() {
return this.password;
}
/**
* Set the password value.
*
* @param password the password value to set
* @return the CsrInner object itself.
*/
public CsrInner withPassword(String password) {
this.password = password;
return this;
}
/**
* Get the publicKeyHash value.
*
* @return the publicKeyHash value
*/
public String publicKeyHash() {
return this.publicKeyHash;
}
/**
* Set the publicKeyHash value.
*
* @param publicKeyHash the publicKeyHash value to set
* @return the CsrInner object itself.
*/
public CsrInner withPublicKeyHash(String publicKeyHash) {
this.publicKeyHash = publicKeyHash;
return this;
}
/**
* Get the hostingEnvironment value.
*
* @return the hostingEnvironment value
*/
public String hostingEnvironment() {
return this.hostingEnvironment;
}
/**
* Set the hostingEnvironment value.
*
* @param hostingEnvironment the hostingEnvironment value to set
* @return the CsrInner object itself.
*/
public CsrInner withHostingEnvironment(String hostingEnvironment) {
this.hostingEnvironment = hostingEnvironment;
return this;
}
}

Просмотреть файл

@ -51,19 +51,19 @@ public class DeploymentInner extends Resource {
/**
* Author email.
*/
@JsonProperty(value = "properties.author_email")
@JsonProperty(value = "properties.authorEmail")
private String authorEmail;
/**
* Start time.
*/
@JsonProperty(value = "properties.start_time")
@JsonProperty(value = "properties.startTime")
private DateTime startTime;
/**
* End time.
*/
@JsonProperty(value = "properties.end_time")
@JsonProperty(value = "properties.endTime")
private DateTime endTime;
/**

Просмотреть файл

@ -15,6 +15,7 @@ import java.util.List;
import org.joda.time.DateTime;
import com.microsoft.azure.management.appservice.HostName;
import com.microsoft.azure.management.appservice.DomainPurchaseConsent;
import com.microsoft.azure.management.appservice.DnsType;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
@ -68,7 +69,7 @@ public class DomainInner extends Resource {
/**
* Name servers.
*/
@JsonProperty(value = "properties.nameServers")
@JsonProperty(value = "properties.nameServers", access = JsonProperty.Access.WRITE_ONLY)
private List<String> nameServers;
/**
@ -116,7 +117,7 @@ public class DomainInner extends Resource {
/**
* All hostnames derived from the domain and assigned to Azure resources.
*/
@JsonProperty(value = "properties.managedHostNames")
@JsonProperty(value = "properties.managedHostNames", access = JsonProperty.Access.WRITE_ONLY)
private List<HostName> managedHostNames;
/**
@ -128,9 +129,35 @@ public class DomainInner extends Resource {
/**
* Reasons why domain is not renewable.
*/
@JsonProperty(value = "properties.domainNotRenewableReasons")
@JsonProperty(value = "properties.domainNotRenewableReasons", access = JsonProperty.Access.WRITE_ONLY)
private List<String> domainNotRenewableReasons;
/**
* Current DNS type. Possible values include: 'AzureDns',
* 'DefaultDomainRegistrarDns'.
*/
@JsonProperty(value = "properties.dnsType")
private DnsType dnsType;
/**
* Azure DNS Zone to use.
*/
@JsonProperty(value = "properties.dnsZoneId")
private String dnsZoneId;
/**
* Target DNS type (would be used for migration). Possible values include:
* 'AzureDns', 'DefaultDomainRegistrarDns'.
*/
@JsonProperty(value = "properties.targetDnsType")
private DnsType targetDnsType;
/**
* The authCode property.
*/
@JsonProperty(value = "properties.authCode", access = JsonProperty.Access.WRITE_ONLY)
private String authCode;
/**
* Get the contactAdmin value.
*
@ -238,17 +265,6 @@ public class DomainInner extends Resource {
return this.nameServers;
}
/**
* Set the nameServers value.
*
* @param nameServers the nameServers value to set
* @return the DomainInner object itself.
*/
public DomainInner withNameServers(List<String> nameServers) {
this.nameServers = nameServers;
return this;
}
/**
* Get the privacy value.
*
@ -334,17 +350,6 @@ public class DomainInner extends Resource {
return this.managedHostNames;
}
/**
* Set the managedHostNames value.
*
* @param managedHostNames the managedHostNames value to set
* @return the DomainInner object itself.
*/
public DomainInner withManagedHostNames(List<HostName> managedHostNames) {
this.managedHostNames = managedHostNames;
return this;
}
/**
* Get the consent value.
*
@ -375,14 +380,72 @@ public class DomainInner extends Resource {
}
/**
* Set the domainNotRenewableReasons value.
* Get the dnsType value.
*
* @param domainNotRenewableReasons the domainNotRenewableReasons value to set
* @return the dnsType value
*/
public DnsType dnsType() {
return this.dnsType;
}
/**
* Set the dnsType value.
*
* @param dnsType the dnsType value to set
* @return the DomainInner object itself.
*/
public DomainInner withDomainNotRenewableReasons(List<String> domainNotRenewableReasons) {
this.domainNotRenewableReasons = domainNotRenewableReasons;
public DomainInner withDnsType(DnsType dnsType) {
this.dnsType = dnsType;
return this;
}
/**
* Get the dnsZoneId value.
*
* @return the dnsZoneId value
*/
public String dnsZoneId() {
return this.dnsZoneId;
}
/**
* Set the dnsZoneId value.
*
* @param dnsZoneId the dnsZoneId value to set
* @return the DomainInner object itself.
*/
public DomainInner withDnsZoneId(String dnsZoneId) {
this.dnsZoneId = dnsZoneId;
return this;
}
/**
* Get the targetDnsType value.
*
* @return the targetDnsType value
*/
public DnsType targetDnsType() {
return this.targetDnsType;
}
/**
* Set the targetDnsType value.
*
* @param targetDnsType the targetDnsType value to set
* @return the DomainInner object itself.
*/
public DomainInner withTargetDnsType(DnsType targetDnsType) {
this.targetDnsType = targetDnsType;
return this;
}
/**
* Get the authCode value.
*
* @return the authCode value
*/
public String authCode() {
return this.authCode;
}
}

Просмотреть файл

@ -6,6 +6,7 @@
package com.microsoft.azure.management.appservice.implementation;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.appservice.AppServicePlan;
import com.microsoft.azure.management.appservice.FunctionApp;
@ -23,6 +24,7 @@ import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.Path;
import retrofit2.http.Query;
import rx.Completable;
import rx.Observable;
import rx.functions.Action0;
import rx.functions.Func1;
@ -184,6 +186,26 @@ class FunctionAppImpl
});
}
@Override
public void syncTriggers() {
syncTriggersAsync().toObservable().toBlocking().subscribe();
}
@Override
public Completable syncTriggersAsync() {
return manager().inner().webApps().syncFunctionTriggersAsync(resourceGroupName(), name()).toCompletable()
.onErrorResumeNext(new Func1<Throwable, Completable>() {
@Override
public Completable call(Throwable throwable) {
if (throwable instanceof CloudException && ((CloudException) throwable).response().code() == 200) {
return Completable.complete();
} else {
return Completable.error(throwable);
}
}
});
}
@Override
public Observable<Indexable> createAsync() {
if (inner().serverFarmId() == null) {

Просмотреть файл

@ -97,6 +97,27 @@ class HostNameSslBindingImpl<
return this;
}
@Override
public HostNameSslBindingImpl<FluentT, FluentImplT> withExistingCertificate(final String certificateNameOrThumbprint) {
newCertificate = this.parent().manager().certificates().getByResourceGroupAsync(parent().resourceGroupName(), certificateNameOrThumbprint)
.onErrorReturn(new Func1<Throwable, AppServiceCertificate>() {
@Override
public AppServiceCertificate call(Throwable throwable) {
return null;
}
})
.map(new Func1<AppServiceCertificate, AppServiceCertificate>() {
@Override
public AppServiceCertificate call(AppServiceCertificate appServiceCertificate) {
if (appServiceCertificate == null) {
withCertificateThumbprint(certificateNameOrThumbprint);
}
return appServiceCertificate;
}
});
return this;
}
@Override
public HostNameSslBindingImpl<FluentT, FluentImplT> withNewStandardSslCertificateOrder(final String certificateOrderName) {
this.certificateInDefinition = this.parent().manager().certificateOrders().define(certificateOrderName)
@ -139,7 +160,9 @@ class HostNameSslBindingImpl<
return newCertificate.doOnNext(new Action1<AppServiceCertificate>() {
@Override
public void call(AppServiceCertificate appServiceCertificate) {
withCertificateThumbprint(appServiceCertificate.thumbprint());
if (appServiceCertificate != null) {
withCertificateThumbprint(appServiceCertificate.thumbprint());
}
}
});
}

Просмотреть файл

@ -0,0 +1,209 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.CloudException;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
import java.io.IOException;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.Path;
import retrofit2.http.Query;
import retrofit2.Response;
import rx.functions.Func1;
import rx.Observable;
/**
* An instance of this class provides access to all the operations defined
* in Providers.
*/
public class ProvidersInner {
/** The Retrofit service to perform REST calls. */
private ProvidersService service;
/** The service client containing this operation class. */
private WebSiteManagementClientImpl client;
/**
* Initializes an instance of ProvidersInner.
*
* @param retrofit the Retrofit instance built from a Retrofit Builder.
* @param client the instance of the service client containing this operation class.
*/
public ProvidersInner(Retrofit retrofit, WebSiteManagementClientImpl client) {
this.service = retrofit.create(ProvidersService.class);
this.client = client;
}
/**
* The interface defining all the services for Providers to be
* used by Retrofit to perform actually REST calls.
*/
interface ProvidersService {
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Providers getAvailableStacks" })
@GET("providers/Microsoft.Web/availableStacks")
Observable<Response<ResponseBody>> getAvailableStacks(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.Providers getAvailableStacksOnPrem" })
@GET("subscriptions/{subscriptionId}/providers/Microsoft.Web/availableStacks")
Observable<Response<ResponseBody>> getAvailableStacksOnPrem(@Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
}
/**
* Get available application frameworks and their versions.
* Get available application frameworks and their versions.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the Object object if successful.
*/
public Object getAvailableStacks() {
return getAvailableStacksWithServiceResponseAsync().toBlocking().single().body();
}
/**
* Get available application frameworks and their versions.
* Get available application frameworks and their versions.
*
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<Object> getAvailableStacksAsync(final ServiceCallback<Object> serviceCallback) {
return ServiceFuture.fromResponse(getAvailableStacksWithServiceResponseAsync(), serviceCallback);
}
/**
* Get available application frameworks and their versions.
* Get available application frameworks and their versions.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the Object object
*/
public Observable<Object> getAvailableStacksAsync() {
return getAvailableStacksWithServiceResponseAsync().map(new Func1<ServiceResponse<Object>, Object>() {
@Override
public Object call(ServiceResponse<Object> response) {
return response.body();
}
});
}
/**
* Get available application frameworks and their versions.
* Get available application frameworks and their versions.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the Object object
*/
public Observable<ServiceResponse<Object>> getAvailableStacksWithServiceResponseAsync() {
final String apiVersion = "2016-03-01";
return service.getAvailableStacks(apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Object>>>() {
@Override
public Observable<ServiceResponse<Object>> call(Response<ResponseBody> response) {
try {
ServiceResponse<Object> clientResponse = getAvailableStacksDelegate(response);
return Observable.just(clientResponse);
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<Object> getAvailableStacksDelegate(Response<ResponseBody> response) throws CloudException, IOException {
return this.client.restClient().responseBuilderFactory().<Object, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<Object>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
/**
* Get available application frameworks and their versions.
* Get available application frameworks and their versions.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the Object object if successful.
*/
public Object getAvailableStacksOnPrem() {
return getAvailableStacksOnPremWithServiceResponseAsync().toBlocking().single().body();
}
/**
* Get available application frameworks and their versions.
* Get available application frameworks and their versions.
*
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<Object> getAvailableStacksOnPremAsync(final ServiceCallback<Object> serviceCallback) {
return ServiceFuture.fromResponse(getAvailableStacksOnPremWithServiceResponseAsync(), serviceCallback);
}
/**
* Get available application frameworks and their versions.
* Get available application frameworks and their versions.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the Object object
*/
public Observable<Object> getAvailableStacksOnPremAsync() {
return getAvailableStacksOnPremWithServiceResponseAsync().map(new Func1<ServiceResponse<Object>, Object>() {
@Override
public Object call(ServiceResponse<Object> response) {
return response.body();
}
});
}
/**
* Get available application frameworks and their versions.
* Get available application frameworks and their versions.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the Object object
*/
public Observable<ServiceResponse<Object>> getAvailableStacksOnPremWithServiceResponseAsync() {
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2016-03-01";
return service.getAvailableStacksOnPrem(this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Object>>>() {
@Override
public Observable<ServiceResponse<Object>> call(Response<ResponseBody> response) {
try {
ServiceResponse<Object> clientResponse = getAvailableStacksOnPremDelegate(response);
return Observable.just(clientResponse);
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<Object> getAvailableStacksOnPremDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<Object, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<Object>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
}

Просмотреть файл

@ -129,6 +129,30 @@ public class RecommendationInner {
@JsonProperty(value = "score")
private Double score;
/**
* True if this is associated with a dynamically added rule.
*/
@JsonProperty(value = "isDynamic")
private Boolean isDynamic;
/**
* Extension name of the portal if exists.
*/
@JsonProperty(value = "extensionName")
private String extensionName;
/**
* Deep link to a blade on the portal.
*/
@JsonProperty(value = "bladeName")
private String bladeName;
/**
* Forward link to an external document associated with the rule.
*/
@JsonProperty(value = "forwardLink")
private String forwardLink;
/**
* Get the creationTime value.
*
@ -469,4 +493,84 @@ public class RecommendationInner {
return this;
}
/**
* Get the isDynamic value.
*
* @return the isDynamic value
*/
public Boolean isDynamic() {
return this.isDynamic;
}
/**
* Set the isDynamic value.
*
* @param isDynamic the isDynamic value to set
* @return the RecommendationInner object itself.
*/
public RecommendationInner withIsDynamic(Boolean isDynamic) {
this.isDynamic = isDynamic;
return this;
}
/**
* Get the extensionName value.
*
* @return the extensionName value
*/
public String extensionName() {
return this.extensionName;
}
/**
* Set the extensionName value.
*
* @param extensionName the extensionName value to set
* @return the RecommendationInner object itself.
*/
public RecommendationInner withExtensionName(String extensionName) {
this.extensionName = extensionName;
return this;
}
/**
* Get the bladeName value.
*
* @return the bladeName value
*/
public String bladeName() {
return this.bladeName;
}
/**
* Set the bladeName value.
*
* @param bladeName the bladeName value to set
* @return the RecommendationInner object itself.
*/
public RecommendationInner withBladeName(String bladeName) {
this.bladeName = bladeName;
return this;
}
/**
* Get the forwardLink value.
*
* @return the forwardLink value
*/
public String forwardLink() {
return this.forwardLink;
}
/**
* Set the forwardLink value.
*
* @param forwardLink the forwardLink value to set
* @return the RecommendationInner object itself.
*/
public RecommendationInner withForwardLink(String forwardLink) {
this.forwardLink = forwardLink;
return this;
}
}

Просмотреть файл

@ -76,6 +76,31 @@ public class RecommendationRuleInner {
@JsonProperty(value = "tags")
private List<String> tags;
/**
* True if this is associated with a dynamically added rule.
*/
@JsonProperty(value = "isDynamic")
private Boolean isDynamic;
/**
* Extension name of the portal if exists. Applicable to dynamic rule only.
*/
@JsonProperty(value = "extensionName")
private String extensionName;
/**
* Deep link to a blade on the portal. Applicable to dynamic rule only.
*/
@JsonProperty(value = "bladeName")
private String bladeName;
/**
* Forward link to an external document associated with the rule.
* Applicable to dynamic rule only.
*/
@JsonProperty(value = "forwardLink")
private String forwardLink;
/**
* Get the name value.
*
@ -256,4 +281,84 @@ public class RecommendationRuleInner {
return this;
}
/**
* Get the isDynamic value.
*
* @return the isDynamic value
*/
public Boolean isDynamic() {
return this.isDynamic;
}
/**
* Set the isDynamic value.
*
* @param isDynamic the isDynamic value to set
* @return the RecommendationRuleInner object itself.
*/
public RecommendationRuleInner withIsDynamic(Boolean isDynamic) {
this.isDynamic = isDynamic;
return this;
}
/**
* Get the extensionName value.
*
* @return the extensionName value
*/
public String extensionName() {
return this.extensionName;
}
/**
* Set the extensionName value.
*
* @param extensionName the extensionName value to set
* @return the RecommendationRuleInner object itself.
*/
public RecommendationRuleInner withExtensionName(String extensionName) {
this.extensionName = extensionName;
return this;
}
/**
* Get the bladeName value.
*
* @return the bladeName value
*/
public String bladeName() {
return this.bladeName;
}
/**
* Set the bladeName value.
*
* @param bladeName the bladeName value to set
* @return the RecommendationRuleInner object itself.
*/
public RecommendationRuleInner withBladeName(String bladeName) {
this.bladeName = bladeName;
return this;
}
/**
* Get the forwardLink value.
*
* @return the forwardLink value
*/
public String forwardLink() {
return this.forwardLink;
}
/**
* Set the forwardLink value.
*
* @param forwardLink the forwardLink value to set
* @return the RecommendationRuleInner object itself.
*/
public RecommendationRuleInner withForwardLink(String forwardLink) {
this.forwardLink = forwardLink;
return this;
}
}

Просмотреть файл

@ -0,0 +1,98 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
/**
* Used for getting ResourceHealthCheck settings.
*/
@JsonFlatten
public class ResourceHealthMetadataInner extends Resource {
/**
* ARM Resource Id.
*/
@JsonProperty(value = "properties.id")
private String resourceHealthMetadataId;
/**
* The category that the resource matches in the RHC Policy File.
*/
@JsonProperty(value = "properties.category")
private String category;
/**
* Is there a health signal for the resource.
*/
@JsonProperty(value = "properties.signalAvailability")
private Boolean signalAvailability;
/**
* Get the resourceHealthMetadataId value.
*
* @return the resourceHealthMetadataId value
*/
public String resourceHealthMetadataId() {
return this.resourceHealthMetadataId;
}
/**
* Set the resourceHealthMetadataId value.
*
* @param resourceHealthMetadataId the resourceHealthMetadataId value to set
* @return the ResourceHealthMetadataInner object itself.
*/
public ResourceHealthMetadataInner withResourceHealthMetadataId(String resourceHealthMetadataId) {
this.resourceHealthMetadataId = resourceHealthMetadataId;
return this;
}
/**
* Get the category value.
*
* @return the category value
*/
public String category() {
return this.category;
}
/**
* Set the category value.
*
* @param category the category value to set
* @return the ResourceHealthMetadataInner object itself.
*/
public ResourceHealthMetadataInner withCategory(String category) {
this.category = category;
return this;
}
/**
* Get the signalAvailability value.
*
* @return the signalAvailability value
*/
public Boolean signalAvailability() {
return this.signalAvailability;
}
/**
* Set the signalAvailability value.
*
* @param signalAvailability the signalAvailability value to set
* @return the ResourceHealthMetadataInner object itself.
*/
public ResourceHealthMetadataInner withSignalAvailability(Boolean signalAvailability) {
this.signalAvailability = signalAvailability;
return this;
}
}

Просмотреть файл

@ -8,13 +8,12 @@
package com.microsoft.azure.management.appservice.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.azure.Resource;
import com.microsoft.azure.management.appservice.BuiltInAuthenticationProvider;
import com.microsoft.azure.management.appservice.UnauthenticatedClientAction;
import com.microsoft.rest.serializer.JsonFlatten;
import java.util.List;
import com.microsoft.azure.management.appservice.BuiltInAuthenticationProvider;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.Resource;
/**
* Configuration settings for the Azure App Service Authentication /

Просмотреть файл

@ -0,0 +1,73 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Options for retrieving the list of top level domain legal agreements.
*/
public class TopLevelDomainAgreementOptionInner {
/**
* If &lt;code&gt;true&lt;/code&gt;, then the list of agreements will
* include agreements for domain privacy as well; otherwise,
* &lt;code&gt;false&lt;/code&gt;.
*/
@JsonProperty(value = "includePrivacy")
private Boolean includePrivacy;
/**
* If &lt;code&gt;true&lt;/code&gt;, then the list of agreements will
* include agreements for domain transfer as well; otherwise,
* &lt;code&gt;false&lt;/code&gt;.
*/
@JsonProperty(value = "forTransfer")
private Boolean forTransfer;
/**
* Get the includePrivacy value.
*
* @return the includePrivacy value
*/
public Boolean includePrivacy() {
return this.includePrivacy;
}
/**
* Set the includePrivacy value.
*
* @param includePrivacy the includePrivacy value to set
* @return the TopLevelDomainAgreementOptionInner object itself.
*/
public TopLevelDomainAgreementOptionInner withIncludePrivacy(Boolean includePrivacy) {
this.includePrivacy = includePrivacy;
return this;
}
/**
* Get the forTransfer value.
*
* @return the forTransfer value
*/
public Boolean forTransfer() {
return this.forTransfer;
}
/**
* Set the forTransfer value.
*
* @param forTransfer the forTransfer value to set
* @return the TopLevelDomainAgreementOptionInner object itself.
*/
public TopLevelDomainAgreementOptionInner withForTransfer(Boolean forTransfer) {
this.forTransfer = forTransfer;
return this;
}
}

Просмотреть файл

@ -13,12 +13,12 @@ import com.google.common.reflect.TypeToken;
import com.microsoft.azure.AzureServiceFuture;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.management.appservice.TopLevelDomainAgreementOption;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
import com.microsoft.rest.Validator;
import java.io.IOException;
import java.util.List;
import okhttp3.ResponseBody;
@ -70,7 +70,7 @@ public class TopLevelDomainsInner {
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.TopLevelDomains listAgreements" })
@POST("subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements")
Observable<Response<ResponseBody>> listAgreements(@Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body TopLevelDomainAgreementOption agreementOption, @Header("User-Agent") String userAgent);
Observable<Response<ResponseBody>> listAgreements(@Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body TopLevelDomainAgreementOptionInner agreementOption, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.TopLevelDomains listNext" })
@GET
@ -278,13 +278,14 @@ public class TopLevelDomainsInner {
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @param agreementOption Domain agreement options.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the PagedList&lt;TldLegalAgreementInner&gt; object if successful.
*/
public PagedList<TldLegalAgreementInner> listAgreements(final String name) {
ServiceResponse<Page<TldLegalAgreementInner>> response = listAgreementsSinglePageAsync(name).toBlocking().single();
public PagedList<TldLegalAgreementInner> listAgreements(final String name, final TopLevelDomainAgreementOptionInner agreementOption) {
ServiceResponse<Page<TldLegalAgreementInner>> response = listAgreementsSinglePageAsync(name, agreementOption).toBlocking().single();
return new PagedList<TldLegalAgreementInner>(response.body()) {
@Override
public Page<TldLegalAgreementInner> nextPage(String nextPageLink) {
@ -298,13 +299,14 @@ public class TopLevelDomainsInner {
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @param agreementOption Domain agreement options.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<List<TldLegalAgreementInner>> listAgreementsAsync(final String name, final ListOperationCallback<TldLegalAgreementInner> serviceCallback) {
public ServiceFuture<List<TldLegalAgreementInner>> listAgreementsAsync(final String name, final TopLevelDomainAgreementOptionInner agreementOption, final ListOperationCallback<TldLegalAgreementInner> serviceCallback) {
return AzureServiceFuture.fromPageResponse(
listAgreementsSinglePageAsync(name),
listAgreementsSinglePageAsync(name, agreementOption),
new Func1<String, Observable<ServiceResponse<Page<TldLegalAgreementInner>>>>() {
@Override
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> call(String nextPageLink) {
@ -319,11 +321,12 @@ public class TopLevelDomainsInner {
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @param agreementOption Domain agreement options.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;TldLegalAgreementInner&gt; object
*/
public Observable<Page<TldLegalAgreementInner>> listAgreementsAsync(final String name) {
return listAgreementsWithServiceResponseAsync(name)
public Observable<Page<TldLegalAgreementInner>> listAgreementsAsync(final String name, final TopLevelDomainAgreementOptionInner agreementOption) {
return listAgreementsWithServiceResponseAsync(name, agreementOption)
.map(new Func1<ServiceResponse<Page<TldLegalAgreementInner>>, Page<TldLegalAgreementInner>>() {
@Override
public Page<TldLegalAgreementInner> call(ServiceResponse<Page<TldLegalAgreementInner>> response) {
@ -337,129 +340,12 @@ public class TopLevelDomainsInner {
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @param agreementOption Domain agreement options.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;TldLegalAgreementInner&gt; object
*/
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> listAgreementsWithServiceResponseAsync(final String name) {
return listAgreementsSinglePageAsync(name)
.concatMap(new Func1<ServiceResponse<Page<TldLegalAgreementInner>>, Observable<ServiceResponse<Page<TldLegalAgreementInner>>>>() {
@Override
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> call(ServiceResponse<Page<TldLegalAgreementInner>> page) {
String nextPageLink = page.body().nextPageLink();
if (nextPageLink == null) {
return Observable.just(page);
}
return Observable.just(page).concatWith(listAgreementsNextWithServiceResponseAsync(nextPageLink));
}
});
}
/**
* Gets all legal agreements that user needs to accept before purchasing a domain.
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;TldLegalAgreementInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> listAgreementsSinglePageAsync(final String name) {
if (name == null) {
throw new IllegalArgumentException("Parameter name is required and cannot be null.");
}
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
final String apiVersion = "2015-04-01";
final Boolean includePrivacy = null;
TopLevelDomainAgreementOption agreementOption = new TopLevelDomainAgreementOption();
agreementOption.withIncludePrivacy(null);
return service.listAgreements(name, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), agreementOption, this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<TldLegalAgreementInner>>>>() {
@Override
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> call(Response<ResponseBody> response) {
try {
ServiceResponse<PageImpl<TldLegalAgreementInner>> result = listAgreementsDelegate(response);
return Observable.just(new ServiceResponse<Page<TldLegalAgreementInner>>(result.body(), result.response()));
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
/**
* Gets all legal agreements that user needs to accept before purchasing a domain.
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @param includePrivacy If &lt;code&gt;true&lt;/code&gt;, then the list of agreements will include agreements for domain privacy as well; otherwise, &lt;code&gt;false&lt;/code&gt;.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the PagedList&lt;TldLegalAgreementInner&gt; object if successful.
*/
public PagedList<TldLegalAgreementInner> listAgreements(final String name, final Boolean includePrivacy) {
ServiceResponse<Page<TldLegalAgreementInner>> response = listAgreementsSinglePageAsync(name, includePrivacy).toBlocking().single();
return new PagedList<TldLegalAgreementInner>(response.body()) {
@Override
public Page<TldLegalAgreementInner> nextPage(String nextPageLink) {
return listAgreementsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
}
};
}
/**
* Gets all legal agreements that user needs to accept before purchasing a domain.
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @param includePrivacy If &lt;code&gt;true&lt;/code&gt;, then the list of agreements will include agreements for domain privacy as well; otherwise, &lt;code&gt;false&lt;/code&gt;.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<List<TldLegalAgreementInner>> listAgreementsAsync(final String name, final Boolean includePrivacy, final ListOperationCallback<TldLegalAgreementInner> serviceCallback) {
return AzureServiceFuture.fromPageResponse(
listAgreementsSinglePageAsync(name, includePrivacy),
new Func1<String, Observable<ServiceResponse<Page<TldLegalAgreementInner>>>>() {
@Override
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> call(String nextPageLink) {
return listAgreementsNextSinglePageAsync(nextPageLink);
}
},
serviceCallback);
}
/**
* Gets all legal agreements that user needs to accept before purchasing a domain.
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @param includePrivacy If &lt;code&gt;true&lt;/code&gt;, then the list of agreements will include agreements for domain privacy as well; otherwise, &lt;code&gt;false&lt;/code&gt;.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;TldLegalAgreementInner&gt; object
*/
public Observable<Page<TldLegalAgreementInner>> listAgreementsAsync(final String name, final Boolean includePrivacy) {
return listAgreementsWithServiceResponseAsync(name, includePrivacy)
.map(new Func1<ServiceResponse<Page<TldLegalAgreementInner>>, Page<TldLegalAgreementInner>>() {
@Override
public Page<TldLegalAgreementInner> call(ServiceResponse<Page<TldLegalAgreementInner>> response) {
return response.body();
}
});
}
/**
* Gets all legal agreements that user needs to accept before purchasing a domain.
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
* @param name Name of the top-level domain.
* @param includePrivacy If &lt;code&gt;true&lt;/code&gt;, then the list of agreements will include agreements for domain privacy as well; otherwise, &lt;code&gt;false&lt;/code&gt;.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;TldLegalAgreementInner&gt; object
*/
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> listAgreementsWithServiceResponseAsync(final String name, final Boolean includePrivacy) {
return listAgreementsSinglePageAsync(name, includePrivacy)
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> listAgreementsWithServiceResponseAsync(final String name, final TopLevelDomainAgreementOptionInner agreementOption) {
return listAgreementsSinglePageAsync(name, agreementOption)
.concatMap(new Func1<ServiceResponse<Page<TldLegalAgreementInner>>, Observable<ServiceResponse<Page<TldLegalAgreementInner>>>>() {
@Override
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> call(ServiceResponse<Page<TldLegalAgreementInner>> page) {
@ -477,21 +363,23 @@ public class TopLevelDomainsInner {
* Gets all legal agreements that user needs to accept before purchasing a domain.
*
ServiceResponse<PageImpl<TldLegalAgreementInner>> * @param name Name of the top-level domain.
ServiceResponse<PageImpl<TldLegalAgreementInner>> * @param includePrivacy If &lt;code&gt;true&lt;/code&gt;, then the list of agreements will include agreements for domain privacy as well; otherwise, &lt;code&gt;false&lt;/code&gt;.
ServiceResponse<PageImpl<TldLegalAgreementInner>> * @param agreementOption Domain agreement options.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;TldLegalAgreementInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> listAgreementsSinglePageAsync(final String name, final Boolean includePrivacy) {
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> listAgreementsSinglePageAsync(final String name, final TopLevelDomainAgreementOptionInner agreementOption) {
if (name == null) {
throw new IllegalArgumentException("Parameter name is required and cannot be null.");
}
if (this.client.subscriptionId() == null) {
throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null.");
}
if (agreementOption == null) {
throw new IllegalArgumentException("Parameter agreementOption is required and cannot be null.");
}
Validator.validate(agreementOption);
final String apiVersion = "2015-04-01";
TopLevelDomainAgreementOption agreementOption = new TopLevelDomainAgreementOption();
agreementOption.withIncludePrivacy(includePrivacy);
return service.listAgreements(name, this.client.subscriptionId(), apiVersion, this.client.acceptLanguage(), agreementOption, this.client.userAgent())
return service.listAgreements(name, this.client.subscriptionId(), agreementOption, apiVersion, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<TldLegalAgreementInner>>>>() {
@Override
public Observable<ServiceResponse<Page<TldLegalAgreementInner>>> call(Response<ResponseBody> response) {

Просмотреть файл

@ -53,6 +53,7 @@ import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
/**
* The implementation for WebAppBase.
@ -279,7 +280,7 @@ abstract class WebAppBaseImpl<
if (siteConfig == null) {
return null;
}
return new NetFrameworkVersion(siteConfig.netFrameworkVersion());
return NetFrameworkVersion.fromString(siteConfig.netFrameworkVersion());
}
@Override
@ -287,7 +288,7 @@ abstract class WebAppBaseImpl<
if (siteConfig == null || siteConfig.phpVersion() == null) {
return PhpVersion.OFF;
}
return new PhpVersion(siteConfig.phpVersion());
return PhpVersion.fromString(siteConfig.phpVersion());
}
@Override
@ -295,7 +296,7 @@ abstract class WebAppBaseImpl<
if (siteConfig == null || siteConfig.pythonVersion() == null) {
return PythonVersion.OFF;
}
return new PythonVersion(siteConfig.pythonVersion());
return PythonVersion.fromString(siteConfig.pythonVersion());
}
@Override
@ -319,7 +320,7 @@ abstract class WebAppBaseImpl<
if (siteConfig == null) {
return null;
}
return new RemoteVisualStudioVersion(siteConfig.remoteDebuggingVersion());
return RemoteVisualStudioVersion.fromString(siteConfig.remoteDebuggingVersion());
}
@Override
@ -343,7 +344,7 @@ abstract class WebAppBaseImpl<
if (siteConfig == null || siteConfig.javaVersion() == null) {
return JavaVersion.OFF;
}
return new JavaVersion(siteConfig.javaVersion());
return JavaVersion.fromString(siteConfig.javaVersion());
}
@Override
@ -760,6 +761,7 @@ abstract class WebAppBaseImpl<
return createOrUpdateSourceControl(sourceControl.inner());
}
})
.delay(30, TimeUnit.SECONDS)
.map(new Func1<SiteSourceControlInner, SiteInner>() {
@Override
public SiteInner call(SiteSourceControlInner siteSourceControlInner) {
@ -912,7 +914,7 @@ abstract class WebAppBaseImpl<
}
public FluentImplT withoutPhp() {
return withPhpVersion(new PhpVersion(""));
return withPhpVersion(PhpVersion.fromString(""));
}
@SuppressWarnings("unchecked")
@ -925,7 +927,7 @@ abstract class WebAppBaseImpl<
}
public FluentImplT withoutJava() {
return withJavaVersion(new JavaVersion("")).withWebContainer(null);
return withJavaVersion(JavaVersion.fromString("")).withWebContainer(null);
}
@SuppressWarnings("unchecked")
@ -954,7 +956,7 @@ abstract class WebAppBaseImpl<
}
public FluentImplT withoutPython() {
return withPythonVersion(new PythonVersion(""));
return withPythonVersion(PythonVersion.fromString(""));
}
@SuppressWarnings("unchecked")

Просмотреть файл

@ -73,7 +73,10 @@ class WebAppImpl
public WebAppImpl withPublicDockerHubImage(String imageAndTag) {
ensureLinuxPlan();
cleanUpContainerSettings();
withBuiltInImage(RuntimeStack.NODEJS_6_6_0);
if (siteConfig == null) {
siteConfig = new SiteConfigResourceInner();
}
siteConfig.withLinuxFxVersion(String.format("DOCKER|%s", imageAndTag));
withAppSetting(SETTING_DOCKER_IMAGE, imageAndTag);
return this;
}
@ -87,7 +90,10 @@ class WebAppImpl
public WebAppImpl withPrivateRegistryImage(String imageAndTag, String serverUrl) {
ensureLinuxPlan();
cleanUpContainerSettings();
withBuiltInImage(RuntimeStack.NODEJS_6_6_0);
if (siteConfig == null) {
siteConfig = new SiteConfigResourceInner();
}
siteConfig.withLinuxFxVersion(String.format("DOCKER|%s", imageAndTag));
withAppSetting(SETTING_DOCKER_IMAGE, imageAndTag);
withAppSetting(SETTING_REGISTRY_SERVER, serverUrl);
return this;

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -267,6 +267,19 @@ public class WebSiteManagementClientImpl extends AzureServiceClient {
return this.deletedWebApps;
}
/**
* The ProvidersInner object to access its operations.
*/
private ProvidersInner providers;
/**
* Gets the ProvidersInner object to access its operations.
* @return the ProvidersInner object.
*/
public ProvidersInner providers() {
return this.providers;
}
/**
* Initializes an instance of WebSiteManagementClient client.
*
@ -310,6 +323,7 @@ public class WebSiteManagementClientImpl extends AzureServiceClient {
this.topLevelDomains = new TopLevelDomainsInner(restClient().retrofit(), this);
this.webApps = new WebAppsInner(restClient().retrofit(), this);
this.deletedWebApps = new DeletedWebAppsInner(restClient().retrofit(), this);
this.providers = new ProvidersInner(restClient().retrofit(), this);
this.azureClient = new AzureClient(this);
initializeService();
}
@ -1025,7 +1039,7 @@ public class WebSiteManagementClientImpl extends AzureServiceClient {
* Get a list of available geographical regions.
* Get a list of available geographical regions.
*
* @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic'
* @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated'
* @param linuxWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions that support Linux workers.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
@ -1046,7 +1060,7 @@ public class WebSiteManagementClientImpl extends AzureServiceClient {
* Get a list of available geographical regions.
* Get a list of available geographical regions.
*
* @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic'
* @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated'
* @param linuxWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions that support Linux workers.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -1068,7 +1082,7 @@ public class WebSiteManagementClientImpl extends AzureServiceClient {
* Get a list of available geographical regions.
* Get a list of available geographical regions.
*
* @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic'
* @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated'
* @param linuxWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions that support Linux workers.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;GeoRegionInner&gt; object
@ -1087,7 +1101,7 @@ public class WebSiteManagementClientImpl extends AzureServiceClient {
* Get a list of available geographical regions.
* Get a list of available geographical regions.
*
* @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic'
* @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated'
* @param linuxWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions that support Linux workers.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;GeoRegionInner&gt; object
@ -1110,7 +1124,7 @@ public class WebSiteManagementClientImpl extends AzureServiceClient {
* Get a list of available geographical regions.
* Get a list of available geographical regions.
*
ServiceResponse<PageImpl<GeoRegionInner>> * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic'
ServiceResponse<PageImpl<GeoRegionInner>> * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated'
ServiceResponse<PageImpl<GeoRegionInner>> * @param linuxWorkersEnabled Specify &lt;code&gt;true&lt;/code&gt; if you want to filter to only regions that support Linux workers.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;GeoRegionInner&gt; object wrapped in {@link ServiceResponse} if successful.

Просмотреть файл

@ -12,6 +12,7 @@ import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import java.io.IOException;
@ -41,6 +42,7 @@ public class LinuxWebAppsTests extends AppServiceTest {
}
@Test
@Ignore("Pending ICM 39157077 & https://github.com/Azure-App-Service/kudu/issues/30")
public void canCRUDLinuxWebApp() throws Exception {
// Create with new app service plan
WebApp webApp1 = appServiceManager.webApps().define(WEBAPP_NAME_1)
@ -84,7 +86,7 @@ public class LinuxWebAppsTests extends AppServiceTest {
Assert.assertEquals(OperatingSystem.LINUX, plan2.operatingSystem());
webApp1.update()
.withBuiltInImage(RuntimeStack.NODEJS_6_6_0)
.withBuiltInImage(RuntimeStack.NODEJS_6_6)
.defineSourceControl()
.withPublicGitRepository("https://github.com/jianghaolu/azure-site-test")
.withBranch("master")

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -8,7 +8,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -30,7 +30,7 @@
<scm>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
<tag>v1.0.0</tag>
<tag>v1.1.0</tag>
</scm>
<properties>
@ -53,7 +53,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
@ -68,17 +68,12 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-storage</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-annotations</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>

Просмотреть файл

@ -11,7 +11,7 @@ package com.microsoft.azure.management.batch;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Parameters for an ApplicationOperations.ActivateApplicationPackage request.
* Parameters for an activating an application package.
*/
public class ActivateApplicationPackageParameters {
/**

Просмотреть файл

@ -19,6 +19,7 @@ import java.util.Map;
* An immutable client-side representation of an Azure Batch account application.
*/
@Fluent
// TODO: This should be renamed as BatchApplication in 2.0
public interface Application extends
ExternalChildResource<Application, BatchAccount>,
HasInner<ApplicationInner> {

Просмотреть файл

@ -20,6 +20,7 @@ import rx.Completable;
* An immutable client-side representation of an Azure Batch application package.
*/
@Fluent
// TODO: This should be renamed as BatchApplicationPackage in 2.0
public interface ApplicationPackage extends
ExternalChildResource<ApplicationPackage, Application>,
HasInner<ApplicationPackageInner> {

Просмотреть файл

@ -11,11 +11,11 @@ package com.microsoft.azure.management.batch;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The properties related to auto storage account.
* The properties related to the auto-storage account.
*/
public class AutoStorageBaseProperties {
/**
* The resource ID of the storage account to be used for auto storage
* The resource ID of the storage account to be used for auto-storage
* account.
*/
@JsonProperty(value = "storageAccountId", required = true)

Просмотреть файл

@ -12,17 +12,10 @@ import org.joda.time.DateTime;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Contains information about the auto storage account associated with a Batch
* Contains information about the auto-storage account associated with a Batch
* account.
*/
public class AutoStorageProperties {
/**
* The resource ID of the storage account to be used for auto storage
* account.
*/
@JsonProperty(value = "storageAccountId", required = true)
private String storageAccountId;
public class AutoStorageProperties extends AutoStorageBaseProperties {
/**
* The UTC time at which storage keys were last synchronized with the Batch
* account.
@ -30,26 +23,6 @@ public class AutoStorageProperties {
@JsonProperty(value = "lastKeySync", required = true)
private DateTime lastKeySync;
/**
* Get the storageAccountId value.
*
* @return the storageAccountId value
*/
public String storageAccountId() {
return this.storageAccountId;
}
/**
* Set the storageAccountId value.
*
* @param storageAccountId the storageAccountId value to set
* @return the AutoStorageProperties object itself.
*/
public AutoStorageProperties withStorageAccountId(String storageAccountId) {
this.storageAccountId = storageAccountId;
return this;
}
/**
* Get the lastKeySync value.
*

Просмотреть файл

@ -0,0 +1,70 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batch;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Identifies the Azure key vault associated with a Batch account.
*/
public class KeyVaultReference {
/**
* The resource ID of the Azure key vault associated with the Batch
* account.
*/
@JsonProperty(value = "id", required = true)
private String id;
/**
* The URL of the Azure key vault associated with the Batch account.
*/
@JsonProperty(value = "url", required = true)
private String url;
/**
* Get the id value.
*
* @return the id value
*/
public String id() {
return this.id;
}
/**
* Set the id value.
*
* @param id the id value to set
* @return the KeyVaultReference object itself.
*/
public KeyVaultReference withId(String id) {
this.id = id;
return this;
}
/**
* Get the url value.
*
* @return the url value
*/
public String url() {
return this.url;
}
/**
* Set the url value.
*
* @param url the url value to set
* @return the KeyVaultReference object itself.
*/
public KeyVaultReference withUrl(String url) {
this.url = url;
return this;
}
}

Просмотреть файл

@ -0,0 +1,122 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batch;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* The object that describes the operation.
*/
public class OperationDisplay {
/**
* Friendly name of the resource provider.
*/
@JsonProperty(value = "provider")
private String provider;
/**
* The operation type.
* For example: read, write, delete, or listKeys/action.
*/
@JsonProperty(value = "operation")
private String operation;
/**
* The resource type on which the operation is performed.
*/
@JsonProperty(value = "resource")
private String resource;
/**
* The friendly name of the operation.
*/
@JsonProperty(value = "description")
private String description;
/**
* Get the provider value.
*
* @return the provider value
*/
public String provider() {
return this.provider;
}
/**
* Set the provider value.
*
* @param provider the provider value to set
* @return the OperationDisplay object itself.
*/
public OperationDisplay withProvider(String provider) {
this.provider = provider;
return this;
}
/**
* Get the operation value.
*
* @return the operation value
*/
public String operation() {
return this.operation;
}
/**
* Set the operation value.
*
* @param operation the operation value to set
* @return the OperationDisplay object itself.
*/
public OperationDisplay withOperation(String operation) {
this.operation = operation;
return this;
}
/**
* Get the resource value.
*
* @return the resource value
*/
public String resource() {
return this.resource;
}
/**
* Set the resource value.
*
* @param resource the resource value to set
* @return the OperationDisplay object itself.
*/
public OperationDisplay withResource(String resource) {
this.resource = resource;
return this;
}
/**
* Get the description value.
*
* @return the description value
*/
public String description() {
return this.description;
}
/**
* Set the description value.
*
* @param description the description value to set
* @return the OperationDisplay object itself.
*/
public OperationDisplay withDescription(String description) {
this.description = description;
return this;
}
}

Просмотреть файл

@ -0,0 +1,53 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batch;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Defines values for PoolAllocationMode.
*/
public enum PoolAllocationMode {
/** Enum value BatchService. */
BATCH_SERVICE("BatchService"),
/** Enum value UserSubscription. */
USER_SUBSCRIPTION("UserSubscription");
/** The actual serialized value for a PoolAllocationMode instance. */
private String value;
PoolAllocationMode(String value) {
this.value = value;
}
/**
* Parses a serialized value to a PoolAllocationMode instance.
*
* @param value the serialized value to parse.
* @return the parsed PoolAllocationMode object, or null if unable to parse.
*/
@JsonCreator
public static PoolAllocationMode fromString(String value) {
PoolAllocationMode[] items = PoolAllocationMode.values();
for (PoolAllocationMode item : items) {
if (item.toString().equalsIgnoreCase(value)) {
return item;
}
}
return null;
}
@JsonValue
@Override
public String toString() {
return this.value;
}
}

Просмотреть файл

@ -11,9 +11,9 @@ package com.microsoft.azure.management.batch.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Parameters for an ApplicationOperations.AddApplication request.
* Parameters for adding an Application.
*/
public class AddApplicationParametersInner {
public class ApplicationCreateParametersInner {
/**
* A value indicating whether packages within the application may be
* overwritten using the same version string.
@ -40,9 +40,9 @@ public class AddApplicationParametersInner {
* Set the allowUpdates value.
*
* @param allowUpdates the allowUpdates value to set
* @return the AddApplicationParametersInner object itself.
* @return the ApplicationCreateParametersInner object itself.
*/
public AddApplicationParametersInner withAllowUpdates(Boolean allowUpdates) {
public ApplicationCreateParametersInner withAllowUpdates(Boolean allowUpdates) {
this.allowUpdates = allowUpdates;
return this;
}
@ -60,9 +60,9 @@ public class AddApplicationParametersInner {
* Set the displayName value.
*
* @param displayName the displayName value to set
* @return the AddApplicationParametersInner object itself.
* @return the ApplicationCreateParametersInner object itself.
*/
public AddApplicationParametersInner withDisplayName(String displayName) {
public ApplicationCreateParametersInner withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}

Просмотреть файл

@ -70,7 +70,7 @@ public class ApplicationImpl
@Override
public Observable<Application> createAsync() {
final ApplicationImpl self = this;
AddApplicationParametersInner createParameter = new AddApplicationParametersInner();
ApplicationCreateParametersInner createParameter = new ApplicationCreateParametersInner();
createParameter.withDisplayName(this.inner().displayName());
createParameter.withAllowUpdates(this.inner().allowUpdates());
@ -103,7 +103,7 @@ public class ApplicationImpl
public Observable<Application> updateAsync() {
final ApplicationImpl self = this;
UpdateApplicationParametersInner updateParameter = new UpdateApplicationParametersInner();
ApplicationUpdateParametersInner updateParameter = new ApplicationUpdateParametersInner();
updateParameter.withDisplayName(this.inner().displayName());
updateParameter.withAllowUpdates(this.inner().allowUpdates());

Просмотреть файл

@ -37,9 +37,7 @@ public class ApplicationPackageImpl
}
protected static ApplicationPackageImpl newApplicationPackage(String name, ApplicationImpl parent, ApplicationPackagesInner client) {
ApplicationPackageInner inner = new ApplicationPackageInner();
inner.withVersion(name);
return new ApplicationPackageImpl(name, parent, inner, client);
return new ApplicationPackageImpl(name, parent, new ApplicationPackageInner(), client);
}
@Override
@ -52,11 +50,6 @@ public class ApplicationPackageImpl
return this.parent().parent().id() + "/applications/" + this.parent().name() + "/versions/" + this.name();
}
@Override
public String name() {
return this.inner().version();
}
@Override
public Observable<ApplicationPackage> createAsync() {
final ApplicationPackageImpl self = this;

Просмотреть файл

@ -20,45 +20,45 @@ public class ApplicationPackageInner {
/**
* The ID of the application.
*/
@JsonProperty(value = "id")
@JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
private String id;
/**
* The version of the application package.
*/
@JsonProperty(value = "version")
@JsonProperty(value = "version", access = JsonProperty.Access.WRITE_ONLY)
private String version;
/**
* The current state of the application package. Possible values include:
* 'pending', 'active', 'unmapped'.
*/
@JsonProperty(value = "state")
@JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY)
private PackageState state;
/**
* The format of the application package, if the package is active.
*/
@JsonProperty(value = "format")
@JsonProperty(value = "format", access = JsonProperty.Access.WRITE_ONLY)
private String format;
/**
* The storage URL at which the application package is stored.
* The URL for the application package in Azure Storage.
*/
@JsonProperty(value = "storageUrl")
@JsonProperty(value = "storageUrl", access = JsonProperty.Access.WRITE_ONLY)
private String storageUrl;
/**
* The UTC time at which the storage URL will expire.
* The UTC time at which the Azure Storage URL will expire.
*/
@JsonProperty(value = "storageUrlExpiry")
@JsonProperty(value = "storageUrlExpiry", access = JsonProperty.Access.WRITE_ONLY)
private DateTime storageUrlExpiry;
/**
* The time at which the package was last activated, if the package is
* active.
*/
@JsonProperty(value = "lastActivationTime")
@JsonProperty(value = "lastActivationTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime lastActivationTime;
/**
@ -70,17 +70,6 @@ public class ApplicationPackageInner {
return this.id;
}
/**
* Set the id value.
*
* @param id the id value to set
* @return the ApplicationPackageInner object itself.
*/
public ApplicationPackageInner withId(String id) {
this.id = id;
return this;
}
/**
* Get the version value.
*
@ -90,17 +79,6 @@ public class ApplicationPackageInner {
return this.version;
}
/**
* Set the version value.
*
* @param version the version value to set
* @return the ApplicationPackageInner object itself.
*/
public ApplicationPackageInner withVersion(String version) {
this.version = version;
return this;
}
/**
* Get the state value.
*
@ -110,17 +88,6 @@ public class ApplicationPackageInner {
return this.state;
}
/**
* Set the state value.
*
* @param state the state value to set
* @return the ApplicationPackageInner object itself.
*/
public ApplicationPackageInner withState(PackageState state) {
this.state = state;
return this;
}
/**
* Get the format value.
*
@ -130,17 +97,6 @@ public class ApplicationPackageInner {
return this.format;
}
/**
* Set the format value.
*
* @param format the format value to set
* @return the ApplicationPackageInner object itself.
*/
public ApplicationPackageInner withFormat(String format) {
this.format = format;
return this;
}
/**
* Get the storageUrl value.
*
@ -150,17 +106,6 @@ public class ApplicationPackageInner {
return this.storageUrl;
}
/**
* Set the storageUrl value.
*
* @param storageUrl the storageUrl value to set
* @return the ApplicationPackageInner object itself.
*/
public ApplicationPackageInner withStorageUrl(String storageUrl) {
this.storageUrl = storageUrl;
return this;
}
/**
* Get the storageUrlExpiry value.
*
@ -170,17 +115,6 @@ public class ApplicationPackageInner {
return this.storageUrlExpiry;
}
/**
* Set the storageUrlExpiry value.
*
* @param storageUrlExpiry the storageUrlExpiry value to set
* @return the ApplicationPackageInner object itself.
*/
public ApplicationPackageInner withStorageUrlExpiry(DateTime storageUrlExpiry) {
this.storageUrlExpiry = storageUrlExpiry;
return this;
}
/**
* Get the lastActivationTime value.
*
@ -190,15 +124,4 @@ public class ApplicationPackageInner {
return this.lastActivationTime;
}
/**
* Set the lastActivationTime value.
*
* @param lastActivationTime the lastActivationTime value to set
* @return the ApplicationPackageInner object itself.
*/
public ApplicationPackageInner withLastActivationTime(DateTime lastActivationTime) {
this.lastActivationTime = lastActivationTime;
return this;
}
}

Просмотреть файл

@ -11,9 +11,9 @@ package com.microsoft.azure.management.batch.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Parameters for an ApplicationOperations.UpdateApplication request.
* Parameters for an update application request.
*/
public class UpdateApplicationParametersInner {
public class ApplicationUpdateParametersInner {
/**
* A value indicating whether packages within the application may be
* overwritten using the same version string.
@ -47,9 +47,9 @@ public class UpdateApplicationParametersInner {
* Set the allowUpdates value.
*
* @param allowUpdates the allowUpdates value to set
* @return the UpdateApplicationParametersInner object itself.
* @return the ApplicationUpdateParametersInner object itself.
*/
public UpdateApplicationParametersInner withAllowUpdates(Boolean allowUpdates) {
public ApplicationUpdateParametersInner withAllowUpdates(Boolean allowUpdates) {
this.allowUpdates = allowUpdates;
return this;
}
@ -67,9 +67,9 @@ public class UpdateApplicationParametersInner {
* Set the defaultVersion value.
*
* @param defaultVersion the defaultVersion value to set
* @return the UpdateApplicationParametersInner object itself.
* @return the ApplicationUpdateParametersInner object itself.
*/
public UpdateApplicationParametersInner withDefaultVersion(String defaultVersion) {
public ApplicationUpdateParametersInner withDefaultVersion(String defaultVersion) {
this.defaultVersion = defaultVersion;
return this;
}
@ -87,9 +87,9 @@ public class UpdateApplicationParametersInner {
* Set the displayName value.
*
* @param displayName the displayName value to set
* @return the UpdateApplicationParametersInner object itself.
* @return the ApplicationUpdateParametersInner object itself.
*/
public UpdateApplicationParametersInner withDisplayName(String displayName) {
public ApplicationUpdateParametersInner withDisplayName(String displayName) {
this.displayName = displayName;
return this;
}

Просмотреть файл

@ -62,7 +62,7 @@ class ApplicationsImpl extends
@Override
protected List<ApplicationImpl> listChildResources() {
List<ApplicationImpl> childResources = new ArrayList<>();
if (this.parent().inner().id() == null || this.parent().inner().autoStorage() == null) {
if (this.parent().inner().id() == null || this.parent().autoStorage() == null) {
return childResources;
}

Просмотреть файл

@ -64,7 +64,7 @@ public class ApplicationsInner {
interface ApplicationsService {
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.batch.Applications create" })
@PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationId}")
Observable<Response<ResponseBody>> create(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("applicationId") String applicationId, @Path("subscriptionId") String subscriptionId, @Body AddApplicationParametersInner parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
Observable<Response<ResponseBody>> create(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("applicationId") String applicationId, @Path("subscriptionId") String subscriptionId, @Body ApplicationCreateParametersInner parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.batch.Applications delete" })
@HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationId}", method = "DELETE", hasBody = true)
@ -76,7 +76,7 @@ public class ApplicationsInner {
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.batch.Applications update" })
@PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications/{applicationId}")
Observable<Response<ResponseBody>> update(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("applicationId") String applicationId, @Path("subscriptionId") String subscriptionId, @Body UpdateApplicationParametersInner parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
Observable<Response<ResponseBody>> update(@Path("resourceGroupName") String resourceGroupName, @Path("accountName") String accountName, @Path("applicationId") String applicationId, @Path("subscriptionId") String subscriptionId, @Body ApplicationUpdateParametersInner parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.batch.Applications list" })
@GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/applications")
@ -160,7 +160,7 @@ public class ApplicationsInner {
if (this.client.apiVersion() == null) {
throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
}
final AddApplicationParametersInner parameters = null;
final ApplicationCreateParametersInner parameters = null;
return service.create(resourceGroupName, accountName, applicationId, this.client.subscriptionId(), parameters, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<ApplicationInner>>>() {
@Override
@ -187,7 +187,7 @@ public class ApplicationsInner {
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the ApplicationInner object if successful.
*/
public ApplicationInner create(String resourceGroupName, String accountName, String applicationId, AddApplicationParametersInner parameters) {
public ApplicationInner create(String resourceGroupName, String accountName, String applicationId, ApplicationCreateParametersInner parameters) {
return createWithServiceResponseAsync(resourceGroupName, accountName, applicationId, parameters).toBlocking().single().body();
}
@ -202,7 +202,7 @@ public class ApplicationsInner {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<ApplicationInner> createAsync(String resourceGroupName, String accountName, String applicationId, AddApplicationParametersInner parameters, final ServiceCallback<ApplicationInner> serviceCallback) {
public ServiceFuture<ApplicationInner> createAsync(String resourceGroupName, String accountName, String applicationId, ApplicationCreateParametersInner parameters, final ServiceCallback<ApplicationInner> serviceCallback) {
return ServiceFuture.fromResponse(createWithServiceResponseAsync(resourceGroupName, accountName, applicationId, parameters), serviceCallback);
}
@ -216,7 +216,7 @@ public class ApplicationsInner {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the ApplicationInner object
*/
public Observable<ApplicationInner> createAsync(String resourceGroupName, String accountName, String applicationId, AddApplicationParametersInner parameters) {
public Observable<ApplicationInner> createAsync(String resourceGroupName, String accountName, String applicationId, ApplicationCreateParametersInner parameters) {
return createWithServiceResponseAsync(resourceGroupName, accountName, applicationId, parameters).map(new Func1<ServiceResponse<ApplicationInner>, ApplicationInner>() {
@Override
public ApplicationInner call(ServiceResponse<ApplicationInner> response) {
@ -235,7 +235,7 @@ public class ApplicationsInner {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the ApplicationInner object
*/
public Observable<ServiceResponse<ApplicationInner>> createWithServiceResponseAsync(String resourceGroupName, String accountName, String applicationId, AddApplicationParametersInner parameters) {
public Observable<ServiceResponse<ApplicationInner>> createWithServiceResponseAsync(String resourceGroupName, String accountName, String applicationId, ApplicationCreateParametersInner parameters) {
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}
@ -469,7 +469,7 @@ public class ApplicationsInner {
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
*/
public void update(String resourceGroupName, String accountName, String applicationId, UpdateApplicationParametersInner parameters) {
public void update(String resourceGroupName, String accountName, String applicationId, ApplicationUpdateParametersInner parameters) {
updateWithServiceResponseAsync(resourceGroupName, accountName, applicationId, parameters).toBlocking().single().body();
}
@ -484,7 +484,7 @@ public class ApplicationsInner {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<Void> updateAsync(String resourceGroupName, String accountName, String applicationId, UpdateApplicationParametersInner parameters, final ServiceCallback<Void> serviceCallback) {
public ServiceFuture<Void> updateAsync(String resourceGroupName, String accountName, String applicationId, ApplicationUpdateParametersInner parameters, final ServiceCallback<Void> serviceCallback) {
return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, accountName, applicationId, parameters), serviceCallback);
}
@ -498,7 +498,7 @@ public class ApplicationsInner {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponse} object if successful.
*/
public Observable<Void> updateAsync(String resourceGroupName, String accountName, String applicationId, UpdateApplicationParametersInner parameters) {
public Observable<Void> updateAsync(String resourceGroupName, String accountName, String applicationId, ApplicationUpdateParametersInner parameters) {
return updateWithServiceResponseAsync(resourceGroupName, accountName, applicationId, parameters).map(new Func1<ServiceResponse<Void>, Void>() {
@Override
public Void call(ServiceResponse<Void> response) {
@ -517,7 +517,7 @@ public class ApplicationsInner {
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponse} object if successful.
*/
public Observable<ServiceResponse<Void>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String applicationId, UpdateApplicationParametersInner parameters) {
public Observable<ServiceResponse<Void>> updateWithServiceResponseAsync(String resourceGroupName, String accountName, String applicationId, ApplicationUpdateParametersInner parameters) {
if (resourceGroupName == null) {
throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.");
}

Просмотреть файл

@ -23,7 +23,7 @@ public class BatchAccountCreateHeadersInner {
/**
* Suggested delay to check the status of the asynchronous operation. The
* value is an integer that represents the seconds.
* value is an integer that specifies the delay in seconds.
*/
@JsonProperty(value = "Retry-After")
private Integer retryAfter;

Просмотреть файл

@ -10,6 +10,8 @@ package com.microsoft.azure.management.batch.implementation;
import java.util.Map;
import com.microsoft.azure.management.batch.AutoStorageBaseProperties;
import com.microsoft.azure.management.batch.PoolAllocationMode;
import com.microsoft.azure.management.batch.KeyVaultReference;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
@ -25,17 +27,35 @@ public class BatchAccountCreateParametersInner {
private String location;
/**
* The user specified tags associated with the account.
* The user-specified tags associated with the account.
*/
@JsonProperty(value = "tags")
private Map<String, String> tags;
/**
* The properties related to auto storage account.
* The properties related to the auto-storage account.
*/
@JsonProperty(value = "properties.autoStorage")
private AutoStorageBaseProperties autoStorage;
/**
* The allocation mode to use for creating pools in the Batch account.
* The pool allocation mode also affects how clients may authenticate to
* the Batch Service API. If the mode is BatchService, clients may
* authenticate using access keys or Azure Active Directory. If the mode is
* UserSubscription, clients must use Azure Active Directory. The default
* is BatchService. Possible values include: 'BatchService',
* 'UserSubscription'.
*/
@JsonProperty(value = "properties.poolAllocationMode")
private PoolAllocationMode poolAllocationMode;
/**
* A reference to the Azure key vault associated with the Batch account.
*/
@JsonProperty(value = "properties.keyVaultReference")
private KeyVaultReference keyVaultReference;
/**
* Get the location value.
*
@ -96,4 +116,44 @@ public class BatchAccountCreateParametersInner {
return this;
}
/**
* Get the poolAllocationMode value.
*
* @return the poolAllocationMode value
*/
public PoolAllocationMode poolAllocationMode() {
return this.poolAllocationMode;
}
/**
* Set the poolAllocationMode value.
*
* @param poolAllocationMode the poolAllocationMode value to set
* @return the BatchAccountCreateParametersInner object itself.
*/
public BatchAccountCreateParametersInner withPoolAllocationMode(PoolAllocationMode poolAllocationMode) {
this.poolAllocationMode = poolAllocationMode;
return this;
}
/**
* Get the keyVaultReference value.
*
* @return the keyVaultReference value
*/
public KeyVaultReference keyVaultReference() {
return this.keyVaultReference;
}
/**
* Set the keyVaultReference value.
*
* @param keyVaultReference the keyVaultReference value to set
* @return the BatchAccountCreateParametersInner object itself.
*/
public BatchAccountCreateParametersInner withKeyVaultReference(KeyVaultReference keyVaultReference) {
this.keyVaultReference = keyVaultReference;
return this;
}
}

Просмотреть файл

@ -23,7 +23,7 @@ public class BatchAccountDeleteHeadersInner {
/**
* Suggested delay to check the status of the asynchronous operation. The
* value is an integer that represents the seconds.
* value is an integer that specifies the delay in seconds.
*/
@JsonProperty(value = "Retry-After")
private Integer retryAfter;

Просмотреть файл

@ -44,6 +44,7 @@ public class BatchAccountImpl
private String creatableStorageAccountKey;
private StorageAccount existingStorageAccountToAssociate;
private ApplicationsImpl applicationsImpl;
private AutoStorageProperties autoStorage;
protected BatchAccountImpl(String name,
BatchAccountInner innerObject,
@ -77,9 +78,9 @@ public class BatchAccountImpl
handleStorageSettings();
BatchAccountCreateParametersInner batchAccountCreateParametersInner = new BatchAccountCreateParametersInner();
if (this.inner().autoStorage() != null) {
if (autoStorage != null) {
batchAccountCreateParametersInner.withAutoStorage(new AutoStorageBaseProperties());
batchAccountCreateParametersInner.autoStorage().withStorageAccountId(this.inner().autoStorage().storageAccountId());
batchAccountCreateParametersInner.autoStorage().withStorageAccountId(autoStorage.storageAccountId());
}
else {
batchAccountCreateParametersInner.withAutoStorage(null);
@ -156,7 +157,7 @@ public class BatchAccountImpl
@Override
public int coreQuota() {
return Utils.toPrimitiveInt(this.inner().coreQuota());
return Utils.toPrimitiveInt(this.inner().dedicatedCoreQuota());
}
@Override
@ -231,7 +232,7 @@ public class BatchAccountImpl
public BatchAccountImpl withoutStorageAccount() {
this.existingStorageAccountToAssociate = null;
this.creatableStorageAccountKey = null;
this.inner().withAutoStorage(null);
this.autoStorage = null;
return this;
}
@ -262,11 +263,11 @@ public class BatchAccountImpl
return;
}
if (this.inner().autoStorage() == null) {
this.inner().withAutoStorage(new AutoStorageProperties());
if (autoStorage == null) {
autoStorage = new AutoStorageProperties();
}
inner().autoStorage().withStorageAccountId(storageAccount.id());
autoStorage.withStorageAccountId(storageAccount.id());
}
BatchAccountImpl withApplication(ApplicationImpl application) {

Просмотреть файл

@ -9,6 +9,8 @@
package com.microsoft.azure.management.batch.implementation;
import com.microsoft.azure.management.batch.ProvisioningState;
import com.microsoft.azure.management.batch.PoolAllocationMode;
import com.microsoft.azure.management.batch.KeyVaultReference;
import com.microsoft.azure.management.batch.AutoStorageProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
@ -20,7 +22,7 @@ import com.microsoft.azure.Resource;
@JsonFlatten
public class BatchAccountInner extends Resource {
/**
* The endpoint used by this account to interact with the Batch services.
* The account endpoint used to interact with the Batch service.
*/
@JsonProperty(value = "properties.accountEndpoint", access = JsonProperty.Access.WRITE_ONLY)
private String accountEndpoint;
@ -29,32 +31,51 @@ public class BatchAccountInner extends Resource {
* The provisioned state of the resource. Possible values include:
* 'Invalid', 'Creating', 'Deleting', 'Succeeded', 'Failed', 'Cancelled'.
*/
@JsonProperty(value = "properties.provisioningState")
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
/**
* The properties and status of any auto storage account associated with
* the account.
* The allocation mode to use for creating pools in the Batch account.
* Possible values include: 'BatchService', 'UserSubscription'.
*/
@JsonProperty(value = "properties.autoStorage")
@JsonProperty(value = "properties.poolAllocationMode", access = JsonProperty.Access.WRITE_ONLY)
private PoolAllocationMode poolAllocationMode;
/**
* A reference to the Azure key vault associated with the Batch account.
*/
@JsonProperty(value = "properties.keyVaultReference", access = JsonProperty.Access.WRITE_ONLY)
private KeyVaultReference keyVaultReference;
/**
* The properties and status of any auto-storage account associated with
* the Batch account.
*/
@JsonProperty(value = "properties.autoStorage", access = JsonProperty.Access.WRITE_ONLY)
private AutoStorageProperties autoStorage;
/**
* The core quota for this Batch account.
* The dedicated core quota for this Batch account.
*/
@JsonProperty(value = "properties.coreQuota", required = true)
private int coreQuota;
@JsonProperty(value = "properties.dedicatedCoreQuota", access = JsonProperty.Access.WRITE_ONLY)
private int dedicatedCoreQuota;
/**
* The low-priority core quota for this Batch account.
*/
@JsonProperty(value = "properties.lowPriorityCoreQuota", access = JsonProperty.Access.WRITE_ONLY)
private int lowPriorityCoreQuota;
/**
* The pool quota for this Batch account.
*/
@JsonProperty(value = "properties.poolQuota", required = true)
@JsonProperty(value = "properties.poolQuota", access = JsonProperty.Access.WRITE_ONLY)
private int poolQuota;
/**
* The active job and job schedule quota for this Batch account.
*/
@JsonProperty(value = "properties.activeJobAndJobScheduleQuota", required = true)
@JsonProperty(value = "properties.activeJobAndJobScheduleQuota", access = JsonProperty.Access.WRITE_ONLY)
private int activeJobAndJobScheduleQuota;
/**
@ -76,14 +97,21 @@ public class BatchAccountInner extends Resource {
}
/**
* Set the provisioningState value.
* Get the poolAllocationMode value.
*
* @param provisioningState the provisioningState value to set
* @return the BatchAccountInner object itself.
* @return the poolAllocationMode value
*/
public BatchAccountInner withProvisioningState(ProvisioningState provisioningState) {
this.provisioningState = provisioningState;
return this;
public PoolAllocationMode poolAllocationMode() {
return this.poolAllocationMode;
}
/**
* Get the keyVaultReference value.
*
* @return the keyVaultReference value
*/
public KeyVaultReference keyVaultReference() {
return this.keyVaultReference;
}
/**
@ -96,34 +124,21 @@ public class BatchAccountInner extends Resource {
}
/**
* Set the autoStorage value.
* Get the dedicatedCoreQuota value.
*
* @param autoStorage the autoStorage value to set
* @return the BatchAccountInner object itself.
* @return the dedicatedCoreQuota value
*/
public BatchAccountInner withAutoStorage(AutoStorageProperties autoStorage) {
this.autoStorage = autoStorage;
return this;
public int dedicatedCoreQuota() {
return this.dedicatedCoreQuota;
}
/**
* Get the coreQuota value.
* Get the lowPriorityCoreQuota value.
*
* @return the coreQuota value
* @return the lowPriorityCoreQuota value
*/
public int coreQuota() {
return this.coreQuota;
}
/**
* Set the coreQuota value.
*
* @param coreQuota the coreQuota value to set
* @return the BatchAccountInner object itself.
*/
public BatchAccountInner withCoreQuota(int coreQuota) {
this.coreQuota = coreQuota;
return this;
public int lowPriorityCoreQuota() {
return this.lowPriorityCoreQuota;
}
/**
@ -135,17 +150,6 @@ public class BatchAccountInner extends Resource {
return this.poolQuota;
}
/**
* Set the poolQuota value.
*
* @param poolQuota the poolQuota value to set
* @return the BatchAccountInner object itself.
*/
public BatchAccountInner withPoolQuota(int poolQuota) {
this.poolQuota = poolQuota;
return this;
}
/**
* Get the activeJobAndJobScheduleQuota value.
*
@ -155,15 +159,4 @@ public class BatchAccountInner extends Resource {
return this.activeJobAndJobScheduleQuota;
}
/**
* Set the activeJobAndJobScheduleQuota value.
*
* @param activeJobAndJobScheduleQuota the activeJobAndJobScheduleQuota value to set
* @return the BatchAccountInner object itself.
*/
public BatchAccountInner withActiveJobAndJobScheduleQuota(int activeJobAndJobScheduleQuota) {
this.activeJobAndJobScheduleQuota = activeJobAndJobScheduleQuota;
return this;
}
}

Просмотреть файл

@ -14,18 +14,33 @@ import com.fasterxml.jackson.annotation.JsonProperty;
* A set of Azure Batch account keys.
*/
public class BatchAccountKeysInner {
/**
* The Batch account name.
*/
@JsonProperty(value = "accountName", access = JsonProperty.Access.WRITE_ONLY)
private String accountName;
/**
* The primary key associated with the account.
*/
@JsonProperty(value = "primary")
@JsonProperty(value = "primary", access = JsonProperty.Access.WRITE_ONLY)
private String primary;
/**
* The secondary key associated with the account.
*/
@JsonProperty(value = "secondary")
@JsonProperty(value = "secondary", access = JsonProperty.Access.WRITE_ONLY)
private String secondary;
/**
* Get the accountName value.
*
* @return the accountName value
*/
public String accountName() {
return this.accountName;
}
/**
* Get the primary value.
*
@ -35,17 +50,6 @@ public class BatchAccountKeysInner {
return this.primary;
}
/**
* Set the primary value.
*
* @param primary the primary value to set
* @return the BatchAccountKeysInner object itself.
*/
public BatchAccountKeysInner withPrimary(String primary) {
this.primary = primary;
return this;
}
/**
* Get the secondary value.
*
@ -55,15 +59,4 @@ public class BatchAccountKeysInner {
return this.secondary;
}
/**
* Set the secondary value.
*
* @param secondary the secondary value to set
* @return the BatchAccountKeysInner object itself.
*/
public BatchAccountKeysInner withSecondary(String secondary) {
this.secondary = secondary;
return this;
}
}

Просмотреть файл

@ -14,18 +14,18 @@ import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
/**
* Parameters supplied to the Update operation.
* Parameters for updating an Azure Batch account.
*/
@JsonFlatten
public class BatchAccountUpdateParametersInner {
/**
* The user specified tags associated with the account.
* The user-specified tags associated with the account.
*/
@JsonProperty(value = "tags")
private Map<String, String> tags;
/**
* The properties related to auto storage account.
* The properties related to the auto-storage account.
*/
@JsonProperty(value = "properties.autoStorage")
private AutoStorageBaseProperties autoStorage;

Просмотреть файл

@ -126,7 +126,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
*
* @param resourceGroupName The name of the resource group that contains the new Batch account.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
* @param parameters Additional parameters for account creation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -141,7 +141,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
*
* @param resourceGroupName The name of the resource group that contains the new Batch account.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
* @param parameters Additional parameters for account creation.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@ -155,7 +155,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
*
* @param resourceGroupName The name of the resource group that contains the new Batch account.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
* @param parameters Additional parameters for account creation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -173,7 +173,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
*
* @param resourceGroupName The name of the resource group that contains the new Batch account.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
* @param parameters Additional parameters for account creation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -203,7 +203,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
*
* @param resourceGroupName The name of the resource group that contains the new Batch account.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
* @param parameters Additional parameters for account creation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -218,7 +218,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
*
* @param resourceGroupName The name of the resource group that contains the new Batch account.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
* @param parameters Additional parameters for account creation.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@ -232,7 +232,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
*
* @param resourceGroupName The name of the resource group that contains the new Batch account.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
* @param parameters Additional parameters for account creation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -250,7 +250,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.
*
* @param resourceGroupName The name of the resource group that contains the new Batch account.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName A name for the Batch account which must be unique within the region. Batch account names must be between 3 and 24 characters in length and must use only numbers and lowercase letters. This name is used as part of the DNS name that is used to access the Batch service in the region in which the account is created. For example: http://accountname.region.batch.azure.com/.
* @param parameters Additional parameters for account creation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -299,7 +299,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Updates the properties of an existing Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param parameters Additional parameters for account update.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
@ -314,7 +314,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Updates the properties of an existing Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param parameters Additional parameters for account update.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -328,7 +328,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Updates the properties of an existing Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param parameters Additional parameters for account update.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchAccountInner object
@ -346,7 +346,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Updates the properties of an existing Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param parameters Additional parameters for account update.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchAccountInner object
@ -392,8 +392,8 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Deletes the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account to be deleted.
* @param accountName The name of the account to be deleted.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@ -405,8 +405,8 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Deletes the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account to be deleted.
* @param accountName The name of the account to be deleted.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@ -418,8 +418,8 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Deletes the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account to be deleted.
* @param accountName The name of the account to be deleted.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
@ -435,8 +435,8 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Deletes the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account to be deleted.
* @param accountName The name of the account to be deleted.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable for the request
*/
@ -460,8 +460,8 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Deletes the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account to be deleted.
* @param accountName The name of the account to be deleted.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@ -473,8 +473,8 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Deletes the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account to be deleted.
* @param accountName The name of the account to be deleted.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@ -486,8 +486,8 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Deletes the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account to be deleted.
* @param accountName The name of the account to be deleted.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponseWithHeaders} object if successful.
*/
@ -503,8 +503,8 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Deletes the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account to be deleted.
* @param accountName The name of the account to be deleted.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponseWithHeaders} object if successful.
*/
@ -539,6 +539,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
return this.client.restClient().responseBuilderFactory().<Void, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<Void>() { }.getType())
.register(202, new TypeToken<Void>() { }.getType())
.register(204, new TypeToken<Void>() { }.getType())
.registerError(CloudException.class)
.buildWithHeaders(response, BatchAccountDeleteHeadersInner.class);
}
@ -547,7 +548,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Gets information about the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@ -561,7 +562,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Gets information about the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@ -574,7 +575,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Gets information about the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchAccountInner object
*/
@ -591,7 +592,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Gets information about the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchAccountInner object
*/
@ -737,9 +738,9 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
* @param resourceGroupName The name of the resource group whose Batch accounts to list.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@ -756,9 +757,9 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
* @param resourceGroupName The name of the resource group whose Batch accounts to list.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@ -776,9 +777,9 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
* @param resourceGroupName The name of the resource group whose Batch accounts to list.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;BatchAccountInner&gt; object
*/
@ -793,9 +794,9 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
* @param resourceGroupName The name of the resource group whose Batch accounts to list.
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;BatchAccountInner&gt; object
*/
@ -814,9 +815,9 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
ServiceResponse<PageImpl<BatchAccountInner>> * @param resourceGroupName The name of the resource group whose Batch accounts to list.
ServiceResponse<PageImpl<BatchAccountInner>> * @param resourceGroupName The name of the resource group that contains the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;BatchAccountInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
@ -852,7 +853,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Synchronizes access keys for the auto storage account configured for the specified Batch account.
* Synchronizes access keys for the auto-storage account configured for the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
@ -865,7 +866,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Synchronizes access keys for the auto storage account configured for the specified Batch account.
* Synchronizes access keys for the auto-storage account configured for the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
@ -878,7 +879,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Synchronizes access keys for the auto storage account configured for the specified Batch account.
* Synchronizes access keys for the auto-storage account configured for the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
@ -895,7 +896,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Synchronizes access keys for the auto storage account configured for the specified Batch account.
* Synchronizes access keys for the auto-storage account configured for the specified Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the Batch account.
@ -940,7 +941,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Regenerates the specified account key for the Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param keyName The type of account key to regenerate. Possible values include: 'Primary', 'Secondary'
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
@ -955,7 +956,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Regenerates the specified account key for the Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param keyName The type of account key to regenerate. Possible values include: 'Primary', 'Secondary'
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -969,7 +970,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Regenerates the specified account key for the Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param keyName The type of account key to regenerate. Possible values include: 'Primary', 'Secondary'
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchAccountKeysInner object
@ -987,7 +988,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
* Regenerates the specified account key for the Batch account.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param keyName The type of account key to regenerate. Possible values include: 'Primary', 'Secondary'
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchAccountKeysInner object
@ -1033,9 +1034,10 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Gets the account keys for the specified Batch account.
* This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@ -1047,9 +1049,10 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Gets the account keys for the specified Batch account.
* This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@ -1060,9 +1063,10 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Gets the account keys for the specified Batch account.
* This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchAccountKeysInner object
*/
@ -1077,9 +1081,10 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
/**
* Gets the account keys for the specified Batch account.
* This operation applies only to Batch accounts created with a poolAllocationMode of 'BatchService'. If the Batch account was created with a poolAllocationMode of 'UserSubscription', clients cannot use access to keys to authenticate, and must use Azure Active Directory instead. In this case, getting the keys will fail.
*
* @param resourceGroupName The name of the resource group that contains the Batch account.
* @param accountName The name of the account.
* @param accountName The name of the Batch account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchAccountKeysInner object
*/
@ -1229,7 +1234,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -1248,7 +1253,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param serviceFuture the ServiceFuture object tracking the Retrofit calls
@ -1269,7 +1274,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -1286,7 +1291,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
@ -1307,7 +1312,7 @@ public class BatchAccountsInner implements InnerSupportsGet<BatchAccountInner>,
}
/**
* Gets information about the Batch accounts associated within the specified resource group.
* Gets information about the Batch accounts associated with the specified resource group.
*
ServiceResponse<PageImpl<BatchAccountInner>> * @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation

Просмотреть файл

@ -18,7 +18,7 @@ public class BatchLocationQuotaInner {
* The number of Batch accounts that may be created under the subscription
* in the specified region.
*/
@JsonProperty(value = "accountQuota")
@JsonProperty(value = "accountQuota", access = JsonProperty.Access.WRITE_ONLY)
private Integer accountQuota;
/**
@ -30,15 +30,4 @@ public class BatchLocationQuotaInner {
return this.accountQuota;
}
/**
* Set the accountQuota value.
*
* @param accountQuota the accountQuota value to set
* @return the BatchLocationQuotaInner object itself.
*/
public BatchLocationQuotaInner withAccountQuota(Integer accountQuota) {
this.accountQuota = accountQuota;
return this;
}
}

Просмотреть файл

@ -28,11 +28,11 @@ public class BatchManagementClientImpl extends AzureServiceClient {
return this.azureClient;
}
/** A unique identifier of a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. */
/** The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). */
private String subscriptionId;
/**
* Gets A unique identifier of a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
* Gets The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
*
* @return the subscriptionId value.
*/
@ -41,7 +41,7 @@ public class BatchManagementClientImpl extends AzureServiceClient {
}
/**
* Sets A unique identifier of a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
* Sets The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
*
* @param subscriptionId the subscriptionId value.
* @return the service client itself
@ -184,6 +184,19 @@ public class BatchManagementClientImpl extends AzureServiceClient {
return this.locations;
}
/**
* The OperationsInner object to access its operations.
*/
private OperationsInner operations;
/**
* Gets the OperationsInner object to access its operations.
* @return the OperationsInner object.
*/
public OperationsInner operations() {
return this.operations;
}
/**
* Initializes an instance of BatchManagementClient client.
*
@ -215,7 +228,7 @@ public class BatchManagementClientImpl extends AzureServiceClient {
}
protected void initialize() {
this.apiVersion = "2015-12-01";
this.apiVersion = "2017-05-01";
this.acceptLanguage = "en-US";
this.longRunningOperationRetryTimeout = 30;
this.generateClientRequestId = true;
@ -223,6 +236,7 @@ public class BatchManagementClientImpl extends AzureServiceClient {
this.applicationPackages = new ApplicationPackagesInner(restClient().retrofit(), this);
this.applications = new ApplicationsInner(restClient().retrofit(), this);
this.locations = new LocationsInner(restClient().retrofit(), this);
this.operations = new OperationsInner(restClient().retrofit(), this);
this.azureClient = new AzureClient(this);
}
@ -233,6 +247,6 @@ public class BatchManagementClientImpl extends AzureServiceClient {
*/
@Override
public String userAgent() {
return String.format("%s (%s, %s)", super.userAgent(), "BatchManagementClient", "2015-12-01");
return String.format("%s (%s, %s)", super.userAgent(), "BatchManagementClient", "2017-05-01");
}
}

Просмотреть файл

@ -13,6 +13,7 @@ import com.microsoft.azure.management.batch.BatchAccounts;
import com.microsoft.azure.management.resources.fluentcore.arm.AzureConfigurable;
import com.microsoft.azure.management.resources.fluentcore.arm.implementation.AzureConfigurableImpl;
import com.microsoft.azure.management.resources.fluentcore.arm.implementation.Manager;
import com.microsoft.azure.management.resources.fluentcore.utils.ProviderRegistrationInterceptor;
import com.microsoft.azure.management.storage.implementation.StorageManager;
import com.microsoft.azure.serializer.AzureJacksonAdapter;
import com.microsoft.rest.RestClient;
@ -56,6 +57,7 @@ public class BatchManager extends Manager<BatchManager, BatchManagementClientImp
.withCredentials(credentials)
.withSerializerAdapter(new AzureJacksonAdapter())
.withResponseBuilderFactory(new AzureResponseBuilder.Factory())
.withInterceptor(new ProviderRegistrationInterceptor(credentials))
.build(), subscriptionId);
}

Просмотреть файл

@ -60,7 +60,7 @@ public class LocationsInner {
/**
* Gets the Batch service quotas for the specified subscription at the given location.
*
* @param locationName The desired region for the quotas.
* @param locationName The region for which to retrieve Batch service quotas.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@ -73,7 +73,7 @@ public class LocationsInner {
/**
* Gets the Batch service quotas for the specified subscription at the given location.
*
* @param locationName The desired region for the quotas.
* @param locationName The region for which to retrieve Batch service quotas.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@ -85,7 +85,7 @@ public class LocationsInner {
/**
* Gets the Batch service quotas for the specified subscription at the given location.
*
* @param locationName The desired region for the quotas.
* @param locationName The region for which to retrieve Batch service quotas.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchLocationQuotaInner object
*/
@ -101,7 +101,7 @@ public class LocationsInner {
/**
* Gets the Batch service quotas for the specified subscription at the given location.
*
* @param locationName The desired region for the quotas.
* @param locationName The region for which to retrieve Batch service quotas.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the BatchLocationQuotaInner object
*/

Просмотреть файл

@ -0,0 +1,123 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batch.implementation;
import com.microsoft.azure.management.batch.OperationDisplay;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* A REST API operation.
*/
public class OperationInner {
/**
* The operation name.
* This is of the format {provider}/{resource}/{operation}.
*/
@JsonProperty(value = "name")
private String name;
/**
* The object that describes the operation.
*/
@JsonProperty(value = "display")
private OperationDisplay display;
/**
* The intended executor of the operation.
*/
@JsonProperty(value = "origin")
private String origin;
/**
* Properties of the operation.
*/
@JsonProperty(value = "properties")
private Object properties;
/**
* Get the name value.
*
* @return the name value
*/
public String name() {
return this.name;
}
/**
* Set the name value.
*
* @param name the name value to set
* @return the OperationInner object itself.
*/
public OperationInner withName(String name) {
this.name = name;
return this;
}
/**
* Get the display value.
*
* @return the display value
*/
public OperationDisplay display() {
return this.display;
}
/**
* Set the display value.
*
* @param display the display value to set
* @return the OperationInner object itself.
*/
public OperationInner withDisplay(OperationDisplay display) {
this.display = display;
return this;
}
/**
* Get the origin value.
*
* @return the origin value
*/
public String origin() {
return this.origin;
}
/**
* Set the origin value.
*
* @param origin the origin value to set
* @return the OperationInner object itself.
*/
public OperationInner withOrigin(String origin) {
this.origin = origin;
return this;
}
/**
* Get the properties value.
*
* @return the properties value
*/
public Object properties() {
return this.properties;
}
/**
* Set the properties value.
*
* @param properties the properties value to set
* @return the OperationInner object itself.
*/
public OperationInner withProperties(Object properties) {
this.properties = properties;
return this;
}
}

Просмотреть файл

@ -0,0 +1,283 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.batch.implementation;
import retrofit2.Retrofit;
import com.google.common.reflect.TypeToken;
import com.microsoft.azure.AzureServiceFuture;
import com.microsoft.azure.CloudException;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
import java.io.IOException;
import java.util.List;
import okhttp3.ResponseBody;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.Query;
import retrofit2.http.Url;
import retrofit2.Response;
import rx.functions.Func1;
import rx.Observable;
/**
* An instance of this class provides access to all the operations defined
* in Operations.
*/
public class OperationsInner {
/** The Retrofit service to perform REST calls. */
private OperationsService service;
/** The service client containing this operation class. */
private BatchManagementClientImpl client;
/**
* Initializes an instance of OperationsInner.
*
* @param retrofit the Retrofit instance built from a Retrofit Builder.
* @param client the instance of the service client containing this operation class.
*/
public OperationsInner(Retrofit retrofit, BatchManagementClientImpl client) {
this.service = retrofit.create(OperationsService.class);
this.client = client;
}
/**
* The interface defining all the services for Operations to be
* used by Retrofit to perform actually REST calls.
*/
interface OperationsService {
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.batch.Operations list" })
@GET("providers/Microsoft.Batch/operations")
Observable<Response<ResponseBody>> list(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
@Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.batch.Operations listNext" })
@GET
Observable<Response<ResponseBody>> listNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent);
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the PagedList&lt;OperationInner&gt; object if successful.
*/
public PagedList<OperationInner> list() {
ServiceResponse<Page<OperationInner>> response = listSinglePageAsync().toBlocking().single();
return new PagedList<OperationInner>(response.body()) {
@Override
public Page<OperationInner> nextPage(String nextPageLink) {
return listNextSinglePageAsync(nextPageLink).toBlocking().single().body();
}
};
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<List<OperationInner>> listAsync(final ListOperationCallback<OperationInner> serviceCallback) {
return AzureServiceFuture.fromPageResponse(
listSinglePageAsync(),
new Func1<String, Observable<ServiceResponse<Page<OperationInner>>>>() {
@Override
public Observable<ServiceResponse<Page<OperationInner>>> call(String nextPageLink) {
return listNextSinglePageAsync(nextPageLink);
}
},
serviceCallback);
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;OperationInner&gt; object
*/
public Observable<Page<OperationInner>> listAsync() {
return listWithServiceResponseAsync()
.map(new Func1<ServiceResponse<Page<OperationInner>>, Page<OperationInner>>() {
@Override
public Page<OperationInner> call(ServiceResponse<Page<OperationInner>> response) {
return response.body();
}
});
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;OperationInner&gt; object
*/
public Observable<ServiceResponse<Page<OperationInner>>> listWithServiceResponseAsync() {
return listSinglePageAsync()
.concatMap(new Func1<ServiceResponse<Page<OperationInner>>, Observable<ServiceResponse<Page<OperationInner>>>>() {
@Override
public Observable<ServiceResponse<Page<OperationInner>>> call(ServiceResponse<Page<OperationInner>> page) {
String nextPageLink = page.body().nextPageLink();
if (nextPageLink == null) {
return Observable.just(page);
}
return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink));
}
});
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;OperationInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
public Observable<ServiceResponse<Page<OperationInner>>> listSinglePageAsync() {
if (this.client.apiVersion() == null) {
throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null.");
}
return service.list(this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<OperationInner>>>>() {
@Override
public Observable<ServiceResponse<Page<OperationInner>>> call(Response<ResponseBody> response) {
try {
ServiceResponse<PageImpl<OperationInner>> result = listDelegate(response);
return Observable.just(new ServiceResponse<Page<OperationInner>>(result.body(), result.response()));
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<PageImpl<OperationInner>> listDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<PageImpl<OperationInner>, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<PageImpl<OperationInner>>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the PagedList&lt;OperationInner&gt; object if successful.
*/
public PagedList<OperationInner> listNext(final String nextPageLink) {
ServiceResponse<Page<OperationInner>> response = listNextSinglePageAsync(nextPageLink).toBlocking().single();
return new PagedList<OperationInner>(response.body()) {
@Override
public Page<OperationInner> nextPage(String nextPageLink) {
return listNextSinglePageAsync(nextPageLink).toBlocking().single().body();
}
};
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @param serviceFuture the ServiceFuture object tracking the Retrofit calls
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
public ServiceFuture<List<OperationInner>> listNextAsync(final String nextPageLink, final ServiceFuture<List<OperationInner>> serviceFuture, final ListOperationCallback<OperationInner> serviceCallback) {
return AzureServiceFuture.fromPageResponse(
listNextSinglePageAsync(nextPageLink),
new Func1<String, Observable<ServiceResponse<Page<OperationInner>>>>() {
@Override
public Observable<ServiceResponse<Page<OperationInner>>> call(String nextPageLink) {
return listNextSinglePageAsync(nextPageLink);
}
},
serviceCallback);
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;OperationInner&gt; object
*/
public Observable<Page<OperationInner>> listNextAsync(final String nextPageLink) {
return listNextWithServiceResponseAsync(nextPageLink)
.map(new Func1<ServiceResponse<Page<OperationInner>>, Page<OperationInner>>() {
@Override
public Page<OperationInner> call(ServiceResponse<Page<OperationInner>> response) {
return response.body();
}
});
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
* @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList&lt;OperationInner&gt; object
*/
public Observable<ServiceResponse<Page<OperationInner>>> listNextWithServiceResponseAsync(final String nextPageLink) {
return listNextSinglePageAsync(nextPageLink)
.concatMap(new Func1<ServiceResponse<Page<OperationInner>>, Observable<ServiceResponse<Page<OperationInner>>>>() {
@Override
public Observable<ServiceResponse<Page<OperationInner>>> call(ServiceResponse<Page<OperationInner>> page) {
String nextPageLink = page.body().nextPageLink();
if (nextPageLink == null) {
return Observable.just(page);
}
return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink));
}
});
}
/**
* Lists available operations for the Microsoft.Batch provider.
*
ServiceResponse<PageImpl<OperationInner>> * @param nextPageLink The NextLink from the previous successful call to List operation.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the PagedList&lt;OperationInner&gt; object wrapped in {@link ServiceResponse} if successful.
*/
public Observable<ServiceResponse<Page<OperationInner>>> listNextSinglePageAsync(final String nextPageLink) {
if (nextPageLink == null) {
throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null.");
}
String nextUrl = String.format("%s", nextPageLink);
return service.listNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent())
.flatMap(new Func1<Response<ResponseBody>, Observable<ServiceResponse<Page<OperationInner>>>>() {
@Override
public Observable<ServiceResponse<Page<OperationInner>>> call(Response<ResponseBody> response) {
try {
ServiceResponse<PageImpl<OperationInner>> result = listNextDelegate(response);
return Observable.just(new ServiceResponse<Page<OperationInner>>(result.body(), result.response()));
} catch (Throwable t) {
return Observable.error(t);
}
}
});
}
private ServiceResponse<PageImpl<OperationInner>> listNextDelegate(Response<ResponseBody> response) throws CloudException, IOException, IllegalArgumentException {
return this.client.restClient().responseBuilderFactory().<PageImpl<OperationInner>, CloudException>newInstance(this.client.serializerAdapter())
.register(200, new TypeToken<PageImpl<OperationInner>>() { }.getType())
.registerError(CloudException.class)
.build(response);
}
}

Просмотреть файл

@ -1,333 +1,333 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javabatchrg4ab42504?api-version=2016-09-01",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javabatchrg01784280?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:04 GMT",
"date" : "Wed, 24 May 2017 23:27:34 GMT",
"content-length" : "194",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1199",
"x-ms-ratelimit-remaining-subscription-writes" : "1196",
"retry-after" : "0",
"StatusCode" : "201",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "4e9505ac-5680-4d1f-8354-f84fc491bf29",
"x-ms-correlation-request-id" : "5b5ce101-2f33-4e19-8662-1e3e279db4ea",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185605Z:4e9505ac-5680-4d1f-8354-f84fc491bf29",
"x-ms-routing-request-id" : "WESTUS:20170524T232735Z:5b5ce101-2f33-4e19-8662-1e3e279db4ea",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "4e9505ac-5680-4d1f-8354-f84fc491bf29",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg4ab42504\",\"name\":\"javabatchrg4ab42504\",\"location\":\"centralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}"
"x-ms-request-id" : "5b5ce101-2f33-4e19-8662-1e3e279db4ea",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg01784280\",\"name\":\"javabatchrg01784280\",\"location\":\"centralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}"
}
}, {
"Method" : "PUT",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg4ab42504/providers/Microsoft.Batch/batchAccounts/javabatch67942?api-version=2015-12-01",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg01784280/providers/Microsoft.Batch/batchAccounts/javabatch47091?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:06 GMT",
"date" : "Wed, 24 May 2017 23:27:36 GMT",
"content-length" : "0",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1198",
"x-ms-ratelimit-remaining-subscription-writes" : "1195",
"retry-after" : "0",
"request-id" : "a6f88bf4-53aa-4e6a-aa98-7b09d95b62e0",
"request-id" : "2758dedd-0577-4d9a-8746-75e33063762e",
"StatusCode" : "202",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "0ca297c6-45fa-4f02-ad24-ed1fa9966dd7",
"x-ms-correlation-request-id" : "e3df2c4d-fd71-46c2-b5b6-0330e6bbc613",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T185607Z:0ca297c6-45fa-4f02-ad24-ed1fa9966dd7",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg4ab42504/providers/Microsoft.Batch/batchAccounts/javabatch67942/operationResults/a6f88bf4-53aa-4e6a-aa98-7b09d95b62e0?api-version=2015-12-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232737Z:e3df2c4d-fd71-46c2-b5b6-0330e6bbc613",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg01784280/providers/Microsoft.Batch/batchAccounts/javabatch47091/operationResults/2758dedd-0577-4d9a-8746-75e33063762e?api-version=2017-05-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "0ca297c6-45fa-4f02-ad24-ed1fa9966dd7",
"x-ms-request-id" : "e3df2c4d-fd71-46c2-b5b6-0330e6bbc613",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg4ab42504/providers/Microsoft.Batch/batchAccounts/javabatch67942/operationResults/a6f88bf4-53aa-4e6a-aa98-7b09d95b62e0?api-version=2015-12-01",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg01784280/providers/Microsoft.Batch/batchAccounts/javabatch47091/operationResults/2758dedd-0577-4d9a-8746-75e33063762e?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:07 GMT",
"date" : "Wed, 24 May 2017 23:27:36 GMT",
"content-length" : "0",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"retry-after" : "0",
"request-id" : "597662c1-745a-4ae5-92ba-c1879f72fda9",
"x-ms-ratelimit-remaining-subscription-reads" : "14993",
"StatusCode" : "202",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "97f2093a-bad9-4eb6-b86a-e033e8b93fcc",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T185607Z:97f2093a-bad9-4eb6-b86a-e033e8b93fcc",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg4ab42504/providers/Microsoft.Batch/batchAccounts/javabatch67942/operationResults/a6f88bf4-53aa-4e6a-aa98-7b09d95b62e0?api-version=2015-12-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "97f2093a-bad9-4eb6-b86a-e033e8b93fcc",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg4ab42504/providers/Microsoft.Batch/batchAccounts/javabatch67942/operationResults/a6f88bf4-53aa-4e6a-aa98-7b09d95b62e0?api-version=2015-12-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:21 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "408",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"request-id" : "47e7c726-5cad-47cf-a1ea-edf3ba45b79c",
"x-ms-ratelimit-remaining-subscription-reads" : "14992",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "85767708-cb14-40f5-ac8d-e82ef6e223b5",
"last-modified" : "Thu, 13 Apr 2017 18:56:24 GMT",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T185622Z:85767708-cb14-40f5-ac8d-e82ef6e223b5",
"content-type" : "application/json; charset=utf-8",
"etag" : "0x8D4829EC823D16D",
"cache-control" : "no-cache",
"x-ms-request-id" : "85767708-cb14-40f5-ac8d-e82ef6e223b5",
"Body" : "{\"name\":\"javabatch67942\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch67942.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"coreQuota\":20,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg4ab42504/providers/Microsoft.Batch/batchAccounts/javabatch67942\",\"type\":\"Microsoft.Batch/batchAccounts\"}"
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/batchAccounts?api-version=2015-12-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:22 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "420",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"request-id" : "de8b68e1-3c2d-4a7c-8483-e976a3fe60cc",
"x-ms-ratelimit-remaining-subscription-reads" : "14991",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "da3b57fd-0099-417a-8fd4-e916ad22dc2d",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T185622Z:da3b57fd-0099-417a-8fd4-e916ad22dc2d",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "da3b57fd-0099-417a-8fd4-e916ad22dc2d",
"Body" : "{\"value\":[{\"name\":\"javabatch67942\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch67942.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"coreQuota\":20,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg4ab42504/providers/Microsoft.Batch/batchAccounts/javabatch67942\",\"type\":\"Microsoft.Batch/batchAccounts\"}]}"
}
}, {
"Method" : "DELETE",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javabatchrg4ab42504?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:24 GMT",
"content-length" : "0",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1197",
"retry-after" : "0",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "3df1eeed-4e8a-4d23-8517-f7d3e6b70a95",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185624Z:3df1eeed-4e8a-4d23-8517-f7d3e6b70a95",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "3df1eeed-4e8a-4d23-8517-f7d3e6b70a95",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:24 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14990",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "8f66683a-a0a8-4144-863a-bca50b9f7a81",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185624Z:8f66683a-a0a8-4144-863a-bca50b9f7a81",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "8f66683a-a0a8-4144-863a-bca50b9f7a81",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:38 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14989",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "e7c8a78a-a5c1-409b-a071-7e1a7dfe27ab",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185639Z:e7c8a78a-a5c1-409b-a071-7e1a7dfe27ab",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "e7c8a78a-a5c1-409b-a071-7e1a7dfe27ab",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:56:53 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14988",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "5270d449-5397-4aec-9403-a9455fbb87a0",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185654Z:5270d449-5397-4aec-9403-a9455fbb87a0",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "5270d449-5397-4aec-9403-a9455fbb87a0",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:57:09 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14987",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "ae323331-bf09-40af-8600-d32c6d37b9de",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185709Z:ae323331-bf09-40af-8600-d32c6d37b9de",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "ae323331-bf09-40af-8600-d32c6d37b9de",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:57:24 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"request-id" : "4b04b316-33c6-47d5-8b05-fb3ddbb5c64a",
"x-ms-ratelimit-remaining-subscription-reads" : "14985",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "5fe89be5-ed68-4131-9052-aaef92c1c03d",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185724Z:5fe89be5-ed68-4131-9052-aaef92c1c03d",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-correlation-request-id" : "a546254b-e780-42dc-b3c8-5e51a7427edf",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS:20170524T232737Z:a546254b-e780-42dc-b3c8-5e51a7427edf",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg01784280/providers/Microsoft.Batch/batchAccounts/javabatch47091/operationResults/2758dedd-0577-4d9a-8746-75e33063762e?api-version=2017-05-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "5fe89be5-ed68-4131-9052-aaef92c1c03d",
"x-ms-request-id" : "a546254b-e780-42dc-b3c8-5e51a7427edf",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg01784280/providers/Microsoft.Batch/batchAccounts/javabatch47091/operationResults/2758dedd-0577-4d9a-8746-75e33063762e?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:57:39 GMT",
"content-length" : "0",
"date" : "Wed, 24 May 2017 23:27:51 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "479",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14984",
"StatusCode" : "202",
"request-id" : "d671c20b-56db-4eda-aacf-d6b998cc6df3",
"StatusCode" : "200",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "50ec5c60-d5c7-41ac-b179-d7ca45f319a5",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185740Z:50ec5c60-d5c7-41ac-b179-d7ca45f319a5",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-correlation-request-id" : "2cf2fee2-cb3d-406a-8603-4684f0314260",
"last-modified" : "Wed, 24 May 2017 23:27:53 GMT",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS:20170524T232752Z:2cf2fee2-cb3d-406a-8603-4684f0314260",
"content-type" : "application/json; charset=utf-8",
"etag" : "\"0x8D4A2FC80672D2E\"",
"cache-control" : "no-cache",
"x-ms-request-id" : "50ec5c60-d5c7-41ac-b179-d7ca45f319a5",
"Body" : ""
"x-ms-request-id" : "2cf2fee2-cb3d-406a-8603-4684f0314260",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg01784280/providers/Microsoft.Batch/batchAccounts/javabatch47091\",\"name\":\"javabatch47091\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch47091.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":20,\"lowPriorityCoreQuota\":50,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20,\"poolAllocationMode\":\"batchservice\"}}"
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Batch/batchAccounts?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:57:55 GMT",
"content-length" : "0",
"date" : "Wed, 24 May 2017 23:27:51 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "491",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14983",
"request-id" : "c1cc84f0-c74b-403b-ba55-66c80851b2b2",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "4d22d310-5942-4c5f-b06e-cf4e9c164d19",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS:20170524T232752Z:4d22d310-5942-4c5f-b06e-cf4e9c164d19",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "4d22d310-5942-4c5f-b06e-cf4e9c164d19",
"Body" : "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg01784280/providers/Microsoft.Batch/batchAccounts/javabatch47091\",\"name\":\"javabatch47091\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch47091.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":20,\"lowPriorityCoreQuota\":50,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20,\"poolAllocationMode\":\"batchservice\"}}]}"
}
}, {
"Method" : "DELETE",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javabatchrg01784280?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Wed, 24 May 2017 23:27:52 GMT",
"content-length" : "0",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1194",
"retry-after" : "0",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "f6d7345a-543e-4a4e-a55c-72cc9f19d5ff",
"x-ms-correlation-request-id" : "8a83d21b-f8b6-4b17-8409-166732b5bccd",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185755Z:f6d7345a-543e-4a4e-a55c-72cc9f19d5ff",
"location" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232753Z:8a83d21b-f8b6-4b17-8409-166732b5bccd",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "f6d7345a-543e-4a4e-a55c-72cc9f19d5ff",
"x-ms-request-id" : "8a83d21b-f8b6-4b17-8409-166732b5bccd",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3146/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzRBQjQyNTA0LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 18:58:10 GMT",
"date" : "Wed, 24 May 2017 23:27:52 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14982",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "afa2b1e7-db2f-4d84-864f-15b23a7bb99a",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS:20170524T232753Z:afa2b1e7-db2f-4d84-864f-15b23a7bb99a",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "afa2b1e7-db2f-4d84-864f-15b23a7bb99a",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Wed, 24 May 2017 23:28:08 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14981",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "84a98c79-1b4f-4f57-a598-921c80365964",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS:20170524T232808Z:84a98c79-1b4f-4f57-a598-921c80365964",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "84a98c79-1b4f-4f57-a598-921c80365964",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Wed, 24 May 2017 23:28:23 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14980",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "0ff7e5c1-160b-4a92-9d57-d9f366c0cdaa",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS:20170524T232823Z:0ff7e5c1-160b-4a92-9d57-d9f366c0cdaa",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "0ff7e5c1-160b-4a92-9d57-d9f366c0cdaa",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Wed, 24 May 2017 23:28:38 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14979",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "27c61c3d-16a3-4e25-b352-cb507d0c7310",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS:20170524T232838Z:27c61c3d-16a3-4e25-b352-cb507d0c7310",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "27c61c3d-16a3-4e25-b352-cb507d0c7310",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Wed, 24 May 2017 23:28:53 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14978",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "e6565050-0d8e-42f6-93c7-bcb19da9ddf8",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS:20170524T232853Z:e6565050-0d8e-42f6-93c7-bcb19da9ddf8",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "e6565050-0d8e-42f6-93c7-bcb19da9ddf8",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Wed, 24 May 2017 23:29:08 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14977",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "cdfb6231-b512-402d-85cb-c4510ba0d2d8",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS:20170524T232909Z:cdfb6231-b512-402d-85cb-c4510ba0d2d8",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "cdfb6231-b512-402d-85cb-c4510ba0d2d8",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Wed, 24 May 2017 23:29:23 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14976",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "24932009-2a40-473a-b642-2307e66d06d4",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS:20170524T232924Z:24932009-2a40-473a-b642-2307e66d06d4",
"location" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "24932009-2a40-473a-b642-2307e66d06d4",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:13033/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzAxNzg0MjgwLUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Wed, 24 May 2017 23:29:38 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14975",
"StatusCode" : "200",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "04233e1e-5b7b-4847-8efc-224642fb4673",
"x-ms-correlation-request-id" : "9f5e1863-a2b4-4069-be77-44e61bc88ecb",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T185810Z:04233e1e-5b7b-4847-8efc-224642fb4673",
"x-ms-routing-request-id" : "WESTUS:20170524T232939Z:9f5e1863-a2b4-4069-be77-44e61bc88ecb",
"cache-control" : "no-cache",
"x-ms-request-id" : "04233e1e-5b7b-4847-8efc-224642fb4673",
"x-ms-request-id" : "9f5e1863-a2b4-4069-be77-44e61bc88ecb",
"Body" : ""
}
} ],
"variables" : [ "javabatchrg4ab42504", "javabatch67942", "javasa84394" ]
"variables" : [ "javabatchrg01784280", "javabatch47091", "javasa92845" ]
}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,646 +1,644 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javabatchrg53345018?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javabatchrgd3067507?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:18 GMT",
"date" : "Wed, 24 May 2017 23:24:54 GMT",
"content-length" : "194",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1189",
"x-ms-ratelimit-remaining-subscription-writes" : "1199",
"retry-after" : "0",
"StatusCode" : "201",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "c28f15ec-122e-44ee-b293-a9768dbce69c",
"x-ms-correlation-request-id" : "3c06f285-9888-47f1-890b-0a0c5ea3fe77",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191518Z:c28f15ec-122e-44ee-b293-a9768dbce69c",
"x-ms-routing-request-id" : "WESTUS:20170524T232455Z:3c06f285-9888-47f1-890b-0a0c5ea3fe77",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "c28f15ec-122e-44ee-b293-a9768dbce69c",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018\",\"name\":\"javabatchrg53345018\",\"location\":\"centralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}"
"x-ms-request-id" : "3c06f285-9888-47f1-890b-0a0c5ea3fe77",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507\",\"name\":\"javabatchrgd3067507\",\"location\":\"centralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}"
}
}, {
"Method" : "PUT",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Storage/storageAccounts/javasa09722?api-version=2016-01-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Storage/storageAccounts/javasa17181?api-version=2016-01-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (StorageManagementClient, 2016-01-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (StorageManagementClient, 2016-01-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:19 GMT",
"date" : "Wed, 24 May 2017 23:24:55 GMT",
"content-length" : "0",
"server" : "Microsoft-Azure-Storage-Resource-Provider/1.0",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1188",
"x-ms-ratelimit-remaining-subscription-writes" : "1198",
"retry-after" : "0",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "772954d5-9837-4a88-a7d5-5b62e9459b4c",
"x-ms-correlation-request-id" : "b9eb144b-d9c3-441a-a27f-a6739f5c975d",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191519Z:772954d5-9837-4a88-a7d5-5b62e9459b4c",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/efd31fbd-206b-4bbd-b3a4-ccddd833be31?monitor=true&api-version=2016-01-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232456Z:b9eb144b-d9c3-441a-a27f-a6739f5c975d",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/8d3fd3bc-527e-47f2-9cef-211d1123c69f?monitor=true&api-version=2016-01-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "772954d5-9837-4a88-a7d5-5b62e9459b4c",
"x-ms-request-id" : "b9eb144b-d9c3-441a-a27f-a6739f5c975d",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/efd31fbd-206b-4bbd-b3a4-ccddd833be31?monitor=true&api-version=2016-01-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/8d3fd3bc-527e-47f2-9cef-211d1123c69f?monitor=true&api-version=2016-01-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (StorageManagementClient, 2016-01-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (StorageManagementClient, 2016-01-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:19 GMT",
"date" : "Wed, 24 May 2017 23:24:56 GMT",
"content-length" : "0",
"server" : "Microsoft-Azure-Storage-Resource-Provider/1.0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14974",
"x-ms-ratelimit-remaining-subscription-reads" : "14999",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "4eda4a6a-5141-4ac3-85a2-97af652e6153",
"x-ms-correlation-request-id" : "2d4fb6b6-fd73-41d9-a389-216e99a20329",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191519Z:4eda4a6a-5141-4ac3-85a2-97af652e6153",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/efd31fbd-206b-4bbd-b3a4-ccddd833be31?monitor=true&api-version=2016-01-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232456Z:2d4fb6b6-fd73-41d9-a389-216e99a20329",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/8d3fd3bc-527e-47f2-9cef-211d1123c69f?monitor=true&api-version=2016-01-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "4eda4a6a-5141-4ac3-85a2-97af652e6153",
"x-ms-request-id" : "2d4fb6b6-fd73-41d9-a389-216e99a20329",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/efd31fbd-206b-4bbd-b3a4-ccddd833be31?monitor=true&api-version=2016-01-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/operations/8d3fd3bc-527e-47f2-9cef-211d1123c69f?monitor=true&api-version=2016-01-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (StorageManagementClient, 2016-01-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (StorageManagementClient, 2016-01-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:36 GMT",
"date" : "Wed, 24 May 2017 23:25:13 GMT",
"server" : "Microsoft-Azure-Storage-Resource-Provider/1.0",
"content-length" : "762",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14973",
"x-ms-ratelimit-remaining-subscription-reads" : "14998",
"StatusCode" : "200",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "7aa72479-788c-4c07-a1f6-a66dc00df272",
"x-ms-correlation-request-id" : "f4fb3e60-3937-4d7f-955b-b70d3ca5385b",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191536Z:7aa72479-788c-4c07-a1f6-a66dc00df272",
"x-ms-routing-request-id" : "WESTUS:20170524T232513Z:f4fb3e60-3937-4d7f-955b-b70d3ca5385b",
"content-type" : "application/json",
"cache-control" : "no-cache",
"x-ms-request-id" : "7aa72479-788c-4c07-a1f6-a66dc00df272",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Storage/storageAccounts/javasa09722\",\"kind\":\"Storage\",\"location\":\"centralus\",\"name\":\"javasa09722\",\"properties\":{\"creationTime\":\"2017-04-13T19:15:18.8987930Z\",\"primaryEndpoints\":{\"blob\":\"https://javasa09722.blob.core.windows.net/\",\"file\":\"https://javasa09722.file.core.windows.net/\",\"queue\":\"https://javasa09722.queue.core.windows.net/\",\"table\":\"https://javasa09722.table.core.windows.net/\"},\"primaryLocation\":\"centralus\",\"provisioningState\":\"Succeeded\",\"secondaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\",\"statusOfSecondary\":\"available\"},\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n"
"x-ms-request-id" : "f4fb3e60-3937-4d7f-955b-b70d3ca5385b",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Storage/storageAccounts/javasa17181\",\"kind\":\"Storage\",\"location\":\"centralus\",\"name\":\"javasa17181\",\"properties\":{\"creationTime\":\"2017-05-24T23:24:56.1705027Z\",\"primaryEndpoints\":{\"blob\":\"https://javasa17181.blob.core.windows.net/\",\"file\":\"https://javasa17181.file.core.windows.net/\",\"queue\":\"https://javasa17181.queue.core.windows.net/\",\"table\":\"https://javasa17181.table.core.windows.net/\"},\"primaryLocation\":\"centralus\",\"provisioningState\":\"Succeeded\",\"secondaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\",\"statusOfSecondary\":\"available\"},\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n"
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Storage/storageAccounts/javasa09722?api-version=2016-01-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Storage/storageAccounts/javasa17181?api-version=2016-01-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (StorageManagementClient, 2016-01-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (StorageManagementClient, 2016-01-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:36 GMT",
"date" : "Wed, 24 May 2017 23:25:13 GMT",
"server" : "Microsoft-Azure-Storage-Resource-Provider/1.0",
"content-length" : "762",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14972",
"x-ms-ratelimit-remaining-subscription-reads" : "14997",
"StatusCode" : "200",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "fb0c2ef2-792b-4bd5-82ad-3b0e83c85511",
"x-ms-correlation-request-id" : "aa50f31f-8d8b-441c-b8a1-ca75e2f33bf2",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191536Z:fb0c2ef2-792b-4bd5-82ad-3b0e83c85511",
"x-ms-routing-request-id" : "WESTUS:20170524T232513Z:aa50f31f-8d8b-441c-b8a1-ca75e2f33bf2",
"content-type" : "application/json",
"cache-control" : "no-cache",
"x-ms-request-id" : "fb0c2ef2-792b-4bd5-82ad-3b0e83c85511",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Storage/storageAccounts/javasa09722\",\"kind\":\"Storage\",\"location\":\"centralus\",\"name\":\"javasa09722\",\"properties\":{\"creationTime\":\"2017-04-13T19:15:18.8987930Z\",\"primaryEndpoints\":{\"blob\":\"https://javasa09722.blob.core.windows.net/\",\"file\":\"https://javasa09722.file.core.windows.net/\",\"queue\":\"https://javasa09722.queue.core.windows.net/\",\"table\":\"https://javasa09722.table.core.windows.net/\"},\"primaryLocation\":\"centralus\",\"provisioningState\":\"Succeeded\",\"secondaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\",\"statusOfSecondary\":\"available\"},\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n"
"x-ms-request-id" : "aa50f31f-8d8b-441c-b8a1-ca75e2f33bf2",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Storage/storageAccounts/javasa17181\",\"kind\":\"Storage\",\"location\":\"centralus\",\"name\":\"javasa17181\",\"properties\":{\"creationTime\":\"2017-05-24T23:24:56.1705027Z\",\"primaryEndpoints\":{\"blob\":\"https://javasa17181.blob.core.windows.net/\",\"file\":\"https://javasa17181.file.core.windows.net/\",\"queue\":\"https://javasa17181.queue.core.windows.net/\",\"table\":\"https://javasa17181.table.core.windows.net/\"},\"primaryLocation\":\"centralus\",\"provisioningState\":\"Succeeded\",\"secondaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\",\"statusOfSecondary\":\"available\"},\"sku\":{\"name\":\"Standard_GRS\",\"tier\":\"Standard\"},\"tags\":{},\"type\":\"Microsoft.Storage/storageAccounts\"}\n"
}
}, {
"Method" : "PUT",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:38 GMT",
"date" : "Wed, 24 May 2017 23:25:14 GMT",
"content-length" : "0",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1187",
"x-ms-ratelimit-remaining-subscription-writes" : "1197",
"retry-after" : "0",
"request-id" : "9d2550f3-13e5-4013-ba83-7783fea9f7d7",
"request-id" : "dd1babc8-4a00-4b0e-8967-fce40bb29a39",
"StatusCode" : "202",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "cd6bd13f-2c58-4a15-b11f-f2f109204914",
"x-ms-correlation-request-id" : "3e4c6e2e-0528-496a-9001-586b1f52711d",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191539Z:cd6bd13f-2c58-4a15-b11f-f2f109204914",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/operationResults/9d2550f3-13e5-4013-ba83-7783fea9f7d7?api-version=2015-12-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232515Z:3e4c6e2e-0528-496a-9001-586b1f52711d",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/operationResults/dd1babc8-4a00-4b0e-8967-fce40bb29a39?api-version=2017-05-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "cd6bd13f-2c58-4a15-b11f-f2f109204914",
"x-ms-request-id" : "3e4c6e2e-0528-496a-9001-586b1f52711d",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/operationResults/9d2550f3-13e5-4013-ba83-7783fea9f7d7?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/operationResults/dd1babc8-4a00-4b0e-8967-fce40bb29a39?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:38 GMT",
"date" : "Wed, 24 May 2017 23:25:14 GMT",
"content-length" : "0",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"retry-after" : "0",
"request-id" : "74be828b-5ec8-471e-a95c-a715c7c81c37",
"x-ms-ratelimit-remaining-subscription-reads" : "14971",
"request-id" : "3d8731b8-f9eb-405f-8f18-6987bdd41188",
"x-ms-ratelimit-remaining-subscription-reads" : "14996",
"StatusCode" : "202",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "6f99a998-8a69-427e-8e31-535c568106de",
"x-ms-correlation-request-id" : "0eacc4c7-4547-4ba6-bb44-fcc1f585750e",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191539Z:6f99a998-8a69-427e-8e31-535c568106de",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/operationResults/9d2550f3-13e5-4013-ba83-7783fea9f7d7?api-version=2015-12-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232515Z:0eacc4c7-4547-4ba6-bb44-fcc1f585750e",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/operationResults/dd1babc8-4a00-4b0e-8967-fce40bb29a39?api-version=2017-05-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "6f99a998-8a69-427e-8e31-535c568106de",
"x-ms-request-id" : "0eacc4c7-4547-4ba6-bb44-fcc1f585750e",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/operationResults/9d2550f3-13e5-4013-ba83-7783fea9f7d7?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/operationResults/dd1babc8-4a00-4b0e-8967-fce40bb29a39?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:53 GMT",
"date" : "Wed, 24 May 2017 23:25:30 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "633",
"content-length" : "703",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"request-id" : "7f5fd396-fc6c-48a0-92d4-453890b10085",
"x-ms-ratelimit-remaining-subscription-reads" : "14970",
"x-ms-ratelimit-remaining-subscription-reads" : "14995",
"request-id" : "c2c49e77-a0c4-4541-ab0b-8ebaa450711c",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "a5e6081a-f118-485c-ae69-85ecd635c20e",
"last-modified" : "Thu, 13 Apr 2017 19:15:53 GMT",
"x-ms-correlation-request-id" : "bf913ba4-e827-4978-8936-2877829c8692",
"last-modified" : "Wed, 24 May 2017 23:25:31 GMT",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191554Z:a5e6081a-f118-485c-ae69-85ecd635c20e",
"x-ms-routing-request-id" : "WESTUS:20170524T232530Z:bf913ba4-e827-4978-8936-2877829c8692",
"content-type" : "application/json; charset=utf-8",
"etag" : "0x8D482A180F51BA1",
"etag" : "\"0x8D4A2FC2BB79D6A\"",
"cache-control" : "no-cache",
"x-ms-request-id" : "a5e6081a-f118-485c-ae69-85ecd635c20e",
"Body" : "{\"name\":\"javabatch03749\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch03749.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"coreQuota\":20,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Storage/storageAccounts/javasa09722\",\"lastKeySync\":\"2017-04-13T19:15:38.5850923Z\"}},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749\",\"type\":\"Microsoft.Batch/batchAccounts\"}"
"x-ms-request-id" : "bf913ba4-e827-4978-8936-2877829c8692",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223\",\"name\":\"javabatch13223\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch13223.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":20,\"lowPriorityCoreQuota\":50,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Storage/storageAccounts/javasa17181\",\"lastKeySync\":\"2017-05-24T23:25:16.447243Z\"},\"poolAllocationMode\":\"batchservice\"}}"
}
}, {
"Method" : "PUT",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/applications/myApplication?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/applications/myApplication?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:54 GMT",
"date" : "Wed, 24 May 2017 23:25:30 GMT",
"content-length" : "84",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1186",
"x-ms-ratelimit-remaining-subscription-writes" : "1196",
"retry-after" : "0",
"request-id" : "00deb935-936a-4a8d-b7f4-c0eb54b4c43f",
"request-id" : "80344c92-96d0-4064-8f08-2b981f931cc1",
"StatusCode" : "201",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "b169c90c-dc84-42c1-bf01-0d038ec35e2f",
"x-ms-correlation-request-id" : "0e66a06f-c59e-4cab-8c2b-2849e9a9a1ba",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191554Z:b169c90c-dc84-42c1-bf01-0d038ec35e2f",
"x-ms-routing-request-id" : "WESTUS:20170524T232530Z:0e66a06f-c59e-4cab-8c2b-2849e9a9a1ba",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "b169c90c-dc84-42c1-bf01-0d038ec35e2f",
"x-ms-request-id" : "0e66a06f-c59e-4cab-8c2b-2849e9a9a1ba",
"Body" : "{\"id\":\"myApplication\",\"displayName\":\"displayName\",\"packages\":[],\"allowUpdates\":true}"
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:54 GMT",
"date" : "Wed, 24 May 2017 23:25:30 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "645",
"content-length" : "715",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"request-id" : "1f1bd30e-b994-4256-b22f-737ab2ef2470",
"x-ms-ratelimit-remaining-subscription-reads" : "14969",
"x-ms-ratelimit-remaining-subscription-reads" : "14994",
"request-id" : "3ab3aae1-8cf9-4184-8690-15cf10e63f3c",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "da74edd0-39e0-42c7-bf8e-a7cac0229cb1",
"x-ms-correlation-request-id" : "81f6e34f-ccd0-4ca6-a98c-36561cfd7ff3",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191554Z:da74edd0-39e0-42c7-bf8e-a7cac0229cb1",
"x-ms-routing-request-id" : "WESTUS:20170524T232530Z:81f6e34f-ccd0-4ca6-a98c-36561cfd7ff3",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "da74edd0-39e0-42c7-bf8e-a7cac0229cb1",
"Body" : "{\"value\":[{\"name\":\"javabatch03749\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch03749.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"coreQuota\":20,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Storage/storageAccounts/javasa09722\",\"lastKeySync\":\"2017-04-13T19:15:38.5850923Z\"}},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749\",\"type\":\"Microsoft.Batch/batchAccounts\"}]}"
"x-ms-request-id" : "81f6e34f-ccd0-4ca6-a98c-36561cfd7ff3",
"Body" : "{\"value\":[{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223\",\"name\":\"javabatch13223\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch13223.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":20,\"lowPriorityCoreQuota\":50,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Storage/storageAccounts/javasa17181\",\"lastKeySync\":\"2017-05-24T23:25:16.447243Z\"},\"poolAllocationMode\":\"batchservice\"}}]}"
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/applications?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/applications?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:54 GMT",
"date" : "Wed, 24 May 2017 23:25:30 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "96",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"request-id" : "4cd79221-ebb1-4e7b-a801-9d98368c94f3",
"x-ms-ratelimit-remaining-subscription-reads" : "14968",
"x-ms-ratelimit-remaining-subscription-reads" : "14993",
"request-id" : "da2c5000-482c-4767-85d7-59587b24d291",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "e0d84273-eb80-4650-8277-abdbbd0838fa",
"x-ms-correlation-request-id" : "61c67f7e-63cb-426f-a7e1-a8d7dadfa4eb",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191554Z:e0d84273-eb80-4650-8277-abdbbd0838fa",
"x-ms-routing-request-id" : "WESTUS:20170524T232531Z:61c67f7e-63cb-426f-a7e1-a8d7dadfa4eb",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "e0d84273-eb80-4650-8277-abdbbd0838fa",
"x-ms-request-id" : "61c67f7e-63cb-426f-a7e1-a8d7dadfa4eb",
"Body" : "{\"value\":[{\"id\":\"myApplication\",\"displayName\":\"displayName\",\"packages\":[],\"allowUpdates\":true}]}"
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:54 GMT",
"date" : "Wed, 24 May 2017 23:25:30 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "633",
"content-length" : "703",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"request-id" : "2fdfcc38-0d23-4901-9910-28b584000057",
"x-ms-ratelimit-remaining-subscription-reads" : "14967",
"x-ms-ratelimit-remaining-subscription-reads" : "14992",
"request-id" : "afe311f9-f258-4943-95ca-609fbe5a99c3",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "4baa8295-18d8-4dd2-bbf3-a7ce56a8a5d4",
"last-modified" : "Thu, 13 Apr 2017 19:15:53 GMT",
"x-ms-correlation-request-id" : "474efcde-9bc8-4ff5-a64e-437bcd1018b5",
"last-modified" : "Wed, 24 May 2017 23:25:16 GMT",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191554Z:4baa8295-18d8-4dd2-bbf3-a7ce56a8a5d4",
"x-ms-routing-request-id" : "WESTUS:20170524T232531Z:474efcde-9bc8-4ff5-a64e-437bcd1018b5",
"content-type" : "application/json; charset=utf-8",
"etag" : "0x8D482A18158F409",
"etag" : "\"0x8D4A2FC22BED46E\"",
"cache-control" : "no-cache",
"x-ms-request-id" : "4baa8295-18d8-4dd2-bbf3-a7ce56a8a5d4",
"Body" : "{\"name\":\"javabatch03749\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch03749.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"coreQuota\":20,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Storage/storageAccounts/javasa09722\",\"lastKeySync\":\"2017-04-13T19:15:38.5850923Z\"}},\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749\",\"type\":\"Microsoft.Batch/batchAccounts\"}"
"x-ms-request-id" : "474efcde-9bc8-4ff5-a64e-437bcd1018b5",
"Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223\",\"name\":\"javabatch13223\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"centralus\",\"properties\":{\"accountEndpoint\":\"javabatch13223.centralus.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":20,\"lowPriorityCoreQuota\":50,\"poolQuota\":20,\"activeJobAndJobScheduleQuota\":20,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Storage/storageAccounts/javasa17181\",\"lastKeySync\":\"2017-05-24T23:25:16.447243Z\"},\"poolAllocationMode\":\"batchservice\"}}"
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/applications?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/applications?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:54 GMT",
"date" : "Wed, 24 May 2017 23:25:30 GMT",
"server" : "Microsoft-HTTPAPI/2.0",
"content-length" : "96",
"expires" : "-1",
"transfer-encoding" : "chunked",
"vary" : "Accept-Encoding",
"retry-after" : "0",
"request-id" : "8b0bb688-c415-407a-99c0-5c1c321ff239",
"x-ms-ratelimit-remaining-subscription-reads" : "14966",
"x-ms-ratelimit-remaining-subscription-reads" : "14991",
"request-id" : "5623a81f-2785-4225-af59-80d300c3139c",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "a3e051b5-aa1f-415a-b648-77346d9dcd30",
"x-ms-correlation-request-id" : "9f97bddf-c2be-4eba-98b1-6f61f2208f75",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191555Z:a3e051b5-aa1f-415a-b648-77346d9dcd30",
"x-ms-routing-request-id" : "WESTUS:20170524T232531Z:9f97bddf-c2be-4eba-98b1-6f61f2208f75",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "a3e051b5-aa1f-415a-b648-77346d9dcd30",
"x-ms-request-id" : "9f97bddf-c2be-4eba-98b1-6f61f2208f75",
"Body" : "{\"value\":[{\"id\":\"myApplication\",\"displayName\":\"displayName\",\"packages\":[],\"allowUpdates\":true}]}"
}
}, {
"Method" : "DELETE",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:55 GMT",
"date" : "Wed, 24 May 2017 23:25:31 GMT",
"content-length" : "0",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1185",
"x-ms-ratelimit-remaining-subscription-writes" : "1195",
"retry-after" : "0",
"request-id" : "2bc29ba9-8e7b-45f5-9e6b-06eee20e0141",
"request-id" : "7cf47823-3560-48bf-b517-723abb873a0a",
"StatusCode" : "202",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "1e702717-8879-4640-9456-040c7365cf06",
"x-ms-correlation-request-id" : "e7a7bb69-4f4c-4a21-8f60-d3c991df30e9",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191555Z:1e702717-8879-4640-9456-040c7365cf06",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/operationResults/2bc29ba9-8e7b-45f5-9e6b-06eee20e0141?api-version=2015-12-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232532Z:e7a7bb69-4f4c-4a21-8f60-d3c991df30e9",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/operationResults/7cf47823-3560-48bf-b517-723abb873a0a?api-version=2017-05-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "1e702717-8879-4640-9456-040c7365cf06",
"x-ms-request-id" : "e7a7bb69-4f4c-4a21-8f60-d3c991df30e9",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/operationResults/2bc29ba9-8e7b-45f5-9e6b-06eee20e0141?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/operationResults/7cf47823-3560-48bf-b517-723abb873a0a?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:15:55 GMT",
"date" : "Wed, 24 May 2017 23:25:31 GMT",
"content-length" : "0",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"retry-after" : "0",
"request-id" : "f222a458-5916-4c5c-b725-34f86886a1b2",
"x-ms-ratelimit-remaining-subscription-reads" : "14965",
"request-id" : "947fa26d-01ca-45d1-9194-d7a87c1ba5e3",
"x-ms-ratelimit-remaining-subscription-reads" : "14990",
"StatusCode" : "202",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "a7d9e2e1-ec8d-4bd2-add4-d4148e1acc01",
"x-ms-correlation-request-id" : "06be392f-21b1-4bc7-b0fc-faa5d1480837",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191555Z:a7d9e2e1-ec8d-4bd2-add4-d4148e1acc01",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/operationResults/2bc29ba9-8e7b-45f5-9e6b-06eee20e0141?api-version=2015-12-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232532Z:06be392f-21b1-4bc7-b0fc-faa5d1480837",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/operationResults/7cf47823-3560-48bf-b517-723abb873a0a?api-version=2017-05-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "a7d9e2e1-ec8d-4bd2-add4-d4148e1acc01",
"x-ms-request-id" : "06be392f-21b1-4bc7-b0fc-faa5d1480837",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749/operationResults/2bc29ba9-8e7b-45f5-9e6b-06eee20e0141?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223/operationResults/7cf47823-3560-48bf-b517-723abb873a0a?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:16:10 GMT",
"date" : "Wed, 24 May 2017 23:25:46 GMT",
"content-length" : "0",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"retry-after" : "0",
"request-id" : "77bfba8b-d585-4316-b434-6009e98845c6",
"x-ms-ratelimit-remaining-subscription-reads" : "14964",
"request-id" : "cbf67228-fdc4-40f0-bf27-d541c2dc8163",
"x-ms-ratelimit-remaining-subscription-reads" : "14989",
"StatusCode" : "200",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "664d9de4-a506-4490-a596-22807b210f4e",
"last-modified" : "Thu, 13 Apr 2017 19:16:09 GMT",
"x-ms-correlation-request-id" : "aa089a24-5d9e-40a1-9cbd-57ab23660a7b",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191610Z:664d9de4-a506-4490-a596-22807b210f4e",
"etag" : "0x8D482A18AAF2D3B",
"x-ms-routing-request-id" : "WESTUS:20170524T232547Z:aa089a24-5d9e-40a1-9cbd-57ab23660a7b",
"cache-control" : "no-cache",
"x-ms-request-id" : "664d9de4-a506-4490-a596-22807b210f4e",
"x-ms-request-id" : "aa089a24-5d9e-40a1-9cbd-57ab23660a7b",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrg53345018/providers/Microsoft.Batch/batchAccounts/javabatch03749?api-version=2015-12-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javabatchrgd3067507/providers/Microsoft.Batch/batchAccounts/javabatch13223?api-version=2017-05-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (BatchManagementClient, 2015-12-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (BatchManagementClient, 2017-05-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:16:10 GMT",
"content-length" : "183",
"date" : "Wed, 24 May 2017 23:25:46 GMT",
"content-length" : "193",
"server" : "Microsoft-HTTPAPI/2.0",
"expires" : "-1",
"retry-after" : "0",
"request-id" : "77cd5bd2-6c36-4af9-aa02-285ebe5c2ff4",
"x-ms-ratelimit-remaining-subscription-reads" : "14963",
"x-ms-ratelimit-remaining-subscription-reads" : "14988",
"request-id" : "51733038-50ff-497e-8d71-4c0fb7e95166",
"StatusCode" : "404",
"pragma" : "no-cache",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-correlation-request-id" : "9c6f6657-612a-44f7-ac2d-f34ff960a57d",
"x-ms-correlation-request-id" : "60182ada-1ae3-4dc0-91be-5e00b8281a4d",
"x-content-type-options" : "nosniff",
"x-ms-routing-request-id" : "WESTUS2:20170413T191611Z:9c6f6657-612a-44f7-ac2d-f34ff960a57d",
"x-ms-routing-request-id" : "WESTUS:20170524T232547Z:60182ada-1ae3-4dc0-91be-5e00b8281a4d",
"content-type" : "application/json; charset=utf-8",
"cache-control" : "no-cache",
"x-ms-request-id" : "9c6f6657-612a-44f7-ac2d-f34ff960a57d",
"Body" : "{\"code\":\"AccountNotFound\",\"message\":\"The specified account does not exist.\\nRequestId:77cd5bd2-6c36-4af9-aa02-285ebe5c2ff4\\nTime:2017-04-13T19:16:09.7127742Z\",\"target\":\"BatchAccount\"}"
"x-ms-request-id" : "60182ada-1ae3-4dc0-91be-5e00b8281a4d",
"Body" : "{\"error\":{\"code\":\"AccountNotFound\",\"message\":\"The specified account does not exist.\\nRequestId:51733038-50ff-497e-8d71-4c0fb7e95166\\nTime:2017-05-24T23:25:48.3595826Z\",\"target\":\"BatchAccount\"}}"
}
}, {
"Method" : "DELETE",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javabatchrg53345018?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javabatchrgd3067507?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)",
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:16:11 GMT",
"date" : "Wed, 24 May 2017 23:25:47 GMT",
"content-length" : "0",
"expires" : "-1",
"x-ms-ratelimit-remaining-subscription-writes" : "1184",
"x-ms-ratelimit-remaining-subscription-writes" : "1194",
"retry-after" : "0",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "d39e8dac-8eb8-40d5-9259-7af2392ddd1d",
"x-ms-correlation-request-id" : "ef3a58c5-2d41-4769-921b-5ececd1d0650",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191611Z:d39e8dac-8eb8-40d5-9259-7af2392ddd1d",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232548Z:ef3a58c5-2d41-4769-921b-5ececd1d0650",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "d39e8dac-8eb8-40d5-9259-7af2392ddd1d",
"x-ms-request-id" : "ef3a58c5-2d41-4769-921b-5ececd1d0650",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:16:11 GMT",
"date" : "Wed, 24 May 2017 23:25:47 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14962",
"x-ms-ratelimit-remaining-subscription-reads" : "14987",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "6e40c84e-a3c5-4154-8091-5239ee65c349",
"x-ms-correlation-request-id" : "d0b8719a-1cb6-4487-a890-d28d662a0feb",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191612Z:6e40c84e-a3c5-4154-8091-5239ee65c349",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232548Z:d0b8719a-1cb6-4487-a890-d28d662a0feb",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "6e40c84e-a3c5-4154-8091-5239ee65c349",
"x-ms-request-id" : "d0b8719a-1cb6-4487-a890-d28d662a0feb",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:16:26 GMT",
"date" : "Wed, 24 May 2017 23:26:02 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14961",
"x-ms-ratelimit-remaining-subscription-reads" : "14986",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "78fd0070-bc23-4f98-8c9f-2f5ab3057eb8",
"x-ms-correlation-request-id" : "d8a0abb8-2c9b-4dc3-832a-0c489f2aafcc",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191627Z:78fd0070-bc23-4f98-8c9f-2f5ab3057eb8",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232603Z:d8a0abb8-2c9b-4dc3-832a-0c489f2aafcc",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "78fd0070-bc23-4f98-8c9f-2f5ab3057eb8",
"x-ms-request-id" : "d8a0abb8-2c9b-4dc3-832a-0c489f2aafcc",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:16:41 GMT",
"date" : "Wed, 24 May 2017 23:26:17 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14960",
"x-ms-ratelimit-remaining-subscription-reads" : "14985",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "c993966c-31dc-4102-ad53-3e89b3ac203d",
"x-ms-correlation-request-id" : "c1c6c3b1-38ea-4807-85ec-b8dbcb5ef43f",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191642Z:c993966c-31dc-4102-ad53-3e89b3ac203d",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232618Z:c1c6c3b1-38ea-4807-85ec-b8dbcb5ef43f",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "c993966c-31dc-4102-ad53-3e89b3ac203d",
"x-ms-request-id" : "c1c6c3b1-38ea-4807-85ec-b8dbcb5ef43f",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:16:57 GMT",
"date" : "Wed, 24 May 2017 23:26:33 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14959",
"x-ms-ratelimit-remaining-subscription-reads" : "14984",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "9d0671f0-d34a-4366-a303-beaf230b254f",
"x-ms-correlation-request-id" : "9516a9d4-098d-4b21-9505-01958df4e4c1",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191657Z:9d0671f0-d34a-4366-a303-beaf230b254f",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232633Z:9516a9d4-098d-4b21-9505-01958df4e4c1",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "9d0671f0-d34a-4366-a303-beaf230b254f",
"x-ms-request-id" : "9516a9d4-098d-4b21-9505-01958df4e4c1",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:17:12 GMT",
"date" : "Wed, 24 May 2017 23:26:48 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14957",
"x-ms-ratelimit-remaining-subscription-reads" : "14983",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "eb72f8d3-554a-4907-b171-090d9b4b8b0d",
"x-ms-correlation-request-id" : "274c1438-0cca-49cf-bd92-f51237370251",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191712Z:eb72f8d3-554a-4907-b171-090d9b4b8b0d",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232648Z:274c1438-0cca-49cf-bd92-f51237370251",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "eb72f8d3-554a-4907-b171-090d9b4b8b0d",
"x-ms-request-id" : "274c1438-0cca-49cf-bd92-f51237370251",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:17:27 GMT",
"date" : "Wed, 24 May 2017 23:27:03 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14956",
"x-ms-ratelimit-remaining-subscription-reads" : "14982",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "48ffc2fb-4880-4f0e-a1d5-5fee608752fd",
"x-ms-correlation-request-id" : "0d11c8a4-8757-49c6-9f2f-1a0a74ca3e02",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191727Z:48ffc2fb-4880-4f0e-a1d5-5fee608752fd",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232703Z:0d11c8a4-8757-49c6-9f2f-1a0a74ca3e02",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "48ffc2fb-4880-4f0e-a1d5-5fee608752fd",
"x-ms-request-id" : "0d11c8a4-8757-49c6-9f2f-1a0a74ca3e02",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:17:42 GMT",
"date" : "Wed, 24 May 2017 23:27:18 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14954",
"x-ms-ratelimit-remaining-subscription-reads" : "14981",
"StatusCode" : "202",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "a6fff6c6-03f3-441c-b74d-22469dc88dc5",
"x-ms-correlation-request-id" : "2ad9d026-2367-4b41-9b7d-4c29327e4354",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191742Z:a6fff6c6-03f3-441c-b74d-22469dc88dc5",
"location" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"x-ms-routing-request-id" : "WESTUS:20170524T232719Z:2ad9d026-2367-4b41-9b7d-4c29327e4354",
"location" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"cache-control" : "no-cache",
"x-ms-request-id" : "a6fff6c6-03f3-441c-b74d-22469dc88dc5",
"x-ms-request-id" : "2ad9d026-2367-4b41-9b7d-4c29327e4354",
"Body" : ""
}
}, {
"Method" : "GET",
"Uri" : "http://localhost:3000/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSRzUzMzQ1MDE4LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Uri" : "http://localhost:12959/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQkFUQ0hSR0QzMDY3NTA3LUNFTlRSQUxVUyIsImpvYkxvY2F0aW9uIjoiY2VudHJhbHVzIn0?api-version=2016-09-01",
"Headers" : {
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:bc6bbe6f340c6a21e215ca50c26fb109d1a15109103fbef250b01e8bb30bdae6 (ResourceManagementClient, 2016-09-01)"
"User-Agent" : "Azure-SDK-For-Java/null OS:Windows 8.1/6.3 MacAddressHash:f82fa839f6b46fd84edc56e01cf7c8c6d4faaa2190534aff5c1d17095f0a3c13 (ResourceManagementClient, 2016-09-01)"
},
"Response" : {
"date" : "Thu, 13 Apr 2017 19:17:57 GMT",
"date" : "Wed, 24 May 2017 23:27:33 GMT",
"content-length" : "0",
"expires" : "-1",
"retry-after" : "0",
"x-ms-ratelimit-remaining-subscription-reads" : "14953",
"x-ms-ratelimit-remaining-subscription-reads" : "14980",
"StatusCode" : "200",
"pragma" : "no-cache",
"x-ms-correlation-request-id" : "ed12dde5-e33d-48ad-b7ae-268ae65f416e",
"x-ms-correlation-request-id" : "0badf8af-a90b-408e-b228-9498689d4960",
"strict-transport-security" : "max-age=31536000; includeSubDomains",
"x-ms-routing-request-id" : "WESTUS2:20170413T191757Z:ed12dde5-e33d-48ad-b7ae-268ae65f416e",
"x-ms-routing-request-id" : "WESTUS:20170524T232734Z:0badf8af-a90b-408e-b228-9498689d4960",
"cache-control" : "no-cache",
"x-ms-request-id" : "ed12dde5-e33d-48ad-b7ae-268ae65f416e",
"x-ms-request-id" : "0badf8af-a90b-408e-b228-9498689d4960",
"Body" : ""
}
} ],
"variables" : [ "javabatchrg53345018", "javabatch03749", "javasa09722" ]
"variables" : [ "javabatchrgd3067507", "javabatch13223", "javasa17181" ]
}

Просмотреть файл

@ -4,7 +4,7 @@
<parent>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-parent</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
@ -26,7 +26,7 @@
<scm>
<url>scm:git:https://github.com/Azure/azure-sdk-for-java</url>
<connection>scm:git:git@github.com:Azure/azure-sdk-for-java.git</connection>
<tag>v1.0.0</tag>
<tag>v1.1.0</tag>
</scm>
<properties>
@ -49,7 +49,7 @@
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-resources</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
@ -61,15 +61,10 @@
<artifactId>azure-client-authentication</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-annotations</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-mgmt-storage</artifactId>
<version>1.0.0</version>
<version>1.1.0</version>
<scope>test</scope>
</dependency>
</dependencies>

Просмотреть файл

@ -7,7 +7,6 @@
package com.microsoft.azure.management.cdn;
import com.microsoft.azure.PagedList;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.apigeneration.Method;
import com.microsoft.azure.management.cdn.implementation.EndpointInner;
@ -20,7 +19,9 @@ import com.microsoft.rest.ServiceFuture;
import rx.Completable;
import rx.Observable;
import java.util.Collection;
import java.util.List;
import java.util.Set;
/**
* An immutable client-side representation of an Azure CDN endpoint.
@ -41,10 +42,9 @@ public interface CdnEndpoint extends
String originPath();
/**
* @return list of content types to be compressed
* @return content types to be compressed
*/
@Beta // TODO: This should be Set<String>
List<String> contentTypesToCompress();
Set<String> contentTypesToCompress();
/**
* @return true if content compression is enabled, otherwise false
@ -74,6 +74,7 @@ public interface CdnEndpoint extends
/**
* @return list of Geo filters
*/
//TODO: This should be Collection<GeoFilter> in the next major update
List<GeoFilter> geoFilters();
/**
@ -107,10 +108,9 @@ public interface CdnEndpoint extends
int httpsPort();
/**
* @return list of custom domains associated with this endpoint
* @return custom domains associated with this endpoint
*/
@Beta // TODO: This should be Set<String>
List<String> customDomains();
Set<String> customDomains();
/**
* Starts the CDN endpoint, if it is stopped.
@ -122,7 +122,6 @@ public interface CdnEndpoint extends
*
* @return a representation of the deferred computation of this call
*/
@Beta
Completable startAsync();
/**
@ -131,7 +130,6 @@ public interface CdnEndpoint extends
* @param callback the callback to call on success or failure
* @return a handle to cancel the request
*/
@Beta
ServiceFuture<Void> startAsync(ServiceCallback<Void> callback);
/**
@ -144,7 +142,6 @@ public interface CdnEndpoint extends
*
* @return a representation of the deferred computation of this call
*/
@Beta
Completable stopAsync();
@ -154,7 +151,6 @@ public interface CdnEndpoint extends
* @param callback the callback to call on success or failure
* @return a handle to cancel the request
*/
@Beta
ServiceFuture<Void> stopAsync(ServiceCallback<Void> callback);
/**
@ -162,8 +158,7 @@ public interface CdnEndpoint extends
*
* @param contentPaths the paths to the content to be purged, which can be file paths or directory wild cards.
*/
@Beta // TODO: should take a Set<String>
void purgeContent(List<String> contentPaths);
void purgeContent(Set<String> contentPaths);
/**
* Forcibly purges the content of the CDN endpoint asynchronously.
@ -171,8 +166,7 @@ public interface CdnEndpoint extends
* @param contentPaths the paths to the content to be purged, which can be file paths or directory wild cards.
* @return a representation of the deferred computation of this call
*/
@Beta // TODO: should take a Set<String>
Completable purgeContentAsync(List<String> contentPaths);
Completable purgeContentAsync(Set<String> contentPaths);
/**
* Forcibly purges the content of the CDN endpoint asynchronously.
@ -181,8 +175,7 @@ public interface CdnEndpoint extends
* @param callback the callback to call on success or failure
* @return a handle to cancel the request
*/
@Beta // TODO: should take a Set<String>
ServiceFuture<Void> purgeContentAsync(List<String> contentPaths, ServiceCallback<Void> callback);
ServiceFuture<Void> purgeContentAsync(Set<String> contentPaths, ServiceCallback<Void> callback);
/**
* Forcibly preloads the content of the CDN endpoint.
@ -191,8 +184,7 @@ public interface CdnEndpoint extends
*
* @param contentPaths the file paths to the content to be loaded
*/
@Beta // TODO: should take a Set<String>
void loadContent(List<String> contentPaths);
void loadContent(Set<String> contentPaths);
/**
* Forcibly preloads the content of the CDN endpoint asynchronously.
@ -202,8 +194,7 @@ public interface CdnEndpoint extends
* @param contentPaths the file paths to the content to be loaded
* @return a representation of the deferred computation of this call
*/
@Beta // TODO: should take a Set<String>
Completable loadContentAsync(List<String> contentPaths);
Completable loadContentAsync(Set<String> contentPaths);
/**
* Forcibly preloads the content of the CDN endpoint asynchronously.
@ -214,8 +205,7 @@ public interface CdnEndpoint extends
* @param callback the callback to call on success or failure
* @return a handle to cancel the request
*/
@Beta // TODO: should take a Set<String> instead List<String>
ServiceFuture<Void> loadContentAsync(List<String> contentPaths, ServiceCallback<Void> callback);
ServiceFuture<Void> loadContentAsync(Set<String> contentPaths, ServiceCallback<Void> callback);
/**
* Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS for current endpoint.
@ -231,7 +221,6 @@ public interface CdnEndpoint extends
* @param hostName the host name, which must be a domain name, of the custom domain
* @return an observable of the result
*/
@Beta
Observable<CustomDomainValidationResult> validateCustomDomainAsync(String hostName);
/**
@ -241,7 +230,6 @@ public interface CdnEndpoint extends
* @param callback the callback to call on success or failure
* @return a handle to cancel the request
*/
@Beta
ServiceFuture<CustomDomainValidationResult> validateCustomDomainAsync(String hostName, ServiceCallback<CustomDomainValidationResult> callback);
/**
@ -369,11 +357,10 @@ public interface CdnEndpoint extends
/**
* Specifies the content types to compress.
*
* @param contentTypesToCompress the list of content types to compress to set
* @param contentTypesToCompress content types to compress to set
* @return the next stage of the definition
*/
@Beta // This should take Set<String>
WithStandardAttach<ParentT> withContentTypesToCompress(List<String> contentTypesToCompress);
WithStandardAttach<ParentT> withContentTypesToCompress(Set<String> contentTypesToCompress);
/**
* Specifies a single content type to compress.
@ -392,7 +379,7 @@ public interface CdnEndpoint extends
WithStandardAttach<ParentT> withCompressionEnabled(boolean compressionEnabled);
/**
* Sets the query string caching behavior.
* Selects the query string caching behavior.
*
* @param cachingBehavior the query string caching behavior value to set
* @return the next stage of the definition
@ -400,13 +387,12 @@ public interface CdnEndpoint extends
WithStandardAttach<ParentT> withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior);
/**
* Sets the geo filters list.
* Specifies the geo filters to use.
*
* @param geoFilters the Geo filters list to set
* @param geoFilters geo filters
* @return the next stage of the definition
*/
@Beta // TODO: this should take Set<String>
WithStandardAttach<ParentT> withGeoFilters(List<GeoFilter> geoFilters);
WithStandardAttach<ParentT> withGeoFilters(Collection<GeoFilter> geoFilters);
/**
* Adds a single entry to the geo filters list.
@ -426,8 +412,7 @@ public interface CdnEndpoint extends
* @param countryCodes a list of the ISO 2 letter country codes.
* @return the next stage of the definition
*/
@Beta //TODO: contryCodes should be Set<CountryIsoCode>
WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, List<CountryIsoCode> countryCodes);
WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes);
/**
* Adds a new CDN custom domain within an endpoint.
@ -652,11 +637,10 @@ public interface CdnEndpoint extends
/**
* Specifies the content types to compress.
*
* @param contentTypesToCompress the list of content types to compress to set
* @param contentTypesToCompress content types to compress to set
* @return the next stage of the definition
*/
@Beta // TODO: this should take Set<String>
WithStandardAttach<ParentT> withContentTypesToCompress(List<String> contentTypesToCompress);
WithStandardAttach<ParentT> withContentTypesToCompress(Set<String> contentTypesToCompress);
/**
* Specifies a single content type to compress.
@ -683,13 +667,12 @@ public interface CdnEndpoint extends
WithStandardAttach<ParentT> withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior);
/**
* Sets the geo filters list.
* Specifies the geo filters to use.
*
* @param geoFilters the Geo filters list to set
* @param geoFilters geo filters
* @return the next stage of the definition
*/
@Beta // TODO: This should be Set<String>
WithStandardAttach<ParentT> withGeoFilters(List<GeoFilter> geoFilters);
WithStandardAttach<ParentT> withGeoFilters(Collection<GeoFilter> geoFilters);
/**
* Adds a single entry to the geo filters list.
@ -709,8 +692,7 @@ public interface CdnEndpoint extends
* @param countryCodes a list of ISO 2 letter country codes
* @return the next stage of the definition
*/
@Beta // TODO: countryCodes should be Set<>
WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, List<CountryIsoCode> countryCodes);
WithStandardAttach<ParentT> withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes);
/**
* Adds a new CDN custom domain within an endpoint.
@ -872,11 +854,10 @@ public interface CdnEndpoint extends
/**
* Specifies the content types to compress.
*
* @param contentTypesToCompress the list of content types to compress to set
* @param contentTypesToCompress content types to compress to set
* @return the next stage of the definition
*/
@Beta // TODO: should take Set<String>
UpdateStandardEndpoint withContentTypesToCompress(List<String> contentTypesToCompress);
UpdateStandardEndpoint withContentTypesToCompress(Set<String> contentTypesToCompress);
/**
* Clears entire list of content types to compress.
@ -919,14 +900,12 @@ public interface CdnEndpoint extends
UpdateStandardEndpoint withQueryStringCachingBehavior(QueryStringCachingBehavior cachingBehavior);
/**
* Sets the geo filters list.
* Specifies the geo filters to use.
*
* @param geoFilters a geo filters list
* @param geoFilters geo filters
* @return the next stage of the definition
*/
// TODO: Set<GeoFilter>?
@Beta
UpdateStandardEndpoint withGeoFilters(List<GeoFilter> geoFilters);
UpdateStandardEndpoint withGeoFilters(Collection<GeoFilter> geoFilters);
/**
* Clears entire geo filters list.
@ -953,8 +932,7 @@ public interface CdnEndpoint extends
* @param countryCodes a list of ISO 2 letter country codes
* @return the next stage of the definition
*/
@Beta // TODO: Set<CountryIsoCode>
UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, List<CountryIsoCode> countryCodes);
UpdateStandardEndpoint withGeoFilter(String relativePath, GeoFilterActions action, Collection<CountryIsoCode> countryCodes);
/**
* Removes an entry from the geo filters list.

Просмотреть файл

@ -23,8 +23,8 @@ import com.microsoft.rest.ServiceFuture;
import rx.Completable;
import rx.Observable;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* An immutable client-side representation of an Azure CDN profile.
@ -64,7 +64,6 @@ public interface CdnProfile extends
* @return Observable to URI used to login to third party web portal
*/
@Method
@Beta
Observable<String> generateSsoUriAsync();
/**
@ -74,7 +73,6 @@ public interface CdnProfile extends
* @return a handle to cancel the request
*/
@Method
@Beta
ServiceFuture<String> generateSsoUriAsync(ServiceCallback<String> callback);
/**
@ -90,7 +88,6 @@ public interface CdnProfile extends
* @param endpointName a name of an endpoint under the profile
* @return a representation of the deferred computation of this call
*/
@Beta
Completable startEndpointAsync(String endpointName);
/**
@ -100,7 +97,6 @@ public interface CdnProfile extends
* @param callback the callback to call on success or failure
* @return a representation of the deferred computation of this call
*/
@Beta
ServiceFuture<Void> startEndpointAsync(String endpointName, ServiceCallback<Void> callback);
/**
@ -116,7 +112,6 @@ public interface CdnProfile extends
* @param endpointName a name of an endpoint under the profile
* @return a representation of the deferred computation of this call
*/
@Beta
Completable stopEndpointAsync(String endpointName);
/**
@ -126,7 +121,6 @@ public interface CdnProfile extends
* @param callback the callback to call on success or failure
* @return a representation of the deferred computation of this call
*/
@Beta
ServiceFuture<Void> stopEndpointAsync(String endpointName, ServiceCallback<Void> callback);
/**
@ -135,8 +129,7 @@ public interface CdnProfile extends
* @param endpointName a name of the endpoint under the profile
* @param contentPaths the paths to the content to be purged, which can be file paths or directory wild cards
*/
@Beta // TODO: contentPaths should be Set<String>
void purgeEndpointContent(String endpointName, List<String> contentPaths);
void purgeEndpointContent(String endpointName, Set<String> contentPaths);
/**
* Forcibly purges CDN endpoint content in the CDN profile asynchronously.
@ -145,8 +138,7 @@ public interface CdnProfile extends
* @param contentPaths the paths to the content to be purged, which can be file paths or directory wild cards
* @return a representation of the deferred computation of this call
*/
@Beta // TODO: contentPaths should be Set<String>
Completable purgeEndpointContentAsync(String endpointName, List<String> contentPaths);
Completable purgeEndpointContentAsync(String endpointName, Set<String> contentPaths);
/**
* Forcibly purges CDN endpoint content in the CDN profile asynchronously.
@ -156,8 +148,7 @@ public interface CdnProfile extends
* @param callback the callback to call on success or failure
* @return a representation of the deferred computation of this call
*/
@Beta // TODO: contentPaths should be Set<String>
ServiceFuture<Void> purgeEndpointContentAsync(String endpointName, List<String> contentPaths, ServiceCallback<Void> callback);
ServiceFuture<Void> purgeEndpointContentAsync(String endpointName, Set<String> contentPaths, ServiceCallback<Void> callback);
/**
* Forcibly pre-loads CDN endpoint content in the CDN profile.
@ -167,8 +158,7 @@ public interface CdnProfile extends
* @param endpointName a name of the endpoint under the profile
* @param contentPaths the paths to the content to be purged, which can be file paths or directory wild cards
*/
@Beta // TODO: contentPaths should be Set<String>
void loadEndpointContent(String endpointName, List<String> contentPaths);
void loadEndpointContent(String endpointName, Set<String> contentPaths);
/**
* Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.
@ -179,8 +169,7 @@ public interface CdnProfile extends
* @param contentPaths the paths to the content to be purged, which can be file paths or directory wild cards
* @return a representation of the deferred computation of this call
*/
@Beta // TODO: contentPaths should be Set<String>
Completable loadEndpointContentAsync(String endpointName, List<String> contentPaths);
Completable loadEndpointContentAsync(String endpointName, Set<String> contentPaths);
/**
* Forcibly pre-loads CDN endpoint content in the CDN profile asynchronously.
@ -192,8 +181,7 @@ public interface CdnProfile extends
* @param callback the callback to call on success or failure
* @return a representation of the deferred computation of this call
*/
@Beta // TODO: contentPaths should be Set<String>
ServiceFuture<Void> loadEndpointContentAsync(String endpointName, List<String> contentPaths, ServiceCallback<Void> callback);
ServiceFuture<Void> loadEndpointContentAsync(String endpointName, Set<String> contentPaths, ServiceCallback<Void> callback);
/**
* Validates a custom domain mapping to ensure it maps to the correct CNAME in DNS in current profile.
@ -211,7 +199,6 @@ public interface CdnProfile extends
* @param hostName the host name of the custom domain, which must be a domain name
* @return the Observable to CustomDomainValidationResult object if successful
*/
@Beta
Observable<CustomDomainValidationResult> validateEndpointCustomDomainAsync(String endpointName, String hostName);
@ -223,7 +210,6 @@ public interface CdnProfile extends
* @param callback the callback to call on success or failure
* @return a representation of the deferred computation of this call
*/
@Beta
ServiceFuture<CustomDomainValidationResult> validateEndpointCustomDomainAsync(String endpointName, String hostName, ServiceCallback<CustomDomainValidationResult> callback);
/**
@ -238,9 +224,8 @@ public interface CdnProfile extends
* Checks the availability of an endpoint name without creating the CDN endpoint asynchronously.
*
* @param name the endpoint resource name to validate.
* @return the Observable of the result if successful
* @return a representation of the deferred computation of this call
*/
@Beta
Observable<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name);
/**
@ -250,7 +235,6 @@ public interface CdnProfile extends
* @param callback the callback to call on success or failure
* @return a representation of the deferred computation of this call
*/
@Beta
ServiceFuture<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback);
/**

Просмотреть файл

@ -7,7 +7,6 @@
package com.microsoft.azure.management.cdn;
import com.microsoft.azure.PagedList;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.cdn.implementation.CdnManager;
import com.microsoft.azure.management.cdn.implementation.ProfilesInner;
@ -70,9 +69,8 @@ public interface CdnProfiles extends
* Checks the availability of a endpoint name without creating the CDN endpoint asynchronously.
*
* @param name the endpoint resource name to validate.
* @return the Observable to CheckNameAvailabilityResult object if successful.
* @return a representation of the deferred computation of this call
*/
@Beta
Observable<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name);
/**
@ -82,7 +80,6 @@ public interface CdnProfiles extends
* @param callback the callback to call on success or failure
* @return a representation of the deferred computation of this call
*/
@Beta
ServiceFuture<CheckNameAvailabilityResult> checkEndpointNameAvailabilityAsync(String name, ServiceCallback<CheckNameAvailabilityResult> callback);
/**

Просмотреть файл

@ -16,7 +16,7 @@ import java.util.Map;
/**
* Provides information about edge node of CDN service.
*/
@LangDefinition
@LangDefinition(ContainerName = "/Microsoft.Azure.Management.Cdn.Fluent.Models")
public class EdgeNode {
private EdgeNodeInner inner;

Просмотреть файл

@ -13,7 +13,7 @@ import com.microsoft.azure.management.cdn.implementation.ResourceUsageInner;
/**
* Provides information about CDN resource usages.
*/
@LangDefinition
@LangDefinition(ContainerName = "/Microsoft.Azure.Management.Cdn.Fluent.Models")
public class ResourceUsage {
private ResourceUsageInner inner;

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше