diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceCertificateOrderPatchResource.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceCertificateOrderPatchResource.java new file mode 100644 index 00000000000..001fec570ff --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceCertificateOrderPatchResource.java @@ -0,0 +1,391 @@ +/** + * 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.web; + +import java.util.Map; +import org.joda.time.DateTime; +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * ARM resource for a certificate order that is purchased through Azure. + */ +@JsonFlatten +public class AppServiceCertificateOrderPatchResource extends ProxyOnlyResource { + /** + * State of the Key Vault secret. + */ + @JsonProperty(value = "properties.certificates") + private Map certificates; + + /** + * Certificate distinguished name. + */ + @JsonProperty(value = "properties.distinguishedName") + private String distinguishedName; + + /** + * Domain verification token. + */ + @JsonProperty(value = "properties.domainVerificationToken", access = JsonProperty.Access.WRITE_ONLY) + private String domainVerificationToken; + + /** + * Duration in years (must be between 1 and 3). + */ + @JsonProperty(value = "properties.validityInYears") + private Integer validityInYears; + + /** + * Certificate key size. + */ + @JsonProperty(value = "properties.keySize") + private Integer keySize; + + /** + * Certificate product type. Possible values include: + * 'StandardDomainValidatedSsl', 'StandardDomainValidatedWildCardSsl'. + */ + @JsonProperty(value = "properties.productType", required = true) + private CertificateProductType productType; + + /** + * <code>true</code> if the certificate should be automatically + * renewed when it expires; otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.autoRenew") + private Boolean autoRenew; + + /** + * Status of certificate order. Possible values include: 'Succeeded', + * 'Failed', 'Canceled', 'InProgress', 'Deleting'. + */ + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private ProvisioningState provisioningState; + + /** + * Current order status. Possible values include: 'Pendingissuance', + * 'Issued', 'Revoked', 'Canceled', 'Denied', 'Pendingrevocation', + * 'PendingRekey', 'Unused', 'Expired', 'NotSubmitted'. + */ + @JsonProperty(value = "properties.status", access = JsonProperty.Access.WRITE_ONLY) + private CertificateOrderStatus status; + + /** + * Signed certificate. + */ + @JsonProperty(value = "properties.signedCertificate", access = JsonProperty.Access.WRITE_ONLY) + private CertificateDetails signedCertificate; + + /** + * Last CSR that was created for this order. + */ + @JsonProperty(value = "properties.csr") + private String csr; + + /** + * Intermediate certificate. + */ + @JsonProperty(value = "properties.intermediate", access = JsonProperty.Access.WRITE_ONLY) + private CertificateDetails intermediate; + + /** + * Root certificate. + */ + @JsonProperty(value = "properties.root", access = JsonProperty.Access.WRITE_ONLY) + private CertificateDetails root; + + /** + * Current serial number of the certificate. + */ + @JsonProperty(value = "properties.serialNumber", access = JsonProperty.Access.WRITE_ONLY) + private String serialNumber; + + /** + * Certificate last issuance time. + */ + @JsonProperty(value = "properties.lastCertificateIssuanceTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastCertificateIssuanceTime; + + /** + * Certificate expiration time. + */ + @JsonProperty(value = "properties.expirationTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime expirationTime; + + /** + * <code>true</code> if private key is external; otherwise, + * <code>false</code>. + */ + @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", access = JsonProperty.Access.WRITE_ONLY) + private List 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 certificates() { + return this.certificates; + } + + /** + * Set the certificates value. + * + * @param certificates the certificates value to set + * @return the AppServiceCertificateOrderPatchResource object itself. + */ + public AppServiceCertificateOrderPatchResource withCertificates(Map certificates) { + this.certificates = certificates; + 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 AppServiceCertificateOrderPatchResource object itself. + */ + public AppServiceCertificateOrderPatchResource withDistinguishedName(String distinguishedName) { + this.distinguishedName = distinguishedName; + return this; + } + + /** + * Get the domainVerificationToken value. + * + * @return the domainVerificationToken value + */ + public String domainVerificationToken() { + return this.domainVerificationToken; + } + + /** + * Get the validityInYears value. + * + * @return the validityInYears value + */ + public Integer validityInYears() { + return this.validityInYears; + } + + /** + * Set the validityInYears value. + * + * @param validityInYears the validityInYears value to set + * @return the AppServiceCertificateOrderPatchResource object itself. + */ + public AppServiceCertificateOrderPatchResource withValidityInYears(Integer validityInYears) { + this.validityInYears = validityInYears; + return this; + } + + /** + * Get the keySize value. + * + * @return the keySize value + */ + public Integer keySize() { + return this.keySize; + } + + /** + * Set the keySize value. + * + * @param keySize the keySize value to set + * @return the AppServiceCertificateOrderPatchResource object itself. + */ + public AppServiceCertificateOrderPatchResource withKeySize(Integer keySize) { + this.keySize = keySize; + return this; + } + + /** + * Get the productType value. + * + * @return the productType value + */ + public CertificateProductType productType() { + return this.productType; + } + + /** + * Set the productType value. + * + * @param productType the productType value to set + * @return the AppServiceCertificateOrderPatchResource object itself. + */ + public AppServiceCertificateOrderPatchResource withProductType(CertificateProductType productType) { + this.productType = productType; + return this; + } + + /** + * Get the autoRenew value. + * + * @return the autoRenew value + */ + public Boolean autoRenew() { + return this.autoRenew; + } + + /** + * Set the autoRenew value. + * + * @param autoRenew the autoRenew value to set + * @return the AppServiceCertificateOrderPatchResource object itself. + */ + public AppServiceCertificateOrderPatchResource withAutoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + return this; + } + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public ProvisioningState provisioningState() { + return this.provisioningState; + } + + /** + * Get the status value. + * + * @return the status value + */ + public CertificateOrderStatus status() { + return this.status; + } + + /** + * Get the signedCertificate value. + * + * @return the signedCertificate value + */ + public CertificateDetails signedCertificate() { + return this.signedCertificate; + } + + /** + * Get the csr value. + * + * @return the csr value + */ + public String csr() { + return this.csr; + } + + /** + * Set the csr value. + * + * @param csr the csr value to set + * @return the AppServiceCertificateOrderPatchResource object itself. + */ + public AppServiceCertificateOrderPatchResource withCsr(String csr) { + this.csr = csr; + return this; + } + + /** + * Get the intermediate value. + * + * @return the intermediate value + */ + public CertificateDetails intermediate() { + return this.intermediate; + } + + /** + * Get the root value. + * + * @return the root value + */ + public CertificateDetails root() { + return this.root; + } + + /** + * Get the serialNumber value. + * + * @return the serialNumber value + */ + public String serialNumber() { + return this.serialNumber; + } + + /** + * Get the lastCertificateIssuanceTime value. + * + * @return the lastCertificateIssuanceTime value + */ + public DateTime lastCertificateIssuanceTime() { + return this.lastCertificateIssuanceTime; + } + + /** + * Get the expirationTime value. + * + * @return the expirationTime value + */ + public DateTime expirationTime() { + return this.expirationTime; + } + + /** + * Get the isPrivateKeyExternal value. + * + * @return the isPrivateKeyExternal value + */ + public Boolean isPrivateKeyExternal() { + return this.isPrivateKeyExternal; + } + + /** + * Get the appServiceCertificateNotRenewableReasons value. + * + * @return the appServiceCertificateNotRenewableReasons value + */ + public List appServiceCertificateNotRenewableReasons() { + return this.appServiceCertificateNotRenewableReasons; + } + + /** + * Get the nextAutoRenewalTimeStamp value. + * + * @return the nextAutoRenewalTimeStamp value + */ + public DateTime nextAutoRenewalTimeStamp() { + return this.nextAutoRenewalTimeStamp; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceCertificatePatchResource.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceCertificatePatchResource.java new file mode 100644 index 00000000000..09c652caa7e --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceCertificatePatchResource.java @@ -0,0 +1,92 @@ +/** + * 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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Key Vault container ARM resource for a certificate that is purchased through + * Azure. + */ +@JsonFlatten +public class AppServiceCertificatePatchResource extends ProxyOnlyResource { + /** + * Key Vault resource Id. + */ + @JsonProperty(value = "properties.keyVaultId") + private String keyVaultId; + + /** + * Key Vault secret name. + */ + @JsonProperty(value = "properties.keyVaultSecretName") + private String keyVaultSecretName; + + /** + * Status of the Key Vault secret. Possible values include: 'Initialized', + * 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', + * 'OperationNotPermittedOnKeyVault', + * 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', + * 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', + * 'Unknown'. + */ + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private KeyVaultSecretStatus provisioningState; + + /** + * Get the keyVaultId value. + * + * @return the keyVaultId value + */ + public String keyVaultId() { + return this.keyVaultId; + } + + /** + * Set the keyVaultId value. + * + * @param keyVaultId the keyVaultId value to set + * @return the AppServiceCertificatePatchResource object itself. + */ + public AppServiceCertificatePatchResource withKeyVaultId(String keyVaultId) { + this.keyVaultId = keyVaultId; + return this; + } + + /** + * Get the keyVaultSecretName value. + * + * @return the keyVaultSecretName value + */ + public String keyVaultSecretName() { + return this.keyVaultSecretName; + } + + /** + * Set the keyVaultSecretName value. + * + * @param keyVaultSecretName the keyVaultSecretName value to set + * @return the AppServiceCertificatePatchResource object itself. + */ + public AppServiceCertificatePatchResource withKeyVaultSecretName(String keyVaultSecretName) { + this.keyVaultSecretName = keyVaultSecretName; + return this; + } + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public KeyVaultSecretStatus provisioningState() { + return this.provisioningState; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceEnvironmentPatchResource.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceEnvironmentPatchResource.java new file mode 100644 index 00000000000..0c83ade7f3b --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServiceEnvironmentPatchResource.java @@ -0,0 +1,789 @@ +/** + * 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.web; + +import java.util.List; +import com.microsoft.azure.management.web.implementation.StampCapacityInner; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * ARM resource for a app service enviroment. + */ +@JsonFlatten +public class AppServiceEnvironmentPatchResource extends ProxyOnlyResource { + /** + * Name of the App Service Environment. + */ + @JsonProperty(value = "properties.name", required = true) + private String appServiceEnvironmentPatchResourceName; + + /** + * Location of the App Service Environment, e.g. "West US". + */ + @JsonProperty(value = "properties.location", required = true) + private String location; + + /** + * Provisioning state of the App Service Environment. Possible values + * include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. + */ + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private ProvisioningState provisioningState; + + /** + * Current status of the App Service Environment. Possible values include: + * 'Preparing', 'Ready', 'Scaling', 'Deleting'. + */ + @JsonProperty(value = "properties.status", access = JsonProperty.Access.WRITE_ONLY) + private HostingEnvironmentStatus status; + + /** + * Name of the Virtual Network for the App Service Environment. + */ + @JsonProperty(value = "properties.vnetName") + private String vnetName; + + /** + * Resource group of the Virtual Network. + */ + @JsonProperty(value = "properties.vnetResourceGroupName") + private String vnetResourceGroupName; + + /** + * Subnet of the Virtual Network. + */ + @JsonProperty(value = "properties.vnetSubnetName") + private String vnetSubnetName; + + /** + * Description of the Virtual Network. + */ + @JsonProperty(value = "properties.virtualNetwork", required = true) + private VirtualNetworkProfile virtualNetwork; + + /** + * Specifies which endpoints to serve internally in the Virtual Network for + * the App Service Environment. Possible values include: 'None', 'Web', + * 'Publishing'. + */ + @JsonProperty(value = "properties.internalLoadBalancingMode") + private InternalLoadBalancingMode internalLoadBalancingMode; + + /** + * Front-end VM size, e.g. "Medium", "Large". + */ + @JsonProperty(value = "properties.multiSize") + private String multiSize; + + /** + * Number of front-end instances. + */ + @JsonProperty(value = "properties.multiRoleCount") + private Integer multiRoleCount; + + /** + * Description of worker pools with worker size IDs, VM sizes, and number + * of workers in each pool. + */ + @JsonProperty(value = "properties.workerPools", required = true) + private List workerPools; + + /** + * Number of IP SSL addresses reserved for the App Service Environment. + */ + @JsonProperty(value = "properties.ipsslAddressCount") + private Integer ipsslAddressCount; + + /** + * Edition of the metadata database for the App Service Environment, e.g. + * "Standard". + */ + @JsonProperty(value = "properties.databaseEdition", access = JsonProperty.Access.WRITE_ONLY) + private String databaseEdition; + + /** + * Service objective of the metadata database for the App Service + * Environment, e.g. "S0". + */ + @JsonProperty(value = "properties.databaseServiceObjective", access = JsonProperty.Access.WRITE_ONLY) + private String databaseServiceObjective; + + /** + * Number of upgrade domains of the App Service Environment. + */ + @JsonProperty(value = "properties.upgradeDomains", access = JsonProperty.Access.WRITE_ONLY) + private Integer upgradeDomains; + + /** + * Subscription of the App Service Environment. + */ + @JsonProperty(value = "properties.subscriptionId", access = JsonProperty.Access.WRITE_ONLY) + private String subscriptionId; + + /** + * DNS suffix of the App Service Environment. + */ + @JsonProperty(value = "properties.dnsSuffix") + private String dnsSuffix; + + /** + * Last deployment action on the App Service Environment. + */ + @JsonProperty(value = "properties.lastAction", access = JsonProperty.Access.WRITE_ONLY) + private String lastAction; + + /** + * Result of the last deployment action on the App Service Environment. + */ + @JsonProperty(value = "properties.lastActionResult", access = JsonProperty.Access.WRITE_ONLY) + private String lastActionResult; + + /** + * List of comma separated strings describing which VM sizes are allowed + * for front-ends. + */ + @JsonProperty(value = "properties.allowedMultiSizes", access = JsonProperty.Access.WRITE_ONLY) + private String allowedMultiSizes; + + /** + * List of comma separated strings describing which VM sizes are allowed + * for workers. + */ + @JsonProperty(value = "properties.allowedWorkerSizes", access = JsonProperty.Access.WRITE_ONLY) + private String allowedWorkerSizes; + + /** + * Maximum number of VMs in the App Service Environment. + */ + @JsonProperty(value = "properties.maximumNumberOfMachines", access = JsonProperty.Access.WRITE_ONLY) + private Integer maximumNumberOfMachines; + + /** + * Description of IP SSL mapping for the App Service Environment. + */ + @JsonProperty(value = "properties.vipMappings", access = JsonProperty.Access.WRITE_ONLY) + private List vipMappings; + + /** + * Current total, used, and available worker capacities. + */ + @JsonProperty(value = "properties.environmentCapacities", access = JsonProperty.Access.WRITE_ONLY) + private List environmentCapacities; + + /** + * Access control list for controlling traffic to the App Service + * Environment. + */ + @JsonProperty(value = "properties.networkAccessControlList") + private List networkAccessControlList; + + /** + * True/false indicating whether the App Service Environment is healthy. + */ + @JsonProperty(value = "properties.environmentIsHealthy", access = JsonProperty.Access.WRITE_ONLY) + private Boolean environmentIsHealthy; + + /** + * Detailed message about with results of the last check of the App Service + * Environment. + */ + @JsonProperty(value = "properties.environmentStatus", access = JsonProperty.Access.WRITE_ONLY) + private String environmentStatus; + + /** + * Resource group of the App Service Environment. + */ + @JsonProperty(value = "properties.resourceGroup", access = JsonProperty.Access.WRITE_ONLY) + private String resourceGroup; + + /** + * Scale factor for front-ends. + */ + @JsonProperty(value = "properties.frontEndScaleFactor") + private Integer frontEndScaleFactor; + + /** + * Default Scale Factor for FrontEnds. + */ + @JsonProperty(value = "properties.defaultFrontEndScaleFactor", access = JsonProperty.Access.WRITE_ONLY) + private Integer defaultFrontEndScaleFactor; + + /** + * API Management Account associated with the App Service Environment. + */ + @JsonProperty(value = "properties.apiManagementAccountId") + private String apiManagementAccountId; + + /** + * <code>true</code> if the App Service Environment is + * suspended; otherwise, <code>false</code>. The environment + * can be suspended, e.g. when the management endpoint is no longer + * available + * (most likely because NSG blocked the incoming traffic). + */ + @JsonProperty(value = "properties.suspended") + private Boolean suspended; + + /** + * True/false indicating whether the App Service Environment is suspended. + * The environment can be suspended e.g. when the management endpoint is no + * longer available + * (most likely because NSG blocked the incoming traffic). + */ + @JsonProperty(value = "properties.dynamicCacheEnabled") + private Boolean dynamicCacheEnabled; + + /** + * Custom settings for changing the behavior of the App Service + * Environment. + */ + @JsonProperty(value = "properties.clusterSettings") + private List clusterSettings; + + /** + * User added ip ranges to whitelist on ASE db. + */ + @JsonProperty(value = "properties.userWhitelistedIpRanges") + private List userWhitelistedIpRanges; + + /** + * Get the appServiceEnvironmentPatchResourceName value. + * + * @return the appServiceEnvironmentPatchResourceName value + */ + public String appServiceEnvironmentPatchResourceName() { + return this.appServiceEnvironmentPatchResourceName; + } + + /** + * Set the appServiceEnvironmentPatchResourceName value. + * + * @param appServiceEnvironmentPatchResourceName the appServiceEnvironmentPatchResourceName value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withAppServiceEnvironmentPatchResourceName(String appServiceEnvironmentPatchResourceName) { + this.appServiceEnvironmentPatchResourceName = appServiceEnvironmentPatchResourceName; + return this; + } + + /** + * Get the location value. + * + * @return the location value + */ + public String location() { + return this.location; + } + + /** + * Set the location value. + * + * @param location the location value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withLocation(String location) { + this.location = location; + return this; + } + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public ProvisioningState provisioningState() { + return this.provisioningState; + } + + /** + * Get the status value. + * + * @return the status value + */ + public HostingEnvironmentStatus status() { + return this.status; + } + + /** + * Get the vnetName value. + * + * @return the vnetName value + */ + public String vnetName() { + return this.vnetName; + } + + /** + * Set the vnetName value. + * + * @param vnetName the vnetName value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withVnetName(String vnetName) { + this.vnetName = vnetName; + return this; + } + + /** + * Get the vnetResourceGroupName value. + * + * @return the vnetResourceGroupName value + */ + public String vnetResourceGroupName() { + return this.vnetResourceGroupName; + } + + /** + * Set the vnetResourceGroupName value. + * + * @param vnetResourceGroupName the vnetResourceGroupName value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withVnetResourceGroupName(String vnetResourceGroupName) { + this.vnetResourceGroupName = vnetResourceGroupName; + return this; + } + + /** + * Get the vnetSubnetName value. + * + * @return the vnetSubnetName value + */ + public String vnetSubnetName() { + return this.vnetSubnetName; + } + + /** + * Set the vnetSubnetName value. + * + * @param vnetSubnetName the vnetSubnetName value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withVnetSubnetName(String vnetSubnetName) { + this.vnetSubnetName = vnetSubnetName; + return this; + } + + /** + * Get the virtualNetwork value. + * + * @return the virtualNetwork value + */ + public VirtualNetworkProfile virtualNetwork() { + return this.virtualNetwork; + } + + /** + * Set the virtualNetwork value. + * + * @param virtualNetwork the virtualNetwork value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withVirtualNetwork(VirtualNetworkProfile virtualNetwork) { + this.virtualNetwork = virtualNetwork; + return this; + } + + /** + * Get the internalLoadBalancingMode value. + * + * @return the internalLoadBalancingMode value + */ + public InternalLoadBalancingMode internalLoadBalancingMode() { + return this.internalLoadBalancingMode; + } + + /** + * Set the internalLoadBalancingMode value. + * + * @param internalLoadBalancingMode the internalLoadBalancingMode value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withInternalLoadBalancingMode(InternalLoadBalancingMode internalLoadBalancingMode) { + this.internalLoadBalancingMode = internalLoadBalancingMode; + return this; + } + + /** + * Get the multiSize value. + * + * @return the multiSize value + */ + public String multiSize() { + return this.multiSize; + } + + /** + * Set the multiSize value. + * + * @param multiSize the multiSize value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withMultiSize(String multiSize) { + this.multiSize = multiSize; + return this; + } + + /** + * Get the multiRoleCount value. + * + * @return the multiRoleCount value + */ + public Integer multiRoleCount() { + return this.multiRoleCount; + } + + /** + * Set the multiRoleCount value. + * + * @param multiRoleCount the multiRoleCount value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withMultiRoleCount(Integer multiRoleCount) { + this.multiRoleCount = multiRoleCount; + return this; + } + + /** + * Get the workerPools value. + * + * @return the workerPools value + */ + public List workerPools() { + return this.workerPools; + } + + /** + * Set the workerPools value. + * + * @param workerPools the workerPools value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withWorkerPools(List workerPools) { + this.workerPools = workerPools; + return this; + } + + /** + * Get the ipsslAddressCount value. + * + * @return the ipsslAddressCount value + */ + public Integer ipsslAddressCount() { + return this.ipsslAddressCount; + } + + /** + * Set the ipsslAddressCount value. + * + * @param ipsslAddressCount the ipsslAddressCount value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withIpsslAddressCount(Integer ipsslAddressCount) { + this.ipsslAddressCount = ipsslAddressCount; + return this; + } + + /** + * Get the databaseEdition value. + * + * @return the databaseEdition value + */ + public String databaseEdition() { + return this.databaseEdition; + } + + /** + * Get the databaseServiceObjective value. + * + * @return the databaseServiceObjective value + */ + public String databaseServiceObjective() { + return this.databaseServiceObjective; + } + + /** + * Get the upgradeDomains value. + * + * @return the upgradeDomains value + */ + public Integer upgradeDomains() { + return this.upgradeDomains; + } + + /** + * Get the subscriptionId value. + * + * @return the subscriptionId value + */ + public String subscriptionId() { + return this.subscriptionId; + } + + /** + * Get the dnsSuffix value. + * + * @return the dnsSuffix value + */ + public String dnsSuffix() { + return this.dnsSuffix; + } + + /** + * Set the dnsSuffix value. + * + * @param dnsSuffix the dnsSuffix value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withDnsSuffix(String dnsSuffix) { + this.dnsSuffix = dnsSuffix; + return this; + } + + /** + * Get the lastAction value. + * + * @return the lastAction value + */ + public String lastAction() { + return this.lastAction; + } + + /** + * Get the lastActionResult value. + * + * @return the lastActionResult value + */ + public String lastActionResult() { + return this.lastActionResult; + } + + /** + * Get the allowedMultiSizes value. + * + * @return the allowedMultiSizes value + */ + public String allowedMultiSizes() { + return this.allowedMultiSizes; + } + + /** + * Get the allowedWorkerSizes value. + * + * @return the allowedWorkerSizes value + */ + public String allowedWorkerSizes() { + return this.allowedWorkerSizes; + } + + /** + * Get the maximumNumberOfMachines value. + * + * @return the maximumNumberOfMachines value + */ + public Integer maximumNumberOfMachines() { + return this.maximumNumberOfMachines; + } + + /** + * Get the vipMappings value. + * + * @return the vipMappings value + */ + public List vipMappings() { + return this.vipMappings; + } + + /** + * Get the environmentCapacities value. + * + * @return the environmentCapacities value + */ + public List environmentCapacities() { + return this.environmentCapacities; + } + + /** + * Get the networkAccessControlList value. + * + * @return the networkAccessControlList value + */ + public List networkAccessControlList() { + return this.networkAccessControlList; + } + + /** + * Set the networkAccessControlList value. + * + * @param networkAccessControlList the networkAccessControlList value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withNetworkAccessControlList(List networkAccessControlList) { + this.networkAccessControlList = networkAccessControlList; + return this; + } + + /** + * Get the environmentIsHealthy value. + * + * @return the environmentIsHealthy value + */ + public Boolean environmentIsHealthy() { + return this.environmentIsHealthy; + } + + /** + * Get the environmentStatus value. + * + * @return the environmentStatus value + */ + public String environmentStatus() { + return this.environmentStatus; + } + + /** + * Get the resourceGroup value. + * + * @return the resourceGroup value + */ + public String resourceGroup() { + return this.resourceGroup; + } + + /** + * Get the frontEndScaleFactor value. + * + * @return the frontEndScaleFactor value + */ + public Integer frontEndScaleFactor() { + return this.frontEndScaleFactor; + } + + /** + * Set the frontEndScaleFactor value. + * + * @param frontEndScaleFactor the frontEndScaleFactor value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withFrontEndScaleFactor(Integer frontEndScaleFactor) { + this.frontEndScaleFactor = frontEndScaleFactor; + return this; + } + + /** + * Get the defaultFrontEndScaleFactor value. + * + * @return the defaultFrontEndScaleFactor value + */ + public Integer defaultFrontEndScaleFactor() { + return this.defaultFrontEndScaleFactor; + } + + /** + * Get the apiManagementAccountId value. + * + * @return the apiManagementAccountId value + */ + public String apiManagementAccountId() { + return this.apiManagementAccountId; + } + + /** + * Set the apiManagementAccountId value. + * + * @param apiManagementAccountId the apiManagementAccountId value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withApiManagementAccountId(String apiManagementAccountId) { + this.apiManagementAccountId = apiManagementAccountId; + return this; + } + + /** + * Get the suspended value. + * + * @return the suspended value + */ + public Boolean suspended() { + return this.suspended; + } + + /** + * Set the suspended value. + * + * @param suspended the suspended value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withSuspended(Boolean suspended) { + this.suspended = suspended; + return this; + } + + /** + * Get the dynamicCacheEnabled value. + * + * @return the dynamicCacheEnabled value + */ + public Boolean dynamicCacheEnabled() { + return this.dynamicCacheEnabled; + } + + /** + * Set the dynamicCacheEnabled value. + * + * @param dynamicCacheEnabled the dynamicCacheEnabled value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withDynamicCacheEnabled(Boolean dynamicCacheEnabled) { + this.dynamicCacheEnabled = dynamicCacheEnabled; + return this; + } + + /** + * Get the clusterSettings value. + * + * @return the clusterSettings value + */ + public List clusterSettings() { + return this.clusterSettings; + } + + /** + * Set the clusterSettings value. + * + * @param clusterSettings the clusterSettings value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withClusterSettings(List clusterSettings) { + this.clusterSettings = clusterSettings; + return this; + } + + /** + * Get the userWhitelistedIpRanges value. + * + * @return the userWhitelistedIpRanges value + */ + public List userWhitelistedIpRanges() { + return this.userWhitelistedIpRanges; + } + + /** + * Set the userWhitelistedIpRanges value. + * + * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withUserWhitelistedIpRanges(List userWhitelistedIpRanges) { + this.userWhitelistedIpRanges = userWhitelistedIpRanges; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServicePlanPatchResource.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServicePlanPatchResource.java new file mode 100644 index 00000000000..4523297bc41 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/AppServicePlanPatchResource.java @@ -0,0 +1,395 @@ +/** + * 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.web; + +import org.joda.time.DateTime; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * ARM resource for a app service plan. + */ +@JsonFlatten +public class AppServicePlanPatchResource extends ProxyOnlyResource { + /** + * Name for the App Service plan. + */ + @JsonProperty(value = "properties.name", required = true) + private String appServicePlanPatchResourceName; + + /** + * Target worker tier assigned to the App Service plan. + */ + @JsonProperty(value = "properties.workerTierName") + private String workerTierName; + + /** + * App Service plan status. Possible values include: 'Ready', 'Pending', + * 'Creating'. + */ + @JsonProperty(value = "properties.status", access = JsonProperty.Access.WRITE_ONLY) + private StatusOptions status; + + /** + * App Service plan subscription. + */ + @JsonProperty(value = "properties.subscription", access = JsonProperty.Access.WRITE_ONLY) + private String subscription; + + /** + * App Service plan administration site. + */ + @JsonProperty(value = "properties.adminSiteName") + private String adminSiteName; + + /** + * Specification for the App Service Environment to use for the App Service + * plan. + */ + @JsonProperty(value = "properties.hostingEnvironmentProfile") + private HostingEnvironmentProfile hostingEnvironmentProfile; + + /** + * Maximum number of instances that can be assigned to this App Service + * plan. + */ + @JsonProperty(value = "properties.maximumNumberOfWorkers", access = JsonProperty.Access.WRITE_ONLY) + private Integer maximumNumberOfWorkers; + + /** + * Geographical location for the App Service plan. + */ + @JsonProperty(value = "properties.geoRegion", access = JsonProperty.Access.WRITE_ONLY) + private String geoRegion; + + /** + * If <code>true</code>, apps assigned to this App Service plan + * can be scaled independently. + * If <code>false</code>, apps assigned to this App Service + * plan will scale to all instances of the plan. + */ + @JsonProperty(value = "properties.perSiteScaling") + private Boolean perSiteScaling; + + /** + * Number of apps assigned to this App Service plan. + */ + @JsonProperty(value = "properties.numberOfSites", access = JsonProperty.Access.WRITE_ONLY) + private Integer numberOfSites; + + /** + * If <code>true</code>, this App Service Plan owns spot + * instances. + */ + @JsonProperty(value = "properties.isSpot") + private Boolean isSpot; + + /** + * The time when the server farm expires. Valid only if it is a spot server + * farm. + */ + @JsonProperty(value = "properties.spotExpirationTime") + private DateTime spotExpirationTime; + + /** + * Resource group of the App Service plan. + */ + @JsonProperty(value = "properties.resourceGroup", access = JsonProperty.Access.WRITE_ONLY) + private String resourceGroup; + + /** + * If Linux app service plan <code>true</code>, + * <code>false</code> otherwise. + */ + @JsonProperty(value = "properties.reserved") + private Boolean reserved; + + /** + * Scaling worker count. + */ + @JsonProperty(value = "properties.targetWorkerCount") + private Integer targetWorkerCount; + + /** + * Scaling worker size ID. + */ + @JsonProperty(value = "properties.targetWorkerSizeId") + private Integer targetWorkerSizeId; + + /** + * Provisioning state of the App Service Environment. Possible values + * include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. + */ + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private ProvisioningState provisioningState; + + /** + * Get the appServicePlanPatchResourceName value. + * + * @return the appServicePlanPatchResourceName value + */ + public String appServicePlanPatchResourceName() { + return this.appServicePlanPatchResourceName; + } + + /** + * Set the appServicePlanPatchResourceName value. + * + * @param appServicePlanPatchResourceName the appServicePlanPatchResourceName value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withAppServicePlanPatchResourceName(String appServicePlanPatchResourceName) { + this.appServicePlanPatchResourceName = appServicePlanPatchResourceName; + return this; + } + + /** + * Get the workerTierName value. + * + * @return the workerTierName value + */ + public String workerTierName() { + return this.workerTierName; + } + + /** + * Set the workerTierName value. + * + * @param workerTierName the workerTierName value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withWorkerTierName(String workerTierName) { + this.workerTierName = workerTierName; + return this; + } + + /** + * Get the status value. + * + * @return the status value + */ + public StatusOptions status() { + return this.status; + } + + /** + * Get the subscription value. + * + * @return the subscription value + */ + public String subscription() { + return this.subscription; + } + + /** + * Get the adminSiteName value. + * + * @return the adminSiteName value + */ + public String adminSiteName() { + return this.adminSiteName; + } + + /** + * Set the adminSiteName value. + * + * @param adminSiteName the adminSiteName value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withAdminSiteName(String adminSiteName) { + this.adminSiteName = adminSiteName; + return this; + } + + /** + * Get the hostingEnvironmentProfile value. + * + * @return the hostingEnvironmentProfile value + */ + public HostingEnvironmentProfile hostingEnvironmentProfile() { + return this.hostingEnvironmentProfile; + } + + /** + * Set the hostingEnvironmentProfile value. + * + * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile) { + this.hostingEnvironmentProfile = hostingEnvironmentProfile; + return this; + } + + /** + * Get the maximumNumberOfWorkers value. + * + * @return the maximumNumberOfWorkers value + */ + public Integer maximumNumberOfWorkers() { + return this.maximumNumberOfWorkers; + } + + /** + * Get the geoRegion value. + * + * @return the geoRegion value + */ + public String geoRegion() { + return this.geoRegion; + } + + /** + * Get the perSiteScaling value. + * + * @return the perSiteScaling value + */ + public Boolean perSiteScaling() { + return this.perSiteScaling; + } + + /** + * Set the perSiteScaling value. + * + * @param perSiteScaling the perSiteScaling value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withPerSiteScaling(Boolean perSiteScaling) { + this.perSiteScaling = perSiteScaling; + return this; + } + + /** + * Get the numberOfSites value. + * + * @return the numberOfSites value + */ + public Integer numberOfSites() { + return this.numberOfSites; + } + + /** + * Get the isSpot value. + * + * @return the isSpot value + */ + public Boolean isSpot() { + return this.isSpot; + } + + /** + * Set the isSpot value. + * + * @param isSpot the isSpot value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withIsSpot(Boolean isSpot) { + this.isSpot = isSpot; + return this; + } + + /** + * Get the spotExpirationTime value. + * + * @return the spotExpirationTime value + */ + public DateTime spotExpirationTime() { + return this.spotExpirationTime; + } + + /** + * Set the spotExpirationTime value. + * + * @param spotExpirationTime the spotExpirationTime value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withSpotExpirationTime(DateTime spotExpirationTime) { + this.spotExpirationTime = spotExpirationTime; + return this; + } + + /** + * Get the resourceGroup value. + * + * @return the resourceGroup value + */ + public String resourceGroup() { + return this.resourceGroup; + } + + /** + * Get the reserved value. + * + * @return the reserved value + */ + public Boolean reserved() { + return this.reserved; + } + + /** + * Set the reserved value. + * + * @param reserved the reserved value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withReserved(Boolean reserved) { + this.reserved = reserved; + return this; + } + + /** + * Get the targetWorkerCount value. + * + * @return the targetWorkerCount value + */ + public Integer targetWorkerCount() { + return this.targetWorkerCount; + } + + /** + * Set the targetWorkerCount value. + * + * @param targetWorkerCount the targetWorkerCount value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withTargetWorkerCount(Integer targetWorkerCount) { + this.targetWorkerCount = targetWorkerCount; + return this; + } + + /** + * Get the targetWorkerSizeId value. + * + * @return the targetWorkerSizeId value + */ + public Integer targetWorkerSizeId() { + return this.targetWorkerSizeId; + } + + /** + * Set the targetWorkerSizeId value. + * + * @param targetWorkerSizeId the targetWorkerSizeId value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withTargetWorkerSizeId(Integer targetWorkerSizeId) { + this.targetWorkerSizeId = targetWorkerSizeId; + return this; + } + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public ProvisioningState provisioningState() { + return this.provisioningState; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CertificatePatchResource.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CertificatePatchResource.java new file mode 100644 index 00000000000..1db9a849fc4 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CertificatePatchResource.java @@ -0,0 +1,394 @@ +/** + * 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.web; + +import java.util.List; +import org.joda.time.DateTime; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * ARM resource for a certificate. + */ +@JsonFlatten +public class CertificatePatchResource extends ProxyOnlyResource { + /** + * Friendly name of the certificate. + */ + @JsonProperty(value = "properties.friendlyName", access = JsonProperty.Access.WRITE_ONLY) + private String friendlyName; + + /** + * Subject name of the certificate. + */ + @JsonProperty(value = "properties.subjectName", access = JsonProperty.Access.WRITE_ONLY) + private String subjectName; + + /** + * Host names the certificate applies to. + */ + @JsonProperty(value = "properties.hostNames") + private List hostNames; + + /** + * Pfx blob. + */ + @JsonProperty(value = "properties.pfxBlob") + private byte[] pfxBlob; + + /** + * App name. + */ + @JsonProperty(value = "properties.siteName", access = JsonProperty.Access.WRITE_ONLY) + private String siteName; + + /** + * Self link. + */ + @JsonProperty(value = "properties.selfLink", access = JsonProperty.Access.WRITE_ONLY) + private String selfLink; + + /** + * Certificate issuer. + */ + @JsonProperty(value = "properties.issuer", access = JsonProperty.Access.WRITE_ONLY) + private String issuer; + + /** + * Certificate issue Date. + */ + @JsonProperty(value = "properties.issueDate", access = JsonProperty.Access.WRITE_ONLY) + private DateTime issueDate; + + /** + * Certificate expriration date. + */ + @JsonProperty(value = "properties.expirationDate", access = JsonProperty.Access.WRITE_ONLY) + private DateTime expirationDate; + + /** + * Certificate password. + */ + @JsonProperty(value = "properties.password", required = true) + private String password; + + /** + * Certificate thumbprint. + */ + @JsonProperty(value = "properties.thumbprint", access = JsonProperty.Access.WRITE_ONLY) + private String thumbprint; + + /** + * Is the certificate valid?. + */ + @JsonProperty(value = "properties.valid", access = JsonProperty.Access.WRITE_ONLY) + private Boolean valid; + + /** + * Raw bytes of .cer file. + */ + @JsonProperty(value = "properties.cerBlob", access = JsonProperty.Access.WRITE_ONLY) + private byte[] cerBlob; + + /** + * Public key hash. + */ + @JsonProperty(value = "properties.publicKeyHash", access = JsonProperty.Access.WRITE_ONLY) + private String publicKeyHash; + + /** + * Specification for the App Service Environment to use for the + * certificate. + */ + @JsonProperty(value = "properties.hostingEnvironmentProfile", access = JsonProperty.Access.WRITE_ONLY) + private HostingEnvironmentProfile hostingEnvironmentProfile; + + /** + * Key Vault Csm resource Id. + */ + @JsonProperty(value = "properties.keyVaultId") + private String keyVaultId; + + /** + * Key Vault secret name. + */ + @JsonProperty(value = "properties.keyVaultSecretName") + private String keyVaultSecretName; + + /** + * Status of the Key Vault secret. Possible values include: 'Initialized', + * 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', + * 'OperationNotPermittedOnKeyVault', + * 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', + * 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', + * 'Unknown'. + */ + @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 ID of the associated App Service plan, formatted as: + * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + */ + @JsonProperty(value = "properties.serverFarmId") + private String serverFarmId; + + /** + * Get the friendlyName value. + * + * @return the friendlyName value + */ + public String friendlyName() { + return this.friendlyName; + } + + /** + * Get the subjectName value. + * + * @return the subjectName value + */ + public String subjectName() { + return this.subjectName; + } + + /** + * Get the hostNames value. + * + * @return the hostNames value + */ + public List hostNames() { + return this.hostNames; + } + + /** + * Set the hostNames value. + * + * @param hostNames the hostNames value to set + * @return the CertificatePatchResource object itself. + */ + public CertificatePatchResource withHostNames(List hostNames) { + this.hostNames = hostNames; + return this; + } + + /** + * Get the pfxBlob value. + * + * @return the pfxBlob value + */ + public byte[] pfxBlob() { + return this.pfxBlob; + } + + /** + * Set the pfxBlob value. + * + * @param pfxBlob the pfxBlob value to set + * @return the CertificatePatchResource object itself. + */ + public CertificatePatchResource withPfxBlob(byte[] pfxBlob) { + this.pfxBlob = pfxBlob; + return this; + } + + /** + * Get the siteName value. + * + * @return the siteName value + */ + public String siteName() { + return this.siteName; + } + + /** + * Get the selfLink value. + * + * @return the selfLink value + */ + public String selfLink() { + return this.selfLink; + } + + /** + * Get the issuer value. + * + * @return the issuer value + */ + public String issuer() { + return this.issuer; + } + + /** + * Get the issueDate value. + * + * @return the issueDate value + */ + public DateTime issueDate() { + return this.issueDate; + } + + /** + * Get the expirationDate value. + * + * @return the expirationDate value + */ + public DateTime expirationDate() { + return this.expirationDate; + } + + /** + * 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 CertificatePatchResource object itself. + */ + public CertificatePatchResource withPassword(String password) { + this.password = password; + return this; + } + + /** + * Get the thumbprint value. + * + * @return the thumbprint value + */ + public String thumbprint() { + return this.thumbprint; + } + + /** + * Get the valid value. + * + * @return the valid value + */ + public Boolean valid() { + return this.valid; + } + + /** + * Get the cerBlob value. + * + * @return the cerBlob value + */ + public byte[] cerBlob() { + return this.cerBlob; + } + + /** + * Get the publicKeyHash value. + * + * @return the publicKeyHash value + */ + public String publicKeyHash() { + return this.publicKeyHash; + } + + /** + * Get the hostingEnvironmentProfile value. + * + * @return the hostingEnvironmentProfile value + */ + public HostingEnvironmentProfile hostingEnvironmentProfile() { + return this.hostingEnvironmentProfile; + } + + /** + * Get the keyVaultId value. + * + * @return the keyVaultId value + */ + public String keyVaultId() { + return this.keyVaultId; + } + + /** + * Set the keyVaultId value. + * + * @param keyVaultId the keyVaultId value to set + * @return the CertificatePatchResource object itself. + */ + public CertificatePatchResource withKeyVaultId(String keyVaultId) { + this.keyVaultId = keyVaultId; + return this; + } + + /** + * Get the keyVaultSecretName value. + * + * @return the keyVaultSecretName value + */ + public String keyVaultSecretName() { + return this.keyVaultSecretName; + } + + /** + * Set the keyVaultSecretName value. + * + * @param keyVaultSecretName the keyVaultSecretName value to set + * @return the CertificatePatchResource object itself. + */ + public CertificatePatchResource withKeyVaultSecretName(String keyVaultSecretName) { + this.keyVaultSecretName = keyVaultSecretName; + return this; + } + + /** + * Get the keyVaultSecretStatus value. + * + * @return the keyVaultSecretStatus value + */ + public KeyVaultSecretStatus keyVaultSecretStatus() { + return this.keyVaultSecretStatus; + } + + /** + * Get the geoRegion value. + * + * @return the geoRegion value + */ + public String geoRegion() { + return this.geoRegion; + } + + /** + * Get the serverFarmId value. + * + * @return the serverFarmId value + */ + public String serverFarmId() { + return this.serverFarmId; + } + + /** + * Set the serverFarmId value. + * + * @param serverFarmId the serverFarmId value to set + * @return the CertificatePatchResource object itself. + */ + public CertificatePatchResource withServerFarmId(String serverFarmId) { + this.serverFarmId = serverFarmId; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CsmMoveResourceEnvelope.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CsmMoveResourceEnvelope.java new file mode 100644 index 00000000000..f7a74787666 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CsmMoveResourceEnvelope.java @@ -0,0 +1,71 @@ +/** + * 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.web; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Object with a list of the resources that need to be moved and the resource + * group they should be moved to. + */ +public class CsmMoveResourceEnvelope { + /** + * The targetResourceGroup property. + */ + @JsonProperty(value = "targetResourceGroup") + private String targetResourceGroup; + + /** + * The resources property. + */ + @JsonProperty(value = "resources") + private List resources; + + /** + * Get the targetResourceGroup value. + * + * @return the targetResourceGroup value + */ + public String targetResourceGroup() { + return this.targetResourceGroup; + } + + /** + * Set the targetResourceGroup value. + * + * @param targetResourceGroup the targetResourceGroup value to set + * @return the CsmMoveResourceEnvelope object itself. + */ + public CsmMoveResourceEnvelope withTargetResourceGroup(String targetResourceGroup) { + this.targetResourceGroup = targetResourceGroup; + return this; + } + + /** + * Get the resources value. + * + * @return the resources value + */ + public List resources() { + return this.resources; + } + + /** + * Set the resources value. + * + * @param resources the resources value to set + * @return the CsmMoveResourceEnvelope object itself. + */ + public CsmMoveResourceEnvelope withResources(List resources) { + this.resources = resources; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CsmSlotEntity.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CsmSlotEntity.java new file mode 100644 index 00000000000..79662f9a244 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/CsmSlotEntity.java @@ -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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Deployment slot parameters. + */ +public class CsmSlotEntity { + /** + * Destination deployment slot during swap operation. + */ + @JsonProperty(value = "targetSlot", required = true) + private String targetSlot; + + /** + * <code>true</code> to preserve Virtual Network to the slot + * during swap; otherwise, <code>false</code>. + */ + @JsonProperty(value = "preserveVnet", required = true) + private boolean preserveVnet; + + /** + * Get the targetSlot value. + * + * @return the targetSlot value + */ + public String targetSlot() { + return this.targetSlot; + } + + /** + * Set the targetSlot value. + * + * @param targetSlot the targetSlot value to set + * @return the CsmSlotEntity object itself. + */ + public CsmSlotEntity withTargetSlot(String targetSlot) { + this.targetSlot = targetSlot; + return this; + } + + /** + * Get the preserveVnet value. + * + * @return the preserveVnet value + */ + public boolean preserveVnet() { + return this.preserveVnet; + } + + /** + * Set the preserveVnet value. + * + * @param preserveVnet the preserveVnet value to set + * @return the CsmSlotEntity object itself. + */ + public CsmSlotEntity withPreserveVnet(boolean preserveVnet) { + this.preserveVnet = preserveVnet; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/DomainPatchResource.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/DomainPatchResource.java new file mode 100644 index 00000000000..59231ece800 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/DomainPatchResource.java @@ -0,0 +1,455 @@ +/** + * 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.web; + +import java.util.List; +import org.joda.time.DateTime; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * ARM resource for a domain. + */ +@JsonFlatten +public class DomainPatchResource extends ProxyOnlyResource { + /** + * Administrative contact. + */ + @JsonProperty(value = "properties.contactAdmin", required = true) + private Contact contactAdmin; + + /** + * Billing contact. + */ + @JsonProperty(value = "properties.contactBilling", required = true) + private Contact contactBilling; + + /** + * Registrant contact. + */ + @JsonProperty(value = "properties.contactRegistrant", required = true) + private Contact contactRegistrant; + + /** + * Technical contact. + */ + @JsonProperty(value = "properties.contactTech", required = true) + private Contact contactTech; + + /** + * Domain registration status. Possible values include: 'Active', + * 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled', 'Excluded', + * 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', + * 'Reverted', 'Suspended', 'Transferred', 'Unknown', 'Unlocked', + * 'Unparked', 'Updated', 'JsonConverterFailed'. + */ + @JsonProperty(value = "properties.registrationStatus", access = JsonProperty.Access.WRITE_ONLY) + private DomainStatus registrationStatus; + + /** + * Domain provisioning state. Possible values include: 'Succeeded', + * 'Failed', 'Canceled', 'InProgress', 'Deleting'. + */ + @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private ProvisioningState provisioningState; + + /** + * Name servers. + */ + @JsonProperty(value = "properties.nameServers", access = JsonProperty.Access.WRITE_ONLY) + private List nameServers; + + /** + * <code>true</code> if domain privacy is enabled for this + * domain; otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.privacy") + private Boolean privacy; + + /** + * Domain creation timestamp. + */ + @JsonProperty(value = "properties.createdTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime createdTime; + + /** + * Domain expiration timestamp. + */ + @JsonProperty(value = "properties.expirationTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime expirationTime; + + /** + * Timestamp when the domain was renewed last time. + */ + @JsonProperty(value = "properties.lastRenewedTime", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastRenewedTime; + + /** + * <code>true</code> if the domain should be automatically + * renewed; otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.autoRenew") + private Boolean autoRenew; + + /** + * <code>true</code> if Azure can assign this domain to App + * Service apps; otherwise, <code>false</code>. This value will + * be <code>true</code> if domain registration status is active + * and + * it is hosted on name servers Azure has programmatic access to. + */ + @JsonProperty(value = "properties.readyForDnsRecordManagement", access = JsonProperty.Access.WRITE_ONLY) + private Boolean readyForDnsRecordManagement; + + /** + * All hostnames derived from the domain and assigned to Azure resources. + */ + @JsonProperty(value = "properties.managedHostNames", access = JsonProperty.Access.WRITE_ONLY) + private List managedHostNames; + + /** + * Legal agreement consent. + */ + @JsonProperty(value = "properties.consent", required = true) + private DomainPurchaseConsent consent; + + /** + * Reasons why domain is not renewable. + */ + @JsonProperty(value = "properties.domainNotRenewableReasons", access = JsonProperty.Access.WRITE_ONLY) + private List 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") + private String authCode; + + /** + * Get the contactAdmin value. + * + * @return the contactAdmin value + */ + public Contact contactAdmin() { + return this.contactAdmin; + } + + /** + * Set the contactAdmin value. + * + * @param contactAdmin the contactAdmin value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource withContactAdmin(Contact contactAdmin) { + this.contactAdmin = contactAdmin; + return this; + } + + /** + * Get the contactBilling value. + * + * @return the contactBilling value + */ + public Contact contactBilling() { + return this.contactBilling; + } + + /** + * Set the contactBilling value. + * + * @param contactBilling the contactBilling value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource withContactBilling(Contact contactBilling) { + this.contactBilling = contactBilling; + return this; + } + + /** + * Get the contactRegistrant value. + * + * @return the contactRegistrant value + */ + public Contact contactRegistrant() { + return this.contactRegistrant; + } + + /** + * Set the contactRegistrant value. + * + * @param contactRegistrant the contactRegistrant value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource withContactRegistrant(Contact contactRegistrant) { + this.contactRegistrant = contactRegistrant; + return this; + } + + /** + * Get the contactTech value. + * + * @return the contactTech value + */ + public Contact contactTech() { + return this.contactTech; + } + + /** + * Set the contactTech value. + * + * @param contactTech the contactTech value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource withContactTech(Contact contactTech) { + this.contactTech = contactTech; + return this; + } + + /** + * Get the registrationStatus value. + * + * @return the registrationStatus value + */ + public DomainStatus registrationStatus() { + return this.registrationStatus; + } + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public ProvisioningState provisioningState() { + return this.provisioningState; + } + + /** + * Get the nameServers value. + * + * @return the nameServers value + */ + public List nameServers() { + return this.nameServers; + } + + /** + * Get the privacy value. + * + * @return the privacy value + */ + public Boolean privacy() { + return this.privacy; + } + + /** + * Set the privacy value. + * + * @param privacy the privacy value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource withPrivacy(Boolean privacy) { + this.privacy = privacy; + return this; + } + + /** + * Get the createdTime value. + * + * @return the createdTime value + */ + public DateTime createdTime() { + return this.createdTime; + } + + /** + * Get the expirationTime value. + * + * @return the expirationTime value + */ + public DateTime expirationTime() { + return this.expirationTime; + } + + /** + * Get the lastRenewedTime value. + * + * @return the lastRenewedTime value + */ + public DateTime lastRenewedTime() { + return this.lastRenewedTime; + } + + /** + * Get the autoRenew value. + * + * @return the autoRenew value + */ + public Boolean autoRenew() { + return this.autoRenew; + } + + /** + * Set the autoRenew value. + * + * @param autoRenew the autoRenew value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource withAutoRenew(Boolean autoRenew) { + this.autoRenew = autoRenew; + return this; + } + + /** + * Get the readyForDnsRecordManagement value. + * + * @return the readyForDnsRecordManagement value + */ + public Boolean readyForDnsRecordManagement() { + return this.readyForDnsRecordManagement; + } + + /** + * Get the managedHostNames value. + * + * @return the managedHostNames value + */ + public List managedHostNames() { + return this.managedHostNames; + } + + /** + * Get the consent value. + * + * @return the consent value + */ + public DomainPurchaseConsent consent() { + return this.consent; + } + + /** + * Set the consent value. + * + * @param consent the consent value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource withConsent(DomainPurchaseConsent consent) { + this.consent = consent; + return this; + } + + /** + * Get the domainNotRenewableReasons value. + * + * @return the domainNotRenewableReasons value + */ + public List domainNotRenewableReasons() { + return this.domainNotRenewableReasons; + } + + /** + * Get the dnsType value. + * + * @return the dnsType value + */ + public DnsType dnsType() { + return this.dnsType; + } + + /** + * Set the dnsType value. + * + * @param dnsType the dnsType value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource 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 DomainPatchResource object itself. + */ + public DomainPatchResource 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 DomainPatchResource object itself. + */ + public DomainPatchResource withTargetDnsType(DnsType targetDnsType) { + this.targetDnsType = targetDnsType; + return this; + } + + /** + * Get the authCode value. + * + * @return the authCode value + */ + public String authCode() { + return this.authCode; + } + + /** + * Set the authCode value. + * + * @param authCode the authCode value to set + * @return the DomainPatchResource object itself. + */ + public DomainPatchResource withAuthCode(String authCode) { + this.authCode = authCode; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/DomainRecommendationSearchParameters.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/DomainRecommendationSearchParameters.java new file mode 100644 index 00000000000..206568fc400 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/DomainRecommendationSearchParameters.java @@ -0,0 +1,69 @@ +/** + * 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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Domain recommendation search parameters. + */ +public class DomainRecommendationSearchParameters { + /** + * Keywords to be used for generating domain recommendations. + */ + @JsonProperty(value = "keywords") + private String keywords; + + /** + * Maximum number of recommendations. + */ + @JsonProperty(value = "maxDomainRecommendations") + private Integer maxDomainRecommendations; + + /** + * Get the keywords value. + * + * @return the keywords value + */ + public String keywords() { + return this.keywords; + } + + /** + * Set the keywords value. + * + * @param keywords the keywords value to set + * @return the DomainRecommendationSearchParameters object itself. + */ + public DomainRecommendationSearchParameters withKeywords(String keywords) { + this.keywords = keywords; + return this; + } + + /** + * Get the maxDomainRecommendations value. + * + * @return the maxDomainRecommendations value + */ + public Integer maxDomainRecommendations() { + return this.maxDomainRecommendations; + } + + /** + * Set the maxDomainRecommendations value. + * + * @param maxDomainRecommendations the maxDomainRecommendations value to set + * @return the DomainRecommendationSearchParameters object itself. + */ + public DomainRecommendationSearchParameters withMaxDomainRecommendations(Integer maxDomainRecommendations) { + this.maxDomainRecommendations = maxDomainRecommendations; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/MSDeploy.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/MSDeploy.java new file mode 100644 index 00000000000..b1722c1c882 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/MSDeploy.java @@ -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.web; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * MSDeploy ARM PUT information. + */ +@JsonFlatten +public class MSDeploy extends ProxyOnlyResource { + /** + * Package URI. + */ + @JsonProperty(value = "properties.packageUri") + private String packageUri; + + /** + * SQL Connection String. + */ + @JsonProperty(value = "properties.connectionString") + private String connectionString; + + /** + * Database Type. + */ + @JsonProperty(value = "properties.dbType") + private String dbType; + + /** + * URI of MSDeploy Parameters file. Must not be set if SetParameters is + * used. + */ + @JsonProperty(value = "properties.setParametersXmlFileUri") + private String setParametersXmlFileUri; + + /** + * MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + */ + @JsonProperty(value = "properties.setParameters") + private Map setParameters; + + /** + * Controls whether the MSDeploy operation skips the App_Data directory. + * If set to <code>true</code>, the existing App_Data directory + * on the destination + * will not be deleted, and any App_Data directory in the source will be + * ignored. + * Setting is <code>false</code> by default. + */ + @JsonProperty(value = "properties.skipAppData") + private Boolean skipAppData; + + /** + * Sets the AppOffline rule while the MSDeploy operation executes. + * Setting is <code>false</code> by default. + */ + @JsonProperty(value = "properties.appOffline") + private Boolean appOffline; + + /** + * Get the packageUri value. + * + * @return the packageUri value + */ + public String packageUri() { + return this.packageUri; + } + + /** + * Set the packageUri value. + * + * @param packageUri the packageUri value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withPackageUri(String packageUri) { + this.packageUri = packageUri; + return this; + } + + /** + * Get the connectionString value. + * + * @return the connectionString value + */ + public String connectionString() { + return this.connectionString; + } + + /** + * Set the connectionString value. + * + * @param connectionString the connectionString value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withConnectionString(String connectionString) { + this.connectionString = connectionString; + return this; + } + + /** + * Get the dbType value. + * + * @return the dbType value + */ + public String dbType() { + return this.dbType; + } + + /** + * Set the dbType value. + * + * @param dbType the dbType value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withDbType(String dbType) { + this.dbType = dbType; + return this; + } + + /** + * Get the setParametersXmlFileUri value. + * + * @return the setParametersXmlFileUri value + */ + public String setParametersXmlFileUri() { + return this.setParametersXmlFileUri; + } + + /** + * Set the setParametersXmlFileUri value. + * + * @param setParametersXmlFileUri the setParametersXmlFileUri value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withSetParametersXmlFileUri(String setParametersXmlFileUri) { + this.setParametersXmlFileUri = setParametersXmlFileUri; + return this; + } + + /** + * Get the setParameters value. + * + * @return the setParameters value + */ + public Map setParameters() { + return this.setParameters; + } + + /** + * Set the setParameters value. + * + * @param setParameters the setParameters value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withSetParameters(Map setParameters) { + this.setParameters = setParameters; + return this; + } + + /** + * Get the skipAppData value. + * + * @return the skipAppData value + */ + public Boolean skipAppData() { + return this.skipAppData; + } + + /** + * Set the skipAppData value. + * + * @param skipAppData the skipAppData value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withSkipAppData(Boolean skipAppData) { + this.skipAppData = skipAppData; + return this; + } + + /** + * Get the appOffline value. + * + * @return the appOffline value + */ + public Boolean appOffline() { + return this.appOffline; + } + + /** + * Set the appOffline value. + * + * @param appOffline the appOffline value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withAppOffline(Boolean appOffline) { + this.appOffline = appOffline; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/MigrateMySqlRequest.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/MigrateMySqlRequest.java new file mode 100644 index 00000000000..b617700f82b --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/MigrateMySqlRequest.java @@ -0,0 +1,72 @@ +/** + * 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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * MySQL migration request. + */ +@JsonFlatten +public class MigrateMySqlRequest extends ProxyOnlyResource { + /** + * Connection string to the remote MySQL database. + */ + @JsonProperty(value = "properties.connectionString", required = true) + private String connectionString; + + /** + * The type of migration operation to be done. Possible values include: + * 'LocalToRemote', 'RemoteToLocal'. + */ + @JsonProperty(value = "properties.migrationType", required = true) + private MySqlMigrationType migrationType; + + /** + * Get the connectionString value. + * + * @return the connectionString value + */ + public String connectionString() { + return this.connectionString; + } + + /** + * Set the connectionString value. + * + * @param connectionString the connectionString value to set + * @return the MigrateMySqlRequest object itself. + */ + public MigrateMySqlRequest withConnectionString(String connectionString) { + this.connectionString = connectionString; + return this; + } + + /** + * Get the migrationType value. + * + * @return the migrationType value + */ + public MySqlMigrationType migrationType() { + return this.migrationType; + } + + /** + * Set the migrationType value. + * + * @param migrationType the migrationType value to set + * @return the MigrateMySqlRequest object itself. + */ + public MigrateMySqlRequest withMigrationType(MySqlMigrationType migrationType) { + this.migrationType = migrationType; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/ReissueCertificateOrderRequest.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/ReissueCertificateOrderRequest.java new file mode 100644 index 00000000000..895bf448013 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/ReissueCertificateOrderRequest.java @@ -0,0 +1,125 @@ +/** + * 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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Class representing certificate reissue request. + */ +@JsonFlatten +public class ReissueCertificateOrderRequest extends ProxyOnlyResource { + /** + * Certificate Key Size. + */ + @JsonProperty(value = "properties.keySize") + private Integer keySize; + + /** + * Delay in hours to revoke existing certificate after the new certificate + * is issued. + */ + @JsonProperty(value = "properties.delayExistingRevokeInHours") + private Integer delayExistingRevokeInHours; + + /** + * Csr to be used for re-key operation. + */ + @JsonProperty(value = "properties.csr") + private String csr; + + /** + * Should we change the ASC type (from managed private key to external + * private key and vice versa). + */ + @JsonProperty(value = "properties.isPrivateKeyExternal") + private Boolean isPrivateKeyExternal; + + /** + * Get the keySize value. + * + * @return the keySize value + */ + public Integer keySize() { + return this.keySize; + } + + /** + * Set the keySize value. + * + * @param keySize the keySize value to set + * @return the ReissueCertificateOrderRequest object itself. + */ + public ReissueCertificateOrderRequest withKeySize(Integer keySize) { + this.keySize = keySize; + return this; + } + + /** + * Get the delayExistingRevokeInHours value. + * + * @return the delayExistingRevokeInHours value + */ + public Integer delayExistingRevokeInHours() { + return this.delayExistingRevokeInHours; + } + + /** + * Set the delayExistingRevokeInHours value. + * + * @param delayExistingRevokeInHours the delayExistingRevokeInHours value to set + * @return the ReissueCertificateOrderRequest object itself. + */ + public ReissueCertificateOrderRequest withDelayExistingRevokeInHours(Integer delayExistingRevokeInHours) { + this.delayExistingRevokeInHours = delayExistingRevokeInHours; + return this; + } + + /** + * Get the csr value. + * + * @return the csr value + */ + public String csr() { + return this.csr; + } + + /** + * Set the csr value. + * + * @param csr the csr value to set + * @return the ReissueCertificateOrderRequest object itself. + */ + public ReissueCertificateOrderRequest withCsr(String csr) { + this.csr = csr; + return this; + } + + /** + * Get the isPrivateKeyExternal value. + * + * @return the isPrivateKeyExternal value + */ + public Boolean isPrivateKeyExternal() { + return this.isPrivateKeyExternal; + } + + /** + * Set the isPrivateKeyExternal value. + * + * @param isPrivateKeyExternal the isPrivateKeyExternal value to set + * @return the ReissueCertificateOrderRequest object itself. + */ + public ReissueCertificateOrderRequest withIsPrivateKeyExternal(Boolean isPrivateKeyExternal) { + this.isPrivateKeyExternal = isPrivateKeyExternal; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/RenewCertificateOrderRequest.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/RenewCertificateOrderRequest.java new file mode 100644 index 00000000000..c1a03970017 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/RenewCertificateOrderRequest.java @@ -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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Class representing certificate renew request. + */ +@JsonFlatten +public class RenewCertificateOrderRequest extends ProxyOnlyResource { + /** + * Certificate Key Size. + */ + @JsonProperty(value = "properties.keySize") + private Integer keySize; + + /** + * Csr to be used for re-key operation. + */ + @JsonProperty(value = "properties.csr") + private String csr; + + /** + * Should we change the ASC type (from managed private key to external + * private key and vice versa). + */ + @JsonProperty(value = "properties.isPrivateKeyExternal") + private Boolean isPrivateKeyExternal; + + /** + * Get the keySize value. + * + * @return the keySize value + */ + public Integer keySize() { + return this.keySize; + } + + /** + * Set the keySize value. + * + * @param keySize the keySize value to set + * @return the RenewCertificateOrderRequest object itself. + */ + public RenewCertificateOrderRequest withKeySize(Integer keySize) { + this.keySize = keySize; + return this; + } + + /** + * Get the csr value. + * + * @return the csr value + */ + public String csr() { + return this.csr; + } + + /** + * Set the csr value. + * + * @param csr the csr value to set + * @return the RenewCertificateOrderRequest object itself. + */ + public RenewCertificateOrderRequest withCsr(String csr) { + this.csr = csr; + return this; + } + + /** + * Get the isPrivateKeyExternal value. + * + * @return the isPrivateKeyExternal value + */ + public Boolean isPrivateKeyExternal() { + return this.isPrivateKeyExternal; + } + + /** + * Set the isPrivateKeyExternal value. + * + * @param isPrivateKeyExternal the isPrivateKeyExternal value to set + * @return the RenewCertificateOrderRequest object itself. + */ + public RenewCertificateOrderRequest withIsPrivateKeyExternal(Boolean isPrivateKeyExternal) { + this.isPrivateKeyExternal = isPrivateKeyExternal; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SitePatchResource.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SitePatchResource.java new file mode 100644 index 00000000000..c2020d41841 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SitePatchResource.java @@ -0,0 +1,695 @@ +/** + * 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.web; + +import java.util.List; +import org.joda.time.DateTime; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * ARM resource for a site. + */ +@JsonFlatten +public class SitePatchResource extends ProxyOnlyResource { + /** + * Current state of the app. + */ + @JsonProperty(value = "properties.state", access = JsonProperty.Access.WRITE_ONLY) + private String state; + + /** + * Hostnames associated with the app. + */ + @JsonProperty(value = "properties.hostNames", access = JsonProperty.Access.WRITE_ONLY) + private List hostNames; + + /** + * Name of the repository site. + */ + @JsonProperty(value = "properties.repositorySiteName", access = JsonProperty.Access.WRITE_ONLY) + private String repositorySiteName; + + /** + * State indicating whether the app has exceeded its quota usage. + * Read-only. Possible values include: 'Normal', 'Exceeded'. + */ + @JsonProperty(value = "properties.usageState", access = JsonProperty.Access.WRITE_ONLY) + private UsageState usageState; + + /** + * <code>true</code> if the app is enabled; otherwise, + * <code>false</code>. Setting this value to false disables the + * app (takes the app offline). + */ + @JsonProperty(value = "properties.enabled") + private Boolean enabled; + + /** + * Enabled hostnames for the app.Hostnames need to be assigned (see + * HostNames) AND enabled. Otherwise, + * the app is not served on those hostnames. + */ + @JsonProperty(value = "properties.enabledHostNames", access = JsonProperty.Access.WRITE_ONLY) + private List enabledHostNames; + + /** + * Management information availability state for the app. Possible values + * include: 'Normal', 'Limited', 'DisasterRecoveryMode'. + */ + @JsonProperty(value = "properties.availabilityState", access = JsonProperty.Access.WRITE_ONLY) + private SiteAvailabilityState availabilityState; + + /** + * Hostname SSL states are used to manage the SSL bindings for app's + * hostnames. + */ + @JsonProperty(value = "properties.hostNameSslStates") + private List hostNameSslStates; + + /** + * Resource ID of the associated App Service plan, formatted as: + * "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". + */ + @JsonProperty(value = "properties.serverFarmId") + private String serverFarmId; + + /** + * <code>true</code> if reserved; otherwise, + * <code>false</code>. + */ + @JsonProperty(value = "properties.reserved") + private Boolean reserved; + + /** + * Last time the app was modified, in UTC. Read-only. + */ + @JsonProperty(value = "properties.lastModifiedTimeUtc", access = JsonProperty.Access.WRITE_ONLY) + private DateTime lastModifiedTimeUtc; + + /** + * Configuration of the app. + */ + @JsonProperty(value = "properties.siteConfig") + private SiteConfig siteConfig; + + /** + * Azure Traffic Manager hostnames associated with the app. Read-only. + */ + @JsonProperty(value = "properties.trafficManagerHostNames", access = JsonProperty.Access.WRITE_ONLY) + private List trafficManagerHostNames; + + /** + * <code>true</code> to stop SCM (KUDU) site when the app is + * stopped; otherwise, <code>false</code>. The default is + * <code>false</code>. + */ + @JsonProperty(value = "properties.scmSiteAlsoStopped") + private Boolean scmSiteAlsoStopped; + + /** + * Specifies which deployment slot this app will swap into. Read-only. + */ + @JsonProperty(value = "properties.targetSwapSlot", access = JsonProperty.Access.WRITE_ONLY) + private String targetSwapSlot; + + /** + * App Service Environment to use for the app. + */ + @JsonProperty(value = "properties.hostingEnvironmentProfile") + private HostingEnvironmentProfile hostingEnvironmentProfile; + + /** + * <code>true</code> to enable client affinity; + * <code>false</code> to stop sending session affinity cookies, + * which route client requests in the same session to the same instance. + * Default is <code>true</code>. + */ + @JsonProperty(value = "properties.clientAffinityEnabled") + private Boolean clientAffinityEnabled; + + /** + * <code>true</code> to enable client certificate + * authentication (TLS mutual authentication); otherwise, + * <code>false</code>. Default is + * <code>false</code>. + */ + @JsonProperty(value = "properties.clientCertEnabled") + private Boolean clientCertEnabled; + + /** + * <code>true</code> to disable the public hostnames of the + * app; otherwise, <code>false</code>. + * If <code>true</code>, the app is only accessible via API + * management process. + */ + @JsonProperty(value = "properties.hostNamesDisabled") + private Boolean hostNamesDisabled; + + /** + * List of IP addresses that the app uses for outbound connections (e.g. + * database access). Includes VIPs from tenants that site can be hosted + * with current settings. Read-only. + */ + @JsonProperty(value = "properties.outboundIpAddresses", access = JsonProperty.Access.WRITE_ONLY) + private String outboundIpAddresses; + + /** + * List of IP addresses that the app uses for outbound connections (e.g. + * database access). Includes VIPs from all tenants. Read-only. + */ + @JsonProperty(value = "properties.possibleOutboundIpAddresses", access = JsonProperty.Access.WRITE_ONLY) + private String possibleOutboundIpAddresses; + + /** + * Size of the function container. + */ + @JsonProperty(value = "properties.containerSize") + private Integer containerSize; + + /** + * Maximum allowed daily memory-time quota (applicable on dynamic apps + * only). + */ + @JsonProperty(value = "properties.dailyMemoryTimeQuota") + private Integer dailyMemoryTimeQuota; + + /** + * App suspended till in case memory-time quota is exceeded. + */ + @JsonProperty(value = "properties.suspendedTill", access = JsonProperty.Access.WRITE_ONLY) + private DateTime suspendedTill; + + /** + * Maximum number of workers. + * This only applies to Functions container. + */ + @JsonProperty(value = "properties.maxNumberOfWorkers", access = JsonProperty.Access.WRITE_ONLY) + private Integer maxNumberOfWorkers; + + /** + * If specified during app creation, the app is cloned from a source app. + */ + @JsonProperty(value = "properties.cloningInfo") + private CloningInfo cloningInfo; + + /** + * If specified during app creation, the app is created from a previous + * snapshot. + */ + @JsonProperty(value = "properties.snapshotInfo") + private SnapshotRecoveryRequest snapshotInfo; + + /** + * Name of the resource group the app belongs to. Read-only. + */ + @JsonProperty(value = "properties.resourceGroup", access = JsonProperty.Access.WRITE_ONLY) + private String resourceGroup; + + /** + * <code>true</code> if the app is a default container; + * otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.isDefaultContainer", access = JsonProperty.Access.WRITE_ONLY) + private Boolean isDefaultContainer; + + /** + * Default hostname of the app. Read-only. + */ + @JsonProperty(value = "properties.defaultHostName", access = JsonProperty.Access.WRITE_ONLY) + private String defaultHostName; + + /** + * Status of the last deployment slot swap operation. + */ + @JsonProperty(value = "properties.slotSwapStatus", access = JsonProperty.Access.WRITE_ONLY) + private SlotSwapStatus slotSwapStatus; + + /** + * HttpsOnly: configures a web site to accept only https requests. Issues + * redirect for + * http requests. + */ + @JsonProperty(value = "properties.httpsOnly") + private Boolean httpsOnly; + + /** + * Get the state value. + * + * @return the state value + */ + public String state() { + return this.state; + } + + /** + * Get the hostNames value. + * + * @return the hostNames value + */ + public List hostNames() { + return this.hostNames; + } + + /** + * Get the repositorySiteName value. + * + * @return the repositorySiteName value + */ + public String repositorySiteName() { + return this.repositorySiteName; + } + + /** + * Get the usageState value. + * + * @return the usageState value + */ + public UsageState usageState() { + return this.usageState; + } + + /** + * Get the enabled value. + * + * @return the enabled value + */ + public Boolean enabled() { + return this.enabled; + } + + /** + * Set the enabled value. + * + * @param enabled the enabled value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withEnabled(Boolean enabled) { + this.enabled = enabled; + return this; + } + + /** + * Get the enabledHostNames value. + * + * @return the enabledHostNames value + */ + public List enabledHostNames() { + return this.enabledHostNames; + } + + /** + * Get the availabilityState value. + * + * @return the availabilityState value + */ + public SiteAvailabilityState availabilityState() { + return this.availabilityState; + } + + /** + * Get the hostNameSslStates value. + * + * @return the hostNameSslStates value + */ + public List hostNameSslStates() { + return this.hostNameSslStates; + } + + /** + * Set the hostNameSslStates value. + * + * @param hostNameSslStates the hostNameSslStates value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withHostNameSslStates(List hostNameSslStates) { + this.hostNameSslStates = hostNameSslStates; + return this; + } + + /** + * Get the serverFarmId value. + * + * @return the serverFarmId value + */ + public String serverFarmId() { + return this.serverFarmId; + } + + /** + * Set the serverFarmId value. + * + * @param serverFarmId the serverFarmId value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withServerFarmId(String serverFarmId) { + this.serverFarmId = serverFarmId; + return this; + } + + /** + * Get the reserved value. + * + * @return the reserved value + */ + public Boolean reserved() { + return this.reserved; + } + + /** + * Set the reserved value. + * + * @param reserved the reserved value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withReserved(Boolean reserved) { + this.reserved = reserved; + return this; + } + + /** + * Get the lastModifiedTimeUtc value. + * + * @return the lastModifiedTimeUtc value + */ + public DateTime lastModifiedTimeUtc() { + return this.lastModifiedTimeUtc; + } + + /** + * Get the siteConfig value. + * + * @return the siteConfig value + */ + public SiteConfig siteConfig() { + return this.siteConfig; + } + + /** + * Set the siteConfig value. + * + * @param siteConfig the siteConfig value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withSiteConfig(SiteConfig siteConfig) { + this.siteConfig = siteConfig; + return this; + } + + /** + * Get the trafficManagerHostNames value. + * + * @return the trafficManagerHostNames value + */ + public List trafficManagerHostNames() { + return this.trafficManagerHostNames; + } + + /** + * Get the scmSiteAlsoStopped value. + * + * @return the scmSiteAlsoStopped value + */ + public Boolean scmSiteAlsoStopped() { + return this.scmSiteAlsoStopped; + } + + /** + * Set the scmSiteAlsoStopped value. + * + * @param scmSiteAlsoStopped the scmSiteAlsoStopped value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped) { + this.scmSiteAlsoStopped = scmSiteAlsoStopped; + return this; + } + + /** + * Get the targetSwapSlot value. + * + * @return the targetSwapSlot value + */ + public String targetSwapSlot() { + return this.targetSwapSlot; + } + + /** + * Get the hostingEnvironmentProfile value. + * + * @return the hostingEnvironmentProfile value + */ + public HostingEnvironmentProfile hostingEnvironmentProfile() { + return this.hostingEnvironmentProfile; + } + + /** + * Set the hostingEnvironmentProfile value. + * + * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile) { + this.hostingEnvironmentProfile = hostingEnvironmentProfile; + return this; + } + + /** + * Get the clientAffinityEnabled value. + * + * @return the clientAffinityEnabled value + */ + public Boolean clientAffinityEnabled() { + return this.clientAffinityEnabled; + } + + /** + * Set the clientAffinityEnabled value. + * + * @param clientAffinityEnabled the clientAffinityEnabled value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withClientAffinityEnabled(Boolean clientAffinityEnabled) { + this.clientAffinityEnabled = clientAffinityEnabled; + return this; + } + + /** + * Get the clientCertEnabled value. + * + * @return the clientCertEnabled value + */ + public Boolean clientCertEnabled() { + return this.clientCertEnabled; + } + + /** + * Set the clientCertEnabled value. + * + * @param clientCertEnabled the clientCertEnabled value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withClientCertEnabled(Boolean clientCertEnabled) { + this.clientCertEnabled = clientCertEnabled; + return this; + } + + /** + * Get the hostNamesDisabled value. + * + * @return the hostNamesDisabled value + */ + public Boolean hostNamesDisabled() { + return this.hostNamesDisabled; + } + + /** + * Set the hostNamesDisabled value. + * + * @param hostNamesDisabled the hostNamesDisabled value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withHostNamesDisabled(Boolean hostNamesDisabled) { + this.hostNamesDisabled = hostNamesDisabled; + return this; + } + + /** + * Get the outboundIpAddresses value. + * + * @return the outboundIpAddresses value + */ + public String outboundIpAddresses() { + return this.outboundIpAddresses; + } + + /** + * Get the possibleOutboundIpAddresses value. + * + * @return the possibleOutboundIpAddresses value + */ + public String possibleOutboundIpAddresses() { + return this.possibleOutboundIpAddresses; + } + + /** + * Get the containerSize value. + * + * @return the containerSize value + */ + public Integer containerSize() { + return this.containerSize; + } + + /** + * Set the containerSize value. + * + * @param containerSize the containerSize value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withContainerSize(Integer containerSize) { + this.containerSize = containerSize; + return this; + } + + /** + * Get the dailyMemoryTimeQuota value. + * + * @return the dailyMemoryTimeQuota value + */ + public Integer dailyMemoryTimeQuota() { + return this.dailyMemoryTimeQuota; + } + + /** + * Set the dailyMemoryTimeQuota value. + * + * @param dailyMemoryTimeQuota the dailyMemoryTimeQuota value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota) { + this.dailyMemoryTimeQuota = dailyMemoryTimeQuota; + return this; + } + + /** + * Get the suspendedTill value. + * + * @return the suspendedTill value + */ + public DateTime suspendedTill() { + return this.suspendedTill; + } + + /** + * Get the maxNumberOfWorkers value. + * + * @return the maxNumberOfWorkers value + */ + public Integer maxNumberOfWorkers() { + return this.maxNumberOfWorkers; + } + + /** + * Get the cloningInfo value. + * + * @return the cloningInfo value + */ + public CloningInfo cloningInfo() { + return this.cloningInfo; + } + + /** + * Set the cloningInfo value. + * + * @param cloningInfo the cloningInfo value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withCloningInfo(CloningInfo cloningInfo) { + this.cloningInfo = cloningInfo; + return this; + } + + /** + * Get the snapshotInfo value. + * + * @return the snapshotInfo value + */ + public SnapshotRecoveryRequest snapshotInfo() { + return this.snapshotInfo; + } + + /** + * Set the snapshotInfo value. + * + * @param snapshotInfo the snapshotInfo value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { + this.snapshotInfo = snapshotInfo; + return this; + } + + /** + * Get the resourceGroup value. + * + * @return the resourceGroup value + */ + public String resourceGroup() { + return this.resourceGroup; + } + + /** + * Get the isDefaultContainer value. + * + * @return the isDefaultContainer value + */ + public Boolean isDefaultContainer() { + return this.isDefaultContainer; + } + + /** + * Get the defaultHostName value. + * + * @return the defaultHostName value + */ + public String defaultHostName() { + return this.defaultHostName; + } + + /** + * Get the slotSwapStatus value. + * + * @return the slotSwapStatus value + */ + public SlotSwapStatus slotSwapStatus() { + return this.slotSwapStatus; + } + + /** + * Get the httpsOnly value. + * + * @return the httpsOnly value + */ + public Boolean httpsOnly() { + return this.httpsOnly; + } + + /** + * Set the httpsOnly value. + * + * @param httpsOnly the httpsOnly value to set + * @return the SitePatchResource object itself. + */ + public SitePatchResource withHttpsOnly(Boolean httpsOnly) { + this.httpsOnly = httpsOnly; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SiteSealRequest.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SiteSealRequest.java new file mode 100644 index 00000000000..f69882209a7 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SiteSealRequest.java @@ -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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Site seal request. + */ +public class SiteSealRequest { + /** + * If <code>true</code> use the light color theme for site + * seal; otherwise, use the default color theme. + */ + @JsonProperty(value = "lightTheme") + private Boolean lightTheme; + + /** + * Locale of site seal. + */ + @JsonProperty(value = "locale") + private String locale; + + /** + * Get the lightTheme value. + * + * @return the lightTheme value + */ + public Boolean lightTheme() { + return this.lightTheme; + } + + /** + * Set the lightTheme value. + * + * @param lightTheme the lightTheme value to set + * @return the SiteSealRequest object itself. + */ + public SiteSealRequest withLightTheme(Boolean lightTheme) { + this.lightTheme = lightTheme; + return this; + } + + /** + * Get the locale value. + * + * @return the locale value + */ + public String locale() { + return this.locale; + } + + /** + * Set the locale value. + * + * @param locale the locale value to set + * @return the SiteSealRequest object itself. + */ + public SiteSealRequest withLocale(String locale) { + this.locale = locale; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SnapshotRecoveryRequest.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SnapshotRecoveryRequest.java new file mode 100644 index 00000000000..cb82fa48fd3 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/SnapshotRecoveryRequest.java @@ -0,0 +1,153 @@ +/** + * 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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Details about app recovery operation. + */ +@JsonFlatten +public class SnapshotRecoveryRequest extends ProxyOnlyResource { + /** + * Point in time in which the app recovery should be attempted, formatted + * as a DateTime string. + */ + @JsonProperty(value = "properties.snapshotTime") + private String snapshotTime; + + /** + * Specifies the web app that snapshot contents will be written to. + */ + @JsonProperty(value = "properties.recoveryTarget") + private SnapshotRecoveryTarget recoveryTarget; + + /** + * If <code>true</code> the recovery operation can overwrite + * source app; otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.overwrite", required = true) + private boolean overwrite; + + /** + * If true, site configuration, in addition to content, will be reverted. + */ + @JsonProperty(value = "properties.recoverConfiguration") + private Boolean recoverConfiguration; + + /** + * If true, custom hostname conflicts will be ignored when recovering to a + * target web app. + * This setting is only necessary when RecoverConfiguration is enabled. + */ + @JsonProperty(value = "properties.ignoreConflictingHostNames") + private Boolean ignoreConflictingHostNames; + + /** + * Get the snapshotTime value. + * + * @return the snapshotTime value + */ + public String snapshotTime() { + return this.snapshotTime; + } + + /** + * Set the snapshotTime value. + * + * @param snapshotTime the snapshotTime value to set + * @return the SnapshotRecoveryRequest object itself. + */ + public SnapshotRecoveryRequest withSnapshotTime(String snapshotTime) { + this.snapshotTime = snapshotTime; + return this; + } + + /** + * Get the recoveryTarget value. + * + * @return the recoveryTarget value + */ + public SnapshotRecoveryTarget recoveryTarget() { + return this.recoveryTarget; + } + + /** + * Set the recoveryTarget value. + * + * @param recoveryTarget the recoveryTarget value to set + * @return the SnapshotRecoveryRequest object itself. + */ + public SnapshotRecoveryRequest withRecoveryTarget(SnapshotRecoveryTarget recoveryTarget) { + this.recoveryTarget = recoveryTarget; + return this; + } + + /** + * Get the overwrite value. + * + * @return the overwrite value + */ + public boolean overwrite() { + return this.overwrite; + } + + /** + * Set the overwrite value. + * + * @param overwrite the overwrite value to set + * @return the SnapshotRecoveryRequest object itself. + */ + public SnapshotRecoveryRequest withOverwrite(boolean overwrite) { + this.overwrite = overwrite; + return this; + } + + /** + * Get the recoverConfiguration value. + * + * @return the recoverConfiguration value + */ + public Boolean recoverConfiguration() { + return this.recoverConfiguration; + } + + /** + * Set the recoverConfiguration value. + * + * @param recoverConfiguration the recoverConfiguration value to set + * @return the SnapshotRecoveryRequest object itself. + */ + public SnapshotRecoveryRequest withRecoverConfiguration(Boolean recoverConfiguration) { + this.recoverConfiguration = recoverConfiguration; + return this; + } + + /** + * Get the ignoreConflictingHostNames value. + * + * @return the ignoreConflictingHostNames value + */ + public Boolean ignoreConflictingHostNames() { + return this.ignoreConflictingHostNames; + } + + /** + * Set the ignoreConflictingHostNames value. + * + * @param ignoreConflictingHostNames the ignoreConflictingHostNames value to set + * @return the SnapshotRecoveryRequest object itself. + */ + public SnapshotRecoveryRequest withIgnoreConflictingHostNames(Boolean ignoreConflictingHostNames) { + this.ignoreConflictingHostNames = ignoreConflictingHostNames; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/StorageMigrationOptions.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/StorageMigrationOptions.java new file mode 100644 index 00000000000..096302a5b35 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/StorageMigrationOptions.java @@ -0,0 +1,125 @@ +/** + * 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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Options for app content migration. + */ +@JsonFlatten +public class StorageMigrationOptions extends ProxyOnlyResource { + /** + * AzureFiles connection string. + */ + @JsonProperty(value = "properties.azurefilesConnectionString", required = true) + private String azurefilesConnectionString; + + /** + * AzureFiles share. + */ + @JsonProperty(value = "properties.azurefilesShare", required = true) + private String azurefilesShare; + + /** + * <code>true</code>if the app should be switched over; + * otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.switchSiteAfterMigration") + private Boolean switchSiteAfterMigration; + + /** + * <code>true</code> if the app should be read only during copy + * operation; otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.blockWriteAccessToSite") + private Boolean blockWriteAccessToSite; + + /** + * Get the azurefilesConnectionString value. + * + * @return the azurefilesConnectionString value + */ + public String azurefilesConnectionString() { + return this.azurefilesConnectionString; + } + + /** + * Set the azurefilesConnectionString value. + * + * @param azurefilesConnectionString the azurefilesConnectionString value to set + * @return the StorageMigrationOptions object itself. + */ + public StorageMigrationOptions withAzurefilesConnectionString(String azurefilesConnectionString) { + this.azurefilesConnectionString = azurefilesConnectionString; + return this; + } + + /** + * Get the azurefilesShare value. + * + * @return the azurefilesShare value + */ + public String azurefilesShare() { + return this.azurefilesShare; + } + + /** + * Set the azurefilesShare value. + * + * @param azurefilesShare the azurefilesShare value to set + * @return the StorageMigrationOptions object itself. + */ + public StorageMigrationOptions withAzurefilesShare(String azurefilesShare) { + this.azurefilesShare = azurefilesShare; + return this; + } + + /** + * Get the switchSiteAfterMigration value. + * + * @return the switchSiteAfterMigration value + */ + public Boolean switchSiteAfterMigration() { + return this.switchSiteAfterMigration; + } + + /** + * Set the switchSiteAfterMigration value. + * + * @param switchSiteAfterMigration the switchSiteAfterMigration value to set + * @return the StorageMigrationOptions object itself. + */ + public StorageMigrationOptions withSwitchSiteAfterMigration(Boolean switchSiteAfterMigration) { + this.switchSiteAfterMigration = switchSiteAfterMigration; + return this; + } + + /** + * Get the blockWriteAccessToSite value. + * + * @return the blockWriteAccessToSite value + */ + public Boolean blockWriteAccessToSite() { + return this.blockWriteAccessToSite; + } + + /** + * Set the blockWriteAccessToSite value. + * + * @param blockWriteAccessToSite the blockWriteAccessToSite value to set + * @return the StorageMigrationOptions object itself. + */ + public StorageMigrationOptions withBlockWriteAccessToSite(Boolean blockWriteAccessToSite) { + this.blockWriteAccessToSite = blockWriteAccessToSite; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/TopLevelDomainAgreementOption.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/TopLevelDomainAgreementOption.java new file mode 100644 index 00000000000..cefeb914ccc --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/TopLevelDomainAgreementOption.java @@ -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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Options for retrieving the list of top level domain legal agreements. + */ +public class TopLevelDomainAgreementOption { + /** + * If <code>true</code>, then the list of agreements will + * include agreements for domain privacy as well; otherwise, + * <code>false</code>. + */ + @JsonProperty(value = "includePrivacy") + private Boolean includePrivacy; + + /** + * If <code>true</code>, then the list of agreements will + * include agreements for domain transfer as well; otherwise, + * <code>false</code>. + */ + @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 TopLevelDomainAgreementOption object itself. + */ + public TopLevelDomainAgreementOption 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 TopLevelDomainAgreementOption object itself. + */ + public TopLevelDomainAgreementOption withForTransfer(Boolean forTransfer) { + this.forTransfer = forTransfer; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/ValidateRequest.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/ValidateRequest.java new file mode 100644 index 00000000000..ac8ec92c6a6 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/ValidateRequest.java @@ -0,0 +1,257 @@ +/** + * 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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Resource validation request content. + */ +@JsonFlatten +public class ValidateRequest { + /** + * Resource name to verify. + */ + @JsonProperty(value = "name", required = true) + private String name; + + /** + * Resource type used for verification. Possible values include: + * 'ServerFarm', 'Site'. + */ + @JsonProperty(value = "type", required = true) + private ValidateResourceTypes type; + + /** + * Expected location of the resource. + */ + @JsonProperty(value = "location", required = true) + private String location; + + /** + * ARM resource ID of an App Service plan that would host the app. + */ + @JsonProperty(value = "properties.serverFarmId") + private String serverFarmId; + + /** + * Name of the target SKU for the App Service plan. + */ + @JsonProperty(value = "properties.skuName") + private String skuName; + + /** + * <code>true</code> if App Service plan is for Linux workers; + * otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.needLinuxWorkers") + private Boolean needLinuxWorkers; + + /** + * <code>true</code> if App Service plan is for Spot instances; + * otherwise, <code>false</code>. + */ + @JsonProperty(value = "properties.isSpot") + private Boolean isSpot; + + /** + * Target capacity of the App Service plan (number of VM's). + */ + @JsonProperty(value = "properties.capacity") + private Integer capacity; + + /** + * Name of App Service Environment where app or App Service plan should be + * created. + */ + @JsonProperty(value = "properties.hostingEnvironment") + private String hostingEnvironment; + + /** + * 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 ValidateRequest object itself. + */ + public ValidateRequest withName(String name) { + this.name = name; + return this; + } + + /** + * Get the type value. + * + * @return the type value + */ + public ValidateResourceTypes type() { + return this.type; + } + + /** + * Set the type value. + * + * @param type the type value to set + * @return the ValidateRequest object itself. + */ + public ValidateRequest withType(ValidateResourceTypes type) { + this.type = type; + return this; + } + + /** + * Get the location value. + * + * @return the location value + */ + public String location() { + return this.location; + } + + /** + * Set the location value. + * + * @param location the location value to set + * @return the ValidateRequest object itself. + */ + public ValidateRequest withLocation(String location) { + this.location = location; + return this; + } + + /** + * Get the serverFarmId value. + * + * @return the serverFarmId value + */ + public String serverFarmId() { + return this.serverFarmId; + } + + /** + * Set the serverFarmId value. + * + * @param serverFarmId the serverFarmId value to set + * @return the ValidateRequest object itself. + */ + public ValidateRequest withServerFarmId(String serverFarmId) { + this.serverFarmId = serverFarmId; + return this; + } + + /** + * Get the skuName value. + * + * @return the skuName value + */ + public String skuName() { + return this.skuName; + } + + /** + * Set the skuName value. + * + * @param skuName the skuName value to set + * @return the ValidateRequest object itself. + */ + public ValidateRequest withSkuName(String skuName) { + this.skuName = skuName; + return this; + } + + /** + * Get the needLinuxWorkers value. + * + * @return the needLinuxWorkers value + */ + public Boolean needLinuxWorkers() { + return this.needLinuxWorkers; + } + + /** + * Set the needLinuxWorkers value. + * + * @param needLinuxWorkers the needLinuxWorkers value to set + * @return the ValidateRequest object itself. + */ + public ValidateRequest withNeedLinuxWorkers(Boolean needLinuxWorkers) { + this.needLinuxWorkers = needLinuxWorkers; + return this; + } + + /** + * Get the isSpot value. + * + * @return the isSpot value + */ + public Boolean isSpot() { + return this.isSpot; + } + + /** + * Set the isSpot value. + * + * @param isSpot the isSpot value to set + * @return the ValidateRequest object itself. + */ + public ValidateRequest withIsSpot(Boolean isSpot) { + this.isSpot = isSpot; + return this; + } + + /** + * Get the capacity value. + * + * @return the capacity value + */ + public Integer capacity() { + return this.capacity; + } + + /** + * Set the capacity value. + * + * @param capacity the capacity value to set + * @return the ValidateRequest object itself. + */ + public ValidateRequest withCapacity(Integer capacity) { + this.capacity = capacity; + 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 ValidateRequest object itself. + */ + public ValidateRequest withHostingEnvironment(String hostingEnvironment) { + this.hostingEnvironment = hostingEnvironment; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/VnetParameters.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/VnetParameters.java new file mode 100644 index 00000000000..ebe7f86b1a5 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/VnetParameters.java @@ -0,0 +1,97 @@ +/** + * 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.web; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * The required set of inputs to validate a VNET. + */ +@JsonFlatten +public class VnetParameters extends ProxyOnlyResource { + /** + * The Resource Group of the VNET to be validated. + */ + @JsonProperty(value = "properties.vnetResourceGroup") + private String vnetResourceGroup; + + /** + * The name of the VNET to be validated. + */ + @JsonProperty(value = "properties.vnetName") + private String vnetName; + + /** + * The subnet name to be validated. + */ + @JsonProperty(value = "properties.vnetSubnetName") + private String vnetSubnetName; + + /** + * Get the vnetResourceGroup value. + * + * @return the vnetResourceGroup value + */ + public String vnetResourceGroup() { + return this.vnetResourceGroup; + } + + /** + * Set the vnetResourceGroup value. + * + * @param vnetResourceGroup the vnetResourceGroup value to set + * @return the VnetParameters object itself. + */ + public VnetParameters withVnetResourceGroup(String vnetResourceGroup) { + this.vnetResourceGroup = vnetResourceGroup; + return this; + } + + /** + * Get the vnetName value. + * + * @return the vnetName value + */ + public String vnetName() { + return this.vnetName; + } + + /** + * Set the vnetName value. + * + * @param vnetName the vnetName value to set + * @return the VnetParameters object itself. + */ + public VnetParameters withVnetName(String vnetName) { + this.vnetName = vnetName; + return this; + } + + /** + * Get the vnetSubnetName value. + * + * @return the vnetSubnetName value + */ + public String vnetSubnetName() { + return this.vnetSubnetName; + } + + /** + * Set the vnetSubnetName value. + * + * @param vnetSubnetName the vnetSubnetName value to set + * @return the VnetParameters object itself. + */ + public VnetParameters withVnetSubnetName(String vnetSubnetName) { + this.vnetSubnetName = vnetSubnetName; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateOrderInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateOrderInner.java index fa32affa43b..5b73698d4bd 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateOrderInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateOrderInner.java @@ -146,6 +146,12 @@ public class AppServiceCertificateOrderInner extends Resource { @JsonProperty(value = "properties.nextAutoRenewalTimeStamp", access = JsonProperty.Access.WRITE_ONLY) private DateTime nextAutoRenewalTimeStamp; + /** + * Kind of resource. + */ + @JsonProperty(value = "kind") + private String kind; + /** * Get the certificates value. * @@ -394,4 +400,24 @@ public DateTime nextAutoRenewalTimeStamp() { return this.nextAutoRenewalTimeStamp; } + /** + * 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 AppServiceCertificateOrderInner object itself. + */ + public AppServiceCertificateOrderInner withKind(String kind) { + this.kind = kind; + return this; + } + } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateOrdersInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateOrdersInner.java index 4d4a2338307..6d8faf56781 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateOrdersInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateOrdersInner.java @@ -16,6 +16,11 @@ import com.microsoft.azure.AzureServiceFuture; import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.web.AppServiceCertificateOrderPatchResource; +import com.microsoft.azure.management.web.AppServiceCertificatePatchResource; +import com.microsoft.azure.management.web.ReissueCertificateOrderRequest; +import com.microsoft.azure.management.web.RenewCertificateOrderRequest; +import com.microsoft.azure.management.web.SiteSealRequest; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.ServiceCallback; @@ -96,7 +101,7 @@ interface AppServiceCertificateOrdersService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.AppServiceCertificateOrders update" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}") - Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("subscriptionId") String subscriptionId, @Body AppServiceCertificateOrderPatchResourceInner certificateDistinguishedName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("subscriptionId") String subscriptionId, @Body AppServiceCertificateOrderPatchResource certificateDistinguishedName, @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.web.AppServiceCertificateOrders listCertificates" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates") @@ -120,15 +125,15 @@ interface AppServiceCertificateOrdersService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.AppServiceCertificateOrders updateCertificate" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}") - Observable> updateCertificate(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AppServiceCertificatePatchResourceInner keyVaultCertificate, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> updateCertificate(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AppServiceCertificatePatchResource keyVaultCertificate, @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.web.AppServiceCertificateOrders reissue" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/reissue") - Observable> reissue(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("subscriptionId") String subscriptionId, @Body ReissueCertificateOrderRequestInner reissueCertificateOrderRequest, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> reissue(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("subscriptionId") String subscriptionId, @Body ReissueCertificateOrderRequest reissueCertificateOrderRequest, @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.web.AppServiceCertificateOrders renew" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/renew") - Observable> renew(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("subscriptionId") String subscriptionId, @Body RenewCertificateOrderRequestInner renewCertificateOrderRequest, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> renew(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("subscriptionId") String subscriptionId, @Body RenewCertificateOrderRequest renewCertificateOrderRequest, @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.web.AppServiceCertificateOrders resendEmail" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/resendEmail") @@ -140,7 +145,7 @@ interface AppServiceCertificateOrdersService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.AppServiceCertificateOrders retrieveSiteSeal" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/retrieveSiteSeal") - Observable> retrieveSiteSeal(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("subscriptionId") String subscriptionId, @Body SiteSealRequestInner siteSealRequest, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> retrieveSiteSeal(@Path("resourceGroupName") String resourceGroupName, @Path("certificateOrderName") String certificateOrderName, @Path("subscriptionId") String subscriptionId, @Body SiteSealRequest siteSealRequest, @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.web.AppServiceCertificateOrders verifyDomainOwnership" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/verifyDomainOwnership") @@ -841,7 +846,7 @@ private ServiceResponse deleteDelegate(Response response) th * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the AppServiceCertificateOrderInner object if successful. */ - public AppServiceCertificateOrderInner update(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResourceInner certificateDistinguishedName) { + public AppServiceCertificateOrderInner update(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResource certificateDistinguishedName) { return updateWithServiceResponseAsync(resourceGroupName, certificateOrderName, certificateDistinguishedName).toBlocking().single().body(); } @@ -856,7 +861,7 @@ public AppServiceCertificateOrderInner update(String resourceGroupName, String c * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResourceInner certificateDistinguishedName, final ServiceCallback serviceCallback) { + public ServiceFuture updateAsync(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResource certificateDistinguishedName, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, certificateOrderName, certificateDistinguishedName), serviceCallback); } @@ -870,7 +875,7 @@ public ServiceFuture updateAsync(String resourc * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the AppServiceCertificateOrderInner object */ - public Observable updateAsync(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResourceInner certificateDistinguishedName) { + public Observable updateAsync(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResource certificateDistinguishedName) { return updateWithServiceResponseAsync(resourceGroupName, certificateOrderName, certificateDistinguishedName).map(new Func1, AppServiceCertificateOrderInner>() { @Override public AppServiceCertificateOrderInner call(ServiceResponse response) { @@ -889,7 +894,7 @@ public AppServiceCertificateOrderInner call(ServiceResponse> updateWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResourceInner certificateDistinguishedName) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, AppServiceCertificateOrderPatchResource certificateDistinguishedName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -1445,7 +1450,7 @@ private ServiceResponse deleteCertificateDelegate(Response r * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the AppServiceCertificateResourceInner object if successful. */ - public AppServiceCertificateResourceInner updateCertificate(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResourceInner keyVaultCertificate) { + public AppServiceCertificateResourceInner updateCertificate(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResource keyVaultCertificate) { return updateCertificateWithServiceResponseAsync(resourceGroupName, certificateOrderName, name, keyVaultCertificate).toBlocking().single().body(); } @@ -1461,7 +1466,7 @@ public AppServiceCertificateResourceInner updateCertificate(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateCertificateAsync(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResourceInner keyVaultCertificate, final ServiceCallback serviceCallback) { + public ServiceFuture updateCertificateAsync(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResource keyVaultCertificate, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateCertificateWithServiceResponseAsync(resourceGroupName, certificateOrderName, name, keyVaultCertificate), serviceCallback); } @@ -1476,7 +1481,7 @@ public ServiceFuture updateCertificateAsync( * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the AppServiceCertificateResourceInner object */ - public Observable updateCertificateAsync(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResourceInner keyVaultCertificate) { + public Observable updateCertificateAsync(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResource keyVaultCertificate) { return updateCertificateWithServiceResponseAsync(resourceGroupName, certificateOrderName, name, keyVaultCertificate).map(new Func1, AppServiceCertificateResourceInner>() { @Override public AppServiceCertificateResourceInner call(ServiceResponse response) { @@ -1496,7 +1501,7 @@ public AppServiceCertificateResourceInner call(ServiceResponse> updateCertificateWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResourceInner keyVaultCertificate) { + public Observable> updateCertificateWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, String name, AppServiceCertificatePatchResource keyVaultCertificate) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -1547,7 +1552,7 @@ private ServiceResponse updateCertificateDel * @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 reissue(String resourceGroupName, String certificateOrderName, ReissueCertificateOrderRequestInner reissueCertificateOrderRequest) { + public void reissue(String resourceGroupName, String certificateOrderName, ReissueCertificateOrderRequest reissueCertificateOrderRequest) { reissueWithServiceResponseAsync(resourceGroupName, certificateOrderName, reissueCertificateOrderRequest).toBlocking().single().body(); } @@ -1562,7 +1567,7 @@ public void reissue(String resourceGroupName, String certificateOrderName, Reiss * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture reissueAsync(String resourceGroupName, String certificateOrderName, ReissueCertificateOrderRequestInner reissueCertificateOrderRequest, final ServiceCallback serviceCallback) { + public ServiceFuture reissueAsync(String resourceGroupName, String certificateOrderName, ReissueCertificateOrderRequest reissueCertificateOrderRequest, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(reissueWithServiceResponseAsync(resourceGroupName, certificateOrderName, reissueCertificateOrderRequest), serviceCallback); } @@ -1576,7 +1581,7 @@ public ServiceFuture reissueAsync(String resourceGroupName, String certifi * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable reissueAsync(String resourceGroupName, String certificateOrderName, ReissueCertificateOrderRequestInner reissueCertificateOrderRequest) { + public Observable reissueAsync(String resourceGroupName, String certificateOrderName, ReissueCertificateOrderRequest reissueCertificateOrderRequest) { return reissueWithServiceResponseAsync(resourceGroupName, certificateOrderName, reissueCertificateOrderRequest).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -1595,7 +1600,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> reissueWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, ReissueCertificateOrderRequestInner reissueCertificateOrderRequest) { + public Observable> reissueWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, ReissueCertificateOrderRequest reissueCertificateOrderRequest) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -1642,7 +1647,7 @@ private ServiceResponse reissueDelegate(Response response) t * @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 renew(String resourceGroupName, String certificateOrderName, RenewCertificateOrderRequestInner renewCertificateOrderRequest) { + public void renew(String resourceGroupName, String certificateOrderName, RenewCertificateOrderRequest renewCertificateOrderRequest) { renewWithServiceResponseAsync(resourceGroupName, certificateOrderName, renewCertificateOrderRequest).toBlocking().single().body(); } @@ -1657,7 +1662,7 @@ public void renew(String resourceGroupName, String certificateOrderName, RenewCe * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture renewAsync(String resourceGroupName, String certificateOrderName, RenewCertificateOrderRequestInner renewCertificateOrderRequest, final ServiceCallback serviceCallback) { + public ServiceFuture renewAsync(String resourceGroupName, String certificateOrderName, RenewCertificateOrderRequest renewCertificateOrderRequest, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(renewWithServiceResponseAsync(resourceGroupName, certificateOrderName, renewCertificateOrderRequest), serviceCallback); } @@ -1671,7 +1676,7 @@ public ServiceFuture renewAsync(String resourceGroupName, String certifica * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable renewAsync(String resourceGroupName, String certificateOrderName, RenewCertificateOrderRequestInner renewCertificateOrderRequest) { + public Observable renewAsync(String resourceGroupName, String certificateOrderName, RenewCertificateOrderRequest renewCertificateOrderRequest) { return renewWithServiceResponseAsync(resourceGroupName, certificateOrderName, renewCertificateOrderRequest).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -1690,7 +1695,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> renewWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, RenewCertificateOrderRequestInner renewCertificateOrderRequest) { + public Observable> renewWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, RenewCertificateOrderRequest renewCertificateOrderRequest) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -2001,7 +2006,7 @@ private ServiceResponse resendRequestEmailsDelegate(Response * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the SiteSealInner object if successful. */ - public SiteSealInner retrieveSiteSeal(String resourceGroupName, String certificateOrderName, SiteSealRequestInner siteSealRequest) { + public SiteSealInner retrieveSiteSeal(String resourceGroupName, String certificateOrderName, SiteSealRequest siteSealRequest) { return retrieveSiteSealWithServiceResponseAsync(resourceGroupName, certificateOrderName, siteSealRequest).toBlocking().single().body(); } @@ -2016,7 +2021,7 @@ public SiteSealInner retrieveSiteSeal(String resourceGroupName, String certifica * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture retrieveSiteSealAsync(String resourceGroupName, String certificateOrderName, SiteSealRequestInner siteSealRequest, final ServiceCallback serviceCallback) { + public ServiceFuture retrieveSiteSealAsync(String resourceGroupName, String certificateOrderName, SiteSealRequest siteSealRequest, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(retrieveSiteSealWithServiceResponseAsync(resourceGroupName, certificateOrderName, siteSealRequest), serviceCallback); } @@ -2030,7 +2035,7 @@ public ServiceFuture retrieveSiteSealAsync(String resourceGroupNa * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteSealInner object */ - public Observable retrieveSiteSealAsync(String resourceGroupName, String certificateOrderName, SiteSealRequestInner siteSealRequest) { + public Observable retrieveSiteSealAsync(String resourceGroupName, String certificateOrderName, SiteSealRequest siteSealRequest) { return retrieveSiteSealWithServiceResponseAsync(resourceGroupName, certificateOrderName, siteSealRequest).map(new Func1, SiteSealInner>() { @Override public SiteSealInner call(ServiceResponse response) { @@ -2049,7 +2054,7 @@ public SiteSealInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteSealInner object */ - public Observable> retrieveSiteSealWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, SiteSealRequestInner siteSealRequest) { + public Observable> retrieveSiteSealWithServiceResponseAsync(String resourceGroupName, String certificateOrderName, SiteSealRequest siteSealRequest) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateResourceInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateResourceInner.java index c682587b114..e706a199fbf 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateResourceInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceCertificateResourceInner.java @@ -42,6 +42,12 @@ public class AppServiceCertificateResourceInner extends Resource { @JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY) private KeyVaultSecretStatus provisioningState; + /** + * Kind of resource. + */ + @JsonProperty(value = "kind") + private String kind; + /** * Get the keyVaultId value. * @@ -91,4 +97,24 @@ public KeyVaultSecretStatus provisioningState() { return this.provisioningState; } + /** + * 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 AppServiceCertificateResourceInner object itself. + */ + public AppServiceCertificateResourceInner withKind(String kind) { + this.kind = kind; + return this; + } + } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceEnvironmentInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceEnvironmentInner.java new file mode 100644 index 00000000000..e68eb4fc294 --- /dev/null +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceEnvironmentInner.java @@ -0,0 +1,794 @@ +/** + * 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.web.implementation; + +import com.microsoft.azure.management.web.ProvisioningState; +import com.microsoft.azure.management.web.HostingEnvironmentStatus; +import com.microsoft.azure.management.web.VirtualNetworkProfile; +import com.microsoft.azure.management.web.InternalLoadBalancingMode; +import java.util.List; +import com.microsoft.azure.management.web.WorkerPool; +import com.microsoft.azure.management.web.VirtualIPMapping; +import com.microsoft.azure.management.web.NetworkAccessControlEntry; +import com.microsoft.azure.management.web.NameValuePair; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Description of an App Service Environment. + */ +public class AppServiceEnvironmentInner { + /** + * Name of the App Service Environment. + */ + @JsonProperty(value = "name", required = true) + private String name; + + /** + * Location of the App Service Environment, e.g. "West US". + */ + @JsonProperty(value = "location", required = true) + private String location; + + /** + * Provisioning state of the App Service Environment. Possible values + * include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. + */ + @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY) + private ProvisioningState provisioningState; + + /** + * Current status of the App Service Environment. Possible values include: + * 'Preparing', 'Ready', 'Scaling', 'Deleting'. + */ + @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY) + private HostingEnvironmentStatus status; + + /** + * Name of the Virtual Network for the App Service Environment. + */ + @JsonProperty(value = "vnetName") + private String vnetName; + + /** + * Resource group of the Virtual Network. + */ + @JsonProperty(value = "vnetResourceGroupName") + private String vnetResourceGroupName; + + /** + * Subnet of the Virtual Network. + */ + @JsonProperty(value = "vnetSubnetName") + private String vnetSubnetName; + + /** + * Description of the Virtual Network. + */ + @JsonProperty(value = "virtualNetwork", required = true) + private VirtualNetworkProfile virtualNetwork; + + /** + * Specifies which endpoints to serve internally in the Virtual Network for + * the App Service Environment. Possible values include: 'None', 'Web', + * 'Publishing'. + */ + @JsonProperty(value = "internalLoadBalancingMode") + private InternalLoadBalancingMode internalLoadBalancingMode; + + /** + * Front-end VM size, e.g. "Medium", "Large". + */ + @JsonProperty(value = "multiSize") + private String multiSize; + + /** + * Number of front-end instances. + */ + @JsonProperty(value = "multiRoleCount") + private Integer multiRoleCount; + + /** + * Description of worker pools with worker size IDs, VM sizes, and number + * of workers in each pool. + */ + @JsonProperty(value = "workerPools", required = true) + private List workerPools; + + /** + * Number of IP SSL addresses reserved for the App Service Environment. + */ + @JsonProperty(value = "ipsslAddressCount") + private Integer ipsslAddressCount; + + /** + * Edition of the metadata database for the App Service Environment, e.g. + * "Standard". + */ + @JsonProperty(value = "databaseEdition", access = JsonProperty.Access.WRITE_ONLY) + private String databaseEdition; + + /** + * Service objective of the metadata database for the App Service + * Environment, e.g. "S0". + */ + @JsonProperty(value = "databaseServiceObjective", access = JsonProperty.Access.WRITE_ONLY) + private String databaseServiceObjective; + + /** + * Number of upgrade domains of the App Service Environment. + */ + @JsonProperty(value = "upgradeDomains", access = JsonProperty.Access.WRITE_ONLY) + private Integer upgradeDomains; + + /** + * Subscription of the App Service Environment. + */ + @JsonProperty(value = "subscriptionId", access = JsonProperty.Access.WRITE_ONLY) + private String subscriptionId; + + /** + * DNS suffix of the App Service Environment. + */ + @JsonProperty(value = "dnsSuffix") + private String dnsSuffix; + + /** + * Last deployment action on the App Service Environment. + */ + @JsonProperty(value = "lastAction", access = JsonProperty.Access.WRITE_ONLY) + private String lastAction; + + /** + * Result of the last deployment action on the App Service Environment. + */ + @JsonProperty(value = "lastActionResult", access = JsonProperty.Access.WRITE_ONLY) + private String lastActionResult; + + /** + * List of comma separated strings describing which VM sizes are allowed + * for front-ends. + */ + @JsonProperty(value = "allowedMultiSizes", access = JsonProperty.Access.WRITE_ONLY) + private String allowedMultiSizes; + + /** + * List of comma separated strings describing which VM sizes are allowed + * for workers. + */ + @JsonProperty(value = "allowedWorkerSizes", access = JsonProperty.Access.WRITE_ONLY) + private String allowedWorkerSizes; + + /** + * Maximum number of VMs in the App Service Environment. + */ + @JsonProperty(value = "maximumNumberOfMachines", access = JsonProperty.Access.WRITE_ONLY) + private Integer maximumNumberOfMachines; + + /** + * Description of IP SSL mapping for the App Service Environment. + */ + @JsonProperty(value = "vipMappings", access = JsonProperty.Access.WRITE_ONLY) + private List vipMappings; + + /** + * Current total, used, and available worker capacities. + */ + @JsonProperty(value = "environmentCapacities", access = JsonProperty.Access.WRITE_ONLY) + private List environmentCapacities; + + /** + * Access control list for controlling traffic to the App Service + * Environment. + */ + @JsonProperty(value = "networkAccessControlList") + private List networkAccessControlList; + + /** + * True/false indicating whether the App Service Environment is healthy. + */ + @JsonProperty(value = "environmentIsHealthy", access = JsonProperty.Access.WRITE_ONLY) + private Boolean environmentIsHealthy; + + /** + * Detailed message about with results of the last check of the App Service + * Environment. + */ + @JsonProperty(value = "environmentStatus", access = JsonProperty.Access.WRITE_ONLY) + private String environmentStatus; + + /** + * Resource group of the App Service Environment. + */ + @JsonProperty(value = "resourceGroup", access = JsonProperty.Access.WRITE_ONLY) + private String resourceGroup; + + /** + * Scale factor for front-ends. + */ + @JsonProperty(value = "frontEndScaleFactor") + private Integer frontEndScaleFactor; + + /** + * Default Scale Factor for FrontEnds. + */ + @JsonProperty(value = "defaultFrontEndScaleFactor", access = JsonProperty.Access.WRITE_ONLY) + private Integer defaultFrontEndScaleFactor; + + /** + * API Management Account associated with the App Service Environment. + */ + @JsonProperty(value = "apiManagementAccountId") + private String apiManagementAccountId; + + /** + * <code>true</code> if the App Service Environment is + * suspended; otherwise, <code>false</code>. The environment + * can be suspended, e.g. when the management endpoint is no longer + * available + * (most likely because NSG blocked the incoming traffic). + */ + @JsonProperty(value = "suspended") + private Boolean suspended; + + /** + * True/false indicating whether the App Service Environment is suspended. + * The environment can be suspended e.g. when the management endpoint is no + * longer available + * (most likely because NSG blocked the incoming traffic). + */ + @JsonProperty(value = "dynamicCacheEnabled") + private Boolean dynamicCacheEnabled; + + /** + * Custom settings for changing the behavior of the App Service + * Environment. + */ + @JsonProperty(value = "clusterSettings") + private List clusterSettings; + + /** + * User added ip ranges to whitelist on ASE db. + */ + @JsonProperty(value = "userWhitelistedIpRanges") + private List userWhitelistedIpRanges; + + /** + * 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 AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withName(String name) { + this.name = name; + return this; + } + + /** + * Get the location value. + * + * @return the location value + */ + public String location() { + return this.location; + } + + /** + * Set the location value. + * + * @param location the location value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withLocation(String location) { + this.location = location; + return this; + } + + /** + * Get the provisioningState value. + * + * @return the provisioningState value + */ + public ProvisioningState provisioningState() { + return this.provisioningState; + } + + /** + * Get the status value. + * + * @return the status value + */ + public HostingEnvironmentStatus status() { + return this.status; + } + + /** + * Get the vnetName value. + * + * @return the vnetName value + */ + public String vnetName() { + return this.vnetName; + } + + /** + * Set the vnetName value. + * + * @param vnetName the vnetName value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withVnetName(String vnetName) { + this.vnetName = vnetName; + return this; + } + + /** + * Get the vnetResourceGroupName value. + * + * @return the vnetResourceGroupName value + */ + public String vnetResourceGroupName() { + return this.vnetResourceGroupName; + } + + /** + * Set the vnetResourceGroupName value. + * + * @param vnetResourceGroupName the vnetResourceGroupName value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withVnetResourceGroupName(String vnetResourceGroupName) { + this.vnetResourceGroupName = vnetResourceGroupName; + return this; + } + + /** + * Get the vnetSubnetName value. + * + * @return the vnetSubnetName value + */ + public String vnetSubnetName() { + return this.vnetSubnetName; + } + + /** + * Set the vnetSubnetName value. + * + * @param vnetSubnetName the vnetSubnetName value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withVnetSubnetName(String vnetSubnetName) { + this.vnetSubnetName = vnetSubnetName; + return this; + } + + /** + * Get the virtualNetwork value. + * + * @return the virtualNetwork value + */ + public VirtualNetworkProfile virtualNetwork() { + return this.virtualNetwork; + } + + /** + * Set the virtualNetwork value. + * + * @param virtualNetwork the virtualNetwork value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withVirtualNetwork(VirtualNetworkProfile virtualNetwork) { + this.virtualNetwork = virtualNetwork; + return this; + } + + /** + * Get the internalLoadBalancingMode value. + * + * @return the internalLoadBalancingMode value + */ + public InternalLoadBalancingMode internalLoadBalancingMode() { + return this.internalLoadBalancingMode; + } + + /** + * Set the internalLoadBalancingMode value. + * + * @param internalLoadBalancingMode the internalLoadBalancingMode value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withInternalLoadBalancingMode(InternalLoadBalancingMode internalLoadBalancingMode) { + this.internalLoadBalancingMode = internalLoadBalancingMode; + return this; + } + + /** + * Get the multiSize value. + * + * @return the multiSize value + */ + public String multiSize() { + return this.multiSize; + } + + /** + * Set the multiSize value. + * + * @param multiSize the multiSize value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withMultiSize(String multiSize) { + this.multiSize = multiSize; + return this; + } + + /** + * Get the multiRoleCount value. + * + * @return the multiRoleCount value + */ + public Integer multiRoleCount() { + return this.multiRoleCount; + } + + /** + * Set the multiRoleCount value. + * + * @param multiRoleCount the multiRoleCount value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withMultiRoleCount(Integer multiRoleCount) { + this.multiRoleCount = multiRoleCount; + return this; + } + + /** + * Get the workerPools value. + * + * @return the workerPools value + */ + public List workerPools() { + return this.workerPools; + } + + /** + * Set the workerPools value. + * + * @param workerPools the workerPools value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withWorkerPools(List workerPools) { + this.workerPools = workerPools; + return this; + } + + /** + * Get the ipsslAddressCount value. + * + * @return the ipsslAddressCount value + */ + public Integer ipsslAddressCount() { + return this.ipsslAddressCount; + } + + /** + * Set the ipsslAddressCount value. + * + * @param ipsslAddressCount the ipsslAddressCount value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withIpsslAddressCount(Integer ipsslAddressCount) { + this.ipsslAddressCount = ipsslAddressCount; + return this; + } + + /** + * Get the databaseEdition value. + * + * @return the databaseEdition value + */ + public String databaseEdition() { + return this.databaseEdition; + } + + /** + * Get the databaseServiceObjective value. + * + * @return the databaseServiceObjective value + */ + public String databaseServiceObjective() { + return this.databaseServiceObjective; + } + + /** + * Get the upgradeDomains value. + * + * @return the upgradeDomains value + */ + public Integer upgradeDomains() { + return this.upgradeDomains; + } + + /** + * Get the subscriptionId value. + * + * @return the subscriptionId value + */ + public String subscriptionId() { + return this.subscriptionId; + } + + /** + * Get the dnsSuffix value. + * + * @return the dnsSuffix value + */ + public String dnsSuffix() { + return this.dnsSuffix; + } + + /** + * Set the dnsSuffix value. + * + * @param dnsSuffix the dnsSuffix value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withDnsSuffix(String dnsSuffix) { + this.dnsSuffix = dnsSuffix; + return this; + } + + /** + * Get the lastAction value. + * + * @return the lastAction value + */ + public String lastAction() { + return this.lastAction; + } + + /** + * Get the lastActionResult value. + * + * @return the lastActionResult value + */ + public String lastActionResult() { + return this.lastActionResult; + } + + /** + * Get the allowedMultiSizes value. + * + * @return the allowedMultiSizes value + */ + public String allowedMultiSizes() { + return this.allowedMultiSizes; + } + + /** + * Get the allowedWorkerSizes value. + * + * @return the allowedWorkerSizes value + */ + public String allowedWorkerSizes() { + return this.allowedWorkerSizes; + } + + /** + * Get the maximumNumberOfMachines value. + * + * @return the maximumNumberOfMachines value + */ + public Integer maximumNumberOfMachines() { + return this.maximumNumberOfMachines; + } + + /** + * Get the vipMappings value. + * + * @return the vipMappings value + */ + public List vipMappings() { + return this.vipMappings; + } + + /** + * Get the environmentCapacities value. + * + * @return the environmentCapacities value + */ + public List environmentCapacities() { + return this.environmentCapacities; + } + + /** + * Get the networkAccessControlList value. + * + * @return the networkAccessControlList value + */ + public List networkAccessControlList() { + return this.networkAccessControlList; + } + + /** + * Set the networkAccessControlList value. + * + * @param networkAccessControlList the networkAccessControlList value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withNetworkAccessControlList(List networkAccessControlList) { + this.networkAccessControlList = networkAccessControlList; + return this; + } + + /** + * Get the environmentIsHealthy value. + * + * @return the environmentIsHealthy value + */ + public Boolean environmentIsHealthy() { + return this.environmentIsHealthy; + } + + /** + * Get the environmentStatus value. + * + * @return the environmentStatus value + */ + public String environmentStatus() { + return this.environmentStatus; + } + + /** + * Get the resourceGroup value. + * + * @return the resourceGroup value + */ + public String resourceGroup() { + return this.resourceGroup; + } + + /** + * Get the frontEndScaleFactor value. + * + * @return the frontEndScaleFactor value + */ + public Integer frontEndScaleFactor() { + return this.frontEndScaleFactor; + } + + /** + * Set the frontEndScaleFactor value. + * + * @param frontEndScaleFactor the frontEndScaleFactor value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withFrontEndScaleFactor(Integer frontEndScaleFactor) { + this.frontEndScaleFactor = frontEndScaleFactor; + return this; + } + + /** + * Get the defaultFrontEndScaleFactor value. + * + * @return the defaultFrontEndScaleFactor value + */ + public Integer defaultFrontEndScaleFactor() { + return this.defaultFrontEndScaleFactor; + } + + /** + * Get the apiManagementAccountId value. + * + * @return the apiManagementAccountId value + */ + public String apiManagementAccountId() { + return this.apiManagementAccountId; + } + + /** + * Set the apiManagementAccountId value. + * + * @param apiManagementAccountId the apiManagementAccountId value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withApiManagementAccountId(String apiManagementAccountId) { + this.apiManagementAccountId = apiManagementAccountId; + return this; + } + + /** + * Get the suspended value. + * + * @return the suspended value + */ + public Boolean suspended() { + return this.suspended; + } + + /** + * Set the suspended value. + * + * @param suspended the suspended value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withSuspended(Boolean suspended) { + this.suspended = suspended; + return this; + } + + /** + * Get the dynamicCacheEnabled value. + * + * @return the dynamicCacheEnabled value + */ + public Boolean dynamicCacheEnabled() { + return this.dynamicCacheEnabled; + } + + /** + * Set the dynamicCacheEnabled value. + * + * @param dynamicCacheEnabled the dynamicCacheEnabled value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withDynamicCacheEnabled(Boolean dynamicCacheEnabled) { + this.dynamicCacheEnabled = dynamicCacheEnabled; + return this; + } + + /** + * Get the clusterSettings value. + * + * @return the clusterSettings value + */ + public List clusterSettings() { + return this.clusterSettings; + } + + /** + * Set the clusterSettings value. + * + * @param clusterSettings the clusterSettings value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withClusterSettings(List clusterSettings) { + this.clusterSettings = clusterSettings; + return this; + } + + /** + * Get the userWhitelistedIpRanges value. + * + * @return the userWhitelistedIpRanges value + */ + public List userWhitelistedIpRanges() { + return this.userWhitelistedIpRanges; + } + + /** + * Set the userWhitelistedIpRanges value. + * + * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withUserWhitelistedIpRanges(List userWhitelistedIpRanges) { + this.userWhitelistedIpRanges = userWhitelistedIpRanges; + return this; + } + +} diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceEnvironmentResourceInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceEnvironmentResourceInner.java index d2b43b89064..6f9de24ad14 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceEnvironmentResourceInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServiceEnvironmentResourceInner.java @@ -261,6 +261,12 @@ public class AppServiceEnvironmentResourceInner extends Resource { @JsonProperty(value = "properties.userWhitelistedIpRanges") private List userWhitelistedIpRanges; + /** + * Kind of resource. + */ + @JsonProperty(value = "kind") + private String kind; + /** * Get the appServiceEnvironmentResourceName value. * @@ -794,4 +800,24 @@ public AppServiceEnvironmentResourceInner withUserWhitelistedIpRanges(List> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AppServiceEnvironmentPatchResourceInner hostingEnvironmentEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope, @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.web.AppServiceEnvironments listCapacities" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/capacities/compute") @@ -1175,7 +1176,7 @@ private ServiceResponse beginDeleteDelegate(Response respons * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the AppServiceEnvironmentResourceInner object if successful. */ - public AppServiceEnvironmentResourceInner update(String resourceGroupName, String name, AppServiceEnvironmentPatchResourceInner hostingEnvironmentEnvelope) { + public AppServiceEnvironmentResourceInner update(String resourceGroupName, String name, AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope) { return updateWithServiceResponseAsync(resourceGroupName, name, hostingEnvironmentEnvelope).toBlocking().single().body(); } @@ -1190,7 +1191,7 @@ public AppServiceEnvironmentResourceInner update(String resourceGroupName, Strin * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String name, AppServiceEnvironmentPatchResourceInner hostingEnvironmentEnvelope, final ServiceCallback serviceCallback) { + public ServiceFuture updateAsync(String resourceGroupName, String name, AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, name, hostingEnvironmentEnvelope), serviceCallback); } @@ -1204,7 +1205,7 @@ public ServiceFuture updateAsync(String reso * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the AppServiceEnvironmentResourceInner object */ - public Observable updateAsync(String resourceGroupName, String name, AppServiceEnvironmentPatchResourceInner hostingEnvironmentEnvelope) { + public Observable updateAsync(String resourceGroupName, String name, AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope) { return updateWithServiceResponseAsync(resourceGroupName, name, hostingEnvironmentEnvelope).map(new Func1, AppServiceEnvironmentResourceInner>() { @Override public AppServiceEnvironmentResourceInner call(ServiceResponse response) { @@ -1223,7 +1224,7 @@ public AppServiceEnvironmentResourceInner call(ServiceResponse> updateWithServiceResponseAsync(String resourceGroupName, String name, AppServiceEnvironmentPatchResourceInner hostingEnvironmentEnvelope) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String name, AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServicePlanInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServicePlanInner.java index f1012b44334..afa8fd8ac9c 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServicePlanInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServicePlanInner.java @@ -140,6 +140,12 @@ public class AppServicePlanInner extends Resource { @JsonProperty(value = "sku") private SkuDescription sku; + /** + * Kind of resource. + */ + @JsonProperty(value = "kind") + private String kind; + /** * Get the appServicePlanName value. * @@ -423,4 +429,24 @@ public AppServicePlanInner withSku(SkuDescription sku) { return this; } + /** + * 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 AppServicePlanInner object itself. + */ + public AppServicePlanInner withKind(String kind) { + this.kind = kind; + return this; + } + } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServicePlansInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServicePlansInner.java index 3ac58d4d45c..2e719343092 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServicePlansInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/AppServicePlansInner.java @@ -16,6 +16,7 @@ import com.microsoft.azure.AzureServiceFuture; import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.web.AppServicePlanPatchResource; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.ServiceCallback; @@ -92,7 +93,7 @@ interface AppServicePlansService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.AppServicePlans update" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}") - Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AppServicePlanPatchResourceInner appServicePlan, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AppServicePlanPatchResource appServicePlan, @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.web.AppServicePlans listCapabilities" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/capabilities") @@ -927,7 +928,7 @@ private ServiceResponse deleteDelegate(Response response) th * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the AppServicePlanInner object if successful. */ - public AppServicePlanInner update(String resourceGroupName, String name, AppServicePlanPatchResourceInner appServicePlan) { + public AppServicePlanInner update(String resourceGroupName, String name, AppServicePlanPatchResource appServicePlan) { return updateWithServiceResponseAsync(resourceGroupName, name, appServicePlan).toBlocking().single().body(); } @@ -942,7 +943,7 @@ public AppServicePlanInner update(String resourceGroupName, String name, AppServ * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String name, AppServicePlanPatchResourceInner appServicePlan, final ServiceCallback serviceCallback) { + public ServiceFuture updateAsync(String resourceGroupName, String name, AppServicePlanPatchResource appServicePlan, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, name, appServicePlan), serviceCallback); } @@ -956,7 +957,7 @@ public ServiceFuture updateAsync(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the AppServicePlanInner object */ - public Observable updateAsync(String resourceGroupName, String name, AppServicePlanPatchResourceInner appServicePlan) { + public Observable updateAsync(String resourceGroupName, String name, AppServicePlanPatchResource appServicePlan) { return updateWithServiceResponseAsync(resourceGroupName, name, appServicePlan).map(new Func1, AppServicePlanInner>() { @Override public AppServicePlanInner call(ServiceResponse response) { @@ -975,7 +976,7 @@ public AppServicePlanInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the AppServicePlanInner object */ - public Observable> updateWithServiceResponseAsync(String resourceGroupName, String name, AppServicePlanPatchResourceInner appServicePlan) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String name, AppServicePlanPatchResource appServicePlan) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/CertificateInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/CertificateInner.java index 5825898ba48..e9f5f088d53 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/CertificateInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/CertificateInner.java @@ -148,6 +148,12 @@ public class CertificateInner extends Resource { @JsonProperty(value = "properties.serverFarmId") private String serverFarmId; + /** + * Kind of resource. + */ + @JsonProperty(value = "kind") + private String kind; + /** * Get the friendlyName value. * @@ -394,4 +400,24 @@ public CertificateInner withServerFarmId(String serverFarmId) { return this; } + /** + * 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 CertificateInner object itself. + */ + public CertificateInner withKind(String kind) { + this.kind = kind; + return this; + } + } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/CertificatesInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/CertificatesInner.java index 77854a6ee16..efa30364d6e 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/CertificatesInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/CertificatesInner.java @@ -16,6 +16,7 @@ import com.microsoft.azure.AzureServiceFuture; import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.web.CertificatePatchResource; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.ServiceCallback; @@ -87,7 +88,7 @@ interface CertificatesService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.Certificates update" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/certificates/{name}") - Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CertificatePatchResourceInner certificateEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CertificatePatchResource 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.web.Certificates listNext" }) @GET @@ -611,7 +612,7 @@ private ServiceResponse deleteDelegate(Response response) th * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the CertificateInner object if successful. */ - public CertificateInner update(String resourceGroupName, String name, CertificatePatchResourceInner certificateEnvelope) { + public CertificateInner update(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) { return updateWithServiceResponseAsync(resourceGroupName, name, certificateEnvelope).toBlocking().single().body(); } @@ -626,7 +627,7 @@ public CertificateInner update(String resourceGroupName, String name, Certificat * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String name, CertificatePatchResourceInner certificateEnvelope, final ServiceCallback serviceCallback) { + public ServiceFuture updateAsync(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, name, certificateEnvelope), serviceCallback); } @@ -640,7 +641,7 @@ public ServiceFuture updateAsync(String resourceGroupName, Str * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the CertificateInner object */ - public Observable updateAsync(String resourceGroupName, String name, CertificatePatchResourceInner certificateEnvelope) { + public Observable updateAsync(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) { return updateWithServiceResponseAsync(resourceGroupName, name, certificateEnvelope).map(new Func1, CertificateInner>() { @Override public CertificateInner call(ServiceResponse response) { @@ -659,7 +660,7 @@ public CertificateInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the CertificateInner object */ - public Observable> updateWithServiceResponseAsync(String resourceGroupName, String name, CertificatePatchResourceInner certificateEnvelope) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String name, CertificatePatchResource certificateEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DeploymentLocationsInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DeploymentLocationsInner.java index ffe37a80648..f125b5d7199 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DeploymentLocationsInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DeploymentLocationsInner.java @@ -9,7 +9,6 @@ package com.microsoft.azure.management.web.implementation; import java.util.List; -import com.microsoft.azure.management.web.AppServiceEnvironment; import com.microsoft.azure.management.web.HostingEnvironmentDeploymentInfo; import com.fasterxml.jackson.annotation.JsonProperty; @@ -29,7 +28,7 @@ public class DeploymentLocationsInner { * environments. */ @JsonProperty(value = "hostingEnvironments") - private List hostingEnvironments; + private List hostingEnvironments; /** * Available App Service Environments with basic information. @@ -62,7 +61,7 @@ public DeploymentLocationsInner withLocations(List locations) { * * @return the hostingEnvironments value */ - public List hostingEnvironments() { + public List hostingEnvironments() { return this.hostingEnvironments; } @@ -72,7 +71,7 @@ public List hostingEnvironments() { * @param hostingEnvironments the hostingEnvironments value to set * @return the DeploymentLocationsInner object itself. */ - public DeploymentLocationsInner withHostingEnvironments(List hostingEnvironments) { + public DeploymentLocationsInner withHostingEnvironments(List hostingEnvironments) { this.hostingEnvironments = hostingEnvironments; return this; } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DomainInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DomainInner.java index f0f40122aea..46e18dc281a 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DomainInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DomainInner.java @@ -158,6 +158,12 @@ public class DomainInner extends Resource { @JsonProperty(value = "properties.authCode") private String authCode; + /** + * Kind of resource. + */ + @JsonProperty(value = "kind") + private String kind; + /** * Get the contactAdmin value. * @@ -459,4 +465,24 @@ public DomainInner withAuthCode(String authCode) { return this; } + /** + * 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 DomainInner object itself. + */ + public DomainInner withKind(String kind) { + this.kind = kind; + return this; + } + } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DomainsInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DomainsInner.java index da83fd90c28..829f817bcac 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DomainsInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/DomainsInner.java @@ -16,6 +16,8 @@ import com.microsoft.azure.AzureServiceFuture; import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.web.DomainPatchResource; +import com.microsoft.azure.management.web.DomainRecommendationSearchParameters; import com.microsoft.azure.management.web.ErrorResponseException; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; @@ -81,7 +83,7 @@ interface DomainsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.Domains listRecommendations" }) @POST("subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/listDomainRecommendations") - Observable> listRecommendations(@Path("subscriptionId") String subscriptionId, @Body DomainRecommendationSearchParametersInner parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> listRecommendations(@Path("subscriptionId") String subscriptionId, @Body DomainRecommendationSearchParameters 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.web.Domains listByResourceGroup" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains") @@ -105,7 +107,7 @@ interface DomainsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.Domains update" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}") - Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("domainName") String domainName, @Path("subscriptionId") String subscriptionId, @Body DomainPatchResourceInner domain, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("domainName") String domainName, @Path("subscriptionId") String subscriptionId, @Body DomainPatchResource domain, @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.web.Domains listOwnershipIdentifiers" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}/domainOwnershipIdentifiers") @@ -493,7 +495,7 @@ private ServiceResponse getControlCenterSsoR * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<NameIdentifierInner> object if successful. */ - public PagedList listRecommendations(final DomainRecommendationSearchParametersInner parameters) { + public PagedList listRecommendations(final DomainRecommendationSearchParameters parameters) { ServiceResponse> response = listRecommendationsSinglePageAsync(parameters).toBlocking().single(); return new PagedList(response.body()) { @Override @@ -512,7 +514,7 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listRecommendationsAsync(final DomainRecommendationSearchParametersInner parameters, final ListOperationCallback serviceCallback) { + public ServiceFuture> listRecommendationsAsync(final DomainRecommendationSearchParameters parameters, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listRecommendationsSinglePageAsync(parameters), new Func1>>>() { @@ -532,7 +534,7 @@ public Observable>> call(String nextPa * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<NameIdentifierInner> object */ - public Observable> listRecommendationsAsync(final DomainRecommendationSearchParametersInner parameters) { + public Observable> listRecommendationsAsync(final DomainRecommendationSearchParameters parameters) { return listRecommendationsWithServiceResponseAsync(parameters) .map(new Func1>, Page>() { @Override @@ -550,7 +552,7 @@ public Page call(ServiceResponse> * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<NameIdentifierInner> object */ - public Observable>> listRecommendationsWithServiceResponseAsync(final DomainRecommendationSearchParametersInner parameters) { + public Observable>> listRecommendationsWithServiceResponseAsync(final DomainRecommendationSearchParameters parameters) { return listRecommendationsSinglePageAsync(parameters) .concatMap(new Func1>, Observable>>>() { @Override @@ -572,7 +574,7 @@ public Observable>> call(ServiceRespon * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<NameIdentifierInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listRecommendationsSinglePageAsync(final DomainRecommendationSearchParametersInner parameters) { + public Observable>> listRecommendationsSinglePageAsync(final DomainRecommendationSearchParameters parameters) { if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } @@ -1169,7 +1171,7 @@ private ServiceResponse deleteDelegate(Response response) th * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the DomainInner object if successful. */ - public DomainInner update(String resourceGroupName, String domainName, DomainPatchResourceInner domain) { + public DomainInner update(String resourceGroupName, String domainName, DomainPatchResource domain) { return updateWithServiceResponseAsync(resourceGroupName, domainName, domain).toBlocking().single().body(); } @@ -1184,7 +1186,7 @@ public DomainInner update(String resourceGroupName, String domainName, DomainPat * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String domainName, DomainPatchResourceInner domain, final ServiceCallback serviceCallback) { + public ServiceFuture updateAsync(String resourceGroupName, String domainName, DomainPatchResource domain, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, domainName, domain), serviceCallback); } @@ -1198,7 +1200,7 @@ public ServiceFuture updateAsync(String resourceGroupName, String d * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DomainInner object */ - public Observable updateAsync(String resourceGroupName, String domainName, DomainPatchResourceInner domain) { + public Observable updateAsync(String resourceGroupName, String domainName, DomainPatchResource domain) { return updateWithServiceResponseAsync(resourceGroupName, domainName, domain).map(new Func1, DomainInner>() { @Override public DomainInner call(ServiceResponse response) { @@ -1217,7 +1219,7 @@ public DomainInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the DomainInner object */ - public Observable> updateWithServiceResponseAsync(String resourceGroupName, String domainName, DomainPatchResourceInner domain) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String domainName, DomainPatchResource domain) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/PremierAddOnInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/PremierAddOnInner.java index d25f8a27ffd..f9c3afe1218 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/PremierAddOnInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/PremierAddOnInner.java @@ -66,6 +66,12 @@ public class PremierAddOnInner extends Resource { @JsonProperty(value = "properties.marketplaceOffer") private String marketplaceOffer; + /** + * Kind of resource. + */ + @JsonProperty(value = "kind") + private String kind; + /** * Get the sku value. * @@ -226,4 +232,24 @@ public PremierAddOnInner withMarketplaceOffer(String marketplaceOffer) { return this; } + /** + * 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 PremierAddOnInner object itself. + */ + public PremierAddOnInner withKind(String kind) { + this.kind = kind; + return this; + } + } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/SiteInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/SiteInner.java index 71cc1f3d297..9a5a60ae675 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/SiteInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/SiteInner.java @@ -16,6 +16,7 @@ import com.microsoft.azure.management.web.SiteConfig; import com.microsoft.azure.management.web.HostingEnvironmentProfile; import com.microsoft.azure.management.web.CloningInfo; +import com.microsoft.azure.management.web.SnapshotRecoveryRequest; import com.microsoft.azure.management.web.SlotSwapStatus; import com.microsoft.azure.management.web.ManagedServiceIdentity; import com.fasterxml.jackson.annotation.JsonProperty; @@ -213,7 +214,7 @@ public class SiteInner extends Resource { * snapshot. */ @JsonProperty(value = "properties.snapshotInfo") - private SnapshotRecoveryRequestInner snapshotInfo; + private SnapshotRecoveryRequest snapshotInfo; /** * Name of the resource group the app belongs to. Read-only. @@ -254,6 +255,12 @@ public class SiteInner extends Resource { @JsonProperty(value = "identity") private ManagedServiceIdentity identity; + /** + * Kind of resource. + */ + @JsonProperty(value = "kind") + private String kind; + /** * Get the state value. * @@ -636,7 +643,7 @@ public SiteInner withCloningInfo(CloningInfo cloningInfo) { * * @return the snapshotInfo value */ - public SnapshotRecoveryRequestInner snapshotInfo() { + public SnapshotRecoveryRequest snapshotInfo() { return this.snapshotInfo; } @@ -646,7 +653,7 @@ public SnapshotRecoveryRequestInner snapshotInfo() { * @param snapshotInfo the snapshotInfo value to set * @return the SiteInner object itself. */ - public SiteInner withSnapshotInfo(SnapshotRecoveryRequestInner snapshotInfo) { + public SiteInner withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { this.snapshotInfo = snapshotInfo; return this; } @@ -727,4 +734,24 @@ public SiteInner withIdentity(ManagedServiceIdentity identity) { return this; } + /** + * 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 SiteInner object itself. + */ + public SiteInner withKind(String kind) { + this.kind = kind; + return this; + } + } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/TopLevelDomainsInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/TopLevelDomainsInner.java index f3d49c06c78..1ee6890f49e 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/TopLevelDomainsInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/TopLevelDomainsInner.java @@ -13,6 +13,7 @@ import com.microsoft.azure.AzureServiceFuture; import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.web.TopLevelDomainAgreementOption; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.ServiceCallback; @@ -70,7 +71,7 @@ interface TopLevelDomainsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.TopLevelDomains listAgreements" }) @POST("subscriptions/{subscriptionId}/providers/Microsoft.DomainRegistration/topLevelDomains/{name}/listAgreements") - Observable> 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); + Observable> listAgreements(@Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body TopLevelDomainAgreementOption 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.web.TopLevelDomains listNext" }) @GET @@ -284,7 +285,7 @@ private ServiceResponse getDelegate(Response * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the PagedList<TldLegalAgreementInner> object if successful. */ - public PagedList listAgreements(final String name, final TopLevelDomainAgreementOptionInner agreementOption) { + public PagedList listAgreements(final String name, final TopLevelDomainAgreementOption agreementOption) { ServiceResponse> response = listAgreementsSinglePageAsync(name, agreementOption).toBlocking().single(); return new PagedList(response.body()) { @Override @@ -304,7 +305,7 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listAgreementsAsync(final String name, final TopLevelDomainAgreementOptionInner agreementOption, final ListOperationCallback serviceCallback) { + public ServiceFuture> listAgreementsAsync(final String name, final TopLevelDomainAgreementOption agreementOption, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listAgreementsSinglePageAsync(name, agreementOption), new Func1>>>() { @@ -325,7 +326,7 @@ public Observable>> call(String nex * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<TldLegalAgreementInner> object */ - public Observable> listAgreementsAsync(final String name, final TopLevelDomainAgreementOptionInner agreementOption) { + public Observable> listAgreementsAsync(final String name, final TopLevelDomainAgreementOption agreementOption) { return listAgreementsWithServiceResponseAsync(name, agreementOption) .map(new Func1>, Page>() { @Override @@ -344,7 +345,7 @@ public Page call(ServiceResponse>> listAgreementsWithServiceResponseAsync(final String name, final TopLevelDomainAgreementOptionInner agreementOption) { + public Observable>> listAgreementsWithServiceResponseAsync(final String name, final TopLevelDomainAgreementOption agreementOption) { return listAgreementsSinglePageAsync(name, agreementOption) .concatMap(new Func1>, Observable>>>() { @Override @@ -367,7 +368,7 @@ public Observable>> call(ServiceRes * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TldLegalAgreementInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listAgreementsSinglePageAsync(final String name, final TopLevelDomainAgreementOptionInner agreementOption) { + public Observable>> listAgreementsSinglePageAsync(final String name, final TopLevelDomainAgreementOption agreementOption) { if (name == null) { throw new IllegalArgumentException("Parameter name is required and cannot be null."); } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/WebAppsInner.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/WebAppsInner.java index dec9ab18de4..f6dbfa5f537 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/WebAppsInner.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/WebAppsInner.java @@ -17,7 +17,13 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; import com.microsoft.azure.management.web.CsmPublishingProfileOptions; +import com.microsoft.azure.management.web.CsmSlotEntity; +import com.microsoft.azure.management.web.MigrateMySqlRequest; +import com.microsoft.azure.management.web.MSDeploy; import com.microsoft.azure.management.web.PublishingProfileFormat; +import com.microsoft.azure.management.web.SitePatchResource; +import com.microsoft.azure.management.web.SnapshotRecoveryRequest; +import com.microsoft.azure.management.web.StorageMigrationOptions; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.ServiceCallback; @@ -96,7 +102,7 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps update" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}") - Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SitePatchResourceInner siteEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> update(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SitePatchResource siteEnvelope, @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.web.WebApps analyzeCustomHostname" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/analyzeCustomHostname") @@ -104,7 +110,7 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps applySlotConfigToProduction" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig") - Observable> applySlotConfigToProduction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntityInner slotSwapEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> applySlotConfigToProduction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntity slotSwapEntity, @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.web.WebApps backup" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backup") @@ -318,11 +324,11 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps createMSDeployOperation" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy") - Observable> createMSDeployOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body MSDeployInner mSDeploy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> createMSDeployOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body MSDeploy mSDeploy, @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.web.WebApps beginCreateMSDeployOperation" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy") - Observable> beginCreateMSDeployOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body MSDeployInner mSDeploy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginCreateMSDeployOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body MSDeploy mSDeploy, @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.web.WebApps getMSDeployLog" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/extensions/MSDeploy/log") @@ -426,11 +432,11 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps createInstanceMSDeployOperation" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy") - Observable> createInstanceMSDeployOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("instanceId") String instanceId, @Path("subscriptionId") String subscriptionId, @Body MSDeployInner mSDeploy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> createInstanceMSDeployOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("instanceId") String instanceId, @Path("subscriptionId") String subscriptionId, @Body MSDeploy mSDeploy, @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.web.WebApps beginCreateInstanceMSDeployOperation" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy") - Observable> beginCreateInstanceMSDeployOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("instanceId") String instanceId, @Path("subscriptionId") String subscriptionId, @Body MSDeployInner mSDeploy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginCreateInstanceMSDeployOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("instanceId") String instanceId, @Path("subscriptionId") String subscriptionId, @Body MSDeploy mSDeploy, @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.web.WebApps getInstanceMSDeployLog" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log") @@ -487,19 +493,19 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps migrateStorage" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate") - Observable> migrateStorage(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("subscriptionName") String subscriptionName, @Body StorageMigrationOptionsInner migrationOptions, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> migrateStorage(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("subscriptionName") String subscriptionName, @Body StorageMigrationOptions migrationOptions, @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.web.WebApps beginMigrateStorage" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate") - Observable> beginMigrateStorage(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("subscriptionName") String subscriptionName, @Body StorageMigrationOptionsInner migrationOptions, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginMigrateStorage(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("subscriptionName") String subscriptionName, @Body StorageMigrationOptions migrationOptions, @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.web.WebApps migrateMySql" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql") - Observable> migrateMySql(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body MigrateMySqlRequestInner migrationRequestEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> migrateMySql(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body MigrateMySqlRequest migrationRequestEnvelope, @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.web.WebApps beginMigrateMySql" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql") - Observable> beginMigrateMySql(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body MigrateMySqlRequestInner migrationRequestEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginMigrateMySql(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body MigrateMySqlRequest migrationRequestEnvelope, @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.web.WebApps getMigrateMySqlStatus" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql/status") @@ -601,11 +607,11 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps recover" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover") - Observable> recover(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SnapshotRecoveryRequestInner recoveryEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> recover(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SnapshotRecoveryRequest recoveryEntity, @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.web.WebApps beginRecover" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover") - Observable> beginRecover(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SnapshotRecoveryRequestInner recoveryEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginRecover(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SnapshotRecoveryRequest recoveryEntity, @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.web.WebApps resetProductionSlotConfig" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig") @@ -657,7 +663,7 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps updateSlot" }) @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}") - Observable> updateSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SitePatchResourceInner siteEnvelope, @Query("skipDnsRegistration") Boolean skipDnsRegistration, @Query("skipCustomDomainVerification") Boolean skipCustomDomainVerification, @Query("forceDnsRegistration") Boolean forceDnsRegistration, @Query("ttlInSeconds") String ttlInSeconds, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> updateSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SitePatchResource siteEnvelope, @Query("skipDnsRegistration") Boolean skipDnsRegistration, @Query("skipCustomDomainVerification") Boolean skipCustomDomainVerification, @Query("forceDnsRegistration") Boolean forceDnsRegistration, @Query("ttlInSeconds") String ttlInSeconds, @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.web.WebApps analyzeCustomHostnameSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname") @@ -665,7 +671,7 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps applySlotConfigurationSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig") - Observable> applySlotConfigurationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntityInner slotSwapEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> applySlotConfigurationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntity slotSwapEntity, @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.web.WebApps backupSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup") @@ -871,11 +877,11 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps createMSDeployOperationSlot" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy") - Observable> createMSDeployOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body MSDeployInner mSDeploy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> createMSDeployOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body MSDeploy mSDeploy, @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.web.WebApps beginCreateMSDeployOperationSlot" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy") - Observable> beginCreateMSDeployOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body MSDeployInner mSDeploy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginCreateMSDeployOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body MSDeploy mSDeploy, @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.web.WebApps getMSDeployLogSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log") @@ -979,11 +985,11 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps createInstanceMSDeployOperationSlot" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy") - Observable> createInstanceMSDeployOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("instanceId") String instanceId, @Path("subscriptionId") String subscriptionId, @Body MSDeployInner mSDeploy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> createInstanceMSDeployOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("instanceId") String instanceId, @Path("subscriptionId") String subscriptionId, @Body MSDeploy mSDeploy, @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.web.WebApps beginCreateInstanceMSDeployOperationSlot" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy") - Observable> beginCreateInstanceMSDeployOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("instanceId") String instanceId, @Path("subscriptionId") String subscriptionId, @Body MSDeployInner mSDeploy, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginCreateInstanceMSDeployOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("instanceId") String instanceId, @Path("subscriptionId") String subscriptionId, @Body MSDeploy mSDeploy, @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.web.WebApps getInstanceMSDeployLogSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log") @@ -1138,11 +1144,11 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps recoverSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover") - Observable> recoverSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SnapshotRecoveryRequestInner recoveryEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> recoverSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SnapshotRecoveryRequest recoveryEntity, @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.web.WebApps beginRecoverSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover") - Observable> beginRecoverSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SnapshotRecoveryRequestInner recoveryEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginRecoverSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SnapshotRecoveryRequest recoveryEntity, @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.web.WebApps resetSlotConfigurationSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig") @@ -1174,15 +1180,15 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps listSlotDifferencesSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs") - Observable> listSlotDifferencesSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntityInner slotSwapEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> listSlotDifferencesSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntity slotSwapEntity, @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.web.WebApps swapSlotSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap") - Observable> swapSlotSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntityInner slotSwapEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> swapSlotSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntity slotSwapEntity, @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.web.WebApps beginSwapSlotSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap") - Observable> beginSwapSlotSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntityInner slotSwapEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginSwapSlotSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntity slotSwapEntity, @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.web.WebApps listSnapshotsSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots") @@ -1294,15 +1300,15 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebApps listSlotDifferencesFromProduction" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs") - Observable> listSlotDifferencesFromProduction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntityInner slotSwapEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> listSlotDifferencesFromProduction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntity slotSwapEntity, @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.web.WebApps swapSlotWithProduction" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap") - Observable> swapSlotWithProduction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntityInner slotSwapEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> swapSlotWithProduction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntity slotSwapEntity, @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.web.WebApps beginSwapSlotWithProduction" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap") - Observable> beginSwapSlotWithProduction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntityInner slotSwapEntity, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> beginSwapSlotWithProduction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmSlotEntity slotSwapEntity, @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.web.WebApps listSnapshots" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots") @@ -2435,7 +2441,7 @@ private ServiceResponse deleteDelegate(Response response) th * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the SiteInner object if successful. */ - public SiteInner update(String resourceGroupName, String name, SitePatchResourceInner siteEnvelope) { + public SiteInner update(String resourceGroupName, String name, SitePatchResource siteEnvelope) { return updateWithServiceResponseAsync(resourceGroupName, name, siteEnvelope).toBlocking().single().body(); } @@ -2450,7 +2456,7 @@ public SiteInner update(String resourceGroupName, String name, SitePatchResource * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAsync(String resourceGroupName, String name, SitePatchResourceInner siteEnvelope, final ServiceCallback serviceCallback) { + public ServiceFuture updateAsync(String resourceGroupName, String name, SitePatchResource siteEnvelope, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateWithServiceResponseAsync(resourceGroupName, name, siteEnvelope), serviceCallback); } @@ -2464,7 +2470,7 @@ public ServiceFuture updateAsync(String resourceGroupName, String nam * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteInner object */ - public Observable updateAsync(String resourceGroupName, String name, SitePatchResourceInner siteEnvelope) { + public Observable updateAsync(String resourceGroupName, String name, SitePatchResource siteEnvelope) { return updateWithServiceResponseAsync(resourceGroupName, name, siteEnvelope).map(new Func1, SiteInner>() { @Override public SiteInner call(ServiceResponse response) { @@ -2483,7 +2489,7 @@ public SiteInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteInner object */ - public Observable> updateWithServiceResponseAsync(String resourceGroupName, String name, SitePatchResourceInner siteEnvelope) { + public Observable> updateWithServiceResponseAsync(String resourceGroupName, String name, SitePatchResource siteEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -2705,7 +2711,7 @@ private ServiceResponse analyzeCustomHostname * @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 applySlotConfigToProduction(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public void applySlotConfigToProduction(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { applySlotConfigToProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity).toBlocking().single().body(); } @@ -2720,7 +2726,7 @@ public void applySlotConfigToProduction(String resourceGroupName, String name, C * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture applySlotConfigToProductionAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity, final ServiceCallback serviceCallback) { + public ServiceFuture applySlotConfigToProductionAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(applySlotConfigToProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity), serviceCallback); } @@ -2734,7 +2740,7 @@ public ServiceFuture applySlotConfigToProductionAsync(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable applySlotConfigToProductionAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public Observable applySlotConfigToProductionAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { return applySlotConfigToProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -2753,7 +2759,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> applySlotConfigToProductionWithServiceResponseAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public Observable> applySlotConfigToProductionWithServiceResponseAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -7849,7 +7855,7 @@ private ServiceResponse getMSDeployStatusDelegate(Response< * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner createMSDeployOperation(String resourceGroupName, String name, MSDeployInner mSDeploy) { + public MSDeployStatusInner createMSDeployOperation(String resourceGroupName, String name, MSDeploy mSDeploy) { return createMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, mSDeploy).toBlocking().last().body(); } @@ -7864,7 +7870,7 @@ public MSDeployStatusInner createMSDeployOperation(String resourceGroupName, Str * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture createMSDeployOperationAsync(String resourceGroupName, String name, MSDeployInner mSDeploy, final ServiceCallback serviceCallback) { + public ServiceFuture createMSDeployOperationAsync(String resourceGroupName, String name, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(createMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, mSDeploy), serviceCallback); } @@ -7878,7 +7884,7 @@ public ServiceFuture createMSDeployOperationAsync(String re * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable createMSDeployOperationAsync(String resourceGroupName, String name, MSDeployInner mSDeploy) { + public Observable createMSDeployOperationAsync(String resourceGroupName, String name, MSDeploy mSDeploy) { return createMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override public MSDeployStatusInner call(ServiceResponse response) { @@ -7897,7 +7903,7 @@ public MSDeployStatusInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> createMSDeployOperationWithServiceResponseAsync(String resourceGroupName, String name, MSDeployInner mSDeploy) { + public Observable> createMSDeployOperationWithServiceResponseAsync(String resourceGroupName, String name, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -7928,7 +7934,7 @@ public Observable> createMSDeployOperationW * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner beginCreateMSDeployOperation(String resourceGroupName, String name, MSDeployInner mSDeploy) { + public MSDeployStatusInner beginCreateMSDeployOperation(String resourceGroupName, String name, MSDeploy mSDeploy) { return beginCreateMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, mSDeploy).toBlocking().single().body(); } @@ -7943,7 +7949,7 @@ public MSDeployStatusInner beginCreateMSDeployOperation(String resourceGroupName * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginCreateMSDeployOperationAsync(String resourceGroupName, String name, MSDeployInner mSDeploy, final ServiceCallback serviceCallback) { + public ServiceFuture beginCreateMSDeployOperationAsync(String resourceGroupName, String name, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginCreateMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, mSDeploy), serviceCallback); } @@ -7957,7 +7963,7 @@ public ServiceFuture beginCreateMSDeployOperationAsync(Stri * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the MSDeployStatusInner object */ - public Observable beginCreateMSDeployOperationAsync(String resourceGroupName, String name, MSDeployInner mSDeploy) { + public Observable beginCreateMSDeployOperationAsync(String resourceGroupName, String name, MSDeploy mSDeploy) { return beginCreateMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override public MSDeployStatusInner call(ServiceResponse response) { @@ -7976,7 +7982,7 @@ public MSDeployStatusInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the MSDeployStatusInner object */ - public Observable> beginCreateMSDeployOperationWithServiceResponseAsync(String resourceGroupName, String name, MSDeployInner mSDeploy) { + public Observable> beginCreateMSDeployOperationWithServiceResponseAsync(String resourceGroupName, String name, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -10543,7 +10549,7 @@ private ServiceResponse getInstanceMsDeployStatusDelegate(R * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner createInstanceMSDeployOperation(String resourceGroupName, String name, String instanceId, MSDeployInner mSDeploy) { + public MSDeployStatusInner createInstanceMSDeployOperation(String resourceGroupName, String name, String instanceId, MSDeploy mSDeploy) { return createInstanceMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, instanceId, mSDeploy).toBlocking().last().body(); } @@ -10559,7 +10565,7 @@ public MSDeployStatusInner createInstanceMSDeployOperation(String resourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture createInstanceMSDeployOperationAsync(String resourceGroupName, String name, String instanceId, MSDeployInner mSDeploy, final ServiceCallback serviceCallback) { + public ServiceFuture createInstanceMSDeployOperationAsync(String resourceGroupName, String name, String instanceId, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(createInstanceMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, instanceId, mSDeploy), serviceCallback); } @@ -10574,7 +10580,7 @@ public ServiceFuture createInstanceMSDeployOperationAsync(S * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable createInstanceMSDeployOperationAsync(String resourceGroupName, String name, String instanceId, MSDeployInner mSDeploy) { + public Observable createInstanceMSDeployOperationAsync(String resourceGroupName, String name, String instanceId, MSDeploy mSDeploy) { return createInstanceMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, instanceId, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override public MSDeployStatusInner call(ServiceResponse response) { @@ -10594,7 +10600,7 @@ public MSDeployStatusInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> createInstanceMSDeployOperationWithServiceResponseAsync(String resourceGroupName, String name, String instanceId, MSDeployInner mSDeploy) { + public Observable> createInstanceMSDeployOperationWithServiceResponseAsync(String resourceGroupName, String name, String instanceId, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -10629,7 +10635,7 @@ public Observable> createInstanceMSDeployOp * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner beginCreateInstanceMSDeployOperation(String resourceGroupName, String name, String instanceId, MSDeployInner mSDeploy) { + public MSDeployStatusInner beginCreateInstanceMSDeployOperation(String resourceGroupName, String name, String instanceId, MSDeploy mSDeploy) { return beginCreateInstanceMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, instanceId, mSDeploy).toBlocking().single().body(); } @@ -10645,7 +10651,7 @@ public MSDeployStatusInner beginCreateInstanceMSDeployOperation(String resourceG * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginCreateInstanceMSDeployOperationAsync(String resourceGroupName, String name, String instanceId, MSDeployInner mSDeploy, final ServiceCallback serviceCallback) { + public ServiceFuture beginCreateInstanceMSDeployOperationAsync(String resourceGroupName, String name, String instanceId, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginCreateInstanceMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, instanceId, mSDeploy), serviceCallback); } @@ -10660,7 +10666,7 @@ public ServiceFuture beginCreateInstanceMSDeployOperationAs * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the MSDeployStatusInner object */ - public Observable beginCreateInstanceMSDeployOperationAsync(String resourceGroupName, String name, String instanceId, MSDeployInner mSDeploy) { + public Observable beginCreateInstanceMSDeployOperationAsync(String resourceGroupName, String name, String instanceId, MSDeploy mSDeploy) { return beginCreateInstanceMSDeployOperationWithServiceResponseAsync(resourceGroupName, name, instanceId, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override public MSDeployStatusInner call(ServiceResponse response) { @@ -10680,7 +10686,7 @@ public MSDeployStatusInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the MSDeployStatusInner object */ - public Observable> beginCreateInstanceMSDeployOperationWithServiceResponseAsync(String resourceGroupName, String name, String instanceId, MSDeployInner mSDeploy) { + public Observable> beginCreateInstanceMSDeployOperationWithServiceResponseAsync(String resourceGroupName, String name, String instanceId, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -12337,7 +12343,7 @@ private ServiceResponse> listMetricsDelegate(Respo * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the StorageMigrationResponseInner object if successful. */ - public StorageMigrationResponseInner migrateStorage(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptionsInner migrationOptions) { + public StorageMigrationResponseInner migrateStorage(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptions migrationOptions) { return migrateStorageWithServiceResponseAsync(resourceGroupName, name, subscriptionName, migrationOptions).toBlocking().last().body(); } @@ -12353,7 +12359,7 @@ public StorageMigrationResponseInner migrateStorage(String resourceGroupName, St * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture migrateStorageAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptionsInner migrationOptions, final ServiceCallback serviceCallback) { + public ServiceFuture migrateStorageAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptions migrationOptions, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(migrateStorageWithServiceResponseAsync(resourceGroupName, name, subscriptionName, migrationOptions), serviceCallback); } @@ -12368,7 +12374,7 @@ public ServiceFuture migrateStorageAsync(String r * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable migrateStorageAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptionsInner migrationOptions) { + public Observable migrateStorageAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptions migrationOptions) { return migrateStorageWithServiceResponseAsync(resourceGroupName, name, subscriptionName, migrationOptions).map(new Func1, StorageMigrationResponseInner>() { @Override public StorageMigrationResponseInner call(ServiceResponse response) { @@ -12388,7 +12394,7 @@ public StorageMigrationResponseInner call(ServiceResponse> migrateStorageWithServiceResponseAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptionsInner migrationOptions) { + public Observable> migrateStorageWithServiceResponseAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptions migrationOptions) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -12423,7 +12429,7 @@ public Observable> migrateStorage * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the StorageMigrationResponseInner object if successful. */ - public StorageMigrationResponseInner beginMigrateStorage(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptionsInner migrationOptions) { + public StorageMigrationResponseInner beginMigrateStorage(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptions migrationOptions) { return beginMigrateStorageWithServiceResponseAsync(resourceGroupName, name, subscriptionName, migrationOptions).toBlocking().single().body(); } @@ -12439,7 +12445,7 @@ public StorageMigrationResponseInner beginMigrateStorage(String resourceGroupNam * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginMigrateStorageAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptionsInner migrationOptions, final ServiceCallback serviceCallback) { + public ServiceFuture beginMigrateStorageAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptions migrationOptions, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginMigrateStorageWithServiceResponseAsync(resourceGroupName, name, subscriptionName, migrationOptions), serviceCallback); } @@ -12454,7 +12460,7 @@ public ServiceFuture beginMigrateStorageAsync(Str * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the StorageMigrationResponseInner object */ - public Observable beginMigrateStorageAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptionsInner migrationOptions) { + public Observable beginMigrateStorageAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptions migrationOptions) { return beginMigrateStorageWithServiceResponseAsync(resourceGroupName, name, subscriptionName, migrationOptions).map(new Func1, StorageMigrationResponseInner>() { @Override public StorageMigrationResponseInner call(ServiceResponse response) { @@ -12474,7 +12480,7 @@ public StorageMigrationResponseInner call(ServiceResponse> beginMigrateStorageWithServiceResponseAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptionsInner migrationOptions) { + public Observable> beginMigrateStorageWithServiceResponseAsync(String resourceGroupName, String name, String subscriptionName, StorageMigrationOptions migrationOptions) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -12525,7 +12531,7 @@ private ServiceResponse beginMigrateStorageDelega * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the OperationInner object if successful. */ - public OperationInner migrateMySql(String resourceGroupName, String name, MigrateMySqlRequestInner migrationRequestEnvelope) { + public OperationInner migrateMySql(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope) { return migrateMySqlWithServiceResponseAsync(resourceGroupName, name, migrationRequestEnvelope).toBlocking().last().body(); } @@ -12540,7 +12546,7 @@ public OperationInner migrateMySql(String resourceGroupName, String name, Migrat * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture migrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequestInner migrationRequestEnvelope, final ServiceCallback serviceCallback) { + public ServiceFuture migrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(migrateMySqlWithServiceResponseAsync(resourceGroupName, name, migrationRequestEnvelope), serviceCallback); } @@ -12554,7 +12560,7 @@ public ServiceFuture migrateMySqlAsync(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable migrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequestInner migrationRequestEnvelope) { + public Observable migrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope) { return migrateMySqlWithServiceResponseAsync(resourceGroupName, name, migrationRequestEnvelope).map(new Func1, OperationInner>() { @Override public OperationInner call(ServiceResponse response) { @@ -12573,7 +12579,7 @@ public OperationInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> migrateMySqlWithServiceResponseAsync(String resourceGroupName, String name, MigrateMySqlRequestInner migrationRequestEnvelope) { + public Observable> migrateMySqlWithServiceResponseAsync(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -12604,7 +12610,7 @@ public Observable> migrateMySqlWithServiceRespon * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the OperationInner object if successful. */ - public OperationInner beginMigrateMySql(String resourceGroupName, String name, MigrateMySqlRequestInner migrationRequestEnvelope) { + public OperationInner beginMigrateMySql(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope) { return beginMigrateMySqlWithServiceResponseAsync(resourceGroupName, name, migrationRequestEnvelope).toBlocking().single().body(); } @@ -12619,7 +12625,7 @@ public OperationInner beginMigrateMySql(String resourceGroupName, String name, M * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginMigrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequestInner migrationRequestEnvelope, final ServiceCallback serviceCallback) { + public ServiceFuture beginMigrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginMigrateMySqlWithServiceResponseAsync(resourceGroupName, name, migrationRequestEnvelope), serviceCallback); } @@ -12633,7 +12639,7 @@ public ServiceFuture beginMigrateMySqlAsync(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the OperationInner object */ - public Observable beginMigrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequestInner migrationRequestEnvelope) { + public Observable beginMigrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope) { return beginMigrateMySqlWithServiceResponseAsync(resourceGroupName, name, migrationRequestEnvelope).map(new Func1, OperationInner>() { @Override public OperationInner call(ServiceResponse response) { @@ -12652,7 +12658,7 @@ public OperationInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the OperationInner object */ - public Observable> beginMigrateMySqlWithServiceResponseAsync(String resourceGroupName, String name, MigrateMySqlRequestInner migrationRequestEnvelope) { + public Observable> beginMigrateMySqlWithServiceResponseAsync(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -15461,7 +15467,7 @@ private ServiceResponse listPublishingProfileXmlWithSecretsDelegate * @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 recover(String resourceGroupName, String name, SnapshotRecoveryRequestInner recoveryEntity) { + public void recover(String resourceGroupName, String name, SnapshotRecoveryRequest recoveryEntity) { recoverWithServiceResponseAsync(resourceGroupName, name, recoveryEntity).toBlocking().last().body(); } @@ -15476,7 +15482,7 @@ public void recover(String resourceGroupName, String name, SnapshotRecoveryReque * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture recoverAsync(String resourceGroupName, String name, SnapshotRecoveryRequestInner recoveryEntity, final ServiceCallback serviceCallback) { + public ServiceFuture recoverAsync(String resourceGroupName, String name, SnapshotRecoveryRequest recoveryEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(recoverWithServiceResponseAsync(resourceGroupName, name, recoveryEntity), serviceCallback); } @@ -15490,7 +15496,7 @@ public ServiceFuture recoverAsync(String resourceGroupName, String name, S * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable recoverAsync(String resourceGroupName, String name, SnapshotRecoveryRequestInner recoveryEntity) { + public Observable recoverAsync(String resourceGroupName, String name, SnapshotRecoveryRequest recoveryEntity) { return recoverWithServiceResponseAsync(resourceGroupName, name, recoveryEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -15509,7 +15515,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> recoverWithServiceResponseAsync(String resourceGroupName, String name, SnapshotRecoveryRequestInner recoveryEntity) { + public Observable> recoverWithServiceResponseAsync(String resourceGroupName, String name, SnapshotRecoveryRequest recoveryEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -15539,7 +15545,7 @@ public Observable> recoverWithServiceResponseAsync(String * @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 beginRecover(String resourceGroupName, String name, SnapshotRecoveryRequestInner recoveryEntity) { + public void beginRecover(String resourceGroupName, String name, SnapshotRecoveryRequest recoveryEntity) { beginRecoverWithServiceResponseAsync(resourceGroupName, name, recoveryEntity).toBlocking().single().body(); } @@ -15554,7 +15560,7 @@ public void beginRecover(String resourceGroupName, String name, SnapshotRecovery * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginRecoverAsync(String resourceGroupName, String name, SnapshotRecoveryRequestInner recoveryEntity, final ServiceCallback serviceCallback) { + public ServiceFuture beginRecoverAsync(String resourceGroupName, String name, SnapshotRecoveryRequest recoveryEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginRecoverWithServiceResponseAsync(resourceGroupName, name, recoveryEntity), serviceCallback); } @@ -15568,7 +15574,7 @@ public ServiceFuture beginRecoverAsync(String resourceGroupName, String na * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable beginRecoverAsync(String resourceGroupName, String name, SnapshotRecoveryRequestInner recoveryEntity) { + public Observable beginRecoverAsync(String resourceGroupName, String name, SnapshotRecoveryRequest recoveryEntity) { return beginRecoverWithServiceResponseAsync(resourceGroupName, name, recoveryEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -15587,7 +15593,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> beginRecoverWithServiceResponseAsync(String resourceGroupName, String name, SnapshotRecoveryRequestInner recoveryEntity) { + public Observable> beginRecoverWithServiceResponseAsync(String resourceGroupName, String name, SnapshotRecoveryRequest recoveryEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17233,7 +17239,7 @@ private ServiceResponse deleteSlotDelegate(Response response * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the SiteInner object if successful. */ - public SiteInner updateSlot(String resourceGroupName, String name, String slot, SitePatchResourceInner siteEnvelope) { + public SiteInner updateSlot(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { return updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).toBlocking().single().body(); } @@ -17249,7 +17255,7 @@ public SiteInner updateSlot(String resourceGroupName, String name, String slot, * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResourceInner siteEnvelope, final ServiceCallback serviceCallback) { + public ServiceFuture updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope), serviceCallback); } @@ -17264,7 +17270,7 @@ public ServiceFuture updateSlotAsync(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteInner object */ - public Observable updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResourceInner siteEnvelope) { + public Observable updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { return updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).map(new Func1, SiteInner>() { @Override public SiteInner call(ServiceResponse response) { @@ -17284,7 +17290,7 @@ public SiteInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteInner object */ - public Observable> updateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SitePatchResourceInner siteEnvelope) { + public Observable> updateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17338,7 +17344,7 @@ public Observable> call(Response respon * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the SiteInner object if successful. */ - public SiteInner updateSlot(String resourceGroupName, String name, String slot, SitePatchResourceInner siteEnvelope, Boolean skipDnsRegistration, Boolean skipCustomDomainVerification, Boolean forceDnsRegistration, String ttlInSeconds) { + public SiteInner updateSlot(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope, Boolean skipDnsRegistration, Boolean skipCustomDomainVerification, Boolean forceDnsRegistration, String ttlInSeconds) { return updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope, skipDnsRegistration, skipCustomDomainVerification, forceDnsRegistration, ttlInSeconds).toBlocking().single().body(); } @@ -17359,7 +17365,7 @@ public SiteInner updateSlot(String resourceGroupName, String name, String slot, * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResourceInner siteEnvelope, Boolean skipDnsRegistration, Boolean skipCustomDomainVerification, Boolean forceDnsRegistration, String ttlInSeconds, final ServiceCallback serviceCallback) { + public ServiceFuture updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope, Boolean skipDnsRegistration, Boolean skipCustomDomainVerification, Boolean forceDnsRegistration, String ttlInSeconds, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope, skipDnsRegistration, skipCustomDomainVerification, forceDnsRegistration, ttlInSeconds), serviceCallback); } @@ -17379,7 +17385,7 @@ public ServiceFuture updateSlotAsync(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteInner object */ - public Observable updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResourceInner siteEnvelope, Boolean skipDnsRegistration, Boolean skipCustomDomainVerification, Boolean forceDnsRegistration, String ttlInSeconds) { + public Observable updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope, Boolean skipDnsRegistration, Boolean skipCustomDomainVerification, Boolean forceDnsRegistration, String ttlInSeconds) { return updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope, skipDnsRegistration, skipCustomDomainVerification, forceDnsRegistration, ttlInSeconds).map(new Func1, SiteInner>() { @Override public SiteInner call(ServiceResponse response) { @@ -17404,7 +17410,7 @@ public SiteInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteInner object */ - public Observable> updateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SitePatchResourceInner siteEnvelope, Boolean skipDnsRegistration, Boolean skipCustomDomainVerification, Boolean forceDnsRegistration, String ttlInSeconds) { + public Observable> updateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope, Boolean skipDnsRegistration, Boolean skipCustomDomainVerification, Boolean forceDnsRegistration, String ttlInSeconds) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17644,7 +17650,7 @@ private ServiceResponse analyzeCustomHostname * @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 applySlotConfigurationSlot(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public void applySlotConfigurationSlot(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).toBlocking().single().body(); } @@ -17660,7 +17666,7 @@ public void applySlotConfigurationSlot(String resourceGroupName, String name, St * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture applySlotConfigurationSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity, final ServiceCallback serviceCallback) { + public ServiceFuture applySlotConfigurationSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity), serviceCallback); } @@ -17675,7 +17681,7 @@ public ServiceFuture applySlotConfigurationSlotAsync(String resourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable applySlotConfigurationSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public Observable applySlotConfigurationSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { return applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -17695,7 +17701,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> applySlotConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public Observable> applySlotConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22967,7 +22973,7 @@ private ServiceResponse getMSDeployStatusSlotDelegate(Respo * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner createMSDeployOperationSlot(String resourceGroupName, String name, String slot, MSDeployInner mSDeploy) { + public MSDeployStatusInner createMSDeployOperationSlot(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { return createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).toBlocking().last().body(); } @@ -22983,7 +22989,7 @@ public MSDeployStatusInner createMSDeployOperationSlot(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture createMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeployInner mSDeploy, final ServiceCallback serviceCallback) { + public ServiceFuture createMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy), serviceCallback); } @@ -22998,7 +23004,7 @@ public ServiceFuture createMSDeployOperationSlotAsync(Strin * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable createMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeployInner mSDeploy) { + public Observable createMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { return createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override public MSDeployStatusInner call(ServiceResponse response) { @@ -23018,7 +23024,7 @@ public MSDeployStatusInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> createMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, MSDeployInner mSDeploy) { + public Observable> createMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -23053,7 +23059,7 @@ public Observable> createMSDeployOperationS * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner beginCreateMSDeployOperationSlot(String resourceGroupName, String name, String slot, MSDeployInner mSDeploy) { + public MSDeployStatusInner beginCreateMSDeployOperationSlot(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { return beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).toBlocking().single().body(); } @@ -23069,7 +23075,7 @@ public MSDeployStatusInner beginCreateMSDeployOperationSlot(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginCreateMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeployInner mSDeploy, final ServiceCallback serviceCallback) { + public ServiceFuture beginCreateMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy), serviceCallback); } @@ -23084,7 +23090,7 @@ public ServiceFuture beginCreateMSDeployOperationSlotAsync( * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the MSDeployStatusInner object */ - public Observable beginCreateMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeployInner mSDeploy) { + public Observable beginCreateMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { return beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override public MSDeployStatusInner call(ServiceResponse response) { @@ -23104,7 +23110,7 @@ public MSDeployStatusInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the MSDeployStatusInner object */ - public Observable> beginCreateMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, MSDeployInner mSDeploy) { + public Observable> beginCreateMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -25853,7 +25859,7 @@ private ServiceResponse getInstanceMsDeployStatusSlotDelega * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner createInstanceMSDeployOperationSlot(String resourceGroupName, String name, String slot, String instanceId, MSDeployInner mSDeploy) { + public MSDeployStatusInner createInstanceMSDeployOperationSlot(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { return createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).toBlocking().last().body(); } @@ -25870,7 +25876,7 @@ public MSDeployStatusInner createInstanceMSDeployOperationSlot(String resourceGr * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture createInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeployInner mSDeploy, final ServiceCallback serviceCallback) { + public ServiceFuture createInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy), serviceCallback); } @@ -25886,7 +25892,7 @@ public ServiceFuture createInstanceMSDeployOperationSlotAsy * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable createInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeployInner mSDeploy) { + public Observable createInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { return createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override public MSDeployStatusInner call(ServiceResponse response) { @@ -25907,7 +25913,7 @@ public MSDeployStatusInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> createInstanceMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeployInner mSDeploy) { + public Observable> createInstanceMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -25946,7 +25952,7 @@ public Observable> createInstanceMSDeployOp * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner beginCreateInstanceMSDeployOperationSlot(String resourceGroupName, String name, String slot, String instanceId, MSDeployInner mSDeploy) { + public MSDeployStatusInner beginCreateInstanceMSDeployOperationSlot(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { return beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).toBlocking().single().body(); } @@ -25963,7 +25969,7 @@ public MSDeployStatusInner beginCreateInstanceMSDeployOperationSlot(String resou * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginCreateInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeployInner mSDeploy, final ServiceCallback serviceCallback) { + public ServiceFuture beginCreateInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy), serviceCallback); } @@ -25979,7 +25985,7 @@ public ServiceFuture beginCreateInstanceMSDeployOperationSl * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the MSDeployStatusInner object */ - public Observable beginCreateInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeployInner mSDeploy) { + public Observable beginCreateInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { return beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override public MSDeployStatusInner call(ServiceResponse response) { @@ -26000,7 +26006,7 @@ public MSDeployStatusInner call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the MSDeployStatusInner object */ - public Observable> beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeployInner mSDeploy) { + public Observable> beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -30720,7 +30726,7 @@ private ServiceResponse listPublishingProfileXmlWithSecretsSlotDele * @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 recoverSlot(String resourceGroupName, String name, String slot, SnapshotRecoveryRequestInner recoveryEntity) { + public void recoverSlot(String resourceGroupName, String name, String slot, SnapshotRecoveryRequest recoveryEntity) { recoverSlotWithServiceResponseAsync(resourceGroupName, name, slot, recoveryEntity).toBlocking().last().body(); } @@ -30736,7 +30742,7 @@ public void recoverSlot(String resourceGroupName, String name, String slot, Snap * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture recoverSlotAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequestInner recoveryEntity, final ServiceCallback serviceCallback) { + public ServiceFuture recoverSlotAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequest recoveryEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(recoverSlotWithServiceResponseAsync(resourceGroupName, name, slot, recoveryEntity), serviceCallback); } @@ -30751,7 +30757,7 @@ public ServiceFuture recoverSlotAsync(String resourceGroupName, String nam * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable recoverSlotAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequestInner recoveryEntity) { + public Observable recoverSlotAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequest recoveryEntity) { return recoverSlotWithServiceResponseAsync(resourceGroupName, name, slot, recoveryEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -30771,7 +30777,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> recoverSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequestInner recoveryEntity) { + public Observable> recoverSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequest recoveryEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -30805,7 +30811,7 @@ public Observable> recoverSlotWithServiceResponseAsync(Str * @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 beginRecoverSlot(String resourceGroupName, String name, String slot, SnapshotRecoveryRequestInner recoveryEntity) { + public void beginRecoverSlot(String resourceGroupName, String name, String slot, SnapshotRecoveryRequest recoveryEntity) { beginRecoverSlotWithServiceResponseAsync(resourceGroupName, name, slot, recoveryEntity).toBlocking().single().body(); } @@ -30821,7 +30827,7 @@ public void beginRecoverSlot(String resourceGroupName, String name, String slot, * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginRecoverSlotAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequestInner recoveryEntity, final ServiceCallback serviceCallback) { + public ServiceFuture beginRecoverSlotAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequest recoveryEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginRecoverSlotWithServiceResponseAsync(resourceGroupName, name, slot, recoveryEntity), serviceCallback); } @@ -30836,7 +30842,7 @@ public ServiceFuture beginRecoverSlotAsync(String resourceGroupName, Strin * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable beginRecoverSlotAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequestInner recoveryEntity) { + public Observable beginRecoverSlotAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequest recoveryEntity) { return beginRecoverSlotWithServiceResponseAsync(resourceGroupName, name, slot, recoveryEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -30856,7 +30862,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> beginRecoverSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequestInner recoveryEntity) { + public Observable> beginRecoverSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SnapshotRecoveryRequest recoveryEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -31723,7 +31729,7 @@ private ServiceResponse deleteSiteExtensionSlotDelegate(Response listSlotDifferencesSlot(final String resourceGroupName, final String name, final String slot, final CsmSlotEntityInner slotSwapEntity) { + public PagedList listSlotDifferencesSlot(final String resourceGroupName, final String name, final String slot, final CsmSlotEntity slotSwapEntity) { ServiceResponse> response = listSlotDifferencesSlotSinglePageAsync(resourceGroupName, name, slot, slotSwapEntity).toBlocking().single(); return new PagedList(response.body()) { @Override @@ -31745,7 +31751,7 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listSlotDifferencesSlotAsync(final String resourceGroupName, final String name, final String slot, final CsmSlotEntityInner slotSwapEntity, final ListOperationCallback serviceCallback) { + public ServiceFuture> listSlotDifferencesSlotAsync(final String resourceGroupName, final String name, final String slot, final CsmSlotEntity slotSwapEntity, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listSlotDifferencesSlotSinglePageAsync(resourceGroupName, name, slot, slotSwapEntity), new Func1>>>() { @@ -31768,7 +31774,7 @@ public Observable>> call(String nextPa * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<SlotDifferenceInner> object */ - public Observable> listSlotDifferencesSlotAsync(final String resourceGroupName, final String name, final String slot, final CsmSlotEntityInner slotSwapEntity) { + public Observable> listSlotDifferencesSlotAsync(final String resourceGroupName, final String name, final String slot, final CsmSlotEntity slotSwapEntity) { return listSlotDifferencesSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity) .map(new Func1>, Page>() { @Override @@ -31789,7 +31795,7 @@ public Page call(ServiceResponse> * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<SlotDifferenceInner> object */ - public Observable>> listSlotDifferencesSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot, final CsmSlotEntityInner slotSwapEntity) { + public Observable>> listSlotDifferencesSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot, final CsmSlotEntity slotSwapEntity) { return listSlotDifferencesSlotSinglePageAsync(resourceGroupName, name, slot, slotSwapEntity) .concatMap(new Func1>, Observable>>>() { @Override @@ -31814,7 +31820,7 @@ public Observable>> call(ServiceRespon * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SlotDifferenceInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSlotDifferencesSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot, final CsmSlotEntityInner slotSwapEntity) { + public Observable>> listSlotDifferencesSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot, final CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -31865,7 +31871,7 @@ private ServiceResponse> listSlotDifferencesSlotDe * @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 swapSlotSlot(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public void swapSlotSlot(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { swapSlotSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).toBlocking().last().body(); } @@ -31881,7 +31887,7 @@ public void swapSlotSlot(String resourceGroupName, String name, String slot, Csm * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture swapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity, final ServiceCallback serviceCallback) { + public ServiceFuture swapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(swapSlotSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity), serviceCallback); } @@ -31896,7 +31902,7 @@ public ServiceFuture swapSlotSlotAsync(String resourceGroupName, String na * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable swapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public Observable swapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { return swapSlotSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -31916,7 +31922,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> swapSlotSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public Observable> swapSlotSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -31950,7 +31956,7 @@ public Observable> swapSlotSlotWithServiceResponseAsync(St * @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 beginSwapSlotSlot(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public void beginSwapSlotSlot(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { beginSwapSlotSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).toBlocking().single().body(); } @@ -31966,7 +31972,7 @@ public void beginSwapSlotSlot(String resourceGroupName, String name, String slot * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginSwapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity, final ServiceCallback serviceCallback) { + public ServiceFuture beginSwapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginSwapSlotSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity), serviceCallback); } @@ -31981,7 +31987,7 @@ public ServiceFuture beginSwapSlotSlotAsync(String resourceGroupName, Stri * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable beginSwapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public Observable beginSwapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { return beginSwapSlotSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -32001,7 +32007,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> beginSwapSlotSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmSlotEntityInner slotSwapEntity) { + public Observable> beginSwapSlotSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -35111,7 +35117,7 @@ private ServiceResponse getWebJobSlotDelegate(Response listSlotDifferencesFromProduction(final String resourceGroupName, final String name, final CsmSlotEntityInner slotSwapEntity) { + public PagedList listSlotDifferencesFromProduction(final String resourceGroupName, final String name, final CsmSlotEntity slotSwapEntity) { ServiceResponse> response = listSlotDifferencesFromProductionSinglePageAsync(resourceGroupName, name, slotSwapEntity).toBlocking().single(); return new PagedList(response.body()) { @Override @@ -35132,7 +35138,7 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listSlotDifferencesFromProductionAsync(final String resourceGroupName, final String name, final CsmSlotEntityInner slotSwapEntity, final ListOperationCallback serviceCallback) { + public ServiceFuture> listSlotDifferencesFromProductionAsync(final String resourceGroupName, final String name, final CsmSlotEntity slotSwapEntity, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( listSlotDifferencesFromProductionSinglePageAsync(resourceGroupName, name, slotSwapEntity), new Func1>>>() { @@ -35154,7 +35160,7 @@ public Observable>> call(String nextPa * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<SlotDifferenceInner> object */ - public Observable> listSlotDifferencesFromProductionAsync(final String resourceGroupName, final String name, final CsmSlotEntityInner slotSwapEntity) { + public Observable> listSlotDifferencesFromProductionAsync(final String resourceGroupName, final String name, final CsmSlotEntity slotSwapEntity) { return listSlotDifferencesFromProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity) .map(new Func1>, Page>() { @Override @@ -35174,7 +35180,7 @@ public Page call(ServiceResponse> * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<SlotDifferenceInner> object */ - public Observable>> listSlotDifferencesFromProductionWithServiceResponseAsync(final String resourceGroupName, final String name, final CsmSlotEntityInner slotSwapEntity) { + public Observable>> listSlotDifferencesFromProductionWithServiceResponseAsync(final String resourceGroupName, final String name, final CsmSlotEntity slotSwapEntity) { return listSlotDifferencesFromProductionSinglePageAsync(resourceGroupName, name, slotSwapEntity) .concatMap(new Func1>, Observable>>>() { @Override @@ -35198,7 +35204,7 @@ public Observable>> call(ServiceRespon * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SlotDifferenceInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSlotDifferencesFromProductionSinglePageAsync(final String resourceGroupName, final String name, final CsmSlotEntityInner slotSwapEntity) { + public Observable>> listSlotDifferencesFromProductionSinglePageAsync(final String resourceGroupName, final String name, final CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -35245,7 +35251,7 @@ private ServiceResponse> listSlotDifferencesFromPr * @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 swapSlotWithProduction(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public void swapSlotWithProduction(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { swapSlotWithProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity).toBlocking().last().body(); } @@ -35260,7 +35266,7 @@ public void swapSlotWithProduction(String resourceGroupName, String name, CsmSlo * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture swapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity, final ServiceCallback serviceCallback) { + public ServiceFuture swapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(swapSlotWithProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity), serviceCallback); } @@ -35274,7 +35280,7 @@ public ServiceFuture swapSlotWithProductionAsync(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable swapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public Observable swapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { return swapSlotWithProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -35293,7 +35299,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> swapSlotWithProductionWithServiceResponseAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public Observable> swapSlotWithProductionWithServiceResponseAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -35323,7 +35329,7 @@ public Observable> swapSlotWithProductionWithServiceRespon * @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 beginSwapSlotWithProduction(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public void beginSwapSlotWithProduction(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { beginSwapSlotWithProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity).toBlocking().single().body(); } @@ -35338,7 +35344,7 @@ public void beginSwapSlotWithProduction(String resourceGroupName, String name, C * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginSwapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity, final ServiceCallback serviceCallback) { + public ServiceFuture beginSwapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(beginSwapSlotWithProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity), serviceCallback); } @@ -35352,7 +35358,7 @@ public ServiceFuture beginSwapSlotWithProductionAsync(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable beginSwapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public Observable beginSwapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { return beginSwapSlotWithProductionWithServiceResponseAsync(resourceGroupName, name, slotSwapEntity).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -35371,7 +35377,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> beginSwapSlotWithProductionWithServiceResponseAsync(String resourceGroupName, String name, CsmSlotEntityInner slotSwapEntity) { + public Observable> beginSwapSlotWithProductionWithServiceResponseAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } diff --git a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/WebSiteManagementClientImpl.java b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/WebSiteManagementClientImpl.java index 6388d28bda3..4f37a3e1f9c 100644 --- a/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/WebSiteManagementClientImpl.java +++ b/azure-mgmt-web/src/main/java/com/microsoft/azure/management/web/implementation/WebSiteManagementClientImpl.java @@ -15,8 +15,11 @@ import com.microsoft.azure.CloudException; import com.microsoft.azure.ListOperationCallback; import com.microsoft.azure.management.web.CheckNameResourceTypes; +import com.microsoft.azure.management.web.CsmMoveResourceEnvelope; import com.microsoft.azure.management.web.ResourceNameAvailabilityRequest; import com.microsoft.azure.management.web.SkuName; +import com.microsoft.azure.management.web.ValidateRequest; +import com.microsoft.azure.management.web.VnetParameters; import com.microsoft.azure.Page; import com.microsoft.azure.PagedList; import com.microsoft.rest.credentials.ServiceClientCredentials; @@ -463,19 +466,19 @@ interface WebSiteManagementClientService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.web.WebSiteManagementClient verifyHostingEnvironmentVnet" }) @POST("subscriptions/{subscriptionId}/providers/Microsoft.Web/verifyHostingEnvironmentVnet") - Observable> verifyHostingEnvironmentVnet(@Path("subscriptionId") String subscriptionId, @Body VnetParametersInner parameters, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> verifyHostingEnvironmentVnet(@Path("subscriptionId") String subscriptionId, @Body VnetParameters 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.web.WebSiteManagementClient move" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/moveResources") - Observable> move(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Body CsmMoveResourceEnvelopeInner moveResourceEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> move(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Body CsmMoveResourceEnvelope moveResourceEnvelope, @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.web.WebSiteManagementClient validate" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/validate") - Observable> validate(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Body ValidateRequestInner validateRequest, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> validate(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Body ValidateRequest validateRequest, @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.web.WebSiteManagementClient validateMove" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/validateMoveResources") - Observable> validateMove(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Body CsmMoveResourceEnvelopeInner moveResourceEnvelope, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> validateMove(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Body CsmMoveResourceEnvelope moveResourceEnvelope, @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.web.WebSiteManagementClient listSourceControlsNext" }) @GET @@ -1814,7 +1817,7 @@ private ServiceResponse listSkusDelegate(Response r * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the VnetValidationFailureDetailsInner object if successful. */ - public VnetValidationFailureDetailsInner verifyHostingEnvironmentVnet(VnetParametersInner parameters) { + public VnetValidationFailureDetailsInner verifyHostingEnvironmentVnet(VnetParameters parameters) { return verifyHostingEnvironmentVnetWithServiceResponseAsync(parameters).toBlocking().single().body(); } @@ -1827,7 +1830,7 @@ public VnetValidationFailureDetailsInner verifyHostingEnvironmentVnet(VnetParame * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture verifyHostingEnvironmentVnetAsync(VnetParametersInner parameters, final ServiceCallback serviceCallback) { + public ServiceFuture verifyHostingEnvironmentVnetAsync(VnetParameters parameters, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(verifyHostingEnvironmentVnetWithServiceResponseAsync(parameters), serviceCallback); } @@ -1839,7 +1842,7 @@ public ServiceFuture verifyHostingEnvironment * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the VnetValidationFailureDetailsInner object */ - public Observable verifyHostingEnvironmentVnetAsync(VnetParametersInner parameters) { + public Observable verifyHostingEnvironmentVnetAsync(VnetParameters parameters) { return verifyHostingEnvironmentVnetWithServiceResponseAsync(parameters).map(new Func1, VnetValidationFailureDetailsInner>() { @Override public VnetValidationFailureDetailsInner call(ServiceResponse response) { @@ -1856,7 +1859,7 @@ public VnetValidationFailureDetailsInner call(ServiceResponse> verifyHostingEnvironmentVnetWithServiceResponseAsync(VnetParametersInner parameters) { + public Observable> verifyHostingEnvironmentVnetWithServiceResponseAsync(VnetParameters parameters) { if (this.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.subscriptionId() is required and cannot be null."); } @@ -1896,7 +1899,7 @@ private ServiceResponse verifyHostingEnvironm * @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 move(String resourceGroupName, CsmMoveResourceEnvelopeInner moveResourceEnvelope) { + public void move(String resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope) { moveWithServiceResponseAsync(resourceGroupName, moveResourceEnvelope).toBlocking().single().body(); } @@ -1910,7 +1913,7 @@ public void move(String resourceGroupName, CsmMoveResourceEnvelopeInner moveReso * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture moveAsync(String resourceGroupName, CsmMoveResourceEnvelopeInner moveResourceEnvelope, final ServiceCallback serviceCallback) { + public ServiceFuture moveAsync(String resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(moveWithServiceResponseAsync(resourceGroupName, moveResourceEnvelope), serviceCallback); } @@ -1923,7 +1926,7 @@ public ServiceFuture moveAsync(String resourceGroupName, CsmMoveResourceEn * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable moveAsync(String resourceGroupName, CsmMoveResourceEnvelopeInner moveResourceEnvelope) { + public Observable moveAsync(String resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope) { return moveWithServiceResponseAsync(resourceGroupName, moveResourceEnvelope).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -1941,7 +1944,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> moveWithServiceResponseAsync(String resourceGroupName, CsmMoveResourceEnvelopeInner moveResourceEnvelope) { + public Observable> moveWithServiceResponseAsync(String resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -1985,7 +1988,7 @@ private ServiceResponse moveDelegate(Response response) thro * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the ValidateResponseInner object if successful. */ - public ValidateResponseInner validate(String resourceGroupName, ValidateRequestInner validateRequest) { + public ValidateResponseInner validate(String resourceGroupName, ValidateRequest validateRequest) { return validateWithServiceResponseAsync(resourceGroupName, validateRequest).toBlocking().single().body(); } @@ -1999,7 +2002,7 @@ public ValidateResponseInner validate(String resourceGroupName, ValidateRequestI * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture validateAsync(String resourceGroupName, ValidateRequestInner validateRequest, final ServiceCallback serviceCallback) { + public ServiceFuture validateAsync(String resourceGroupName, ValidateRequest validateRequest, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(validateWithServiceResponseAsync(resourceGroupName, validateRequest), serviceCallback); } @@ -2012,7 +2015,7 @@ public ServiceFuture validateAsync(String resourceGroupNa * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ValidateResponseInner object */ - public Observable validateAsync(String resourceGroupName, ValidateRequestInner validateRequest) { + public Observable validateAsync(String resourceGroupName, ValidateRequest validateRequest) { return validateWithServiceResponseAsync(resourceGroupName, validateRequest).map(new Func1, ValidateResponseInner>() { @Override public ValidateResponseInner call(ServiceResponse response) { @@ -2030,7 +2033,7 @@ public ValidateResponseInner call(ServiceResponse respons * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the ValidateResponseInner object */ - public Observable> validateWithServiceResponseAsync(String resourceGroupName, ValidateRequestInner validateRequest) { + public Observable> validateWithServiceResponseAsync(String resourceGroupName, ValidateRequest validateRequest) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -2073,7 +2076,7 @@ private ServiceResponse validateDelegate(Response validateMoveAsync(String resourceGroupName, CsmMoveResourceEnvelopeInner moveResourceEnvelope, final ServiceCallback serviceCallback) { + public ServiceFuture validateMoveAsync(String resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(validateMoveWithServiceResponseAsync(resourceGroupName, moveResourceEnvelope), serviceCallback); } @@ -2100,7 +2103,7 @@ public ServiceFuture validateMoveAsync(String resourceGroupName, CsmMoveRe * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable validateMoveAsync(String resourceGroupName, CsmMoveResourceEnvelopeInner moveResourceEnvelope) { + public Observable validateMoveAsync(String resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope) { return validateMoveWithServiceResponseAsync(resourceGroupName, moveResourceEnvelope).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { @@ -2118,7 +2121,7 @@ public Void call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> validateMoveWithServiceResponseAsync(String resourceGroupName, CsmMoveResourceEnvelopeInner moveResourceEnvelope) { + public Observable> validateMoveWithServiceResponseAsync(String resourceGroupName, CsmMoveResourceEnvelope moveResourceEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); }