diff --git a/sdk/appservice/mgmt-v2018_02_01/pom.xml b/sdk/appservice/mgmt-v2018_02_01/pom.xml index 234568411d6ec..49994408b68bc 100644 --- a/sdk/appservice/mgmt-v2018_02_01/pom.xml +++ b/sdk/appservice/mgmt-v2018_02_01/pom.xml @@ -11,11 +11,11 @@ com.microsoft.azure azure-arm-parent - 1.3.0 - ../../parents/azure-arm-parent + 1.1.0 + ../../../pom.management.xml - azure-mgmt-appservice - 1.0.0-beta-1 + azure-mgmt-certificateregistration + 1.0.0-beta jar Microsoft Azure SDK for CertificateRegistration Management This package contains Microsoft CertificateRegistration Management SDK. @@ -71,6 +71,8 @@ azure-arm-client-runtime test-jar test + + 1.6.5 diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AddressResponse.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AddressResponse.java index 485fc53406280..3efba1b64ced7 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AddressResponse.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AddressResponse.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AddressResponseInner; import java.util.List; /** * Type representing AddressResponse. */ -public interface AddressResponse extends HasInner, HasManager { +public interface AddressResponse extends HasInner, HasManager { /** * @return the internalIpAddress value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisDefinition.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisDefinition.java index 5dca9b069cae8..13c1bc9081cbb 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisDefinition.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisDefinition.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AnalysisDefinitionInner; /** * Type representing AnalysisDefinition. */ -public interface AnalysisDefinition extends HasInner, HasManager { +public interface AnalysisDefinition extends HasInner, HasManager { /** * @return the description value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java index f040e3ee2139c..f37708b8bed2d 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java @@ -17,7 +17,7 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.Map; import org.joda.time.DateTime; import java.util.List; @@ -26,7 +26,7 @@ /** * Type representing AppServiceCertificateOrder. */ -public interface AppServiceCertificateOrder extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { +public interface AppServiceCertificateOrder extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** * @return the appServiceCertificateNotRenewableReasons value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateResource.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateResource.java index 6faf675b7ec9b..7ef546e2742fd 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateResource.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateResource.java @@ -16,13 +16,13 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.Map; /** * Type representing AppServiceCertificateResource. */ -public interface AppServiceCertificateResource extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface AppServiceCertificateResource extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentResource.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentResource.java index ff1ebd5aa737b..135df8dcd5909 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentResource.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentResource.java @@ -17,7 +17,7 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.StampCapacityInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceEnvironmentResourceInner; @@ -25,7 +25,7 @@ /** * Type representing AppServiceEnvironmentResource. */ -public interface AppServiceEnvironmentResource extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { +public interface AppServiceEnvironmentResource extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** * @return the allowedMultiSizes value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java index b5c878c712f15..463be1f89666c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java @@ -17,14 +17,14 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServicePlanInner; /** * Type representing AppServicePlan. */ -public interface AppServicePlan extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { +public interface AppServicePlan extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** * @return the freeOfferExpirationTime value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationStack.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationStack.java index 18b4e53491e21..cc133eae793c1 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationStack.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationStack.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ApplicationStackInner; import java.util.List; /** * Type representing ApplicationStack. */ -public interface ApplicationStack extends HasInner, HasManager { +public interface ApplicationStack extends HasInner, HasManager { /** * @return the dependency value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStoragePropertyDictionaryResource.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStoragePropertyDictionaryResource.java index c6fdb8c309766..71efa1e251ab9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStoragePropertyDictionaryResource.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStoragePropertyDictionaryResource.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AzureStoragePropertyDictionaryResourceInner; import java.util.Map; /** * Type representing AzureStoragePropertyDictionaryResource. */ -public interface AzureStoragePropertyDictionaryResource extends HasInner, HasManager { +public interface AzureStoragePropertyDictionaryResource extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupItem.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupItem.java index 767b07a6d6120..2e187093296af 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupItem.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupItem.java @@ -13,14 +13,14 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; import java.util.List; /** * Type representing BackupItem. */ -public interface BackupItem extends HasInner, Indexable, Refreshable, HasManager { +public interface BackupItem extends HasInner, Indexable, Refreshable, HasManager { /** * @return the backupId value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java index 8f177879b110d..360067ff27a63 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.BackupRequestInner; import java.util.List; /** * Type representing BackupRequest. */ -public interface BackupRequest extends HasInner, HasManager { +public interface BackupRequest extends HasInner, HasManager { /** * @return the backupName value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Capability.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Capability.java index 23ab99b93c692..981235c3bd299 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Capability.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Capability.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CapabilityInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing Capability. */ -public interface Capability extends HasInner, HasManager { +public interface Capability extends HasInner, HasManager { /** * @return the name value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Certificate.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Certificate.java index 0f228a1730fdd..29c5ad16b31ce 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Certificate.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Certificate.java @@ -17,7 +17,7 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateInner; @@ -25,7 +25,7 @@ /** * Type representing Certificate. */ -public interface Certificate extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { +public interface Certificate extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** * @return the cerBlob value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateEmail.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateEmail.java index ec80ed12a7a7d..ee41cf862967f 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateEmail.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateEmail.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateEmailInner; import org.joda.time.DateTime; /** * Type representing CertificateEmail. */ -public interface CertificateEmail extends HasInner, HasManager { +public interface CertificateEmail extends HasInner, HasManager { /** * @return the emailId value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateOrderAction.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateOrderAction.java index 685e37dba2288..fb19f2476ace9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateOrderAction.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateOrderAction.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateOrderActionInner; import org.joda.time.DateTime; /** * Type representing CertificateOrderAction. */ -public interface CertificateOrderAction extends HasInner, HasManager { +public interface CertificateOrderAction extends HasInner, HasManager { /** * @return the actionType value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnectionStringDictionary.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnectionStringDictionary.java index 8ea9f5b96d859..01ba2521405b8 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnectionStringDictionary.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnectionStringDictionary.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ConnectionStringDictionaryInner; import java.util.Map; /** * Type representing ConnectionStringDictionary. */ -public interface ConnectionStringDictionary extends HasInner, HasManager { +public interface ConnectionStringDictionary extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ContinuousWebJob.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ContinuousWebJob.java index 050f23d6af47f..552176beb2660 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ContinuousWebJob.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ContinuousWebJob.java @@ -13,13 +13,13 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.Map; /** * Type representing ContinuousWebJob. */ -public interface ContinuousWebJob extends HasInner, Indexable, Refreshable, HasManager { +public interface ContinuousWebJob extends HasInner, Indexable, Refreshable, HasManager { /** * @return the detailedStatus value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmOperationDescription.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmOperationDescription.java index 75a13a49e2e82..2079a42710656 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmOperationDescription.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmOperationDescription.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CsmOperationDescriptionInner; /** * Type representing CsmOperationDescription. */ -public interface CsmOperationDescription extends HasInner, HasManager { +public interface CsmOperationDescription extends HasInner, HasManager { /** * @return the display value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CustomHostnameAnalysisResult.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CustomHostnameAnalysisResult.java index 031ab18d82d50..44100102734cf 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CustomHostnameAnalysisResult.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CustomHostnameAnalysisResult.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CustomHostnameAnalysisResultInner; import java.util.List; /** * Type representing CustomHostnameAnalysisResult. */ -public interface CustomHostnameAnalysisResult extends HasInner, HasManager { +public interface CustomHostnameAnalysisResult extends HasInner, HasManager { /** * @return the alternateCNameRecords value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java index e0dd4b8ca837f..2581e8dc86476 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java @@ -13,12 +13,12 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing DeletedSite. */ -public interface DeletedSite extends HasInner, Indexable, Refreshable, HasManager { +public interface DeletedSite extends HasInner, Indexable, Refreshable, HasManager { /** * @return the deletedSiteId value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Deployment.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Deployment.java index 869a659ec1579..0f09483d79a8c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Deployment.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Deployment.java @@ -16,13 +16,13 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; /** * Type representing Deployment. */ -public interface Deployment extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface Deployment extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the active value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java index 4640a130a0783..a2f9a8ef0804d 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DetectorDefinitionInner; /** * Type representing DetectorDefinition. */ -public interface DetectorDefinition extends HasInner, HasManager { +public interface DetectorDefinition extends HasInner, HasManager { /** * @return the description value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorResponse.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorResponse.java index 500e106b98d87..ed159c18dac97 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorResponse.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorResponse.java @@ -13,13 +13,13 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; /** * Type representing DetectorResponse. */ -public interface DetectorResponse extends HasInner, Indexable, Refreshable, HasManager { +public interface DetectorResponse extends HasInner, Indexable, Refreshable, HasManager { /** * @return the dataset value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticAnalysis.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticAnalysis.java index f979b6bc9eccc..7cb6a430b082d 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticAnalysis.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticAnalysis.java @@ -13,14 +13,14 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import org.joda.time.DateTime; /** * Type representing DiagnosticAnalysis. */ -public interface DiagnosticAnalysis extends HasInner, Indexable, Refreshable, HasManager { +public interface DiagnosticAnalysis extends HasInner, Indexable, Refreshable, HasManager { /** * @return the abnormalTimePeriods value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticCategory.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticCategory.java index 615f401d15823..64ac78b6eb983 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticCategory.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticCategory.java @@ -13,12 +13,12 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing DiagnosticCategory. */ -public interface DiagnosticCategory extends HasInner, Indexable, Refreshable, HasManager { +public interface DiagnosticCategory extends HasInner, Indexable, Refreshable, HasManager { /** * @return the description value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticDetectorResponse.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticDetectorResponse.java index 1f014fdfe5a7f..84ef6f100a982 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticDetectorResponse.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticDetectorResponse.java @@ -10,7 +10,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DiagnosticDetectorResponseInner; import java.util.List; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DetectorDefinitionInner; @@ -19,7 +19,7 @@ /** * Type representing DiagnosticDetectorResponse. */ -public interface DiagnosticDetectorResponse extends HasInner, HasManager { +public interface DiagnosticDetectorResponse extends HasInner, HasManager { /** * @return the abnormalTimePeriods value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domain.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domain.java index 92b2b102f3e83..ad37d3d2c60b1 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domain.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domain.java @@ -17,7 +17,7 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DomainInner; @@ -25,7 +25,7 @@ /** * Type representing Domain. */ -public interface Domain extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { +public interface Domain extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** * @return the authCode value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainAvailablilityCheckResult.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainAvailablilityCheckResult.java index fdddfb5068c42..704e75dc5f8a9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainAvailablilityCheckResult.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainAvailablilityCheckResult.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DomainAvailablilityCheckResultInner; /** * Type representing DomainAvailablilityCheckResult. */ -public interface DomainAvailablilityCheckResult extends HasInner, HasManager { +public interface DomainAvailablilityCheckResult extends HasInner, HasManager { /** * @return the available value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainControlCenterSsoRequest.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainControlCenterSsoRequest.java index cfb1bbcec617c..1350e5ed2ce23 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainControlCenterSsoRequest.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainControlCenterSsoRequest.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DomainControlCenterSsoRequestInner; /** * Type representing DomainControlCenterSsoRequest. */ -public interface DomainControlCenterSsoRequest extends HasInner, HasManager { +public interface DomainControlCenterSsoRequest extends HasInner, HasManager { /** * @return the postParameterKey value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainOwnershipIdentifier.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainOwnershipIdentifier.java index e163e5a5b9e70..9e617654df90e 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainOwnershipIdentifier.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainOwnershipIdentifier.java @@ -16,12 +16,12 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing DomainOwnershipIdentifier. */ -public interface DomainOwnershipIdentifier extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface DomainOwnershipIdentifier extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionEnvelope.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionEnvelope.java index 6943daf455036..237613c068a98 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionEnvelope.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionEnvelope.java @@ -16,13 +16,13 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.Map; /** * Type representing FunctionEnvelope. */ -public interface FunctionEnvelope extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface FunctionEnvelope extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the config value. */ @@ -53,11 +53,26 @@ public interface FunctionEnvelope extends HasInner, Index */ String id(); + /** + * @return the invokeUrlTemplate value. + */ + String invokeUrlTemplate(); + + /** + * @return the isDisabled value. + */ + Boolean isDisabled(); + /** * @return the kind value. */ String kind(); + /** + * @return the language value. + */ + String language(); + /** * @return the name value. */ @@ -83,6 +98,11 @@ public interface FunctionEnvelope extends HasInner, Index */ String testData(); + /** + * @return the testDataHref value. + */ + String testDataHref(); + /** * @return the type value. */ @@ -177,6 +197,30 @@ interface WithHref { WithCreate withHref(String href); } + /** + * The stage of the functionenvelope definition allowing to specify InvokeUrlTemplate. + */ + interface WithInvokeUrlTemplate { + /** + * Specifies invokeUrlTemplate. + * @param invokeUrlTemplate The invocation URL + * @return the next definition stage + */ + WithCreate withInvokeUrlTemplate(String invokeUrlTemplate); + } + + /** + * The stage of the functionenvelope definition allowing to specify IsDisabled. + */ + interface WithIsDisabled { + /** + * Specifies isDisabled. + * @param isDisabled Value indicating whether the function is disabled + * @return the next definition stage + */ + WithCreate withIsDisabled(Boolean isDisabled); + } + /** * The stage of the functionenvelope definition allowing to specify Kind. */ @@ -189,6 +233,18 @@ interface WithKind { WithCreate withKind(String kind); } + /** + * The stage of the functionenvelope definition allowing to specify Language. + */ + interface WithLanguage { + /** + * Specifies language. + * @param language The function language + * @return the next definition stage + */ + WithCreate withLanguage(String language); + } + /** * The stage of the functionenvelope definition allowing to specify ScriptHref. */ @@ -237,18 +293,30 @@ interface WithTestData { WithCreate withTestData(String testData); } + /** + * The stage of the functionenvelope definition allowing to specify TestDataHref. + */ + interface WithTestDataHref { + /** + * Specifies testDataHref. + * @param testDataHref Test data URI + * @return the next definition stage + */ + WithCreate withTestDataHref(String testDataHref); + } + /** * The stage of the definition which contains all the minimum required inputs for * the resource to be created (via {@link WithCreate#create()}), but also allows * for any other optional settings to be specified. */ - interface WithCreate extends Creatable, DefinitionStages.WithConfig, DefinitionStages.WithConfigHref, DefinitionStages.WithFiles, DefinitionStages.WithFunctionAppId, DefinitionStages.WithHref, DefinitionStages.WithKind, DefinitionStages.WithScriptHref, DefinitionStages.WithScriptRootPathHref, DefinitionStages.WithSecretsFileHref, DefinitionStages.WithTestData { + interface WithCreate extends Creatable, DefinitionStages.WithConfig, DefinitionStages.WithConfigHref, DefinitionStages.WithFiles, DefinitionStages.WithFunctionAppId, DefinitionStages.WithHref, DefinitionStages.WithInvokeUrlTemplate, DefinitionStages.WithIsDisabled, DefinitionStages.WithKind, DefinitionStages.WithLanguage, DefinitionStages.WithScriptHref, DefinitionStages.WithScriptRootPathHref, DefinitionStages.WithSecretsFileHref, DefinitionStages.WithTestData, DefinitionStages.WithTestDataHref { } } /** * The template for a FunctionEnvelope update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, UpdateStages.WithConfig, UpdateStages.WithConfigHref, UpdateStages.WithFiles, UpdateStages.WithFunctionAppId, UpdateStages.WithHref, UpdateStages.WithKind, UpdateStages.WithScriptHref, UpdateStages.WithScriptRootPathHref, UpdateStages.WithSecretsFileHref, UpdateStages.WithTestData { + interface Update extends Appliable, UpdateStages.WithConfig, UpdateStages.WithConfigHref, UpdateStages.WithFiles, UpdateStages.WithFunctionAppId, UpdateStages.WithHref, UpdateStages.WithInvokeUrlTemplate, UpdateStages.WithIsDisabled, UpdateStages.WithKind, UpdateStages.WithLanguage, UpdateStages.WithScriptHref, UpdateStages.WithScriptRootPathHref, UpdateStages.WithSecretsFileHref, UpdateStages.WithTestData, UpdateStages.WithTestDataHref { } /** @@ -315,6 +383,30 @@ interface WithHref { Update withHref(String href); } + /** + * The stage of the functionenvelope update allowing to specify InvokeUrlTemplate. + */ + interface WithInvokeUrlTemplate { + /** + * Specifies invokeUrlTemplate. + * @param invokeUrlTemplate The invocation URL + * @return the next update stage + */ + Update withInvokeUrlTemplate(String invokeUrlTemplate); + } + + /** + * The stage of the functionenvelope update allowing to specify IsDisabled. + */ + interface WithIsDisabled { + /** + * Specifies isDisabled. + * @param isDisabled Value indicating whether the function is disabled + * @return the next update stage + */ + Update withIsDisabled(Boolean isDisabled); + } + /** * The stage of the functionenvelope update allowing to specify Kind. */ @@ -327,6 +419,18 @@ interface WithKind { Update withKind(String kind); } + /** + * The stage of the functionenvelope update allowing to specify Language. + */ + interface WithLanguage { + /** + * Specifies language. + * @param language The function language + * @return the next update stage + */ + Update withLanguage(String language); + } + /** * The stage of the functionenvelope update allowing to specify ScriptHref. */ @@ -375,5 +479,17 @@ interface WithTestData { Update withTestData(String testData); } + /** + * The stage of the functionenvelope update allowing to specify TestDataHref. + */ + interface WithTestDataHref { + /** + * Specifies testDataHref. + * @param testDataHref Test data URI + * @return the next update stage + */ + Update withTestDataHref(String testDataHref); + } + } } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionSecrets.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionSecrets.java index c31a088abe07f..db58fe9e4c10c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionSecrets.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionSecrets.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.FunctionSecretsInner; /** * Type representing FunctionSecrets. */ -public interface FunctionSecrets extends HasInner, HasManager { +public interface FunctionSecrets extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostKeys.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostKeys.java new file mode 100644 index 0000000000000..ea8735704bbf4 --- /dev/null +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostKeys.java @@ -0,0 +1,36 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01; + +import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.arm.resources.models.HasManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.HostKeysInner; +import java.util.Map; + +/** + * Type representing HostKeys. + */ +public interface HostKeys extends HasInner, HasManager { + /** + * @return the functionKeys value. + */ + Map functionKeys(); + + /** + * @return the masterKey value. + */ + String masterKey(); + + /** + * @return the systemKeys value. + */ + Map systemKeys(); + +} diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameBinding.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameBinding.java index 2f6c447c35193..ac666c8a767a3 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameBinding.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameBinding.java @@ -16,12 +16,12 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing HostNameBinding. */ -public interface HostNameBinding extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface HostNameBinding extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the azureResourceName value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java index 40f97a5fe8939..0a7b72bb50315 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServicePlanInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; import java.util.Map; /** * Type representing HostingEnvironmentAppServicePlan. */ -public interface HostingEnvironmentAppServicePlan extends HasInner, HasManager { +public interface HostingEnvironmentAppServicePlan extends HasInner, HasManager { /** * @return the freeOfferExpirationTime value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDiagnostics.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDiagnostics.java index 66d70c20a4b2f..8c1052663a615 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDiagnostics.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDiagnostics.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.HostingEnvironmentDiagnosticsInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing HostingEnvironmentDiagnostics. */ -public interface HostingEnvironmentDiagnostics extends HasInner, HasManager { +public interface HostingEnvironmentDiagnostics extends HasInner, HasManager { /** * @return the diagnosicsOutput value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentResourceMetric.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentResourceMetric.java index 270ab243bb125..4000ce2220396 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentResourceMetric.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentResourceMetric.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ResourceMetricInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; import java.util.List; /** * Type representing HostingEnvironmentResourceMetric. */ -public interface HostingEnvironmentResourceMetric extends HasInner, HasManager { +public interface HostingEnvironmentResourceMetric extends HasInner, HasManager { /** * @return the endTime value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentSite.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentSite.java index 08c193c0fe0fa..0f9fd09cf81fe 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentSite.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentSite.java @@ -11,7 +11,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import java.util.UUID; import org.joda.time.DateTime; @@ -20,7 +20,7 @@ /** * Type representing HostingEnvironmentSite. */ -public interface HostingEnvironmentSite extends HasInner, HasManager { +public interface HostingEnvironmentSite extends HasInner, HasManager { /** * @return the availabilityState value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnection.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnection.java index 7c1d69cb39c7c..662865acec05e 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnection.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnection.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.HybridConnectionInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing HybridConnection. */ -public interface HybridConnection extends HasInner, HasManager { +public interface HybridConnection extends HasInner, HasManager { /** * @return the hostname value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionKey.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionKey.java index a63a0d3dea9d4..602f5be8f32e3 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionKey.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionKey.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.HybridConnectionKeyInner; /** * Type representing HybridConnectionKey. */ -public interface HybridConnectionKey extends HasInner, HasManager { +public interface HybridConnectionKey extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionLimits.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionLimits.java index 3d16b67896f75..fdcc598612c8f 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionLimits.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionLimits.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.HybridConnectionLimitsInner; /** * Type representing HybridConnectionLimits. */ -public interface HybridConnectionLimits extends HasInner, HasManager { +public interface HybridConnectionLimits extends HasInner, HasManager { /** * @return the current value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Identifier.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Identifier.java index 0220f23d6c852..50dd9b2775e3c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Identifier.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Identifier.java @@ -16,12 +16,12 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing Identifier. */ -public interface Identifier extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface Identifier extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/InboundEnvironmentEndpoint.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/InboundEnvironmentEndpoint.java index 1a8a0d4eb80d8..348c727e6b4e6 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/InboundEnvironmentEndpoint.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/InboundEnvironmentEndpoint.java @@ -11,13 +11,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.InboundEnvironmentEndpointInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; /** * Type representing InboundEnvironmentEndpoint. */ -public interface InboundEnvironmentEndpoint extends HasInner, HasManager { +public interface InboundEnvironmentEndpoint extends HasInner, HasManager { /** * @return the description value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/KeyInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/KeyInfo.java new file mode 100644 index 0000000000000..a673367cca1fa --- /dev/null +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/KeyInfo.java @@ -0,0 +1,94 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01; + +import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.KeyInfoInner; +import com.microsoft.azure.arm.model.Indexable; +import com.microsoft.azure.arm.model.Creatable; +import com.microsoft.azure.arm.resources.models.HasManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; + +/** + * Type representing KeyInfo. + */ +public interface KeyInfo extends HasInner, Indexable, HasManager { + /** + * @return the name value. + */ + String name(); + + /** + * @return the value value. + */ + String value(); + + /** + * The entirety of the KeyInfo definition. + */ + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithFunction, DefinitionStages.WithCreate { + } + + /** + * Grouping of KeyInfo definition stages. + */ + interface DefinitionStages { + /** + * The first stage of a KeyInfo definition. + */ + interface Blank extends WithFunction { + } + + /** + * The stage of the keyinfo definition allowing to specify Function. + */ + interface WithFunction { + /** + * Specifies resourceGroupName, name, functionName. + * @param resourceGroupName Name of the resource group to which the resource belongs + * @param name Site name + * @param functionName The name of the function + * @return the next definition stage + */ + WithCreate withExistingFunction(String resourceGroupName, String name, String functionName); + } + + /** + * The stage of the keyinfo definition allowing to specify Name. + */ + interface WithName { + /** + * Specifies name. + * @param name Key name + * @return the next definition stage + */ + WithCreate withName(String name); + } + + /** + * The stage of the keyinfo definition allowing to specify Value. + */ + interface WithValue { + /** + * Specifies value. + * @param value Key value + * @return the next definition stage + */ + WithCreate withValue(String value); + } + + /** + * The stage of the definition which contains all the minimum required inputs for + * the resource to be created (via {@link WithCreate#create()}), but also allows + * for any other optional settings to be specified. + */ + interface WithCreate extends Creatable, DefinitionStages.WithName, DefinitionStages.WithValue { + } + } +} diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLog.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLog.java index 7026d00407a08..ce807b8182597 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLog.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLog.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.MSDeployLogInner; import java.util.List; /** * Type representing MSDeployLog. */ -public interface MSDeployLog extends HasInner, HasManager { +public interface MSDeployLog extends HasInner, HasManager { /** * @return the entries value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployStatus.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployStatus.java index 8ae502a3dd961..66259d74e85b1 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployStatus.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployStatus.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.MSDeployStatusInner; import org.joda.time.DateTime; /** * Type representing MSDeployStatus. */ -public interface MSDeployStatus extends HasInner, HasManager { +public interface MSDeployStatus extends HasInner, HasManager { /** * @return the complete value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricDefinition.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricDefinition.java index 89cb698b0952a..8169af713749d 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricDefinition.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricDefinition.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.MetricDefinitionInner; import java.util.List; /** * Type representing MetricDefinition. */ -public interface MetricDefinition extends HasInner, HasManager { +public interface MetricDefinition extends HasInner, HasManager { /** * @return the displayName value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlStatus.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlStatus.java index 98954e9580acb..bc3d7468c4b0c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlStatus.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlStatus.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.MigrateMySqlStatusInner; /** * Type representing MigrateMySqlStatus. */ -public interface MigrateMySqlStatus extends HasInner, HasManager { +public interface MigrateMySqlStatus extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MultiRolePools.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MultiRolePools.java index df44cd54eb88b..addf3c5ecf618 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MultiRolePools.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MultiRolePools.java @@ -11,13 +11,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.WorkerPoolResourceInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; /** * Type representing MultiRolePools. */ -public interface MultiRolePools extends HasInner, HasManager { +public interface MultiRolePools extends HasInner, HasManager { /** * @return the computeMode value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameIdentifier.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameIdentifier.java index 15b3955be369c..da9e7bf23fbb5 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameIdentifier.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameIdentifier.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.NameIdentifierInner; /** * Type representing NameIdentifier. */ -public interface NameIdentifier extends HasInner, HasManager { +public interface NameIdentifier extends HasInner, HasManager { /** * @return the name value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkFeatures.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkFeatures.java index 0272b459e50cc..c5d29470d8ed0 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkFeatures.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkFeatures.java @@ -13,13 +13,13 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; /** * Type representing NetworkFeatures. */ -public interface NetworkFeatures extends HasInner, Indexable, Refreshable, HasManager { +public interface NetworkFeatures extends HasInner, Indexable, Refreshable, HasManager { /** * @return the hybridConnections value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkTrace.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkTrace.java index e21f59939f27e..ef4e48f52b4e6 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkTrace.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkTrace.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.NetworkTraceInner; /** * Type representing NetworkTrace. */ -public interface NetworkTrace extends HasInner, HasManager { +public interface NetworkTrace extends HasInner, HasManager { /** * @return the message value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Operation.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Operation.java index a484cd157dbc0..451eb1d2a89ec 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Operation.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Operation.java @@ -11,7 +11,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.OperationInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; import java.util.List; import java.util.UUID; @@ -19,7 +19,7 @@ /** * Type representing Operation. */ -public interface Operation extends HasInner, HasManager { +public interface Operation extends HasInner, HasManager { /** * @return the createdTime value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/OutboundEnvironmentEndpoint.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/OutboundEnvironmentEndpoint.java index 4a4dcad7c455f..e1edbad0e1574 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/OutboundEnvironmentEndpoint.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/OutboundEnvironmentEndpoint.java @@ -11,13 +11,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.OutboundEnvironmentEndpointInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; /** * Type representing OutboundEnvironmentEndpoint. */ -public interface OutboundEnvironmentEndpoint extends HasInner, HasManager { +public interface OutboundEnvironmentEndpoint extends HasInner, HasManager { /** * @return the category value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonResponse.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonResponse.java index 3ceac9152bb4b..1c6659294dfdc 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonResponse.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonResponse.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PerfMonResponseInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing PerfMonResponse. */ -public interface PerfMonResponse extends HasInner, HasManager { +public interface PerfMonResponse extends HasInner, HasManager { /** * @return the code value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java index 608a5093c1316..16fa93ce58c3b 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java @@ -16,13 +16,13 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.Map; /** * Type representing PremierAddOn. */ -public interface PremierAddOn extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface PremierAddOn extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccess.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccess.java index add05acbac1c6..aec627cde5be9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccess.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccess.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PrivateAccessInner; import java.util.List; /** * Type representing PrivateAccess. */ -public interface PrivateAccess extends HasInner, HasManager { +public interface PrivateAccess extends HasInner, HasManager { /** * @return the enabled value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessInfo.java index d9c894a8e0c65..cb86702a6f1c2 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessInfo.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessInfo.java @@ -13,7 +13,7 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import java.util.Map; import org.joda.time.DateTime; @@ -21,7 +21,7 @@ /** * Type representing ProcessInfo. */ -public interface ProcessInfo extends HasInner, Indexable, Refreshable, HasManager { +public interface ProcessInfo extends HasInner, Indexable, Refreshable, HasManager { /** * @return the children value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessModuleInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessModuleInfo.java index fd9b214e639e5..bd652d6d46bd9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessModuleInfo.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessModuleInfo.java @@ -13,12 +13,12 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing ProcessModuleInfo. */ -public interface ProcessModuleInfo extends HasInner, Indexable, Refreshable, HasManager { +public interface ProcessModuleInfo extends HasInner, Indexable, Refreshable, HasManager { /** * @return the baseAddress value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessThreadInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessThreadInfo.java index d3f2c7c2ae87d..3e30c7bec4c28 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessThreadInfo.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessThreadInfo.java @@ -13,13 +13,13 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; /** * Type representing ProcessThreadInfo. */ -public interface ProcessThreadInfo extends HasInner, Indexable, Refreshable, HasManager { +public interface ProcessThreadInfo extends HasInner, Indexable, Refreshable, HasManager { /** * @return the basePriority value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PublicCertificate.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PublicCertificate.java index d554ccd0e9524..9ffee1c242a0e 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PublicCertificate.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PublicCertificate.java @@ -16,12 +16,12 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing PublicCertificate. */ -public interface PublicCertificate extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface PublicCertificate extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the blob value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PushSettings.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PushSettings.java index c24395b90ac3c..28170ac8abdf6 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PushSettings.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PushSettings.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; /** * Type representing PushSettings. */ -public interface PushSettings extends HasInner, HasManager { +public interface PushSettings extends HasInner, HasManager { /** * @return the dynamicTagsJson value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Recommendation.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Recommendation.java index a747281c47216..231dab0196ff0 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Recommendation.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Recommendation.java @@ -11,7 +11,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RecommendationInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import org.joda.time.DateTime; import java.util.UUID; @@ -19,7 +19,7 @@ /** * Type representing Recommendation. */ -public interface Recommendation extends HasInner, HasManager { +public interface Recommendation extends HasInner, HasManager { /** * @return the actionName value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RecommendationRule.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RecommendationRule.java index 50fe554598653..55e551dfc08d7 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RecommendationRule.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RecommendationRule.java @@ -10,7 +10,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RecommendationRuleInner; import java.util.List; import java.util.UUID; @@ -18,7 +18,7 @@ /** * Type representing RecommendationRule. */ -public interface RecommendationRule extends HasInner, HasManager { +public interface RecommendationRule extends HasInner, HasManager { /** * @return the actionName value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RelayServiceConnectionEntity.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RelayServiceConnectionEntity.java index 862eeba5f4780..08225749727ac 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RelayServiceConnectionEntity.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RelayServiceConnectionEntity.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RelayServiceConnectionEntityInner; /** * Type representing RelayServiceConnectionEntity. */ -public interface RelayServiceConnectionEntity extends HasInner, HasManager { +public interface RelayServiceConnectionEntity extends HasInner, HasManager { /** * @return the biztalkUri value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadata.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadata.java index c3fbc78b30e1c..e47126ad5b89b 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadata.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadata.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ResourceHealthMetadataInner; /** * Type representing ResourceHealthMetadata. */ -public interface ResourceHealthMetadata extends HasInner, HasManager { +public interface ResourceHealthMetadata extends HasInner, HasManager { /** * @return the category value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RestoreRequest.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RestoreRequest.java index 033364d8266db..bc397927de60c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RestoreRequest.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RestoreRequest.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RestoreRequestInner; import java.util.List; /** * Type representing RestoreRequest. */ -public interface RestoreRequest extends HasInner, HasManager { +public interface RestoreRequest extends HasInner, HasManager { /** * @return the adjustConnectionStrings value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmCsmUsageQuota.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmCsmUsageQuota.java index 7bf86efcc8293..55c2b358dc78b 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmCsmUsageQuota.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmCsmUsageQuota.java @@ -11,13 +11,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CsmUsageQuotaInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; /** * Type representing ServerfarmCsmUsageQuota. */ -public interface ServerfarmCsmUsageQuota extends HasInner, HasManager { +public interface ServerfarmCsmUsageQuota extends HasInner, HasManager { /** * @return the currentValue value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmHybridConnection.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmHybridConnection.java index e5760052b8ca3..0ed638bfd3cb3 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmHybridConnection.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmHybridConnection.java @@ -13,12 +13,12 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing ServerfarmHybridConnection. */ -public interface ServerfarmHybridConnection extends HasInner, Indexable, Refreshable, HasManager { +public interface ServerfarmHybridConnection extends HasInner, Indexable, Refreshable, HasManager { /** * @return the hostname value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetric.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetric.java index 4e7a043ca70bc..46c44b97a0043 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetric.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetric.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ResourceMetricInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; import java.util.List; /** * Type representing ServerfarmResourceMetric. */ -public interface ServerfarmResourceMetric extends HasInner, HasManager { +public interface ServerfarmResourceMetric extends HasInner, HasManager { /** * @return the endTime value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetricDefinition.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetricDefinition.java index a380f98605589..2f982bfb4a8de 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetricDefinition.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetricDefinition.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ResourceMetricDefinitionInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import java.util.Map; /** * Type representing ServerfarmResourceMetricDefinition. */ -public interface ServerfarmResourceMetricDefinition extends HasInner, HasManager { +public interface ServerfarmResourceMetricDefinition extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java index 6a13411f17372..6467a9ee9110d 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java @@ -11,7 +11,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import java.util.UUID; import org.joda.time.DateTime; @@ -20,7 +20,7 @@ /** * Type representing ServerfarmSite. */ -public interface ServerfarmSite extends HasInner, HasManager { +public interface ServerfarmSite extends HasInner, HasManager { /** * @return the availabilityState value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetGateway.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetGateway.java index b5e6d3f8a3f05..09e2206c8c89b 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetGateway.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetGateway.java @@ -15,12 +15,12 @@ import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing ServerfarmVnetGateway. */ -public interface ServerfarmVnetGateway extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface ServerfarmVnetGateway extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java index d1b4a524ad092..6b9196fce3062 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java @@ -13,13 +13,13 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; /** * Type representing ServerfarmVnetInfo. */ -public interface ServerfarmVnetInfo extends HasInner, Indexable, Refreshable, HasManager { +public interface ServerfarmVnetInfo extends HasInner, Indexable, Refreshable, HasManager { /** * @return the certBlob value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java index 289a1cc01e951..1a0f191aa5fa1 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteAuthSettingsInner; import java.util.List; /** * Type representing SiteAuthSettings. */ -public interface SiteAuthSettings extends HasInner, HasManager { +public interface SiteAuthSettings extends HasInner, HasManager { /** * @return the additionalLoginParams value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneability.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneability.java index f3b3549c775a8..11a026bf47a3e 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneability.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneability.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteCloneabilityInner; import java.util.List; /** * Type representing SiteCloneability. */ -public interface SiteCloneability extends HasInner, HasManager { +public interface SiteCloneability extends HasInner, HasManager { /** * @return the blockingCharacteristics value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java index 557f156ae6c09..292c423f38448 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java @@ -10,7 +10,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteConfigResourceInner; import java.util.List; import java.util.Map; @@ -20,7 +20,7 @@ /** * Type representing SiteConfigResource. */ -public interface SiteConfigResource extends HasInner, HasManager { +public interface SiteConfigResource extends HasInner, HasManager { /** * @return the alwaysOn value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigurationSnapshotInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigurationSnapshotInfo.java index 0c45c47e1f665..5ef5118198475 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigurationSnapshotInfo.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigurationSnapshotInfo.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteConfigurationSnapshotInfoInner; import org.joda.time.DateTime; /** * Type representing SiteConfigurationSnapshotInfo. */ -public interface SiteConfigurationSnapshotInfo extends HasInner, HasManager { +public interface SiteConfigurationSnapshotInfo extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCsmUsageQuota.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCsmUsageQuota.java index b0cd683832701..61f2a99b8bc81 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCsmUsageQuota.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCsmUsageQuota.java @@ -11,13 +11,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CsmUsageQuotaInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; /** * Type representing SiteCsmUsageQuota. */ -public interface SiteCsmUsageQuota extends HasInner, HasManager { +public interface SiteCsmUsageQuota extends HasInner, HasManager { /** * @return the currentValue value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteExtensionInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteExtensionInfo.java index 596a52beedaa4..20b75713ea9bd 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteExtensionInfo.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteExtensionInfo.java @@ -16,14 +16,14 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import org.joda.time.DateTime; /** * Type representing SiteExtensionInfo. */ -public interface SiteExtensionInfo extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface SiteExtensionInfo extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the authors value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteHybridConnection.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteHybridConnection.java index da46b6a1b39d1..fcd20718f91dc 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteHybridConnection.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteHybridConnection.java @@ -16,12 +16,12 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing SiteHybridConnection. */ -public interface SiteHybridConnection extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface SiteHybridConnection extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the hostname value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteInstance.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteInstance.java index 8b5bf21e9348f..5444bd17e5bc2 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteInstance.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteInstance.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteInstanceInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing SiteInstance. */ -public interface SiteInstance extends HasInner, HasManager { +public interface SiteInstance extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLogsConfig.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLogsConfig.java index c200e6a133614..f13a7df189300 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLogsConfig.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLogsConfig.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteLogsConfigInner; /** * Type representing SiteLogsConfig. */ -public interface SiteLogsConfig extends HasInner, HasManager { +public interface SiteLogsConfig extends HasInner, HasManager { /** * @return the applicationLogs value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePhpErrorLogFlag.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePhpErrorLogFlag.java index 3090af424e35c..87238fa3457ea 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePhpErrorLogFlag.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePhpErrorLogFlag.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SitePhpErrorLogFlagInner; /** * Type representing SitePhpErrorLogFlag. */ -public interface SitePhpErrorLogFlag extends HasInner, HasManager { +public interface SitePhpErrorLogFlag extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetric.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetric.java index 8a62b8b75caaf..2ce96730dccbb 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetric.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetric.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ResourceMetricInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import org.joda.time.DateTime; import java.util.List; /** * Type representing SiteResourceMetric. */ -public interface SiteResourceMetric extends HasInner, HasManager { +public interface SiteResourceMetric extends HasInner, HasManager { /** * @return the endTime value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetricDefinition.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetricDefinition.java index 173e84239d869..4af5649afb812 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetricDefinition.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetricDefinition.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ResourceMetricDefinitionInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import java.util.Map; /** * Type representing SiteResourceMetricDefinition. */ -public interface SiteResourceMetricDefinition extends HasInner, HasManager { +public interface SiteResourceMetricDefinition extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSeal.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSeal.java index 01f3fa42cb917..b77e9482c873e 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSeal.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSeal.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteSealInner; /** * Type representing SiteSeal. */ -public interface SiteSeal extends HasInner, HasManager { +public interface SiteSeal extends HasInner, HasManager { /** * @return the html value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSourceControl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSourceControl.java index cea94bd0857b2..daf20842ffe91 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSourceControl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSourceControl.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteSourceControlInner; /** * Type representing SiteSourceControl. */ -public interface SiteSourceControl extends HasInner, HasManager { +public interface SiteSourceControl extends HasInner, HasManager { /** * @return the branch value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetGateway.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetGateway.java index c1d01bd891217..6d52c63a5e114 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetGateway.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetGateway.java @@ -16,12 +16,12 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing SiteVnetGateway. */ -public interface SiteVnetGateway extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface SiteVnetGateway extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java index ac4f2e314985e..f85e2ea3eddc4 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java @@ -16,13 +16,13 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; /** * Type representing SiteVnetInfo. */ -public interface SiteVnetInfo extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface SiteVnetInfo extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the certBlob value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java index 095c945373ba2..3b4af4dbbdd48 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java @@ -17,7 +17,7 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import org.joda.time.DateTime; import java.util.UUID; @@ -26,7 +26,7 @@ /** * Type representing Sites. */ -public interface Sites extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { +public interface Sites extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** * @return the availabilityState value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuInfo.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuInfo.java index 67a4a28fd7445..00002cc290812 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuInfo.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuInfo.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SkuInfoInner; /** * Type representing SkuInfo. */ -public interface SkuInfo extends HasInner, HasManager { +public interface SkuInfo extends HasInner, HasManager { /** * @return the capacity value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java index bab1088a0d281..40c8aa5a96d15 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SlotConfigNamesResourceInner; import java.util.List; /** * Type representing SlotConfigNamesResource. */ -public interface SlotConfigNamesResource extends HasInner, HasManager { +public interface SlotConfigNamesResource extends HasInner, HasManager { /** * @return the appSettingNames value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotDifference.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotDifference.java index d6c1ced13035b..b85ce5580df2e 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotDifference.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotDifference.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SlotDifferenceInner; /** * Type representing SlotDifference. */ -public interface SlotDifference extends HasInner, HasManager { +public interface SlotDifference extends HasInner, HasManager { /** * @return the description value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java index 501466dab5941..491a77654f77c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java @@ -16,7 +16,7 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; import org.joda.time.DateTime; import java.util.UUID; @@ -25,7 +25,7 @@ /** * Type representing Slots. */ -public interface Slots extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface Slots extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the availabilityState value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Snapshot.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Snapshot.java index f52be147fe399..9617af34762d8 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Snapshot.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Snapshot.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SnapshotInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing Snapshot. */ -public interface Snapshot extends HasInner, HasManager { +public interface Snapshot extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StampCapacity.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StampCapacity.java index 21cc264d0d2a7..6a80bf25f0d6d 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StampCapacity.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StampCapacity.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.StampCapacityInner; /** * Type representing StampCapacity. */ -public interface StampCapacity extends HasInner, HasManager { +public interface StampCapacity extends HasInner, HasManager { /** * @return the availableCapacity value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationResponse.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationResponse.java index 27c1b6f8f854a..544f42a90f4a0 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationResponse.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationResponse.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.StorageMigrationResponseInner; /** * Type representing StorageMigrationResponse. */ -public interface StorageMigrationResponse extends HasInner, HasManager { +public interface StorageMigrationResponse extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StringDictionary.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StringDictionary.java index a3176ecedea4e..100a585149374 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StringDictionary.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StringDictionary.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.StringDictionaryInner; import java.util.Map; /** * Type representing StringDictionary. */ -public interface StringDictionary extends HasInner, HasManager { +public interface StringDictionary extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SwiftVirtualNetwork.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SwiftVirtualNetwork.java index 8acf453d398f2..3ac349ae21971 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SwiftVirtualNetwork.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SwiftVirtualNetwork.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SwiftVirtualNetworkInner; /** * Type representing SwiftVirtualNetwork. */ -public interface SwiftVirtualNetwork extends HasInner, HasManager { +public interface SwiftVirtualNetwork extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TldLegalAgreement.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TldLegalAgreement.java index c1d8fdf05ae09..58e5f2b1987be 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TldLegalAgreement.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TldLegalAgreement.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.TldLegalAgreementInner; /** * Type representing TldLegalAgreement. */ -public interface TldLegalAgreement extends HasInner, HasManager { +public interface TldLegalAgreement extends HasInner, HasManager { /** * @return the agreementKey value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomain.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomain.java index 2a40691b69f46..cf383a3d99b30 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomain.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomain.java @@ -13,12 +13,12 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing TopLevelDomain. */ -public interface TopLevelDomain extends HasInner, Indexable, Refreshable, HasManager { +public interface TopLevelDomain extends HasInner, Indexable, Refreshable, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobHistory.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobHistory.java index 605790afabe65..2f7dfb6daf534 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobHistory.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobHistory.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.TriggeredJobHistoryInner; import java.util.List; /** * Type representing TriggeredJobHistory. */ -public interface TriggeredJobHistory extends HasInner, HasManager { +public interface TriggeredJobHistory extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredWebJob.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredWebJob.java index 1c82d8e74eac1..7bc42565d2fb2 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredWebJob.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredWebJob.java @@ -13,13 +13,13 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.Map; /** * Type representing TriggeredWebJob. */ -public interface TriggeredWebJob extends HasInner, Indexable, Refreshable, HasManager { +public interface TriggeredWebJob extends HasInner, Indexable, Refreshable, HasManager { /** * @return the error value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Usage.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Usage.java index aca653d010805..f3954f241fe99 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Usage.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Usage.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.UsageInner; import org.joda.time.DateTime; /** * Type representing Usage. */ -public interface Usage extends HasInner, HasManager { +public interface Usage extends HasInner, HasManager { /** * @return the computeMode value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/User.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/User.java index 852abf7942d3c..82110a83bdebe 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/User.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/User.java @@ -10,13 +10,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.UserInner; /** * Type representing User. */ -public interface User extends HasInner, HasManager { +public interface User extends HasInner, HasManager { /** * @return the id value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetRoute.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetRoute.java index 8da269987933f..e7626aeb1b1fa 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetRoute.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetRoute.java @@ -15,12 +15,12 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; /** * Type representing VnetRoute. */ -public interface VnetRoute extends HasInner, Indexable, Updatable, HasManager { +public interface VnetRoute extends HasInner, Indexable, Updatable, HasManager { /** * @return the endAddress value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index 2de39ff12ef64..3b30ee31da689 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -15,6 +15,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.implementation.StringDictionaryInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteConfigResourceInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RestoreRequestInner; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.KeyInfoInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RelayServiceConnectionEntityInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SwiftVirtualNetworkInner; import com.microsoft.azure.management.appservice.v2018_02_01.BackupItem; @@ -56,8 +57,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.implementation.VnetGatewayInner; import com.microsoft.azure.management.appservice.v2018_02_01.WebJob; -import java.io.InputStream; - /** * Type representing WebApps. */ @@ -90,6 +89,13 @@ public interface WebApps { */ FunctionEnvelope.DefinitionStages.Blank defineFunction(String name); + /** + * Begins definition for a new Key resource. + * @param name resource name. + * @return the first stage of the new Key definition. + */ + KeyInfo.DefinitionStages.Blank defineKey(String name); + /** * Begins definition for a new HostNameBinding resource. * @param name resource name. @@ -359,6 +365,66 @@ public interface WebApps { */ Observable getFunctionsAdminTokenAsync(String resourceGroupName, String name); + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listHostKeysAsync(String resourceGroupName, String name); + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable listSyncStatusAsync(String resourceGroupName, String name); + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable syncFunctionsAsync(String resourceGroupName, String name); + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable createOrUpdateHostSecretAsync(String resourceGroupName, String name, String keyType, String keyName, KeyInfoInner key); + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable deleteHostSecretAsync(String resourceGroupName, String name, String keyType, String keyName); + /** * Gets hybrid connections configured for an app (or deployment slot, if specified). * Gets hybrid connections configured for an app (or deployment slot, if specified). @@ -757,8 +823,8 @@ public interface WebApps { Completable syncRepositoryAsync(String resourceGroupName, String name); /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -1866,6 +1932,18 @@ public interface WebApps { */ Completable deleteFunctionAsync(String resourceGroupName, String name, String functionName); + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listFunctionKeysAsync(String resourceGroupName, String name, String functionName); + /** * Get function secrets for a function in a web site, or a deployment slot. * Get function secrets for a function in a web site, or a deployment slot. @@ -1884,7 +1962,7 @@ public interface WebApps { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ @@ -1897,7 +1975,7 @@ public interface WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ @@ -1910,7 +1988,7 @@ public interface WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request @@ -1924,12 +2002,25 @@ public interface WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ Completable deleteInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot); + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listFunctionKeysSlotAsync(String resourceGroupName, String name, String functionName, String slot); + /** * Get function secrets for a function in a web site, or a deployment slot. * Get function secrets for a function in a web site, or a deployment slot. @@ -1937,12 +2028,54 @@ public interface WebApps { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ Observable listFunctionSecretsSlotAsync(String resourceGroupName, String name, String functionName, String slot); + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable deleteFunctionSecretAsync(String resourceGroupName, String name, String functionName, String keyName); + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable createOrUpdateFunctionSecretSlotAsync(String resourceGroupName, String name, String functionName, String keyName, String slot, KeyInfoInner key); + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable deleteFunctionSecretSlotAsync(String resourceGroupName, String name, String functionName, String keyName, String slot); + /** * Get the named hostname binding for an app (or deployment slot, if specified). * Get the named hostname binding for an app (or deployment slot, if specified). @@ -3318,6 +3451,71 @@ public interface WebApps { */ Observable getFunctionsAdminTokenSlotAsync(String resourceGroupName, String name, String slot); + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listHostKeysSlotAsync(String resourceGroupName, String name, String slot); + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable listSyncStatusSlotAsync(String resourceGroupName, String name, String slot); + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable syncFunctionsSlotAsync(String resourceGroupName, String name, String slot); + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable createOrUpdateHostSecretSlotAsync(String resourceGroupName, String name, String keyType, String keyName, String slot, KeyInfoInner key); + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable deleteHostSecretSlotAsync(String resourceGroupName, String name, String keyType, String keyName, String slot); + /** * Gets hybrid connections configured for an app (or deployment slot, if specified). * Gets hybrid connections configured for an app (or deployment slot, if specified). @@ -3402,7 +3600,7 @@ public interface WebApps { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ @@ -3723,12 +3921,12 @@ public interface WebApps { Completable syncRepositorySlotAsync(String resourceGroupName, String name, String slot); /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebJob.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebJob.java index d0c0d948b708b..df38044543dbc 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebJob.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebJob.java @@ -13,13 +13,13 @@ import com.microsoft.azure.arm.model.Indexable; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.Map; /** * Type representing WebJob. */ -public interface WebJob extends HasInner, Indexable, Refreshable, HasManager { +public interface WebJob extends HasInner, Indexable, Refreshable, HasManager { /** * @return the error value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPools.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPools.java index 4ff874ad1a3fb..e5519a8c4dcc1 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPools.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPools.java @@ -16,13 +16,13 @@ import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.CertificateRegistrationManager; import java.util.List; /** * Type representing WorkerPools. */ -public interface WorkerPools extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface WorkerPools extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the computeMode value. */ diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseImpl.java index 7123c7cbccd02..f02cd61c30817 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.VirtualIPMapping; class AddressResponseImpl extends WrapperImpl implements AddressResponse { - private final AppServiceManager manager; - AddressResponseImpl(AddressResponseInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + AddressResponseImpl(AddressResponseInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionImpl.java index 1684e4259edf8..eed72cb2c0269 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class AnalysisDefinitionImpl extends WrapperImpl implements AnalysisDefinition { - private final AppServiceManager manager; - AnalysisDefinitionImpl(AnalysisDefinitionInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + AnalysisDefinitionImpl(AnalysisDefinitionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderImpl.java index 1fa7bb5ada840..737f428f27447 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderImpl.java @@ -22,9 +22,9 @@ import com.microsoft.azure.management.appservice.v2018_02_01.CertificateDetails; import rx.functions.Func1; -class AppServiceCertificateOrderImpl extends GroupableResourceCoreImpl implements AppServiceCertificateOrder, AppServiceCertificateOrder.Definition, AppServiceCertificateOrder.Update { +class AppServiceCertificateOrderImpl extends GroupableResourceCoreImpl implements AppServiceCertificateOrder, AppServiceCertificateOrder.Definition, AppServiceCertificateOrder.Update { private AppServiceCertificateOrderPatchResource updateParameter; - AppServiceCertificateOrderImpl(String name, AppServiceCertificateOrderInner inner, AppServiceManager manager) { + AppServiceCertificateOrderImpl(String name, AppServiceCertificateOrderInner inner, CertificateRegistrationManager manager) { super(name, inner, manager); this.updateParameter = new AppServiceCertificateOrderPatchResource(); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersImpl.java index 9b50f6e0c9a93..f5b775dd89982 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersImpl.java @@ -26,14 +26,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.AppServiceCertificateResource; class AppServiceCertificateOrdersImpl extends WrapperImpl implements AppServiceCertificateOrders { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - AppServiceCertificateOrdersImpl(AppServiceManager manager) { + AppServiceCertificateOrdersImpl(CertificateRegistrationManager manager) { super(manager.inner().appServiceCertificateOrders()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } @@ -78,10 +78,14 @@ private Observable getAppServiceCertificateR @Override public Observable getByResourceGroupAsync(String resourceGroupName, String name) { - return this.getAppServiceCertificateOrderInnerUsingAppServiceCertificateOrdersInnerAsync(resourceGroupName, name).map(new Func1 () { + return this.getAppServiceCertificateOrderInnerUsingAppServiceCertificateOrdersInnerAsync(resourceGroupName, name).flatMap(new Func1> () { @Override - public AppServiceCertificateOrder call(AppServiceCertificateOrderInner inner) { - return wrapAppServiceCertificateOrderModel(inner); + public Observable call(AppServiceCertificateOrderInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((AppServiceCertificateOrder)wrapAppServiceCertificateOrderModel(inner)); + } } }); } @@ -215,10 +219,14 @@ public Completable validatePurchaseInformationAsync(AppServiceCertificateOrderIn public Observable getCertificateAsync(String resourceGroupName, String certificateOrderName, String name) { AppServiceCertificateOrdersInner client = this.inner(); return client.getCertificateAsync(resourceGroupName, certificateOrderName, name) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public AppServiceCertificateResource call(AppServiceCertificateResourceInner inner) { - return wrapAppServiceCertificateResourceModel(inner); + public Observable call(AppServiceCertificateResourceInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((AppServiceCertificateResource)wrapAppServiceCertificateResourceModel(inner)); + } } }); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateResourceImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateResourceImpl.java index d31cd95dce513..1aa354bfd6cd2 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateResourceImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateResourceImpl.java @@ -17,13 +17,13 @@ import rx.functions.Func1; class AppServiceCertificateResourceImpl extends CreatableUpdatableImpl implements AppServiceCertificateResource, AppServiceCertificateResource.Definition, AppServiceCertificateResource.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String certificateOrderName; private String name; private AppServiceCertificatePatchResource updateParameter; - AppServiceCertificateResourceImpl(String name, AppServiceManager manager) { + AppServiceCertificateResourceImpl(String name, CertificateRegistrationManager manager) { super(name, new AppServiceCertificateResourceInner()); this.manager = manager; // Set resource name @@ -32,7 +32,7 @@ class AppServiceCertificateResourceImpl extends CreatableUpdatableImpl implements AppServiceEnvironmentResource, AppServiceEnvironmentResource.Definition, AppServiceEnvironmentResource.Update { +class AppServiceEnvironmentResourceImpl extends GroupableResourceCoreImpl implements AppServiceEnvironmentResource, AppServiceEnvironmentResource.Definition, AppServiceEnvironmentResource.Update { private AppServiceEnvironmentPatchResource updateParameter; - AppServiceEnvironmentResourceImpl(String name, AppServiceEnvironmentResourceInner inner, AppServiceManager manager) { + AppServiceEnvironmentResourceImpl(String name, AppServiceEnvironmentResourceInner inner, CertificateRegistrationManager manager) { super(name, inner, manager); this.updateParameter = new AppServiceEnvironmentPatchResource(); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsImpl.java index 8afed49f44c41..ade239adde0b3 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsImpl.java @@ -38,14 +38,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.WorkerPools; class AppServiceEnvironmentsImpl extends WrapperImpl implements AppServiceEnvironments { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - AppServiceEnvironmentsImpl(AppServiceManager manager) { + AppServiceEnvironmentsImpl(CertificateRegistrationManager manager) { super(manager.inner().appServiceEnvironments()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } @@ -130,10 +130,14 @@ private Observable getWorkerPoolResourceInnerUsingAppSe @Override public Observable getByResourceGroupAsync(String resourceGroupName, String name) { - return this.getAppServiceEnvironmentResourceInnerUsingAppServiceEnvironmentsInnerAsync(resourceGroupName, name).map(new Func1 () { + return this.getAppServiceEnvironmentResourceInnerUsingAppServiceEnvironmentsInnerAsync(resourceGroupName, name).flatMap(new Func1> () { @Override - public AppServiceEnvironmentResource call(AppServiceEnvironmentResourceInner inner) { - return wrapAppServiceEnvironmentResourceModel(inner); + public Observable call(AppServiceEnvironmentResourceInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((AppServiceEnvironmentResource)wrapAppServiceEnvironmentResourceModel(inner)); + } } }); } @@ -273,10 +277,14 @@ public AddressResponse call(AddressResponseInner inner) { public Observable getDiagnosticsItemAsync(String resourceGroupName, String name, String diagnosticsName) { AppServiceEnvironmentsInner client = this.inner(); return client.getDiagnosticsItemAsync(resourceGroupName, name, diagnosticsName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public HostingEnvironmentDiagnostics call(HostingEnvironmentDiagnosticsInner inner) { - return wrapHostingEnvironmentDiagnosticsModel(inner); + public Observable call(HostingEnvironmentDiagnosticsInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((HostingEnvironmentDiagnostics)wrapHostingEnvironmentDiagnosticsModel(inner)); + } } }); } @@ -711,10 +719,14 @@ public HostingEnvironmentSite call(SiteInner inner) { public Observable getWorkerPoolAsync(String resourceGroupName, String name, String workerPoolName) { AppServiceEnvironmentsInner client = this.inner(); return client.getWorkerPoolAsync(resourceGroupName, name, workerPoolName) - .map(new Func1() { - @Override - public WorkerPools call(WorkerPoolResourceInner inner) { - return wrapWorkerPoolsModel(inner); + .flatMap(new Func1>() { + @Override + public Observable call(WorkerPoolResourceInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((WorkerPools)wrapWorkerPoolsModel(inner)); + } } }); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java index 7cf822292c447..7802e6f454bea 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java @@ -19,9 +19,9 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SkuDescription; import rx.functions.Func1; -class AppServicePlanImpl extends GroupableResourceCoreImpl implements AppServicePlan, AppServicePlan.Definition, AppServicePlan.Update { +class AppServicePlanImpl extends GroupableResourceCoreImpl implements AppServicePlan, AppServicePlan.Definition, AppServicePlan.Update { private AppServicePlanPatchResource updateParameter; - AppServicePlanImpl(String name, AppServicePlanInner inner, AppServiceManager manager) { + AppServicePlanImpl(String name, AppServicePlanInner inner, CertificateRegistrationManager manager) { super(name, inner, manager); this.updateParameter = new AppServicePlanPatchResource(); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansImpl.java index 5951c54091896..ddd5678bb266c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansImpl.java @@ -31,14 +31,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.VnetRoute; class AppServicePlansImpl extends WrapperImpl implements AppServicePlans { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - AppServicePlansImpl(AppServiceManager manager) { + AppServicePlansImpl(CertificateRegistrationManager manager) { super(manager.inner().appServicePlans()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } @@ -137,10 +137,14 @@ private Observable getVnetGatewayInnerUsingAppServicePlansInne @Override public Observable getByResourceGroupAsync(String resourceGroupName, String name) { - return this.getAppServicePlanInnerUsingAppServicePlansInnerAsync(resourceGroupName, name).map(new Func1 () { + return this.getAppServicePlanInnerUsingAppServicePlansInnerAsync(resourceGroupName, name).flatMap(new Func1> () { @Override - public AppServicePlan call(AppServicePlanInner inner) { - return wrapAppServicePlanModel(inner); + public Observable call(AppServicePlanInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((AppServicePlan)wrapAppServicePlanModel(inner)); + } } }); } @@ -220,10 +224,14 @@ public Capability call(CapabilityInner inner) { public Observable getHybridConnectionAsync(String resourceGroupName, String name, String namespaceName, String relayName) { AppServicePlansInner client = this.inner(); return client.getHybridConnectionAsync(resourceGroupName, name, namespaceName, relayName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public ServerfarmHybridConnection call(HybridConnectionInner inner) { - return wrapServerfarmHybridConnectionModel(inner); + public Observable call(HybridConnectionInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((ServerfarmHybridConnection)wrapServerfarmHybridConnectionModel(inner)); + } } }); } @@ -364,10 +372,14 @@ public ServerfarmCsmUsageQuota call(CsmUsageQuotaInner inner) { public Observable getVnetFromServerFarmAsync(String resourceGroupName, String name, String vnetName) { AppServicePlansInner client = this.inner(); return client.getVnetFromServerFarmAsync(resourceGroupName, name, vnetName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public ServerfarmVnetInfo call(VnetInfoInner inner) { - return wrapServerfarmVnetInfoModel(inner); + public Observable call(VnetInfoInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((ServerfarmVnetInfo)wrapServerfarmVnetInfoModel(inner)); + } } }); } @@ -394,10 +406,14 @@ public ServerfarmVnetInfo call(VnetInfoInner inner) { public Observable getVnetGatewayAsync(String resourceGroupName, String name, String vnetName, String gatewayName) { AppServicePlansInner client = this.inner(); return client.getVnetGatewayAsync(resourceGroupName, name, vnetName, gatewayName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public ServerfarmVnetGateway call(VnetGatewayInner inner) { - return wrapServerfarmVnetGatewayModel(inner); + public Observable call(VnetGatewayInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((ServerfarmVnetGateway)wrapServerfarmVnetGatewayModel(inner)); + } } }); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackImpl.java index 8640f6dc23474..4e67514c0cc0b 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.StackMajorVersion; class ApplicationStackImpl extends WrapperImpl implements ApplicationStack { - private final AppServiceManager manager; - ApplicationStackImpl(ApplicationStackInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + ApplicationStackImpl(ApplicationStackInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceImpl.java index 36f66a9e16cbb..7d74bfbbc4d45 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; class AzureStoragePropertyDictionaryResourceImpl extends WrapperImpl implements AzureStoragePropertyDictionaryResource { - private final AppServiceManager manager; - AzureStoragePropertyDictionaryResourceImpl(AzureStoragePropertyDictionaryResourceInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + AzureStoragePropertyDictionaryResourceImpl(AzureStoragePropertyDictionaryResourceInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupItemImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupItemImpl.java index 2d1ded2413028..d1d95c707f62c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupItemImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupItemImpl.java @@ -17,12 +17,12 @@ import com.microsoft.azure.management.appservice.v2018_02_01.BackupItemStatus; class BackupItemImpl extends IndexableRefreshableWrapperImpl implements BackupItem { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String backupId; - BackupItemImpl(BackupItemInner inner, AppServiceManager manager) { + BackupItemImpl(BackupItemInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -32,7 +32,7 @@ class BackupItemImpl extends IndexableRefreshableWrapperImpl implements BackupRequest { - private final AppServiceManager manager; - BackupRequestImpl(BackupRequestInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + BackupRequestImpl(BackupRequestInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityImpl.java index 6d26a463cdbde..25252815599f5 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityImpl.java @@ -13,15 +13,15 @@ import rx.Observable; class CapabilityImpl extends WrapperImpl implements Capability { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - CapabilityImpl(CapabilityInner inner, AppServiceManager manager) { + CapabilityImpl(CapabilityInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailImpl.java index 3f030093ed7f9..d0a62ecf079d4 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailImpl.java @@ -13,14 +13,14 @@ import org.joda.time.DateTime; class CertificateEmailImpl extends WrapperImpl implements CertificateEmail { - private final AppServiceManager manager; - CertificateEmailImpl(CertificateEmailInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + CertificateEmailImpl(CertificateEmailInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateImpl.java index b8c0b5d34c49b..583a814a9db69 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateImpl.java @@ -18,9 +18,9 @@ import com.microsoft.azure.management.appservice.v2018_02_01.KeyVaultSecretStatus; import rx.functions.Func1; -class CertificateImpl extends GroupableResourceCoreImpl implements Certificate, Certificate.Definition, Certificate.Update { +class CertificateImpl extends GroupableResourceCoreImpl implements Certificate, Certificate.Definition, Certificate.Update { private CertificatePatchResource updateParameter; - CertificateImpl(String name, CertificateInner inner, AppServiceManager manager) { + CertificateImpl(String name, CertificateInner inner, CertificateRegistrationManager manager) { super(name, inner, manager); this.updateParameter = new CertificatePatchResource(); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionImpl.java index ab5bca8f95ded..bb7d0facacd58 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionImpl.java @@ -14,14 +14,14 @@ import org.joda.time.DateTime; class CertificateOrderActionImpl extends WrapperImpl implements CertificateOrderAction { - private final AppServiceManager manager; - CertificateOrderActionImpl(CertificateOrderActionInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + CertificateOrderActionImpl(CertificateOrderActionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java new file mode 100644 index 0000000000000..c1c714f68b995 --- /dev/null +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java @@ -0,0 +1,255 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01.implementation; + +import com.microsoft.azure.AzureEnvironment; +import com.microsoft.azure.AzureResponseBuilder; +import com.microsoft.azure.credentials.AzureTokenCredentials; +import com.microsoft.azure.management.apigeneration.Beta; +import com.microsoft.azure.management.apigeneration.Beta.SinceVersion; +import com.microsoft.azure.arm.resources.AzureConfigurable; +import com.microsoft.azure.serializer.AzureJacksonAdapter; +import com.microsoft.rest.RestClient; +import com.microsoft.azure.management.appservice.v2018_02_01.AppServiceCertificateOrders; +import com.microsoft.azure.management.appservice.v2018_02_01.CertificateRegistrationProviders; +import com.microsoft.azure.management.appservice.v2018_02_01.Domains; +import com.microsoft.azure.management.appservice.v2018_02_01.TopLevelDomains; +import com.microsoft.azure.management.appservice.v2018_02_01.DomainRegistrationProviders; +import com.microsoft.azure.management.appservice.v2018_02_01.Certificates; +import com.microsoft.azure.management.appservice.v2018_02_01.DeletedWebApps; +import com.microsoft.azure.management.appservice.v2018_02_01.Diagnostics; +import com.microsoft.azure.management.appservice.v2018_02_01.Providers; +import com.microsoft.azure.management.appservice.v2018_02_01.Recommendations; +import com.microsoft.azure.management.appservice.v2018_02_01.WebApps; +import com.microsoft.azure.management.appservice.v2018_02_01.AppServiceEnvironments; +import com.microsoft.azure.management.appservice.v2018_02_01.AppServicePlans; +import com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadatas; +import com.microsoft.azure.arm.resources.implementation.AzureConfigurableCoreImpl; +import com.microsoft.azure.arm.resources.implementation.ManagerCore; + +/** + * Entry point to Azure CertificateRegistration resource management. + */ +public final class CertificateRegistrationManager extends ManagerCore { + private AppServiceCertificateOrders appServiceCertificateOrders; + private CertificateRegistrationProviders certificateRegistrationProviders; + private Domains domains; + private TopLevelDomains topLevelDomains; + private DomainRegistrationProviders domainRegistrationProviders; + private Certificates certificates; + private DeletedWebApps deletedWebApps; + private Diagnostics diagnostics; + private Providers providers; + private Recommendations recommendations; + private WebApps webApps; + private AppServiceEnvironments appServiceEnvironments; + private AppServicePlans appServicePlans; + private ResourceHealthMetadatas resourceHealthMetadatas; + /** + * Get a Configurable instance that can be used to create CertificateRegistrationManager with optional configuration. + * + * @return the instance allowing configurations + */ + public static Configurable configure() { + return new CertificateRegistrationManager.ConfigurableImpl(); + } + /** + * Creates an instance of CertificateRegistrationManager that exposes CertificateRegistration resource management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the CertificateRegistrationManager + */ + public static CertificateRegistrationManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return new CertificateRegistrationManager(new RestClient.Builder() + .withBaseUrl(credentials.environment(), AzureEnvironment.Endpoint.RESOURCE_MANAGER) + .withCredentials(credentials) + .withSerializerAdapter(new AzureJacksonAdapter()) + .withResponseBuilderFactory(new AzureResponseBuilder.Factory()) + .build(), subscriptionId); + } + /** + * Creates an instance of CertificateRegistrationManager that exposes CertificateRegistration resource management API entry points. + * + * @param restClient the RestClient to be used for API calls. + * @param subscriptionId the subscription UUID + * @return the CertificateRegistrationManager + */ + public static CertificateRegistrationManager authenticate(RestClient restClient, String subscriptionId) { + return new CertificateRegistrationManager(restClient, subscriptionId); + } + /** + * The interface allowing configurations to be set. + */ + public interface Configurable extends AzureConfigurable { + /** + * Creates an instance of CertificateRegistrationManager that exposes CertificateRegistration management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the interface exposing CertificateRegistration management API entry points that work across subscriptions + */ + CertificateRegistrationManager authenticate(AzureTokenCredentials credentials, String subscriptionId); + } + + /** + * @return Entry point to manage AppServiceCertificateOrders. + */ + public AppServiceCertificateOrders appServiceCertificateOrders() { + if (this.appServiceCertificateOrders == null) { + this.appServiceCertificateOrders = new AppServiceCertificateOrdersImpl(this); + } + return this.appServiceCertificateOrders; + } + + /** + * @return Entry point to manage CertificateRegistrationProviders. + */ + public CertificateRegistrationProviders certificateRegistrationProviders() { + if (this.certificateRegistrationProviders == null) { + this.certificateRegistrationProviders = new CertificateRegistrationProvidersImpl(this); + } + return this.certificateRegistrationProviders; + } + + /** + * @return Entry point to manage Domains. + */ + public Domains domains() { + if (this.domains == null) { + this.domains = new DomainsImpl(this); + } + return this.domains; + } + + /** + * @return Entry point to manage TopLevelDomains. + */ + public TopLevelDomains topLevelDomains() { + if (this.topLevelDomains == null) { + this.topLevelDomains = new TopLevelDomainsImpl(this); + } + return this.topLevelDomains; + } + + /** + * @return Entry point to manage DomainRegistrationProviders. + */ + public DomainRegistrationProviders domainRegistrationProviders() { + if (this.domainRegistrationProviders == null) { + this.domainRegistrationProviders = new DomainRegistrationProvidersImpl(this); + } + return this.domainRegistrationProviders; + } + + /** + * @return Entry point to manage Certificates. + */ + public Certificates certificates() { + if (this.certificates == null) { + this.certificates = new CertificatesImpl(this); + } + return this.certificates; + } + + /** + * @return Entry point to manage DeletedWebApps. + */ + public DeletedWebApps deletedWebApps() { + if (this.deletedWebApps == null) { + this.deletedWebApps = new DeletedWebAppsImpl(this); + } + return this.deletedWebApps; + } + + /** + * @return Entry point to manage Diagnostics. + */ + public Diagnostics diagnostics() { + if (this.diagnostics == null) { + this.diagnostics = new DiagnosticsImpl(this); + } + return this.diagnostics; + } + + /** + * @return Entry point to manage Providers. + */ + public Providers providers() { + if (this.providers == null) { + this.providers = new ProvidersImpl(this); + } + return this.providers; + } + + /** + * @return Entry point to manage Recommendations. + */ + public Recommendations recommendations() { + if (this.recommendations == null) { + this.recommendations = new RecommendationsImpl(this); + } + return this.recommendations; + } + + /** + * @return Entry point to manage WebApps. + */ + public WebApps webApps() { + if (this.webApps == null) { + this.webApps = new WebAppsImpl(this); + } + return this.webApps; + } + + /** + * @return Entry point to manage AppServiceEnvironments. + */ + public AppServiceEnvironments appServiceEnvironments() { + if (this.appServiceEnvironments == null) { + this.appServiceEnvironments = new AppServiceEnvironmentsImpl(this); + } + return this.appServiceEnvironments; + } + + /** + * @return Entry point to manage AppServicePlans. + */ + public AppServicePlans appServicePlans() { + if (this.appServicePlans == null) { + this.appServicePlans = new AppServicePlansImpl(this); + } + return this.appServicePlans; + } + + /** + * @return Entry point to manage ResourceHealthMetadatas. + */ + public ResourceHealthMetadatas resourceHealthMetadatas() { + if (this.resourceHealthMetadatas == null) { + this.resourceHealthMetadatas = new ResourceHealthMetadatasImpl(this); + } + return this.resourceHealthMetadatas; + } + + /** + * The implementation for Configurable interface. + */ + private static final class ConfigurableImpl extends AzureConfigurableCoreImpl implements Configurable { + public CertificateRegistrationManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return CertificateRegistrationManager.authenticate(buildRestClient(credentials), subscriptionId); + } + } + private CertificateRegistrationManager(RestClient restClient, String subscriptionId) { + super( + restClient, + subscriptionId, + new WebSiteManagementClientImpl(restClient).withSubscriptionId(subscriptionId)); + } +} diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationProvidersImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationProvidersImpl.java index f02900de6fa8c..808389f33f0d7 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationProvidersImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationProvidersImpl.java @@ -17,14 +17,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.CsmOperationDescription; class CertificateRegistrationProvidersImpl extends WrapperImpl implements CertificateRegistrationProviders { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - CertificateRegistrationProvidersImpl(AppServiceManager manager) { + CertificateRegistrationProvidersImpl(CertificateRegistrationManager manager) { super(manager.inner().certificateRegistrationProviders()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificatesImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificatesImpl.java index 84256c75e8427..7a90aea6dc1ae 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificatesImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificatesImpl.java @@ -23,8 +23,8 @@ import com.microsoft.azure.PagedList; import com.microsoft.azure.Page; -class CertificatesImpl extends GroupableResourcesCoreImpl implements Certificates { - protected CertificatesImpl(AppServiceManager manager) { +class CertificatesImpl extends GroupableResourcesCoreImpl implements Certificates { + protected CertificatesImpl(CertificateRegistrationManager manager) { super(manager.inner().certificates(), manager); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryImpl.java index 1a4177624c736..1073f001071c2 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ConnStringValueTypePair; class ConnectionStringDictionaryImpl extends WrapperImpl implements ConnectionStringDictionary { - private final AppServiceManager manager; - ConnectionStringDictionaryImpl(ConnectionStringDictionaryInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + ConnectionStringDictionaryImpl(ConnectionStringDictionaryInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ContinuousWebJobImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ContinuousWebJobImpl.java index a29b84175cac9..37aac146c36cd 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ContinuousWebJobImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ContinuousWebJobImpl.java @@ -16,12 +16,12 @@ import com.microsoft.azure.management.appservice.v2018_02_01.WebJobType; class ContinuousWebJobImpl extends IndexableRefreshableWrapperImpl implements ContinuousWebJob { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String webJobName; - ContinuousWebJobImpl(ContinuousWebJobInner inner, AppServiceManager manager) { + ContinuousWebJobImpl(ContinuousWebJobInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -31,7 +31,7 @@ class ContinuousWebJobImpl extends IndexableRefreshableWrapperImpl implements CsmOperationDescription { - private final AppServiceManager manager; - CsmOperationDescriptionImpl(CsmOperationDescriptionInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + CsmOperationDescriptionImpl(CsmOperationDescriptionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultImpl.java index e8b8fef5bda43..6f73e246d3e1f 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DnsVerificationTestResult; class CustomHostnameAnalysisResultImpl extends WrapperImpl implements CustomHostnameAnalysisResult { - private final AppServiceManager manager; - CustomHostnameAnalysisResultImpl(CustomHostnameAnalysisResultInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + CustomHostnameAnalysisResultImpl(CustomHostnameAnalysisResultInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteImpl.java index c43da4b558b63..06990313fb70b 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteImpl.java @@ -13,11 +13,11 @@ import rx.Observable; class DeletedSiteImpl extends IndexableRefreshableWrapperImpl implements DeletedSite { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String location; private String deletedSiteId; - DeletedSiteImpl(DeletedSiteInner inner, AppServiceManager manager) { + DeletedSiteImpl(DeletedSiteInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -26,7 +26,7 @@ class DeletedSiteImpl extends IndexableRefreshableWrapperImpl implements DeletedWebApps { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - DeletedWebAppsImpl(AppServiceManager manager) { + DeletedWebAppsImpl(CertificateRegistrationManager manager) { super(manager.inner().deletedWebApps()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } @@ -43,10 +43,14 @@ private Observable getDeletedSiteInnerUsingDeletedWebAppsInner public Observable getDeletedWebAppByLocationAsync(String location, String deletedSiteId) { DeletedWebAppsInner client = this.inner(); return client.getDeletedWebAppByLocationAsync(location, deletedSiteId) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public DeletedSite call(DeletedSiteInner inner) { - return wrapDeletedSiteModel(inner); + public Observable call(DeletedSiteInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((DeletedSite)wrapDeletedSiteModel(inner)); + } } }); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentImpl.java index 8b74ca3da2aaf..0ee5d225bfbeb 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentImpl.java @@ -14,12 +14,12 @@ import org.joda.time.DateTime; class DeploymentImpl extends CreatableUpdatableImpl implements Deployment, Deployment.Definition, Deployment.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String id; - DeploymentImpl(String name, AppServiceManager manager) { + DeploymentImpl(String name, CertificateRegistrationManager manager) { super(name, new DeploymentInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class DeploymentImpl extends CreatableUpdatableImpl implements DetectorDefinition { - private final AppServiceManager manager; - DetectorDefinitionImpl(DetectorDefinitionInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + DetectorDefinitionImpl(DetectorDefinitionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseImpl.java index be6aedaac5061..52abd9762e53c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseImpl.java @@ -16,12 +16,12 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DetectorInfo; class DetectorResponseImpl extends IndexableRefreshableWrapperImpl implements DetectorResponse { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String detectorName; - DetectorResponseImpl(DetectorResponseInner inner, AppServiceManager manager) { + DetectorResponseImpl(DetectorResponseInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -31,7 +31,7 @@ class DetectorResponseImpl extends IndexableRefreshableWrapperImpl implements DiagnosticAnalysis { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String siteName; private String diagnosticCategory; private String analysisName; - DiagnosticAnalysisImpl(DiagnosticAnalysisInner inner, AppServiceManager manager) { + DiagnosticAnalysisImpl(DiagnosticAnalysisInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -36,7 +36,7 @@ class DiagnosticAnalysisImpl extends IndexableRefreshableWrapperImpl implements DiagnosticCategory { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String siteName; private String diagnosticCategory; - DiagnosticCategoryImpl(DiagnosticCategoryInner inner, AppServiceManager manager) { + DiagnosticCategoryImpl(DiagnosticCategoryInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -28,7 +28,7 @@ class DiagnosticCategoryImpl extends IndexableRefreshableWrapperImpl implements DiagnosticDetectorResponse { - private final AppServiceManager manager; - DiagnosticDetectorResponseImpl(DiagnosticDetectorResponseInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + DiagnosticDetectorResponseImpl(DiagnosticDetectorResponseInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java index 63a928e447086..eaf25c744a585 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java @@ -22,14 +22,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.AnalysisDefinition; class DiagnosticsImpl extends WrapperImpl implements Diagnostics { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - DiagnosticsImpl(AppServiceManager manager) { + DiagnosticsImpl(CertificateRegistrationManager manager) { super(manager.inner().diagnostics()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } @@ -89,10 +89,14 @@ public DiagnosticCategory call(DiagnosticCategoryInner inner) { public Observable getSiteDiagnosticCategoryAsync(String resourceGroupName, String siteName, String diagnosticCategory) { DiagnosticsInner client = this.inner(); return client.getSiteDiagnosticCategoryAsync(resourceGroupName, siteName, diagnosticCategory) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public DiagnosticCategory call(DiagnosticCategoryInner inner) { - return wrapModel(inner); + public Observable call(DiagnosticCategoryInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((DiagnosticCategory)wrapModel(inner)); + } } }); } @@ -126,10 +130,14 @@ private Observable getDiagnosticAnalysisInnerUsingDiagn public Observable getHostingEnvironmentDetectorResponseAsync(String resourceGroupName, String name, String detectorName) { DiagnosticsInner client = this.inner(); return client.getHostingEnvironmentDetectorResponseAsync(resourceGroupName, name, detectorName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public DetectorResponse call(DetectorResponseInner inner) { - return wrapDetectorResponseModel(inner); + public Observable call(DetectorResponseInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((DetectorResponse)wrapDetectorResponseModel(inner)); + } } }); } @@ -312,10 +320,14 @@ public DiagnosticDetectorResponse call(DiagnosticDetectorResponseInner inner) { public Observable getSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { DiagnosticsInner client = this.inner(); return client.getSiteAnalysisAsync(resourceGroupName, siteName, diagnosticCategory, analysisName) - .map(new Func1() { - @Override - public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { - return wrapDiagnosticAnalysisModel(inner); + .flatMap(new Func1>() { + @Override + public Observable call(DiagnosticAnalysisInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((DiagnosticAnalysis)wrapDiagnosticAnalysisModel(inner)); + } } }); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultImpl.java index 4feaf79e22e56..0a3a03ca02e55 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultImpl.java @@ -13,14 +13,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DomainType; class DomainAvailablilityCheckResultImpl extends WrapperImpl implements DomainAvailablilityCheckResult { - private final AppServiceManager manager; - DomainAvailablilityCheckResultImpl(DomainAvailablilityCheckResultInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + DomainAvailablilityCheckResultImpl(DomainAvailablilityCheckResultInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestImpl.java index 74e0862255784..98cd5c1468ca3 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class DomainControlCenterSsoRequestImpl extends WrapperImpl implements DomainControlCenterSsoRequest { - private final AppServiceManager manager; - DomainControlCenterSsoRequestImpl(DomainControlCenterSsoRequestInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + DomainControlCenterSsoRequestImpl(DomainControlCenterSsoRequestInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainImpl.java index dea347ef52ba4..1bebeb08901de 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainImpl.java @@ -22,9 +22,9 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DnsType; import rx.functions.Func1; -class DomainImpl extends GroupableResourceCoreImpl implements Domain, Domain.Definition, Domain.Update { +class DomainImpl extends GroupableResourceCoreImpl implements Domain, Domain.Definition, Domain.Update { private DomainPatchResource updateParameter; - DomainImpl(String name, DomainInner inner, AppServiceManager manager) { + DomainImpl(String name, DomainInner inner, CertificateRegistrationManager manager) { super(name, inner, manager); this.updateParameter = new DomainPatchResource(); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainOwnershipIdentifierImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainOwnershipIdentifierImpl.java index e9ef26b3756be..8c92c6e18db4c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainOwnershipIdentifierImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainOwnershipIdentifierImpl.java @@ -13,12 +13,12 @@ import rx.Observable; class DomainOwnershipIdentifierImpl extends CreatableUpdatableImpl implements DomainOwnershipIdentifier, DomainOwnershipIdentifier.Definition, DomainOwnershipIdentifier.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String domainName; private String name; - DomainOwnershipIdentifierImpl(String name, AppServiceManager manager) { + DomainOwnershipIdentifierImpl(String name, CertificateRegistrationManager manager) { super(name, new DomainOwnershipIdentifierInner()); this.manager = manager; // Set resource name @@ -26,7 +26,7 @@ class DomainOwnershipIdentifierImpl extends CreatableUpdatableImpl implements DomainRegistrationProviders { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - DomainRegistrationProvidersImpl(AppServiceManager manager) { + DomainRegistrationProvidersImpl(CertificateRegistrationManager manager) { super(manager.inner().domainRegistrationProviders()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainsImpl.java index 1f53d9b188be0..a08bb719af960 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainsImpl.java @@ -28,8 +28,8 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DomainRecommendationSearchParameters; import com.microsoft.azure.management.appservice.v2018_02_01.DomainOwnershipIdentifier; -class DomainsImpl extends GroupableResourcesCoreImpl implements Domains { - protected DomainsImpl(AppServiceManager manager) { +class DomainsImpl extends GroupableResourcesCoreImpl implements Domains { + protected DomainsImpl(CertificateRegistrationManager manager) { super(manager.inner().domains(), manager); } @@ -213,10 +213,14 @@ private Observable getDomainOwnershipIdentifierI public Observable getOwnershipIdentifierAsync(String resourceGroupName, String domainName, String name) { DomainsInner client = this.inner(); return client.getOwnershipIdentifierAsync(resourceGroupName, domainName, name) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public DomainOwnershipIdentifier call(DomainOwnershipIdentifierInner inner) { - return wrapDomainOwnershipIdentifierModel(inner); + public Observable call(DomainOwnershipIdentifierInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((DomainOwnershipIdentifier)wrapDomainOwnershipIdentifierModel(inner)); + } } }); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionEnvelopeImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionEnvelopeImpl.java index eccc26beb5932..b14aa00f76033 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionEnvelopeImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionEnvelopeImpl.java @@ -14,12 +14,12 @@ import java.util.Map; class FunctionEnvelopeImpl extends CreatableUpdatableImpl implements FunctionEnvelope, FunctionEnvelope.Definition, FunctionEnvelope.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String functionName; - FunctionEnvelopeImpl(String name, AppServiceManager manager) { + FunctionEnvelopeImpl(String name, CertificateRegistrationManager manager) { super(name, new FunctionEnvelopeInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class FunctionEnvelopeImpl extends CreatableUpdatableImpl implements FunctionSecrets { - private final AppServiceManager manager; - FunctionSecretsImpl(FunctionSecretsInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + FunctionSecretsImpl(FunctionSecretsInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostKeysImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostKeysImpl.java new file mode 100644 index 0000000000000..4b601aa8b57fc --- /dev/null +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostKeysImpl.java @@ -0,0 +1,42 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01.implementation; + +import com.microsoft.azure.management.appservice.v2018_02_01.HostKeys; +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import java.util.Map; + +class HostKeysImpl extends WrapperImpl implements HostKeys { + private final CertificateRegistrationManager manager; + HostKeysImpl(HostKeysInner inner, CertificateRegistrationManager manager) { + super(inner); + this.manager = manager; + } + + @Override + public CertificateRegistrationManager manager() { + return this.manager; + } + + @Override + public Map functionKeys() { + return this.inner().functionKeys(); + } + + @Override + public String masterKey() { + return this.inner().masterKey(); + } + + @Override + public Map systemKeys() { + return this.inner().systemKeys(); + } + +} diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostKeysInner.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostKeysInner.java new file mode 100644 index 0000000000000..d7255fe6745cd --- /dev/null +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostKeysInner.java @@ -0,0 +1,96 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01.implementation; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Functions host level keys. + */ +public class HostKeysInner { + /** + * Secret key. + */ + @JsonProperty(value = "masterKey") + private String masterKey; + + /** + * Host level function keys. + */ + @JsonProperty(value = "functionKeys") + private Map functionKeys; + + /** + * System keys. + */ + @JsonProperty(value = "systemKeys") + private Map systemKeys; + + /** + * Get secret key. + * + * @return the masterKey value + */ + public String masterKey() { + return this.masterKey; + } + + /** + * Set secret key. + * + * @param masterKey the masterKey value to set + * @return the HostKeysInner object itself. + */ + public HostKeysInner withMasterKey(String masterKey) { + this.masterKey = masterKey; + return this; + } + + /** + * Get host level function keys. + * + * @return the functionKeys value + */ + public Map functionKeys() { + return this.functionKeys; + } + + /** + * Set host level function keys. + * + * @param functionKeys the functionKeys value to set + * @return the HostKeysInner object itself. + */ + public HostKeysInner withFunctionKeys(Map functionKeys) { + this.functionKeys = functionKeys; + return this; + } + + /** + * Get system keys. + * + * @return the systemKeys value + */ + public Map systemKeys() { + return this.systemKeys; + } + + /** + * Set system keys. + * + * @param systemKeys the systemKeys value to set + * @return the HostKeysInner object itself. + */ + public HostKeysInner withSystemKeys(Map systemKeys) { + this.systemKeys = systemKeys; + return this; + } + +} diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostNameBindingImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostNameBindingImpl.java index e848feb6e6193..5841b110d3d5e 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostNameBindingImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostNameBindingImpl.java @@ -17,12 +17,12 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SslState; class HostNameBindingImpl extends CreatableUpdatableImpl implements HostNameBinding, HostNameBinding.Definition, HostNameBinding.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String hostName; - HostNameBindingImpl(String name, AppServiceManager manager) { + HostNameBindingImpl(String name, CertificateRegistrationManager manager) { super(name, new HostNameBindingInner()); this.manager = manager; // Set resource name @@ -30,7 +30,7 @@ class HostNameBindingImpl extends CreatableUpdatableImpl implements HostingEnvironmentAppServicePlan { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - HostingEnvironmentAppServicePlanImpl(AppServicePlanInner inner, AppServiceManager manager) { + HostingEnvironmentAppServicePlanImpl(AppServicePlanInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsImpl.java index eb9ccb2699e58..b6cb384f3a3c9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsImpl.java @@ -13,18 +13,18 @@ import rx.Observable; class HostingEnvironmentDiagnosticsImpl extends WrapperImpl implements HostingEnvironmentDiagnostics { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String diagnosticsName; - HostingEnvironmentDiagnosticsImpl(HostingEnvironmentDiagnosticsInner inner, AppServiceManager manager) { + HostingEnvironmentDiagnosticsImpl(HostingEnvironmentDiagnosticsInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentResourceMetricImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentResourceMetricImpl.java index f948db7e05134..495aefe0b31c4 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentResourceMetricImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentResourceMetricImpl.java @@ -18,15 +18,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ResourceMetricProperty; class HostingEnvironmentResourceMetricImpl extends WrapperImpl implements HostingEnvironmentResourceMetric { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - HostingEnvironmentResourceMetricImpl(ResourceMetricInner inner, AppServiceManager manager) { + HostingEnvironmentResourceMetricImpl(ResourceMetricInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java index 3e040d248d437..13f99b9945089 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java @@ -27,15 +27,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.UsageState; class HostingEnvironmentSiteImpl extends WrapperImpl implements HostingEnvironmentSite { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - HostingEnvironmentSiteImpl(SiteInner inner, AppServiceManager manager) { + HostingEnvironmentSiteImpl(SiteInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionImpl.java index 51f2d4b08a3e3..36d1ea278fa06 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionImpl.java @@ -13,15 +13,15 @@ import rx.Observable; class HybridConnectionImpl extends WrapperImpl implements HybridConnection { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - HybridConnectionImpl(HybridConnectionInner inner, AppServiceManager manager) { + HybridConnectionImpl(HybridConnectionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyImpl.java index e36f0a4605c2d..08fd4833e5d62 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class HybridConnectionKeyImpl extends WrapperImpl implements HybridConnectionKey { - private final AppServiceManager manager; - HybridConnectionKeyImpl(HybridConnectionKeyInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + HybridConnectionKeyImpl(HybridConnectionKeyInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsImpl.java index 80198832955f5..7f14e36257f7c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class HybridConnectionLimitsImpl extends WrapperImpl implements HybridConnectionLimits { - private final AppServiceManager manager; - HybridConnectionLimitsImpl(HybridConnectionLimitsInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + HybridConnectionLimitsImpl(HybridConnectionLimitsInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/IdentifierImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/IdentifierImpl.java index 5c0554d47f025..6e74d2f40c762 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/IdentifierImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/IdentifierImpl.java @@ -13,12 +13,12 @@ import rx.Observable; class IdentifierImpl extends CreatableUpdatableImpl implements Identifier, Identifier.Definition, Identifier.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String domainOwnershipIdentifierName; - IdentifierImpl(String name, AppServiceManager manager) { + IdentifierImpl(String name, CertificateRegistrationManager manager) { super(name, new IdentifierInner()); this.manager = manager; // Set resource name @@ -26,7 +26,7 @@ class IdentifierImpl extends CreatableUpdatableImpl implements InboundEnvironmentEndpoint { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - InboundEnvironmentEndpointImpl(InboundEnvironmentEndpointInner inner, AppServiceManager manager) { + InboundEnvironmentEndpointImpl(InboundEnvironmentEndpointInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/KeyInfoImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/KeyInfoImpl.java new file mode 100644 index 0000000000000..64094cd31ec1b --- /dev/null +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/KeyInfoImpl.java @@ -0,0 +1,99 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01.implementation; + +import com.microsoft.azure.management.appservice.v2018_02_01.KeyInfo; +import com.microsoft.azure.arm.model.implementation.CreatableUpdatableImpl; +import rx.Observable; + +class KeyInfoImpl extends CreatableUpdatableImpl implements KeyInfo, KeyInfo.Definition { + private final CertificateRegistrationManager manager; + private String resourceGroupName; + private String name; + private String functionName; + private String keyName; + + KeyInfoImpl(String name, CertificateRegistrationManager manager) { + super(name, new KeyInfoInner()); + this.manager = manager; + // Set resource name + this.keyName = name; + // + } + + KeyInfoImpl(KeyInfoInner inner, CertificateRegistrationManager manager) { + super(inner.name(), inner); + this.manager = manager; + // Set resource name + this.keyName = inner.name(); + // + } + + @Override + public CertificateRegistrationManager manager() { + return this.manager; + } + + @Override + public Observable createResourceAsync() { + WebAppsInner client = this.manager().inner().webApps(); + return client.createOrUpdateFunctionSecretAsync(this.resourceGroupName, this.name, this.functionName, this.keyName, this.inner()) + .map(innerToFluentMap(this)); + } + + @Override + public Observable updateResourceAsync() { + WebAppsInner client = this.manager().inner().webApps(); + return null; // NOP updateResourceAsync implementation as update is not supported + } + + @Override + protected Observable getInnerAsync() { + WebAppsInner client = this.manager().inner().webApps(); + return null; // NOP getInnerAsync implementation as get is not supported + } + + @Override + public boolean isInCreateMode() { + // This is a create-only resource + return true; + } + + + @Override + public String name() { + return this.inner().name(); + } + + @Override + public String value() { + return this.inner().value(); + } + + @Override + public KeyInfoImpl withExistingFunction(String resourceGroupName, String name, String functionName) { + this.resourceGroupName = resourceGroupName; + this.name = name; + this.functionName = functionName; + return this; + } + + @Override + public KeyInfoImpl withName(String name) { + this.inner().withName(name); + return this; + } + + @Override + public KeyInfoImpl withValue(String value) { + this.inner().withValue(value); + return this; + } + +} diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/KeyInfoInner.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/KeyInfoInner.java new file mode 100644 index 0000000000000..8021e516f4794 --- /dev/null +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/KeyInfoInner.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.appservice.v2018_02_01.implementation; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Function key info. + */ +public class KeyInfoInner { + /** + * Key name. + */ + @JsonProperty(value = "name") + private String name; + + /** + * Key value. + */ + @JsonProperty(value = "value") + private String value; + + /** + * Get key name. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set key name. + * + * @param name the name value to set + * @return the KeyInfoInner object itself. + */ + public KeyInfoInner withName(String name) { + this.name = name; + return this; + } + + /** + * Get key value. + * + * @return the value value + */ + public String value() { + return this.value; + } + + /** + * Set key value. + * + * @param value the value value to set + * @return the KeyInfoInner object itself. + */ + public KeyInfoInner withValue(String value) { + this.value = value; + return this; + } + +} diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployLogImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployLogImpl.java index 0ebead3f97ffa..5e05436035468 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployLogImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployLogImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.MSDeployLogEntry; class MSDeployLogImpl extends WrapperImpl implements MSDeployLog { - private final AppServiceManager manager; - MSDeployLogImpl(MSDeployLogInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + MSDeployLogImpl(MSDeployLogInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusImpl.java index fde126df67407..67fc742ae0200 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.MSDeployProvisioningState; class MSDeployStatusImpl extends WrapperImpl implements MSDeployStatus { - private final AppServiceManager manager; - MSDeployStatusImpl(MSDeployStatusInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + MSDeployStatusImpl(MSDeployStatusInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionImpl.java index 3a593f9fe0ce1..de7fd30bb0184 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.MetricAvailabilily; class MetricDefinitionImpl extends WrapperImpl implements MetricDefinition { - private final AppServiceManager manager; - MetricDefinitionImpl(MetricDefinitionInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + MetricDefinitionImpl(MetricDefinitionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusImpl.java index aa1a3a68388e8..8cb76d824ec74 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusImpl.java @@ -13,14 +13,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.OperationStatus; class MigrateMySqlStatusImpl extends WrapperImpl implements MigrateMySqlStatus { - private final AppServiceManager manager; - MigrateMySqlStatusImpl(MigrateMySqlStatusInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + MigrateMySqlStatusImpl(MigrateMySqlStatusInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MultiRolePoolsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MultiRolePoolsImpl.java index 482c010b1bbd6..6d5a5b3463976 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MultiRolePoolsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MultiRolePoolsImpl.java @@ -16,15 +16,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SkuDescription; class MultiRolePoolsImpl extends WrapperImpl implements MultiRolePools { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - MultiRolePoolsImpl(WorkerPoolResourceInner inner, AppServiceManager manager) { + MultiRolePoolsImpl(WorkerPoolResourceInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierImpl.java index 311f5cda15b6f..ac702d3c686c5 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class NameIdentifierImpl extends WrapperImpl implements NameIdentifier { - private final AppServiceManager manager; - NameIdentifierImpl(NameIdentifierInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + NameIdentifierImpl(NameIdentifierInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkFeaturesImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkFeaturesImpl.java index 89a645a30b534..5fdaaf2daac7c 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkFeaturesImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkFeaturesImpl.java @@ -18,12 +18,12 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SiteVnetInfo; class NetworkFeaturesImpl extends IndexableRefreshableWrapperImpl implements NetworkFeatures { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String view; - NetworkFeaturesImpl(NetworkFeaturesInner inner, AppServiceManager manager) { + NetworkFeaturesImpl(NetworkFeaturesInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -33,7 +33,7 @@ class NetworkFeaturesImpl extends IndexableRefreshableWrapperImpl implements NetworkTrace { - private final AppServiceManager manager; - NetworkTraceImpl(NetworkTraceInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + NetworkTraceImpl(NetworkTraceInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationImpl.java index 98eca1f42064b..80f0e23e6cdb1 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationImpl.java @@ -18,15 +18,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.OperationStatus; class OperationImpl extends WrapperImpl implements Operation { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - OperationImpl(OperationInner inner, AppServiceManager manager) { + OperationImpl(OperationInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OutboundEnvironmentEndpointImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OutboundEnvironmentEndpointImpl.java index f3c6c9b5e689c..a91f79ca82189 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OutboundEnvironmentEndpointImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OutboundEnvironmentEndpointImpl.java @@ -15,15 +15,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.EndpointDependency; class OutboundEnvironmentEndpointImpl extends WrapperImpl implements OutboundEnvironmentEndpoint { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - OutboundEnvironmentEndpointImpl(OutboundEnvironmentEndpointInner inner, AppServiceManager manager) { + OutboundEnvironmentEndpointImpl(OutboundEnvironmentEndpointInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseImpl.java index 19a1f3f8d11cb..0c26493b35906 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseImpl.java @@ -14,15 +14,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.PerfMonSet; class PerfMonResponseImpl extends WrapperImpl implements PerfMonResponse { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - PerfMonResponseImpl(PerfMonResponseInner inner, AppServiceManager manager) { + PerfMonResponseImpl(PerfMonResponseInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java index d21dc7464a856..36db90907fb68 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java @@ -16,13 +16,13 @@ import rx.functions.Func1; class PremierAddOnImpl extends CreatableUpdatableImpl implements PremierAddOn, PremierAddOn.Definition, PremierAddOn.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String premierAddOnName; private PremierAddOnPatchResource updateParameter; - PremierAddOnImpl(String name, AppServiceManager manager) { + PremierAddOnImpl(String name, CertificateRegistrationManager manager) { super(name, new PremierAddOnInner()); this.manager = manager; // Set resource name @@ -31,7 +31,7 @@ class PremierAddOnImpl extends CreatableUpdatableImpl implements PrivateAccess { - private final AppServiceManager manager; - PrivateAccessImpl(PrivateAccessInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + PrivateAccessImpl(PrivateAccessInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessInfoImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessInfoImpl.java index f1cf9b95bec78..300b0bea211e8 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessInfoImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessInfoImpl.java @@ -19,13 +19,13 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ProcessThreadInfo; class ProcessInfoImpl extends IndexableRefreshableWrapperImpl implements ProcessInfo { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String processId; private String instanceId; - ProcessInfoImpl(ProcessInfoInner inner, AppServiceManager manager) { + ProcessInfoImpl(ProcessInfoInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -36,7 +36,7 @@ class ProcessInfoImpl extends IndexableRefreshableWrapperImpl implements ProcessModuleInfo { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String processId; private String baseAddress; private String instanceId; - ProcessModuleInfoImpl(ProcessModuleInfoInner inner, AppServiceManager manager) { + ProcessModuleInfoImpl(ProcessModuleInfoInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -32,7 +32,7 @@ class ProcessModuleInfoImpl extends IndexableRefreshableWrapperImpl implements ProcessThreadInfo { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String processId; private String threadId; private String instanceId; - ProcessThreadInfoImpl(ProcessThreadInfoInner inner, AppServiceManager manager) { + ProcessThreadInfoImpl(ProcessThreadInfoInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -33,7 +33,7 @@ class ProcessThreadInfoImpl extends IndexableRefreshableWrapperImpl implements Providers { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - ProvidersImpl(AppServiceManager manager) { + ProvidersImpl(CertificateRegistrationManager manager) { super(manager.inner().providers()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PublicCertificateImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PublicCertificateImpl.java index 1d8ef59af6089..ad0d8729fb759 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PublicCertificateImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PublicCertificateImpl.java @@ -14,12 +14,12 @@ import com.microsoft.azure.management.appservice.v2018_02_01.PublicCertificateLocation; class PublicCertificateImpl extends CreatableUpdatableImpl implements PublicCertificate, PublicCertificate.Definition, PublicCertificate.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String publicCertificateName; - PublicCertificateImpl(String name, AppServiceManager manager) { + PublicCertificateImpl(String name, CertificateRegistrationManager manager) { super(name, new PublicCertificateInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class PublicCertificateImpl extends CreatableUpdatableImpl implements PushSettings { - private final AppServiceManager manager; - PushSettingsImpl(PushSettingsInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + PushSettingsImpl(PushSettingsInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationImpl.java index 849129b556b3a..453dfe86cb5ae 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationImpl.java @@ -20,15 +20,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ResourceScopeType; class RecommendationImpl extends WrapperImpl implements Recommendation { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - RecommendationImpl(RecommendationInner inner, AppServiceManager manager) { + RecommendationImpl(RecommendationInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleImpl.java index 1752f60f420a3..2b06f23653881 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleImpl.java @@ -16,14 +16,14 @@ import java.util.UUID; class RecommendationRuleImpl extends WrapperImpl implements RecommendationRule { - private final AppServiceManager manager; - RecommendationRuleImpl(RecommendationRuleInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + RecommendationRuleImpl(RecommendationRuleInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsImpl.java index e50f0f5a3f505..25833d2bd75dd 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsImpl.java @@ -22,9 +22,9 @@ class RecommendationsImpl extends WrapperImpl implements Recommendations { private PagedListConverter converter; - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - RecommendationsImpl(AppServiceManager manager) { + RecommendationsImpl(CertificateRegistrationManager manager) { super(manager.inner().recommendations()); this.manager = manager; this.converter = new PagedListConverter() { @@ -35,7 +35,7 @@ public Observable typeConvertAsync(RecommendationInner inner) { }; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RelayServiceConnectionEntityImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RelayServiceConnectionEntityImpl.java index b5e9eba714e70..49151e38c9863 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RelayServiceConnectionEntityImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RelayServiceConnectionEntityImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class RelayServiceConnectionEntityImpl extends WrapperImpl implements RelayServiceConnectionEntity { - private final AppServiceManager manager; - RelayServiceConnectionEntityImpl(RelayServiceConnectionEntityInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + RelayServiceConnectionEntityImpl(RelayServiceConnectionEntityInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataImpl.java index 32e4b8992e09e..0cd10014315b5 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class ResourceHealthMetadataImpl extends WrapperImpl implements ResourceHealthMetadata { - private final AppServiceManager manager; - ResourceHealthMetadataImpl(ResourceHealthMetadataInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + ResourceHealthMetadataImpl(ResourceHealthMetadataInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasImpl.java index 7af085b2c7ebc..fee8abd0c8493 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasImpl.java @@ -17,14 +17,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadata; class ResourceHealthMetadatasImpl extends WrapperImpl implements ResourceHealthMetadatas { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - ResourceHealthMetadatasImpl(AppServiceManager manager) { + ResourceHealthMetadatasImpl(CertificateRegistrationManager manager) { super(manager.inner().resourceHealthMetadatas()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestImpl.java index 436396bac0c83..b07de0571eaa1 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.BackupRestoreOperationType; class RestoreRequestImpl extends WrapperImpl implements RestoreRequest { - private final AppServiceManager manager; - RestoreRequestImpl(RestoreRequestInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + RestoreRequestImpl(RestoreRequestInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmCsmUsageQuotaImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmCsmUsageQuotaImpl.java index 0d0a73177b892..bae7e82311809 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmCsmUsageQuotaImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmCsmUsageQuotaImpl.java @@ -15,15 +15,15 @@ import org.joda.time.DateTime; class ServerfarmCsmUsageQuotaImpl extends WrapperImpl implements ServerfarmCsmUsageQuota { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - ServerfarmCsmUsageQuotaImpl(CsmUsageQuotaInner inner, AppServiceManager manager) { + ServerfarmCsmUsageQuotaImpl(CsmUsageQuotaInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmHybridConnectionImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmHybridConnectionImpl.java index be8b080a35979..d7683be6e47b9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmHybridConnectionImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmHybridConnectionImpl.java @@ -13,13 +13,13 @@ import rx.Observable; class ServerfarmHybridConnectionImpl extends IndexableRefreshableWrapperImpl implements ServerfarmHybridConnection { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String namespaceName; private String relayName; - ServerfarmHybridConnectionImpl(HybridConnectionInner inner, AppServiceManager manager) { + ServerfarmHybridConnectionImpl(HybridConnectionInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -30,7 +30,7 @@ class ServerfarmHybridConnectionImpl extends IndexableRefreshableWrapperImpl implements ServerfarmResourceMetricDefinition { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - ServerfarmResourceMetricDefinitionImpl(ResourceMetricDefinitionInner inner, AppServiceManager manager) { + ServerfarmResourceMetricDefinitionImpl(ResourceMetricDefinitionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmResourceMetricImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmResourceMetricImpl.java index 02f47d3e334e8..f0f3e28e188d5 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmResourceMetricImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmResourceMetricImpl.java @@ -18,15 +18,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ResourceMetricProperty; class ServerfarmResourceMetricImpl extends WrapperImpl implements ServerfarmResourceMetric { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - ServerfarmResourceMetricImpl(ResourceMetricInner inner, AppServiceManager manager) { + ServerfarmResourceMetricImpl(ResourceMetricInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java index 8ee90ac722539..1886d8b95ef2f 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java @@ -27,15 +27,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.UsageState; class ServerfarmSiteImpl extends WrapperImpl implements ServerfarmSite { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - ServerfarmSiteImpl(SiteInner inner, AppServiceManager manager) { + ServerfarmSiteImpl(SiteInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetGatewayImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetGatewayImpl.java index 5f5f19f1f3d08..fbcc338f005b6 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetGatewayImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetGatewayImpl.java @@ -13,13 +13,13 @@ import rx.Observable; class ServerfarmVnetGatewayImpl extends CreatableUpdatableImpl implements ServerfarmVnetGateway, ServerfarmVnetGateway.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String vnetName; private String gatewayName; - ServerfarmVnetGatewayImpl(String name, AppServiceManager manager) { + ServerfarmVnetGatewayImpl(String name, CertificateRegistrationManager manager) { super(name, new VnetGatewayInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class ServerfarmVnetGatewayImpl extends CreatableUpdatableImpl implements ServerfarmVnetInfo { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String vnetName; - ServerfarmVnetInfoImpl(VnetInfoInner inner, AppServiceManager manager) { + ServerfarmVnetInfoImpl(VnetInfoInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -31,7 +31,7 @@ class ServerfarmVnetInfoImpl extends IndexableRefreshableWrapperImpl implements SiteAuthSettings { - private final AppServiceManager manager; - SiteAuthSettingsImpl(SiteAuthSettingsInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SiteAuthSettingsImpl(SiteAuthSettingsInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityImpl.java index 61d2ff402a84e..6781bd3d9dbe8 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.CloneAbilityResult; class SiteCloneabilityImpl extends WrapperImpl implements SiteCloneability { - private final AppServiceManager manager; - SiteCloneabilityImpl(SiteCloneabilityInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SiteCloneabilityImpl(SiteCloneabilityInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java index d051865b17758..b2e59dc919ac6 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java @@ -32,14 +32,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.VirtualApplication; class SiteConfigResourceImpl extends WrapperImpl implements SiteConfigResource { - private final AppServiceManager manager; - SiteConfigResourceImpl(SiteConfigResourceInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SiteConfigResourceImpl(SiteConfigResourceInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigurationSnapshotInfoImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigurationSnapshotInfoImpl.java index 116343cb3b0f8..885e7ff958eb2 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigurationSnapshotInfoImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigurationSnapshotInfoImpl.java @@ -13,14 +13,14 @@ import org.joda.time.DateTime; class SiteConfigurationSnapshotInfoImpl extends WrapperImpl implements SiteConfigurationSnapshotInfo { - private final AppServiceManager manager; - SiteConfigurationSnapshotInfoImpl(SiteConfigurationSnapshotInfoInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SiteConfigurationSnapshotInfoImpl(SiteConfigurationSnapshotInfoInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCsmUsageQuotaImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCsmUsageQuotaImpl.java index 0e06d65c38398..c294ac4583199 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCsmUsageQuotaImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCsmUsageQuotaImpl.java @@ -15,15 +15,15 @@ import org.joda.time.DateTime; class SiteCsmUsageQuotaImpl extends WrapperImpl implements SiteCsmUsageQuota { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - SiteCsmUsageQuotaImpl(CsmUsageQuotaInner inner, AppServiceManager manager) { + SiteCsmUsageQuotaImpl(CsmUsageQuotaInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteExtensionInfoImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteExtensionInfoImpl.java index 7e41c949ba2a9..b733c880ddf2b 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteExtensionInfoImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteExtensionInfoImpl.java @@ -16,12 +16,12 @@ import org.joda.time.DateTime; class SiteExtensionInfoImpl extends CreatableUpdatableImpl implements SiteExtensionInfo, SiteExtensionInfo.Definition, SiteExtensionInfo.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String siteExtensionId; - SiteExtensionInfoImpl(String name, AppServiceManager manager) { + SiteExtensionInfoImpl(String name, CertificateRegistrationManager manager) { super(name, new SiteExtensionInfoInner()); this.manager = manager; // Set resource name @@ -29,7 +29,7 @@ class SiteExtensionInfoImpl extends CreatableUpdatableImpl implements SiteHybridConnection, SiteHybridConnection.Definition, SiteHybridConnection.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String namespaceName; private String relayName; - SiteHybridConnectionImpl(String name, AppServiceManager manager) { + SiteHybridConnectionImpl(String name, CertificateRegistrationManager manager) { super(name, new HybridConnectionInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class SiteHybridConnectionImpl extends CreatableUpdatableImpl implements SiteInstance { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - SiteInstanceImpl(SiteInstanceInner inner, AppServiceManager manager) { + SiteInstanceImpl(SiteInstanceInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigImpl.java index 2ac02fed45b35..ddc905b2fe7ba 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.HttpLogsConfig; class SiteLogsConfigImpl extends WrapperImpl implements SiteLogsConfig { - private final AppServiceManager manager; - SiteLogsConfigImpl(SiteLogsConfigInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SiteLogsConfigImpl(SiteLogsConfigInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagImpl.java index a8294e8ce263e..6ef330c301d9d 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class SitePhpErrorLogFlagImpl extends WrapperImpl implements SitePhpErrorLogFlag { - private final AppServiceManager manager; - SitePhpErrorLogFlagImpl(SitePhpErrorLogFlagInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SitePhpErrorLogFlagImpl(SitePhpErrorLogFlagInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricDefinitionImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricDefinitionImpl.java index b2384cb53582e..041f99984d798 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricDefinitionImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricDefinitionImpl.java @@ -16,15 +16,15 @@ import java.util.Map; class SiteResourceMetricDefinitionImpl extends WrapperImpl implements SiteResourceMetricDefinition { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - SiteResourceMetricDefinitionImpl(ResourceMetricDefinitionInner inner, AppServiceManager manager) { + SiteResourceMetricDefinitionImpl(ResourceMetricDefinitionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricImpl.java index 1a1ca9b83b430..45ebe40fda103 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricImpl.java @@ -18,15 +18,15 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ResourceMetricProperty; class SiteResourceMetricImpl extends WrapperImpl implements SiteResourceMetric { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - SiteResourceMetricImpl(ResourceMetricInner inner, AppServiceManager manager) { + SiteResourceMetricImpl(ResourceMetricInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealImpl.java index a1bb7fe9b215e..604976c57b150 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class SiteSealImpl extends WrapperImpl implements SiteSeal { - private final AppServiceManager manager; - SiteSealImpl(SiteSealInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SiteSealImpl(SiteSealInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlImpl.java index ea024b009c6e8..e282ab4a112c5 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class SiteSourceControlImpl extends WrapperImpl implements SiteSourceControl { - private final AppServiceManager manager; - SiteSourceControlImpl(SiteSourceControlInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SiteSourceControlImpl(SiteSourceControlInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetGatewayImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetGatewayImpl.java index c8385fc8d5881..b0a46b6497f0f 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetGatewayImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetGatewayImpl.java @@ -13,14 +13,14 @@ import rx.Observable; class SiteVnetGatewayImpl extends CreatableUpdatableImpl implements SiteVnetGateway, SiteVnetGateway.Definition, SiteVnetGateway.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String vnetName; private String gatewayName; private String slot; - SiteVnetGatewayImpl(String name, AppServiceManager manager) { + SiteVnetGatewayImpl(String name, CertificateRegistrationManager manager) { super(name, new VnetGatewayInner()); this.manager = manager; // Set resource name @@ -28,7 +28,7 @@ class SiteVnetGatewayImpl extends CreatableUpdatableImpl implements SiteVnetInfo, SiteVnetInfo.Definition, SiteVnetInfo.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String vnetName; private String slot; - SiteVnetInfoImpl(String name, AppServiceManager manager) { + SiteVnetInfoImpl(String name, CertificateRegistrationManager manager) { super(name, new VnetInfoInner()); this.manager = manager; // Set resource name @@ -30,7 +30,7 @@ class SiteVnetInfoImpl extends CreatableUpdatableImpl implements Sites, Sites.Definition, Sites.Update { +class SitesImpl extends GroupableResourceCoreImpl implements Sites, Sites.Definition, Sites.Update { private SitePatchResource updateParameter; - SitesImpl(String name, SiteInner inner, AppServiceManager manager) { + SitesImpl(String name, SiteInner inner, CertificateRegistrationManager manager) { super(name, inner, manager); this.updateParameter = new SitePatchResource(); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoImpl.java index d1ce0e0043412..9b513829681b8 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SkuDescription; class SkuInfoImpl extends WrapperImpl implements SkuInfo { - private final AppServiceManager manager; - SkuInfoImpl(SkuInfoInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SkuInfoImpl(SkuInfoInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java index 7badb145795e7..c9780717ed85f 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java @@ -13,14 +13,14 @@ import java.util.List; class SlotConfigNamesResourceImpl extends WrapperImpl implements SlotConfigNamesResource { - private final AppServiceManager manager; - SlotConfigNamesResourceImpl(SlotConfigNamesResourceInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SlotConfigNamesResourceImpl(SlotConfigNamesResourceInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceImpl.java index ca25c3cb82490..62f136745a5e5 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class SlotDifferenceImpl extends WrapperImpl implements SlotDifference { - private final AppServiceManager manager; - SlotDifferenceImpl(SlotDifferenceInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SlotDifferenceImpl(SlotDifferenceInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java index 03d13be9750f0..3f0a367c8fc50 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java @@ -29,13 +29,13 @@ import rx.functions.Func1; class SlotsImpl extends CreatableUpdatableImpl implements Slots, Slots.Definition, Slots.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String slot; private SitePatchResource updateParameter; - SlotsImpl(String name, AppServiceManager manager) { + SlotsImpl(String name, CertificateRegistrationManager manager) { super(name, new SiteInner()); this.manager = manager; // Set resource name @@ -44,7 +44,7 @@ class SlotsImpl extends CreatableUpdatableImpl impl this.updateParameter = new SitePatchResource(); } - SlotsImpl(SiteInner inner, AppServiceManager manager) { + SlotsImpl(SiteInner inner, CertificateRegistrationManager manager) { super(inner.name(), inner); this.manager = manager; // Set resource name @@ -58,7 +58,7 @@ class SlotsImpl extends CreatableUpdatableImpl impl } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotImpl.java index 1998f0b52e3f3..27bd936c84190 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotImpl.java @@ -13,15 +13,15 @@ import rx.Observable; class SnapshotImpl extends WrapperImpl implements Snapshot { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - SnapshotImpl(SnapshotInner inner, AppServiceManager manager) { + SnapshotImpl(SnapshotInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityImpl.java index 9d380cfb93f52..ddc6e3886f02e 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.WorkerSizeOptions; class StampCapacityImpl extends WrapperImpl implements StampCapacity { - private final AppServiceManager manager; - StampCapacityImpl(StampCapacityInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + StampCapacityImpl(StampCapacityInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseImpl.java index 0a86a68374aa3..9719fb392c909 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class StorageMigrationResponseImpl extends WrapperImpl implements StorageMigrationResponse { - private final AppServiceManager manager; - StorageMigrationResponseImpl(StorageMigrationResponseInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + StorageMigrationResponseImpl(StorageMigrationResponseInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryImpl.java index e691098a81df1..da1376caed186 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryImpl.java @@ -13,14 +13,14 @@ import java.util.Map; class StringDictionaryImpl extends WrapperImpl implements StringDictionary { - private final AppServiceManager manager; - StringDictionaryImpl(StringDictionaryInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + StringDictionaryImpl(StringDictionaryInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkImpl.java index 98956ce6d34f5..5887093fec084 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class SwiftVirtualNetworkImpl extends WrapperImpl implements SwiftVirtualNetwork { - private final AppServiceManager manager; - SwiftVirtualNetworkImpl(SwiftVirtualNetworkInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + SwiftVirtualNetworkImpl(SwiftVirtualNetworkInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementImpl.java index ec89cc3b52a7f..9e4b1958221b9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class TldLegalAgreementImpl extends WrapperImpl implements TldLegalAgreement { - private final AppServiceManager manager; - TldLegalAgreementImpl(TldLegalAgreementInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + TldLegalAgreementImpl(TldLegalAgreementInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainImpl.java index 587628e4f4eda..c4f8ab25a9f0f 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainImpl.java @@ -15,9 +15,9 @@ class TopLevelDomainImpl extends IndexableRefreshableWrapperImpl implements TopLevelDomain { private String name; - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - TopLevelDomainImpl(TopLevelDomainInner inner, AppServiceManager manager) { + TopLevelDomainImpl(TopLevelDomainInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -25,7 +25,7 @@ class TopLevelDomainImpl extends IndexableRefreshableWrapperImpl implements TopLevelDomains { private PagedListConverter converter; - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - TopLevelDomainsImpl(AppServiceManager manager) { + TopLevelDomainsImpl(CertificateRegistrationManager manager) { super(manager.inner().topLevelDomains()); this.manager = manager; this.converter = new PagedListConverter() { @@ -35,7 +35,7 @@ public Observable typeConvertAsync(TopLevelDomainInner inner) { }; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryImpl.java index df9b680cdd97b..658cc27a38be3 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.TriggeredJobRun; class TriggeredJobHistoryImpl extends WrapperImpl implements TriggeredJobHistory { - private final AppServiceManager manager; - TriggeredJobHistoryImpl(TriggeredJobHistoryInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + TriggeredJobHistoryImpl(TriggeredJobHistoryInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredWebJobImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredWebJobImpl.java index 0b9a01912169a..b94b7bd4ee5c9 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredWebJobImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredWebJobImpl.java @@ -16,13 +16,13 @@ import com.microsoft.azure.management.appservice.v2018_02_01.WebJobType; class TriggeredWebJobImpl extends IndexableRefreshableWrapperImpl implements TriggeredWebJob { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String webJobName; private String slot; - TriggeredWebJobImpl(TriggeredWebJobInner inner, AppServiceManager manager) { + TriggeredWebJobImpl(TriggeredWebJobInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -33,7 +33,7 @@ class TriggeredWebJobImpl extends IndexableRefreshableWrapperImpl implements Usage { - private final AppServiceManager manager; - UsageImpl(UsageInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + UsageImpl(UsageInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserImpl.java index 4022c0003bad0..5676ae6c48b57 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class UserImpl extends WrapperImpl implements User { - private final AppServiceManager manager; - UserImpl(UserInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + UserImpl(UserInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetRouteImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetRouteImpl.java index 2ff05b8e2e25b..1280fc303205a 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetRouteImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetRouteImpl.java @@ -14,13 +14,13 @@ import com.microsoft.azure.management.appservice.v2018_02_01.RouteType; class VnetRouteImpl extends CreatableUpdatableImpl implements VnetRoute, VnetRoute.Definition, VnetRoute.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String vnetName; private String routeName; - VnetRouteImpl(String name, AppServiceManager manager) { + VnetRouteImpl(String name, CertificateRegistrationManager manager) { super(name, new VnetRouteInner()); this.manager = manager; // Set resource name @@ -28,7 +28,7 @@ class VnetRouteImpl extends CreatableUpdatableImpl implements WebApps { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - WebAppsImpl(AppServiceManager manager) { + WebAppsImpl(CertificateRegistrationManager manager) { super(manager.inner().webApps()); this.manager = manager; } - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } @@ -114,6 +114,11 @@ public FunctionEnvelopeImpl defineFunction(String name) { return wrapFunctionModel(name); } + @Override + public KeyInfoImpl defineKey(String name) { + return wrapKeyModel(name); + } + @Override public HostNameBindingImpl defineHostNameBinding(String name) { return wrapHostNameBindingModel(name); @@ -170,6 +175,10 @@ private FunctionEnvelopeImpl wrapFunctionModel(String name) { return new FunctionEnvelopeImpl(name, this.manager()); } + private KeyInfoImpl wrapKeyModel(String name) { + return new KeyInfoImpl(name, this.manager()); + } + private HostNameBindingImpl wrapHostNameBindingModel(String name) { return new HostNameBindingImpl(name, this.manager()); } @@ -230,6 +239,10 @@ private FunctionEnvelopeImpl wrapFunctionEnvelopeModel(FunctionEnvelopeInner inn return new FunctionEnvelopeImpl(inner, manager()); } + private KeyInfoImpl wrapKeyInfoModel(KeyInfoInner inner) { + return new KeyInfoImpl(inner, manager()); + } + private HostNameBindingImpl wrapHostNameBindingModel(HostNameBindingInner inner) { return new HostNameBindingImpl(inner, manager()); } @@ -476,10 +489,14 @@ private Observable getWebJobInnerUsingWebAppsInnerAsync(String id) @Override public Observable getByResourceGroupAsync(String resourceGroupName, String name) { - return this.getSiteInnerUsingWebAppsInnerAsync(resourceGroupName, name).map(new Func1 () { + return this.getSiteInnerUsingWebAppsInnerAsync(resourceGroupName, name).flatMap(new Func1> () { @Override - public Sites call(SiteInner inner) { - return wrapSitesModel(inner); + public Observable call(SiteInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((Sites)wrapSitesModel(inner)); + } } }); } @@ -687,6 +704,48 @@ public Observable getFunctionsAdminTokenAsync(String resourceGroupName, return client.getFunctionsAdminTokenAsync(resourceGroupName, name) ;} + @Override + public Observable listHostKeysAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.listHostKeysAsync(resourceGroupName, name) + .map(new Func1() { + @Override + public HostKeys call(HostKeysInner inner) { + return new HostKeysImpl(inner, manager()); + } + }); + } + + @Override + public Completable listSyncStatusAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.listSyncStatusAsync(resourceGroupName, name).toCompletable(); + } + + @Override + public Completable syncFunctionsAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.syncFunctionsAsync(resourceGroupName, name).toCompletable(); + } + + @Override + public Observable createOrUpdateHostSecretAsync(String resourceGroupName, String name, String keyType, String keyName, KeyInfoInner key) { + WebAppsInner client = this.inner(); + return client.createOrUpdateHostSecretAsync(resourceGroupName, name, keyType, keyName, key) + .map(new Func1() { + @Override + public KeyInfo call(KeyInfoInner inner) { + return new KeyInfoImpl(inner, manager()); + } + }); + } + + @Override + public Completable deleteHostSecretAsync(String resourceGroupName, String name, String keyType, String keyName) { + WebAppsInner client = this.inner(); + return client.deleteHostSecretAsync(resourceGroupName, name, keyType, keyName).toCompletable(); + } + @Override public Observable listRelayServiceConnectionsAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); @@ -1033,10 +1092,14 @@ public Completable syncFunctionTriggersAsync(String resourceGroupName, String na public Observable getBackupStatusAsync(String resourceGroupName, String name, String backupId) { WebAppsInner client = this.inner(); return client.getBackupStatusAsync(resourceGroupName, name, backupId) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public BackupItem call(BackupItemInner inner) { - return wrapBackupItemModel(inner); + public Observable call(BackupItemInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((BackupItem)wrapBackupItemModel(inner)); + } } }); } @@ -1597,10 +1660,14 @@ public Observable getContainerLogsZipSlotAsync(String resourceGroup public Observable getContinuousWebJobAsync(String resourceGroupName, String name, String webJobName) { WebAppsInner client = this.inner(); return client.getContinuousWebJobAsync(resourceGroupName, name, webJobName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public ContinuousWebJob call(ContinuousWebJobInner inner) { - return wrapContinuousWebJobModel(inner); + public Observable call(ContinuousWebJobInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((ContinuousWebJob)wrapContinuousWebJobModel(inner)); + } } }); } @@ -1693,10 +1760,14 @@ public Completable stopContinuousWebJobSlotAsync(String resourceGroupName, Strin public Observable getDeploymentAsync(String resourceGroupName, String name, String id) { WebAppsInner client = this.inner(); return client.getDeploymentAsync(resourceGroupName, name, id) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public Deployment call(DeploymentInner inner) { - return wrapDeploymentModel(inner); + public Observable call(DeploymentInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((Deployment)wrapDeploymentModel(inner)); + } } }); } @@ -1801,10 +1872,14 @@ public Deployment call(DeploymentInner inner) { public Observable getDomainOwnershipIdentifierAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName) { WebAppsInner client = this.inner(); return client.getDomainOwnershipIdentifierAsync(resourceGroupName, name, domainOwnershipIdentifierName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public Identifier call(IdentifierInner inner) { - return wrapIdentifierModel(inner); + public Observable call(IdentifierInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((Identifier)wrapIdentifierModel(inner)); + } } }); } @@ -2041,10 +2116,14 @@ public MSDeployLog call(MSDeployLogInner inner) { public Observable getFunctionAsync(String resourceGroupName, String name, String functionName) { WebAppsInner client = this.inner(); return client.getFunctionAsync(resourceGroupName, name, functionName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public FunctionEnvelope call(FunctionEnvelopeInner inner) { - return wrapFunctionEnvelopeModel(inner); + public Observable call(FunctionEnvelopeInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((FunctionEnvelope)wrapFunctionEnvelopeModel(inner)); + } } }); } @@ -2073,6 +2152,18 @@ public Completable deleteFunctionAsync(String resourceGroupName, String name, St return client.deleteFunctionAsync(resourceGroupName, name, functionName).toCompletable(); } + @Override + public Observable listFunctionKeysAsync(String resourceGroupName, String name, String functionName) { + WebAppsInner client = this.inner(); + return client.listFunctionKeysAsync(resourceGroupName, name, functionName) + .map(new Func1() { + @Override + public StringDictionary call(StringDictionaryInner inner) { + return new StringDictionaryImpl(inner, manager()); + } + }); + } + @Override public Observable listFunctionSecretsAsync(String resourceGroupName, String name, String functionName) { WebAppsInner client = this.inner(); @@ -2133,6 +2224,18 @@ public Completable deleteInstanceFunctionSlotAsync(String resourceGroupName, Str return client.deleteInstanceFunctionSlotAsync(resourceGroupName, name, functionName, slot).toCompletable(); } + @Override + public Observable listFunctionKeysSlotAsync(String resourceGroupName, String name, String functionName, String slot) { + WebAppsInner client = this.inner(); + return client.listFunctionKeysSlotAsync(resourceGroupName, name, functionName, slot) + .map(new Func1() { + @Override + public StringDictionary call(StringDictionaryInner inner) { + return new StringDictionaryImpl(inner, manager()); + } + }); + } + @Override public Observable listFunctionSecretsSlotAsync(String resourceGroupName, String name, String functionName, String slot) { WebAppsInner client = this.inner(); @@ -2145,14 +2248,42 @@ public FunctionSecrets call(FunctionSecretsInner inner) { }); } + @Override + public Completable deleteFunctionSecretAsync(String resourceGroupName, String name, String functionName, String keyName) { + WebAppsInner client = this.inner(); + return client.deleteFunctionSecretAsync(resourceGroupName, name, functionName, keyName).toCompletable(); + } + + @Override + public Observable createOrUpdateFunctionSecretSlotAsync(String resourceGroupName, String name, String functionName, String keyName, String slot, KeyInfoInner key) { + WebAppsInner client = this.inner(); + return client.createOrUpdateFunctionSecretSlotAsync(resourceGroupName, name, functionName, keyName, slot, key) + .map(new Func1() { + @Override + public KeyInfo call(KeyInfoInner inner) { + return new KeyInfoImpl(inner, manager()); + } + }); + } + + @Override + public Completable deleteFunctionSecretSlotAsync(String resourceGroupName, String name, String functionName, String keyName, String slot) { + WebAppsInner client = this.inner(); + return client.deleteFunctionSecretSlotAsync(resourceGroupName, name, functionName, keyName, slot).toCompletable(); + } + @Override public Observable getHostNameBindingAsync(String resourceGroupName, String name, String hostName) { WebAppsInner client = this.inner(); return client.getHostNameBindingAsync(resourceGroupName, name, hostName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public HostNameBinding call(HostNameBindingInner inner) { - return wrapHostNameBindingModel(inner); + public Observable call(HostNameBindingInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((HostNameBinding)wrapHostNameBindingModel(inner)); + } } }); } @@ -2233,10 +2364,14 @@ public Completable deleteHostNameBindingSlotAsync(String resourceGroupName, Stri public Observable getHybridConnectionAsync(String resourceGroupName, String name, String namespaceName, String relayName) { WebAppsInner client = this.inner(); return client.getHybridConnectionAsync(resourceGroupName, name, namespaceName, relayName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public SiteHybridConnection call(HybridConnectionInner inner) { - return wrapSiteHybridConnectionModel(inner); + public Observable call(HybridConnectionInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((SiteHybridConnection)wrapSiteHybridConnectionModel(inner)); + } } }); } @@ -2389,10 +2524,14 @@ public Observable getInstanceProcessDumpSlotAsync(String resourceGr public Observable getInstanceProcessAsync(String resourceGroupName, String name, String processId, String instanceId) { WebAppsInner client = this.inner(); return client.getInstanceProcessAsync(resourceGroupName, name, processId, instanceId) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public ProcessInfo call(ProcessInfoInner inner) { - return wrapProcessInfoModel(inner); + public Observable call(ProcessInfoInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((ProcessInfo)wrapProcessInfoModel(inner)); + } } }); } @@ -2533,10 +2672,14 @@ public Completable deleteProcessSlotAsync(String resourceGroupName, String name, public Observable getInstanceProcessModuleAsync(String resourceGroupName, String name, String processId, String baseAddress, String instanceId) { WebAppsInner client = this.inner(); return client.getInstanceProcessModuleAsync(resourceGroupName, name, processId, baseAddress, instanceId) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public ProcessModuleInfo call(ProcessModuleInfoInner inner) { - return wrapProcessModuleInfoModel(inner); + public Observable call(ProcessModuleInfoInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((ProcessModuleInfo)wrapProcessModuleInfoModel(inner)); + } } }); } @@ -2653,10 +2796,14 @@ public ProcessModuleInfo call(ProcessModuleInfoInner inner) { public Observable getInstanceProcessThreadAsync(String resourceGroupName, String name, String processId, String threadId, String instanceId) { WebAppsInner client = this.inner(); return client.getInstanceProcessThreadAsync(resourceGroupName, name, processId, threadId, instanceId) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public ProcessThreadInfo call(ProcessThreadInfoInner inner) { - return wrapProcessThreadInfoModel(inner); + public Observable call(ProcessThreadInfoInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((ProcessThreadInfo)wrapProcessThreadInfoModel(inner)); + } } }); } @@ -2869,10 +3016,14 @@ public MigrateMySqlStatus call(MigrateMySqlStatusInner inner) { public Observable listNetworkFeaturesAsync(String resourceGroupName, String name, String view) { WebAppsInner client = this.inner(); return client.listNetworkFeaturesAsync(resourceGroupName, name, view) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public NetworkFeatures call(NetworkFeaturesInner inner) { - return wrapNetworkFeaturesModel(inner); + public Observable call(NetworkFeaturesInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((NetworkFeatures)wrapNetworkFeaturesModel(inner)); + } } }); } @@ -3037,10 +3188,14 @@ public PerfMonResponse call(PerfMonResponseInner inner) { public Observable getPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName) { WebAppsInner client = this.inner(); return client.getPremierAddOnAsync(resourceGroupName, name, premierAddOnName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public PremierAddOn call(PremierAddOnInner inner) { - return wrapPremierAddOnModel(inner); + public Observable call(PremierAddOnInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((PremierAddOn)wrapPremierAddOnModel(inner)); + } } }); } @@ -3169,10 +3324,14 @@ public PrivateAccess call(PrivateAccessInner inner) { public Observable getPublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName) { WebAppsInner client = this.inner(); return client.getPublicCertificateAsync(resourceGroupName, name, publicCertificateName) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public PublicCertificate call(PublicCertificateInner inner) { - return wrapPublicCertificateModel(inner); + public Observable call(PublicCertificateInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((PublicCertificate)wrapPublicCertificateModel(inner)); + } } }); } @@ -3253,10 +3412,14 @@ public Completable deletePublicCertificateSlotAsync(String resourceGroupName, St public Observable getSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { WebAppsInner client = this.inner(); return client.getSiteExtensionAsync(resourceGroupName, name, siteExtensionId) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public SiteExtensionInfo call(SiteExtensionInfoInner inner) { - return wrapSiteExtensionInfoModel(inner); + public Observable call(SiteExtensionInfoInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((SiteExtensionInfo)wrapSiteExtensionInfoModel(inner)); + } } }); } @@ -3337,10 +3500,14 @@ public Completable deleteSiteExtensionSlotAsync(String resourceGroupName, String public Observable getSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); return client.getSlotAsync(resourceGroupName, name, slot) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public Slots call(SiteInner inner) { - return wrapSlotsModel(inner); + public Observable call(SiteInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((Slots)wrapSlotsModel(inner)); + } } }); } @@ -3531,6 +3698,48 @@ public Observable getFunctionsAdminTokenSlotAsync(String resourceGroupNa return client.getFunctionsAdminTokenSlotAsync(resourceGroupName, name, slot) ;} + @Override + public Observable listHostKeysSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.listHostKeysSlotAsync(resourceGroupName, name, slot) + .map(new Func1() { + @Override + public HostKeys call(HostKeysInner inner) { + return new HostKeysImpl(inner, manager()); + } + }); + } + + @Override + public Completable listSyncStatusSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.listSyncStatusSlotAsync(resourceGroupName, name, slot).toCompletable(); + } + + @Override + public Completable syncFunctionsSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.syncFunctionsSlotAsync(resourceGroupName, name, slot).toCompletable(); + } + + @Override + public Observable createOrUpdateHostSecretSlotAsync(String resourceGroupName, String name, String keyType, String keyName, String slot, KeyInfoInner key) { + WebAppsInner client = this.inner(); + return client.createOrUpdateHostSecretSlotAsync(resourceGroupName, name, keyType, keyName, slot, key) + .map(new Func1() { + @Override + public KeyInfo call(KeyInfoInner inner) { + return new KeyInfoImpl(inner, manager()); + } + }); + } + + @Override + public Completable deleteHostSecretSlotAsync(String resourceGroupName, String name, String keyType, String keyName, String slot) { + WebAppsInner client = this.inner(); + return client.deleteHostSecretSlotAsync(resourceGroupName, name, keyType, keyName, slot).toCompletable(); + } + @Override public Observable listRelayServiceConnectionsSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); @@ -3937,10 +4146,14 @@ public SiteSourceControl call(SiteSourceControlInner inner) { public Observable getTriggeredWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { WebAppsInner client = this.inner(); return client.getTriggeredWebJobSlotAsync(resourceGroupName, name, webJobName, slot) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public TriggeredWebJob call(TriggeredWebJobInner inner) { - return wrapTriggeredWebJobModel(inner); + public Observable call(TriggeredWebJobInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((TriggeredWebJob)wrapTriggeredWebJobModel(inner)); + } } }); } @@ -4117,10 +4330,14 @@ public SiteCsmUsageQuota call(CsmUsageQuotaInner inner) { public Observable getVnetConnectionSlotAsync(String resourceGroupName, String name, String vnetName, String slot) { WebAppsInner client = this.inner(); return client.getVnetConnectionSlotAsync(resourceGroupName, name, vnetName, slot) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public SiteVnetInfo call(VnetInfoInner inner) { - return wrapSiteVnetInfoModel(inner); + public Observable call(VnetInfoInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((SiteVnetInfo)wrapSiteVnetInfoModel(inner)); + } } }); } @@ -4213,10 +4430,14 @@ public SiteVnetInfo call(VnetInfoInner inner) { public Observable getVnetConnectionGatewaySlotAsync(String resourceGroupName, String name, String vnetName, String gatewayName, String slot) { WebAppsInner client = this.inner(); return client.getVnetConnectionGatewaySlotAsync(resourceGroupName, name, vnetName, gatewayName, slot) - .map(new Func1() { + .flatMap(new Func1>() { @Override - public SiteVnetGateway call(VnetGatewayInner inner) { - return wrapSiteVnetGatewayModel(inner); + public Observable call(VnetGatewayInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((SiteVnetGateway)wrapSiteVnetGatewayModel(inner)); + } } }); } @@ -4261,10 +4482,14 @@ public SiteVnetGateway call(VnetGatewayInner inner) { public Observable getWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { WebAppsInner client = this.inner(); return client.getWebJobSlotAsync(resourceGroupName, name, webJobName, slot) - .map(new Func1() { - @Override - public WebJob call(WebJobInner inner) { - return wrapWebJobModel(inner); + .flatMap(new Func1>() { + @Override + public Observable call(WebJobInner inner) { + if (inner == null) { + return Observable.empty(); + } else { + return Observable.just((WebJob)wrapWebJobModel(inner)); + } } }); } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index 4332a7cdb75b0..b5bb14608ab89 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -368,10 +368,42 @@ interface WebAppsService { @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}", method = "DELETE", hasBody = true) Observable> deleteFunction(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps createOrUpdateFunctionSecret" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}") + Observable> createOrUpdateFunctionSecret(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("keyName") String keyName, @Path("subscriptionId") String subscriptionId, @Body KeyInfoInner key, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps deleteFunctionSecret" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/keys/{keyName}", method = "DELETE", hasBody = true) + Observable> deleteFunctionSecret(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("keyName") String keyName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listFunctionKeys" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listkeys") + Observable> listFunctionKeys(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listFunctionSecrets" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets") Observable> listFunctionSecrets(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listHostKeys" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listkeys") + Observable> listHostKeys(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listSyncStatus" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/listsyncstatus") + Observable> listSyncStatus(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps syncFunctions" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/sync") + Observable> syncFunctions(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps createOrUpdateHostSecret" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}") + Observable> createOrUpdateHostSecret(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("keyType") String keyType, @Path("keyName") String keyName, @Path("subscriptionId") String subscriptionId, @Body KeyInfoInner key, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps deleteHostSecret" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/host/default/{keyType}/{keyName}", method = "DELETE", hasBody = true) + Observable> deleteHostSecret(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("keyType") String keyType, @Path("keyName") String keyName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listHostNameBindings" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings") Observable> listHostNameBindings(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -997,10 +1029,42 @@ interface WebAppsService { @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}", method = "DELETE", hasBody = true) Observable> deleteInstanceFunctionSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps createOrUpdateFunctionSecretSlot" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}") + Observable> createOrUpdateFunctionSecretSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("keyName") String keyName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body KeyInfoInner key, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps deleteFunctionSecretSlot" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/keys/{keyName}", method = "DELETE", hasBody = true) + Observable> deleteFunctionSecretSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("keyName") String keyName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listFunctionKeysSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listkeys") + Observable> listFunctionKeysSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listFunctionSecretsSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets") Observable> listFunctionSecretsSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("functionName") String functionName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listHostKeysSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listkeys") + Observable> listHostKeysSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listSyncStatusSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/listsyncstatus") + Observable> listSyncStatusSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps syncFunctionsSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/sync") + Observable> syncFunctionsSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps createOrUpdateHostSecretSlot" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}") + Observable> createOrUpdateHostSecretSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("keyType") String keyType, @Path("keyName") String keyName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body KeyInfoInner key, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps deleteHostSecretSlot" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/host/default/{keyType}/{keyName}", method = "DELETE", hasBody = true) + Observable> deleteHostSecretSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("keyType") String keyType, @Path("keyName") String keyName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listHostNameBindingsSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings") Observable> listHostNameBindingsSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -1941,9 +2005,9 @@ public Observable>> call(Response private ServiceResponse> listDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -2149,8 +2213,8 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param includeSlots Specify <strong>true</strong> to include deployment slots in results. The default is false, which only gives you the production slot of all apps. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param includeSlots Specify <strong>true</strong> to include deployment slots in results. The default is false, which only gives you the production slot of all apps. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -2180,9 +2244,9 @@ public Observable>> call(Response private ServiceResponse> listByResourceGroupDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -2270,10 +2334,10 @@ public Observable> call(Response respon private ServiceResponse getByResourceGroupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -2450,10 +2514,10 @@ public Observable> call(Response respon private ServiceResponse beginCreateOrUpdateDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -2547,7 +2611,7 @@ public Observable> call(Response response) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app to delete. * @param deleteMetrics If true, web app metrics are also deleted. - * @param deleteEmptyServerFarm Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted. + * @param deleteEmptyServerFarm Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent @@ -2563,7 +2627,7 @@ public void delete(String resourceGroupName, String name, Boolean deleteMetrics, * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app to delete. * @param deleteMetrics If true, web app metrics are also deleted. - * @param deleteEmptyServerFarm Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted. + * @param deleteEmptyServerFarm Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -2579,7 +2643,7 @@ public ServiceFuture deleteAsync(String resourceGroupName, String name, Bo * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app to delete. * @param deleteMetrics If true, web app metrics are also deleted. - * @param deleteEmptyServerFarm Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted. + * @param deleteEmptyServerFarm Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -2599,7 +2663,7 @@ public Void call(ServiceResponse response) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app to delete. * @param deleteMetrics If true, web app metrics are also deleted. - * @param deleteEmptyServerFarm Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted. + * @param deleteEmptyServerFarm Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -2632,11 +2696,11 @@ public Observable> call(Response response) { private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -2732,10 +2796,10 @@ public Observable> call(Response respon private ServiceResponse updateDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -2911,9 +2975,9 @@ public Observable> call(Respo private ServiceResponse analyzeCustomHostnameDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -3008,9 +3072,9 @@ public Observable> call(Response response) { private ServiceResponse applySlotConfigToProductionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -3106,9 +3170,9 @@ public Observable> call(Response private ServiceResponse backupDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -3200,8 +3264,8 @@ public Observable>> call(ServiceResponse

> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<BackupItemInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -3234,9 +3298,9 @@ public Observable>> call(Response> listBackupsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -3331,9 +3395,9 @@ public Observable> call(Response private ServiceResponse getBackupStatusDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -3427,10 +3491,10 @@ public Observable> call(Response response) { private ServiceResponse deleteBackupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -3533,9 +3597,9 @@ public Observable> call(Response private ServiceResponse listBackupStatusSecretsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -3724,10 +3788,10 @@ public Observable> call(Response response) { private ServiceResponse beginRestoreDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -3819,8 +3883,8 @@ public Observable>> call(ServiceRe * List the configurations of an app. * List the configurations of an app. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteConfigResourceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -3853,9 +3917,9 @@ public Observable>> call(Response< private ServiceResponse> listConfigurationsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -3951,9 +4015,9 @@ public Observable> call(Response updateApplicationSettingsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4041,9 +4105,9 @@ public Observable> call(Response listApplicationSettingsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4139,9 +4203,9 @@ public Observable> call(Response updateAuthSettingsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4229,9 +4293,9 @@ public Observable> call(Response getAuthSettingsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4327,9 +4391,9 @@ public Observable> private ServiceResponse updateAzureStorageAccountsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4417,9 +4481,9 @@ public Observable> private ServiceResponse listAzureStorageAccountsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4515,9 +4579,9 @@ public Observable> call(Response updateBackupConfigurationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4604,9 +4668,9 @@ public Observable> call(Response response) { private ServiceResponse deleteBackupConfigurationDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -4694,9 +4758,9 @@ public Observable> call(Response getBackupConfigurationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4792,9 +4856,9 @@ public Observable> call(Respons private ServiceResponse updateConnectionStringsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4882,9 +4946,9 @@ public Observable> call(Respons private ServiceResponse listConnectionStringsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -4972,9 +5036,9 @@ public Observable> call(Response getDiagnosticLogsConfigurationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5070,9 +5134,9 @@ public Observable> call(Response updateDiagnosticLogsConfigDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5168,9 +5232,9 @@ public Observable> call(Response updateMetadataDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5258,9 +5322,9 @@ public Observable> call(Response listMetadataDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5421,9 +5485,9 @@ public Observable> call(Response respon private ServiceResponse beginListPublishingCredentialsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5519,9 +5583,9 @@ public Observable> call(Response updateSitePushSettingsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5609,9 +5673,9 @@ public Observable> call(Response listSitePushSettingsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5699,9 +5763,9 @@ public Observable> call(Response listSlotConfigurationNamesDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5797,9 +5861,9 @@ public Observable> call(Response updateSlotConfigurationNamesDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5887,9 +5951,9 @@ public Observable> call(Response getConfigurationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -5985,9 +6049,9 @@ public Observable> call(Response createOrUpdateConfigurationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -6083,9 +6147,9 @@ public Observable> call(Response updateConfigurationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -6177,8 +6241,8 @@ public Observable>> cal * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteConfigurationSnapshotInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -6211,9 +6275,9 @@ public Observable>> cal private ServiceResponse> listConfigurationSnapshotInfoDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -6308,9 +6372,9 @@ public Observable> call(Response getConfigurationSnapshotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -6404,9 +6468,9 @@ public Observable> call(Response response) { private ServiceResponse recoverSiteConfigurationSnapshotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -6494,10 +6558,10 @@ public Observable> call(Response resp private ServiceResponse getWebSiteContainerLogsDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -6585,10 +6649,10 @@ public Observable> call(Response resp private ServiceResponse getContainerLogsZipDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -6680,8 +6744,8 @@ public Observable>> call(ServiceResp * List continuous web jobs for an app, or a deployment slot. * List continuous web jobs for an app, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ContinuousWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -6714,9 +6778,9 @@ public Observable>> call(Response> listContinuousWebJobsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -6811,10 +6875,10 @@ public Observable> call(Response getContinuousWebJobDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -6908,10 +6972,10 @@ public Observable> call(Response response) { private ServiceResponse deleteContinuousWebJobDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -7005,10 +7069,10 @@ public Observable> call(Response response) { private ServiceResponse startContinuousWebJobDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -7102,10 +7166,10 @@ public Observable> call(Response response) { private ServiceResponse stopContinuousWebJobDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -7197,8 +7261,8 @@ public Observable>> call(ServiceResponse

> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<DeploymentInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -7231,9 +7295,9 @@ public Observable>> call(Response> listDeploymentsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -7328,9 +7392,9 @@ public Observable> call(Response private ServiceResponse getDeploymentDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -7433,9 +7497,9 @@ public Observable> call(Response private ServiceResponse createDeploymentDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -7529,10 +7593,10 @@ public Observable> call(Response response) { private ServiceResponse deleteDeploymentDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -7627,9 +7691,9 @@ public Observable> call(Response private ServiceResponse listDeploymentLogDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -7725,9 +7789,9 @@ public Observable> call(Response discoverBackupDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -7819,8 +7883,8 @@ public Observable>> call(ServiceResponse

> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<IdentifierInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -7853,9 +7917,9 @@ public Observable>> call(Response> listDomainOwnershipIdentifiersDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -7950,9 +8014,9 @@ public Observable> call(Response private ServiceResponse getDomainOwnershipIdentifierDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -8055,9 +8119,9 @@ public Observable> call(Response private ServiceResponse createOrUpdateDomainOwnershipIdentifierDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -8151,10 +8215,10 @@ public Observable> call(Response response) { private ServiceResponse deleteDomainOwnershipIdentifierDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -8257,9 +8321,9 @@ public Observable> call(Response private ServiceResponse updateDomainOwnershipIdentifierDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -8347,9 +8411,9 @@ public Observable> call(Response getMSDeployStatusDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -8526,10 +8590,10 @@ public Observable> call(Response beginCreateMSDeployOperationDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) - .register(409, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(201, new TypeToken() { }.getType()) + .register(409, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -8617,10 +8681,10 @@ public Observable> call(Response private ServiceResponse getMSDeployLogDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -8712,8 +8776,8 @@ public Observable>> call(ServiceResp * List the functions for a web site, or a deployment slot. * List the functions for a web site, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<FunctionEnvelopeInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -8746,10 +8810,10 @@ public Observable>> call(Response> listFunctionsDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -8837,9 +8901,9 @@ public Observable> call(Response response) private ServiceResponse getFunctionsAdminTokenDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -8934,10 +8998,10 @@ public Observable> call(Response getFunctionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -9128,9 +9192,9 @@ public Observable> call(Response beginCreateFunctionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(201, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -9224,10 +9288,324 @@ public Observable> call(Response response) { private ServiceResponse deleteFunctionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyInfoInner object if successful. + */ + public KeyInfoInner createOrUpdateFunctionSecret(String resourceGroupName, String name, String functionName, String keyName, KeyInfoInner key) { + return createOrUpdateFunctionSecretWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, key).toBlocking().single().body(); + } + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param key The key to create or update + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateFunctionSecretAsync(String resourceGroupName, String name, String functionName, String keyName, KeyInfoInner key, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateFunctionSecretWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, key), serviceCallback); + } + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyInfoInner object + */ + public Observable createOrUpdateFunctionSecretAsync(String resourceGroupName, String name, String functionName, String keyName, KeyInfoInner key) { + return createOrUpdateFunctionSecretWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, key).map(new Func1, KeyInfoInner>() { + @Override + public KeyInfoInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyInfoInner object + */ + public Observable> createOrUpdateFunctionSecretWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String keyName, KeyInfoInner key) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (functionName == null) { + throw new IllegalArgumentException("Parameter functionName is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (key == null) { + throw new IllegalArgumentException("Parameter key is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Validator.validate(key); + return service.createOrUpdateFunctionSecret(resourceGroupName, name, functionName, keyName, this.client.subscriptionId(), key, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateFunctionSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateFunctionSecretDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void deleteFunctionSecret(String resourceGroupName, String name, String functionName, String keyName) { + deleteFunctionSecretWithServiceResponseAsync(resourceGroupName, name, functionName, keyName).toBlocking().single().body(); + } + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteFunctionSecretAsync(String resourceGroupName, String name, String functionName, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteFunctionSecretWithServiceResponseAsync(resourceGroupName, name, functionName, keyName), serviceCallback); + } + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable deleteFunctionSecretAsync(String resourceGroupName, String name, String functionName, String keyName) { + return deleteFunctionSecretWithServiceResponseAsync(resourceGroupName, name, functionName, keyName).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> deleteFunctionSecretWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String keyName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (functionName == null) { + throw new IllegalArgumentException("Parameter functionName is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.deleteFunctionSecret(resourceGroupName, name, functionName, keyName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteFunctionSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteFunctionSecretDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StringDictionaryInner object if successful. + */ + public StringDictionaryInner listFunctionKeys(String resourceGroupName, String name, String functionName) { + return listFunctionKeysWithServiceResponseAsync(resourceGroupName, name, functionName).toBlocking().single().body(); + } + + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture listFunctionKeysAsync(String resourceGroupName, String name, String functionName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listFunctionKeysWithServiceResponseAsync(resourceGroupName, name, functionName), serviceCallback); + } + + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StringDictionaryInner object + */ + public Observable listFunctionKeysAsync(String resourceGroupName, String name, String functionName) { + return listFunctionKeysWithServiceResponseAsync(resourceGroupName, name, functionName).map(new Func1, StringDictionaryInner>() { + @Override + public StringDictionaryInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StringDictionaryInner object + */ + public Observable> listFunctionKeysWithServiceResponseAsync(String resourceGroupName, String name, String functionName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (functionName == null) { + throw new IllegalArgumentException("Parameter functionName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listFunctionKeys(resourceGroupName, name, functionName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = listFunctionKeysDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse listFunctionKeysDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -9322,9 +9700,494 @@ public Observable> call(Response listFunctionSecretsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the HostKeysInner object if successful. + */ + public HostKeysInner listHostKeys(String resourceGroupName, String name) { + return listHostKeysWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture listHostKeysAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listHostKeysWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the HostKeysInner object + */ + public Observable listHostKeysAsync(String resourceGroupName, String name) { + return listHostKeysWithServiceResponseAsync(resourceGroupName, name).map(new Func1, HostKeysInner>() { + @Override + public HostKeysInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the HostKeysInner object + */ + public Observable> listHostKeysWithServiceResponseAsync(String resourceGroupName, String name) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listHostKeys(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = listHostKeysDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse listHostKeysDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void listSyncStatus(String resourceGroupName, String name) { + listSyncStatusWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture listSyncStatusAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listSyncStatusWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable listSyncStatusAsync(String resourceGroupName, String name) { + return listSyncStatusWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> listSyncStatusWithServiceResponseAsync(String resourceGroupName, String name) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listSyncStatus(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = listSyncStatusDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse listSyncStatusDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void syncFunctions(String resourceGroupName, String name) { + syncFunctionsWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture syncFunctionsAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(syncFunctionsWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable syncFunctionsAsync(String resourceGroupName, String name) { + return syncFunctionsWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> syncFunctionsWithServiceResponseAsync(String resourceGroupName, String name) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.syncFunctions(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = syncFunctionsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse syncFunctionsDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyInfoInner object if successful. + */ + public KeyInfoInner createOrUpdateHostSecret(String resourceGroupName, String name, String keyType, String keyName, KeyInfoInner key) { + return createOrUpdateHostSecretWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, key).toBlocking().single().body(); + } + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param key The key to create or update + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateHostSecretAsync(String resourceGroupName, String name, String keyType, String keyName, KeyInfoInner key, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateHostSecretWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, key), serviceCallback); + } + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyInfoInner object + */ + public Observable createOrUpdateHostSecretAsync(String resourceGroupName, String name, String keyType, String keyName, KeyInfoInner key) { + return createOrUpdateHostSecretWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, key).map(new Func1, KeyInfoInner>() { + @Override + public KeyInfoInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyInfoInner object + */ + public Observable> createOrUpdateHostSecretWithServiceResponseAsync(String resourceGroupName, String name, String keyType, String keyName, KeyInfoInner key) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (keyType == null) { + throw new IllegalArgumentException("Parameter keyType is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (key == null) { + throw new IllegalArgumentException("Parameter key is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Validator.validate(key); + return service.createOrUpdateHostSecret(resourceGroupName, name, keyType, keyName, this.client.subscriptionId(), key, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateHostSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateHostSecretDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void deleteHostSecret(String resourceGroupName, String name, String keyType, String keyName) { + deleteHostSecretWithServiceResponseAsync(resourceGroupName, name, keyType, keyName).toBlocking().single().body(); + } + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteHostSecretAsync(String resourceGroupName, String name, String keyType, String keyName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteHostSecretWithServiceResponseAsync(resourceGroupName, name, keyType, keyName), serviceCallback); + } + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable deleteHostSecretAsync(String resourceGroupName, String name, String keyType, String keyName) { + return deleteHostSecretWithServiceResponseAsync(resourceGroupName, name, keyType, keyName).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> deleteHostSecretWithServiceResponseAsync(String resourceGroupName, String name, String keyType, String keyName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (keyType == null) { + throw new IllegalArgumentException("Parameter keyType is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.deleteHostSecret(resourceGroupName, name, keyType, keyName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteHostSecretDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteHostSecretDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -9416,8 +10279,8 @@ public Observable>> call(ServiceRespo * Get hostname bindings for an app or a deployment slot. * Get hostname bindings for an app or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<HostNameBindingInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -9450,9 +10313,9 @@ public Observable>> call(Response> listHostNameBindingsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -9547,9 +10410,9 @@ public Observable> call(Response getHostNameBindingDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -9652,9 +10515,9 @@ public Observable> call(Response createOrUpdateHostNameBindingDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -9748,10 +10611,10 @@ public Observable> call(Response response) { private ServiceResponse deleteHostNameBindingDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -9853,9 +10716,9 @@ public Observable> call(Response getHybridConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -9965,9 +10828,9 @@ public Observable> call(Response createOrUpdateHybridConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -10068,10 +10931,10 @@ public Observable> call(Response response) { private ServiceResponse deleteHybridConnectionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -10181,9 +11044,9 @@ public Observable> call(Response updateHybridConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -10285,9 +11148,9 @@ public Observable> call(Response listHybridConnectionKeysDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -10375,9 +11238,9 @@ public Observable> call(Response listHybridConnectionsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -10465,9 +11328,9 @@ public Observable> call(Respo private ServiceResponse listRelayServiceConnectionsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -10562,9 +11425,9 @@ public Observable> call(Respo private ServiceResponse getRelayServiceConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -10667,9 +11530,9 @@ public Observable> call(Respo private ServiceResponse createOrUpdateRelayServiceConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -10763,10 +11626,10 @@ public Observable> call(Response response) { private ServiceResponse deleteRelayServiceConnectionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -10869,9 +11732,9 @@ public Observable> call(Respo private ServiceResponse updateRelayServiceConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -10963,8 +11826,8 @@ public Observable>> call(ServiceResponse * Gets all scale-out instances of an app. * Gets all scale-out instances of an app. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInstanceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -10997,9 +11860,9 @@ public Observable>> call(Response> listInstanceIdentifiersDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -11094,9 +11957,9 @@ public Observable> call(Response getInstanceMsDeployStatusDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -11287,10 +12150,10 @@ public Observable> call(Response beginCreateInstanceMSDeployOperationDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) - .register(409, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(201, new TypeToken() { }.getType()) + .register(409, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -11385,10 +12248,10 @@ public Observable> call(Response private ServiceResponse getInstanceMSDeployLogDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -11484,9 +12347,9 @@ public Observable>> call(ServiceResponse< * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -11522,10 +12385,10 @@ public Observable>> call(Response> listInstanceProcessesDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -11627,10 +12490,10 @@ public Observable> call(Response private ServiceResponse getInstanceProcessDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -11731,10 +12594,10 @@ public Observable> call(Response response) { private ServiceResponse deleteInstanceProcessDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -11836,10 +12699,10 @@ public Observable> call(Response resp private ServiceResponse getInstanceProcessDumpDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -11939,10 +12802,10 @@ public Observable>> call(ServiceRes * List module information for a process by its ID for a specific scaled-out instance in a web site. * List module information for a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param processId PID. - ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param processId PID. + ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -11981,10 +12844,10 @@ public Observable>> call(Response> listInstanceProcessModulesDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -12093,10 +12956,10 @@ public Observable> call(Response getInstanceProcessModuleDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -12196,10 +13059,10 @@ public Observable>> call(ServiceRes * List the threads in a process by its ID for a specific scaled-out instance in a web site. * List the threads in a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param processId PID. - ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param processId PID. + ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -12238,10 +13101,10 @@ public Observable>> call(Response> listInstanceProcessThreadsDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -12350,10 +13213,10 @@ public Observable> call(Response getInstanceProcessThreadDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -12441,9 +13304,9 @@ public Observable> call(Response isCloneableDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -12531,9 +13394,9 @@ public Observable> call(Response listSyncFunctionTriggersDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -12625,8 +13488,8 @@ public Observable>> call(Ser * Gets all metric definitions of an app (or deployment slot, if specified). * Gets all metric definitions of an app (or deployment slot, if specified). * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ResourceMetricDefinitionInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -12659,9 +13522,9 @@ public Observable>> call(Res private ServiceResponse> listMetricDefinitionsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -12884,10 +13747,10 @@ public Observable>> call(ServiceRespon * Gets performance metrics of an app (or deployment slot, if specified). * Gets performance metrics of an app (or deployment slot, if specified). * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param details Specify "true" to include metric details in the response. It is "false" by default. - ServiceResponse> * @param filter Return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param details Specify "true" to include metric details in the response. It is "false" by default. + ServiceResponse> * @param filter Return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ResourceMetricInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -12920,9 +13783,9 @@ public Observable>> call(Response> listMetricsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -13113,9 +13976,9 @@ public Observable> call(Response< private ServiceResponse beginMigrateStorageDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -13292,9 +14155,9 @@ public Observable> call(Response r private ServiceResponse beginMigrateMySqlDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -13382,9 +14245,9 @@ public Observable> call(Response getMigrateMySqlStatusDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -13472,9 +14335,9 @@ public Observable> call(Response getSwiftVirtualNetworkConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -13578,9 +14441,9 @@ public Observable> call(Response createOrUpdateSwiftVirtualNetworkConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -13667,10 +14530,10 @@ public Observable> call(Response response) { private ServiceResponse deleteSwiftVirtualNetworkDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -13774,9 +14637,9 @@ public Observable> call(Response updateSwiftVirtualNetworkConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -13871,10 +14734,10 @@ public Observable> call(Response listNetworkFeaturesDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -13969,10 +14832,10 @@ public Observable>> call(Response> getNetworkTraceOperationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(202, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(202, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -14158,9 +15021,9 @@ public Observable> call(Response response) private ServiceResponse startWebSiteNetworkTraceDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -14506,10 +15369,10 @@ public Observable>> call(Response> beginStartWebSiteNetworkTraceOperationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(202, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(202, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -14596,10 +15459,10 @@ public Observable> call(Response response) { private ServiceResponse stopWebSiteNetworkTraceDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -14694,9 +15557,9 @@ public Observable>> call(Response> getNetworkTracesDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -14791,10 +15654,10 @@ public Observable>> call(Response> getNetworkTraceOperationV2Delegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(202, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(202, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -14889,9 +15752,9 @@ public Observable>> call(Response> getNetworkTracesV2Delegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -14978,10 +15841,10 @@ public Observable> call(Response response) { private ServiceResponse generateNewSitePublishingPasswordDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -15199,9 +16062,9 @@ public Observable>> call(ServiceRespo * Gets perfmon counters for web app. * Gets perfmon counters for web app. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of web app. - ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of web app. + ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<PerfMonResponseInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -15234,9 +16097,9 @@ public Observable>> call(Response> listPerfMonCountersDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -15324,9 +16187,9 @@ public Observable> call(Response getSitePhpErrorLogFlagDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -15414,9 +16277,9 @@ public Observable> call(Response listPremierAddOnsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -15511,9 +16374,9 @@ public Observable> call(Response getPremierAddOnDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -15616,9 +16479,9 @@ public Observable> call(Response addPremierAddOnDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -15712,9 +16575,9 @@ public Observable> call(Response response) { private ServiceResponse deletePremierAddOnDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -15817,9 +16680,9 @@ public Observable> call(Response updatePremierAddOnDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -15907,9 +16770,9 @@ public Observable> call(Response getPrivateAccessDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -16005,9 +16868,9 @@ public Observable> call(Response putPrivateAccessVnetDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -16099,8 +16962,8 @@ public Observable>> call(ServiceResponse< * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -16133,10 +16996,10 @@ public Observable>> call(Response> listProcessesDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -16231,10 +17094,10 @@ public Observable> call(Response private ServiceResponse getProcessDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -16328,10 +17191,10 @@ public Observable> call(Response response) { private ServiceResponse deleteProcessDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -16426,10 +17289,10 @@ public Observable> call(Response resp private ServiceResponse getProcessDumpDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -16525,9 +17388,9 @@ public Observable>> call(ServiceRes * List module information for a process by its ID for a specific scaled-out instance in a web site. * List module information for a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param processId PID. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -16563,10 +17426,10 @@ public Observable>> call(Response> listProcessModulesDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -16668,10 +17531,10 @@ public Observable> call(Response getProcessModuleDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -16767,9 +17630,9 @@ public Observable>> call(ServiceRes * List the threads in a process by its ID for a specific scaled-out instance in a web site. * List the threads in a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param processId PID. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -16805,10 +17668,10 @@ public Observable>> call(Response> listProcessThreadsDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -16910,10 +17773,10 @@ public Observable> call(Response getProcessThreadDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -17005,8 +17868,8 @@ public Observable>> call(ServiceRes * Get public certificates for an app or a deployment slot. * Get public certificates for an app or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<PublicCertificateInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -17039,9 +17902,9 @@ public Observable>> call(Response> listPublicCertificatesDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -17136,9 +17999,9 @@ public Observable> call(Response getPublicCertificateDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -17241,9 +18104,9 @@ public Observable> call(Response createOrUpdatePublicCertificateDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -17337,10 +18200,10 @@ public Observable> call(Response response) { private ServiceResponse deletePublicCertificateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -17436,9 +18299,9 @@ public Observable> call(Response resp private ServiceResponse listPublishingProfileXmlWithSecretsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -17525,9 +18388,9 @@ public Observable> call(Response response) { private ServiceResponse resetProductionSlotConfigDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -17706,9 +18569,9 @@ public Observable> call(Response response) { private ServiceResponse restartDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -17883,10 +18746,10 @@ public Observable> call(Response response) { private ServiceResponse beginRestoreFromBackupBlobDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -18061,10 +18924,10 @@ public Observable> call(Response response) { private ServiceResponse beginRestoreFromDeletedAppDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -18239,10 +19102,10 @@ public Observable> call(Response response) { private ServiceResponse beginRestoreSnapshotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -18334,8 +19197,8 @@ public Observable>> call(ServiceRes * Get list of siteextensions for a web site, or a deployment slot. * Get list of siteextensions for a web site, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteExtensionInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -18368,10 +19231,10 @@ public Observable>> call(Response> listSiteExtensionsDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -18466,10 +19329,10 @@ public Observable> call(Response getSiteExtensionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -18644,11 +19507,11 @@ public Observable> call(Response beginInstallSiteExtensionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .register(429, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .register(429, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -18742,10 +19605,10 @@ public Observable> call(Response response) { private ServiceResponse deleteSiteExtensionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -18837,8 +19700,8 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -18871,9 +19734,9 @@ public Observable>> call(Response private ServiceResponse> listSlotsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -18968,10 +19831,10 @@ public Observable> call(Response respon private ServiceResponse getSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -19162,10 +20025,10 @@ public Observable> call(Response respon private ServiceResponse beginCreateOrUpdateSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -19358,11 +20221,11 @@ public Observable> call(Response response) { private ServiceResponse deleteSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -19465,10 +20328,10 @@ public Observable> call(Response respon private ServiceResponse updateSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -19658,9 +20521,9 @@ public Observable> call(Respo private ServiceResponse analyzeCustomHostnameSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -19762,9 +20625,9 @@ public Observable> call(Response response) { private ServiceResponse applySlotConfigurationSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -19867,9 +20730,9 @@ public Observable> call(Response private ServiceResponse backupSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -19965,9 +20828,9 @@ public Observable>> call(ServiceResponse

> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<BackupItemInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -20003,9 +20866,9 @@ public Observable>> call(Response> listBackupsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -20107,9 +20970,9 @@ public Observable> call(Response private ServiceResponse getBackupStatusSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -20210,10 +21073,10 @@ public Observable> call(Response response) { private ServiceResponse deleteBackupSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -20323,9 +21186,9 @@ public Observable> call(Response private ServiceResponse listBackupStatusSecretsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -20528,10 +21391,10 @@ public Observable> call(Response response) { private ServiceResponse beginRestoreSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -20627,9 +21490,9 @@ public Observable>> call(ServiceRe * List the configurations of an app. * List the configurations of an app. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteConfigResourceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -20665,9 +21528,9 @@ public Observable>> call(Response< private ServiceResponse> listConfigurationsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -20770,9 +21633,9 @@ public Observable> call(Response updateApplicationSettingsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -20867,9 +21730,9 @@ public Observable> call(Response listApplicationSettingsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -20972,9 +21835,9 @@ public Observable> call(Response updateAuthSettingsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21069,9 +21932,9 @@ public Observable> call(Response getAuthSettingsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21174,9 +22037,9 @@ public Observable> private ServiceResponse updateAzureStorageAccountsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21271,9 +22134,9 @@ public Observable> private ServiceResponse listAzureStorageAccountsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21376,9 +22239,9 @@ public Observable> call(Response updateBackupConfigurationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21472,9 +22335,9 @@ public Observable> call(Response response) { private ServiceResponse deleteBackupConfigurationSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -21569,9 +22432,9 @@ public Observable> call(Response getBackupConfigurationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21674,9 +22537,9 @@ public Observable> call(Respons private ServiceResponse updateConnectionStringsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21771,9 +22634,9 @@ public Observable> call(Respons private ServiceResponse listConnectionStringsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21868,9 +22731,9 @@ public Observable> call(Response getDiagnosticLogsConfigurationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -21973,9 +22836,9 @@ public Observable> call(Response updateDiagnosticLogsConfigSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22078,9 +22941,9 @@ public Observable> call(Response updateMetadataSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22175,9 +23038,9 @@ public Observable> call(Response listMetadataSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22352,9 +23215,9 @@ public Observable> call(Response respon private ServiceResponse beginListPublishingCredentialsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22457,9 +23320,9 @@ public Observable> call(Response updateSitePushSettingsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22554,9 +23417,9 @@ public Observable> call(Response listSitePushSettingsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22651,9 +23514,9 @@ public Observable> call(Response getConfigurationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22756,9 +23619,9 @@ public Observable> call(Response createOrUpdateConfigurationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22861,9 +23724,9 @@ public Observable> call(Response updateConfigurationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -22959,9 +23822,9 @@ public Observable>> cal * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteConfigurationSnapshotInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -22997,9 +23860,9 @@ public Observable>> cal private ServiceResponse> listConfigurationSnapshotInfoSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -23101,9 +23964,9 @@ public Observable> call(Response getConfigurationSnapshotSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -23204,9 +24067,9 @@ public Observable> call(Response response) { private ServiceResponse recoverSiteConfigurationSnapshotSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -23301,10 +24164,10 @@ public Observable> call(Response resp private ServiceResponse getWebSiteContainerLogsSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -23399,10 +24262,10 @@ public Observable> call(Response resp private ServiceResponse getContainerLogsZipSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -23498,9 +24361,9 @@ public Observable>> call(ServiceResp * List continuous web jobs for an app, or a deployment slot. * List continuous web jobs for an app, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ContinuousWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -23536,9 +24399,9 @@ public Observable>> call(Response> listContinuousWebJobsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -23640,10 +24503,10 @@ public Observable> call(Response getContinuousWebJobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -23744,10 +24607,10 @@ public Observable> call(Response response) { private ServiceResponse deleteContinuousWebJobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -23848,10 +24711,10 @@ public Observable> call(Response response) { private ServiceResponse startContinuousWebJobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -23952,10 +24815,10 @@ public Observable> call(Response response) { private ServiceResponse stopContinuousWebJobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -24051,9 +24914,9 @@ public Observable>> call(ServiceResponse

> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<DeploymentInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -24089,9 +24952,9 @@ public Observable>> call(Response> listDeploymentsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -24193,9 +25056,9 @@ public Observable> call(Response private ServiceResponse getDeploymentSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -24305,9 +25168,9 @@ public Observable> call(Response private ServiceResponse createDeploymentSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -24408,10 +25271,10 @@ public Observable> call(Response response) { private ServiceResponse deleteDeploymentSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -24513,9 +25376,9 @@ public Observable> call(Response private ServiceResponse listDeploymentLogSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -24618,9 +25481,9 @@ public Observable> call(Response discoverBackupSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -24716,9 +25579,9 @@ public Observable>> call(ServiceResponse

> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<IdentifierInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -24754,9 +25617,9 @@ public Observable>> call(Response> listDomainOwnershipIdentifiersSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -24858,9 +25721,9 @@ public Observable> call(Response private ServiceResponse getDomainOwnershipIdentifierSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -24970,9 +25833,9 @@ public Observable> call(Response private ServiceResponse createOrUpdateDomainOwnershipIdentifierSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -25073,10 +25936,10 @@ public Observable> call(Response response) { private ServiceResponse deleteDomainOwnershipIdentifierSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -25186,9 +26049,9 @@ public Observable> call(Response private ServiceResponse updateDomainOwnershipIdentifierSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -25283,9 +26146,9 @@ public Observable> call(Response getMSDeployStatusSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -25476,10 +26339,10 @@ public Observable> call(Response beginCreateMSDeployOperationSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) - .register(409, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(201, new TypeToken() { }.getType()) + .register(409, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -25574,10 +26437,10 @@ public Observable> call(Response private ServiceResponse getMSDeployLogSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -25586,7 +26449,7 @@ private ServiceResponse getMSDeployLogSlotDelegate(Response nextPage(String nextPageLink) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -25631,7 +26494,7 @@ public Observable>> call(String next * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<FunctionEnvelopeInner> object */ @@ -25651,7 +26514,7 @@ public Page call(ServiceResponse>> call(ServiceResp * List the functions for a web site, or a deployment slot. * List the functions for a web site, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<FunctionEnvelopeInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -25711,10 +26574,10 @@ public Observable>> call(Response> listInstanceFunctionsSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -25809,9 +26672,9 @@ public Observable> call(Response response) private ServiceResponse getFunctionsAdminTokenSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -25821,7 +26684,7 @@ private ServiceResponse getFunctionsAdminTokenSlotDelegate(Response getInstanceFunctionSlotAsync(String * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the FunctionEnvelopeInner object */ @@ -25874,7 +26737,7 @@ public FunctionEnvelopeInner call(ServiceResponse respons * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the FunctionEnvelopeInner object */ @@ -25913,10 +26776,10 @@ public Observable> call(Response getInstanceFunctionSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -25926,7 +26789,7 @@ private ServiceResponse getInstanceFunctionSlotDelegate(R * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws DefaultErrorResponseException thrown if the request is rejected by server @@ -25944,7 +26807,7 @@ public FunctionEnvelopeInner createInstanceFunctionSlot(String resourceGroupName * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -25961,7 +26824,7 @@ public ServiceFuture createInstanceFunctionSlotAsync(Stri * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request @@ -25982,7 +26845,7 @@ public FunctionEnvelopeInner call(ServiceResponse respons * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request @@ -26021,7 +26884,7 @@ public Observable> createInstanceFunction * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws DefaultErrorResponseException thrown if the request is rejected by server @@ -26039,7 +26902,7 @@ public FunctionEnvelopeInner beginCreateInstanceFunctionSlot(String resourceGrou * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -26056,7 +26919,7 @@ public ServiceFuture beginCreateInstanceFunctionSlotAsync * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the FunctionEnvelopeInner object @@ -26077,7 +26940,7 @@ public FunctionEnvelopeInner call(ServiceResponse respons * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the FunctionEnvelopeInner object @@ -26121,9 +26984,9 @@ public Observable> call(Response beginCreateInstanceFunctionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(201, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -26133,7 +26996,7 @@ private ServiceResponse beginCreateInstanceFunctionSlotDe * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent @@ -26149,7 +27012,7 @@ public void deleteInstanceFunctionSlot(String resourceGroupName, String name, St * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -26165,7 +27028,7 @@ public ServiceFuture deleteInstanceFunctionSlotAsync(String resourceGroupN * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -26185,7 +27048,7 @@ public Void call(ServiceResponse response) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -26224,10 +27087,345 @@ public Observable> call(Response response) { private ServiceResponse deleteInstanceFunctionSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyInfoInner object if successful. + */ + public KeyInfoInner createOrUpdateFunctionSecretSlot(String resourceGroupName, String name, String functionName, String keyName, String slot, KeyInfoInner key) { + return createOrUpdateFunctionSecretSlotWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, slot, key).toBlocking().single().body(); + } + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateFunctionSecretSlotAsync(String resourceGroupName, String name, String functionName, String keyName, String slot, KeyInfoInner key, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateFunctionSecretSlotWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, slot, key), serviceCallback); + } + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyInfoInner object + */ + public Observable createOrUpdateFunctionSecretSlotAsync(String resourceGroupName, String name, String functionName, String keyName, String slot, KeyInfoInner key) { + return createOrUpdateFunctionSecretSlotWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, slot, key).map(new Func1, KeyInfoInner>() { + @Override + public KeyInfoInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Add or update a function secret. + * Add or update a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyInfoInner object + */ + public Observable> createOrUpdateFunctionSecretSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String keyName, String slot, KeyInfoInner key) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (functionName == null) { + throw new IllegalArgumentException("Parameter functionName is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (key == null) { + throw new IllegalArgumentException("Parameter key is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Validator.validate(key); + return service.createOrUpdateFunctionSecretSlot(resourceGroupName, name, functionName, keyName, slot, this.client.subscriptionId(), key, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateFunctionSecretSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateFunctionSecretSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void deleteFunctionSecretSlot(String resourceGroupName, String name, String functionName, String keyName, String slot) { + deleteFunctionSecretSlotWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, slot).toBlocking().single().body(); + } + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteFunctionSecretSlotAsync(String resourceGroupName, String name, String functionName, String keyName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteFunctionSecretSlotWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, slot), serviceCallback); + } + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable deleteFunctionSecretSlotAsync(String resourceGroupName, String name, String functionName, String keyName, String slot) { + return deleteFunctionSecretSlotWithServiceResponseAsync(resourceGroupName, name, functionName, keyName, slot).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Delete a function secret. + * Delete a function secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName The name of the function. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> deleteFunctionSecretSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String keyName, String slot) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (functionName == null) { + throw new IllegalArgumentException("Parameter functionName is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.deleteFunctionSecretSlot(resourceGroupName, name, functionName, keyName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteFunctionSecretSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteFunctionSecretSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the StringDictionaryInner object if successful. + */ + public StringDictionaryInner listFunctionKeysSlot(String resourceGroupName, String name, String functionName, String slot) { + return listFunctionKeysSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).toBlocking().single().body(); + } + + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture listFunctionKeysSlotAsync(String resourceGroupName, String name, String functionName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listFunctionKeysSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot), serviceCallback); + } + + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StringDictionaryInner object + */ + public Observable listFunctionKeysSlotAsync(String resourceGroupName, String name, String functionName, String slot) { + return listFunctionKeysSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).map(new Func1, StringDictionaryInner>() { + @Override + public StringDictionaryInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get function keys for a function in a web site, or a deployment slot. + * Get function keys for a function in a web site, or a deployment slot. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param functionName Function name. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the StringDictionaryInner object + */ + public Observable> listFunctionKeysSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String slot) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (functionName == null) { + throw new IllegalArgumentException("Parameter functionName is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listFunctionKeysSlot(resourceGroupName, name, functionName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = listFunctionKeysSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse listFunctionKeysSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -26237,7 +27435,7 @@ private ServiceResponse deleteInstanceFunctionSlotDelegate(Response listFunctionSecretsSlotAsync(String r * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the FunctionSecretsInner object */ @@ -26290,7 +27488,7 @@ public FunctionSecretsInner call(ServiceResponse response) * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param functionName Function name. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the FunctionSecretsInner object */ @@ -26329,9 +27527,529 @@ public Observable> call(Response listFunctionSecretsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the HostKeysInner object if successful. + */ + public HostKeysInner listHostKeysSlot(String resourceGroupName, String name, String slot) { + return listHostKeysSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param slot Name of the deployment slot. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture listHostKeysSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listHostKeysSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the HostKeysInner object + */ + public Observable listHostKeysSlotAsync(String resourceGroupName, String name, String slot) { + return listHostKeysSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, HostKeysInner>() { + @Override + public HostKeysInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get host secrets for a function app. + * Get host secrets for a function app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the HostKeysInner object + */ + public Observable> listHostKeysSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listHostKeysSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = listHostKeysSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse listHostKeysSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void listSyncStatusSlot(String resourceGroupName, String name, String slot) { + listSyncStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture listSyncStatusSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listSyncStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable listSyncStatusSlotAsync(String resourceGroupName, String name, String slot) { + return listSyncStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * This is to allow calling via powershell and ARM template. + * This is to allow calling via powershell and ARM template. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> listSyncStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listSyncStatusSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = listSyncStatusSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse listSyncStatusSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void syncFunctionsSlot(String resourceGroupName, String name, String slot) { + syncFunctionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture syncFunctionsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(syncFunctionsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable syncFunctionsSlotAsync(String resourceGroupName, String name, String slot) { + return syncFunctionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> syncFunctionsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.syncFunctionsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = syncFunctionsSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse syncFunctionsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the KeyInfoInner object if successful. + */ + public KeyInfoInner createOrUpdateHostSecretSlot(String resourceGroupName, String name, String keyType, String keyName, String slot, KeyInfoInner key) { + return createOrUpdateHostSecretSlotWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, slot, key).toBlocking().single().body(); + } + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateHostSecretSlotAsync(String resourceGroupName, String name, String keyType, String keyName, String slot, KeyInfoInner key, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateHostSecretSlotWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, slot, key), serviceCallback); + } + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyInfoInner object + */ + public Observable createOrUpdateHostSecretSlotAsync(String resourceGroupName, String name, String keyType, String keyName, String slot, KeyInfoInner key) { + return createOrUpdateHostSecretSlotWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, slot, key).map(new Func1, KeyInfoInner>() { + @Override + public KeyInfoInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Add or update a host level secret. + * Add or update a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param key The key to create or update + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the KeyInfoInner object + */ + public Observable> createOrUpdateHostSecretSlotWithServiceResponseAsync(String resourceGroupName, String name, String keyType, String keyName, String slot, KeyInfoInner key) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (keyType == null) { + throw new IllegalArgumentException("Parameter keyType is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (key == null) { + throw new IllegalArgumentException("Parameter key is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Validator.validate(key); + return service.createOrUpdateHostSecretSlot(resourceGroupName, name, keyType, keyName, slot, this.client.subscriptionId(), key, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateHostSecretSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateHostSecretSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); + } + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + */ + public void deleteHostSecretSlot(String resourceGroupName, String name, String keyType, String keyName, String slot) { + deleteHostSecretSlotWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, slot).toBlocking().single().body(); + } + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteHostSecretSlotAsync(String resourceGroupName, String name, String keyType, String keyName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteHostSecretSlotWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, slot), serviceCallback); + } + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable deleteHostSecretSlotAsync(String resourceGroupName, String name, String keyType, String keyName, String slot) { + return deleteHostSecretSlotWithServiceResponseAsync(resourceGroupName, name, keyType, keyName, slot).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Delete a host level secret. + * Delete a host level secret. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param keyType The type of host key. + * @param keyName The name of the key. + * @param slot Name of the deployment slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> deleteHostSecretSlotWithServiceResponseAsync(String resourceGroupName, String name, String keyType, String keyName, String slot) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); + } + if (keyType == null) { + throw new IllegalArgumentException("Parameter keyType is required and cannot be null."); + } + if (keyName == null) { + throw new IllegalArgumentException("Parameter keyName is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.deleteHostSecretSlot(resourceGroupName, name, keyType, keyName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteHostSecretSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteHostSecretSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -26427,9 +28145,9 @@ public Observable>> call(ServiceRespo * Get hostname bindings for an app or a deployment slot. * Get hostname bindings for an app or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<HostNameBindingInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -26465,9 +28183,9 @@ public Observable>> call(Response> listHostNameBindingsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -26569,9 +28287,9 @@ public Observable> call(Response getHostNameBindingSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -26681,9 +28399,9 @@ public Observable> call(Response createOrUpdateHostNameBindingSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -26784,10 +28502,10 @@ public Observable> call(Response response) { private ServiceResponse deleteHostNameBindingSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -26896,9 +28614,9 @@ public Observable> call(Response getHybridConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -27015,9 +28733,9 @@ public Observable> call(Response createOrUpdateHybridConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -27125,10 +28843,10 @@ public Observable> call(Response response) { private ServiceResponse deleteHybridConnectionSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -27245,9 +28963,9 @@ public Observable> call(Response updateHybridConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -27356,9 +29074,9 @@ public Observable> call(Response listHybridConnectionKeysSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -27453,9 +29171,9 @@ public Observable> call(Response listHybridConnectionsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -27550,9 +29268,9 @@ public Observable> call(Respo private ServiceResponse listRelayServiceConnectionsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -27654,9 +29372,9 @@ public Observable> call(Respo private ServiceResponse getRelayServiceConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -27766,9 +29484,9 @@ public Observable> call(Respo private ServiceResponse createOrUpdateRelayServiceConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -27869,10 +29587,10 @@ public Observable> call(Response response) { private ServiceResponse deleteRelayServiceConnectionSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -27982,9 +29700,9 @@ public Observable> call(Respo private ServiceResponse updateRelayServiceConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -28080,9 +29798,9 @@ public Observable>> call(ServiceResponse * Gets all scale-out instances of an app. * Gets all scale-out instances of an app. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API gets the production slot instances. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API gets the production slot instances. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInstanceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -28118,9 +29836,9 @@ public Observable>> call(Response> listInstanceIdentifiersSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -28222,9 +29940,9 @@ public Observable> call(Response getInstanceMsDeployStatusSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -28429,10 +30147,10 @@ public Observable> call(Response beginCreateInstanceMSDeployOperationSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(201, new TypeToken() { }.getType()) - .register(409, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(201, new TypeToken() { }.getType()) + .register(409, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -28534,10 +30252,10 @@ public Observable> call(Response private ServiceResponse getInstanceMSDeployLogSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -28637,10 +30355,10 @@ public Observable>> call(ServiceResponse< * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -28679,10 +30397,10 @@ public Observable>> call(Response> listInstanceProcessesSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -28791,10 +30509,10 @@ public Observable> call(Response private ServiceResponse getInstanceProcessSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -28902,10 +30620,10 @@ public Observable> call(Response response) { private ServiceResponse deleteInstanceProcessSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -29014,10 +30732,10 @@ public Observable> call(Response resp private ServiceResponse getInstanceProcessDumpSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -29121,11 +30839,11 @@ public Observable>> call(ServiceRes * List module information for a process by its ID for a specific scaled-out instance in a web site. * List module information for a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param processId PID. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param processId PID. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -29167,10 +30885,10 @@ public Observable>> call(Response> listInstanceProcessModulesSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -29286,10 +31004,10 @@ public Observable> call(Response getInstanceProcessModuleSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -29393,11 +31111,11 @@ public Observable>> call(ServiceRes * List the threads in a process by its ID for a specific scaled-out instance in a web site. * List the threads in a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param processId PID. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param processId PID. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + ServiceResponse> * @param instanceId ID of a specific scaled-out instance. This is the value of the name property in the JSON response from "GET api/sites/{siteName}/instances". * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -29439,10 +31157,10 @@ public Observable>> call(Response> listInstanceProcessThreadsSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -29558,10 +31276,10 @@ public Observable> call(Response getInstanceProcessThreadSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -29656,9 +31374,9 @@ public Observable> call(Response isCloneableSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -29667,7 +31385,7 @@ private ServiceResponse isCloneableSlotDelegate(Response< * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws DefaultErrorResponseException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent @@ -29683,7 +31401,7 @@ public FunctionSecretsInner listSyncFunctionTriggersSlot(String resourceGroupNam * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -29698,7 +31416,7 @@ public ServiceFuture listSyncFunctionTriggersSlotAsync(Str * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the FunctionSecretsInner object */ @@ -29717,7 +31435,7 @@ public FunctionSecretsInner call(ServiceResponse response) * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the FunctionSecretsInner object */ @@ -29753,9 +31471,9 @@ public Observable> call(Response listSyncFunctionTriggersSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -29851,9 +31569,9 @@ public Observable>> call(Ser * Gets all metric definitions of an app (or deployment slot, if specified). * Gets all metric definitions of an app (or deployment slot, if specified). * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will get metric definitions of the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will get metric definitions of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ResourceMetricDefinitionInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -29889,9 +31607,9 @@ public Observable>> call(Res private ServiceResponse> listMetricDefinitionsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -30126,11 +31844,11 @@ public Observable>> call(ServiceRespon * Gets performance metrics of an app (or deployment slot, if specified). * Gets performance metrics of an app (or deployment slot, if specified). * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. - ServiceResponse> * @param details Specify "true" to include metric details in the response. It is "false" by default. - ServiceResponse> * @param filter Return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. + ServiceResponse> * @param details Specify "true" to include metric details in the response. It is "false" by default. + ServiceResponse> * @param filter Return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ResourceMetricInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -30166,9 +31884,9 @@ public Observable>> call(Response> listMetricsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -30263,9 +31981,9 @@ public Observable> call(Response getMigrateMySqlStatusSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -30360,9 +32078,9 @@ public Observable> call(Response getSwiftVirtualNetworkConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -30473,9 +32191,9 @@ public Observable> call(Response createOrUpdateSwiftVirtualNetworkConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -30569,10 +32287,10 @@ public Observable> call(Response response) { private ServiceResponse deleteSwiftVirtualNetworkSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -30683,9 +32401,9 @@ public Observable> call(Response updateSwiftVirtualNetworkConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -30787,10 +32505,10 @@ public Observable> call(Response listNetworkFeaturesSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -30892,10 +32610,10 @@ public Observable>> call(Response> getNetworkTraceOperationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(202, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(202, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -31095,9 +32813,9 @@ public Observable> call(Response response) private ServiceResponse startWebSiteNetworkTraceSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -31471,10 +33189,10 @@ public Observable>> call(Response> beginStartWebSiteNetworkTraceOperationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(202, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(202, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -31568,10 +33286,10 @@ public Observable> call(Response response) { private ServiceResponse stopWebSiteNetworkTraceSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -31673,9 +33391,9 @@ public Observable>> call(Response> getNetworkTracesSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -31777,10 +33495,10 @@ public Observable>> call(Response> getNetworkTraceOperationSlotV2Delegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(202, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(202, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -31882,9 +33600,9 @@ public Observable>> call(Response> getNetworkTracesSlotV2Delegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -31978,10 +33696,10 @@ public Observable> call(Response response) { private ServiceResponse generateNewSitePublishingPasswordSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -32211,10 +33929,10 @@ public Observable>> call(ServiceRespo * Gets perfmon counters for web app. * Gets perfmon counters for web app. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of web app. - ServiceResponse> * @param slot Name of web app slot. If not specified then will default to production slot. - ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of web app. + ServiceResponse> * @param slot Name of web app slot. If not specified then will default to production slot. + ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<PerfMonResponseInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -32250,9 +33968,9 @@ public Observable>> call(Response> listPerfMonCountersSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -32347,9 +34065,9 @@ public Observable> call(Response getSitePhpErrorLogFlagSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -32444,9 +34162,9 @@ public Observable> call(Response listPremierAddOnsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -32548,9 +34266,9 @@ public Observable> call(Response getPremierAddOnSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -32660,9 +34378,9 @@ public Observable> call(Response addPremierAddOnSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -32763,9 +34481,9 @@ public Observable> call(Response response) { private ServiceResponse deletePremierAddOnSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -32875,9 +34593,9 @@ public Observable> call(Response updatePremierAddOnSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -32972,9 +34690,9 @@ public Observable> call(Response getPrivateAccessSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -33077,9 +34795,9 @@ public Observable> call(Response putPrivateAccessVnetSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -33175,9 +34893,9 @@ public Observable>> call(ServiceResponse< * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -33213,10 +34931,10 @@ public Observable>> call(Response> listProcessesSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -33318,10 +35036,10 @@ public Observable> call(Response private ServiceResponse getProcessSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -33422,10 +35140,10 @@ public Observable> call(Response response) { private ServiceResponse deleteProcessSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -33527,10 +35245,10 @@ public Observable> call(Response resp private ServiceResponse getProcessDumpSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -33630,10 +35348,10 @@ public Observable>> call(ServiceRes * List module information for a process by its ID for a specific scaled-out instance in a web site. * List module information for a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param processId PID. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param processId PID. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -33672,10 +35390,10 @@ public Observable>> call(Response> listProcessModulesSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -33784,10 +35502,10 @@ public Observable> call(Response getProcessModuleSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -33887,10 +35605,10 @@ public Observable>> call(ServiceRes * List the threads in a process by its ID for a specific scaled-out instance in a web site. * List the threads in a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param processId PID. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param processId PID. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -33929,10 +35647,10 @@ public Observable>> call(Response> listProcessThreadsSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -34041,10 +35759,10 @@ public Observable> call(Response getProcessThreadSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -34140,9 +35858,9 @@ public Observable>> call(ServiceRes * Get public certificates for an app or a deployment slot. * Get public certificates for an app or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<PublicCertificateInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -34178,9 +35896,9 @@ public Observable>> call(Response> listPublicCertificatesSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -34282,9 +36000,9 @@ public Observable> call(Response getPublicCertificateSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -34394,9 +36112,9 @@ public Observable> call(Response createOrUpdatePublicCertificateSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -34497,10 +36215,10 @@ public Observable> call(Response response) { private ServiceResponse deletePublicCertificateSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -34603,9 +36321,9 @@ public Observable> call(Response resp private ServiceResponse listPublishingProfileXmlWithSecretsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -34699,9 +36417,9 @@ public Observable> call(Response response) { private ServiceResponse resetSlotConfigurationSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -34894,9 +36612,9 @@ public Observable> call(Response response) { private ServiceResponse restartSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -35085,10 +36803,10 @@ public Observable> call(Response response) { private ServiceResponse beginRestoreFromBackupBlobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -35277,10 +36995,10 @@ public Observable> call(Response response) { private ServiceResponse beginRestoreFromDeletedAppSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -35469,10 +37187,10 @@ public Observable> call(Response response) { private ServiceResponse beginRestoreSnapshotSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -35568,9 +37286,9 @@ public Observable>> call(ServiceRes * Get list of siteextensions for a web site, or a deployment slot. * Get list of siteextensions for a web site, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteExtensionInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -35606,10 +37324,10 @@ public Observable>> call(Response> listSiteExtensionsSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -35711,10 +37429,10 @@ public Observable> call(Response getSiteExtensionSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -35903,11 +37621,11 @@ public Observable> call(Response beginInstallSiteExtensionSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .register(429, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .register(429, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -36008,10 +37726,10 @@ public Observable> call(Response response) { private ServiceResponse deleteSiteExtensionSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -36111,10 +37829,10 @@ public Observable>> call(ServiceRespon * Get the difference in configuration settings between two web app slots. * Get the difference in configuration settings between two web app slots. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. - ServiceResponse> * @param slotSwapEntity JSON object that contains the target slot name. See example. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. + ServiceResponse> * @param slotSwapEntity JSON object that contains the target slot name. See example. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SlotDifferenceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -36154,9 +37872,9 @@ public Observable>> call(Response> listSlotDifferencesSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -36345,10 +38063,10 @@ public Observable> call(Response response) { private ServiceResponse beginSwapSlotSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -36444,9 +38162,9 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Website Name. - ServiceResponse> * @param slot Website Slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Website Name. + ServiceResponse> * @param slot Website Slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SnapshotInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -36482,9 +38200,9 @@ public Observable>> call(Response> listSnapshotsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -36580,9 +38298,9 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Website Name. - ServiceResponse> * @param slot Website Slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Website Name. + ServiceResponse> * @param slot Website Slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SnapshotInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -36618,9 +38336,9 @@ public Observable>> call(Response> listSnapshotsFromDRSecondarySlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -36715,11 +38433,11 @@ public Observable> call(Response getSourceControlSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -36910,11 +38628,11 @@ public Observable> call(Response beginCreateOrUpdateSourceControlSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -37008,11 +38726,11 @@ public Observable> call(Response response) { private ServiceResponse deleteSourceControlSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -37115,11 +38833,11 @@ public Observable> call(Response updateSourceControlSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -37213,9 +38931,9 @@ public Observable> call(Response response) { private ServiceResponse startSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -37589,10 +39307,10 @@ public Observable>> call(Response> beginStartNetworkTraceSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(202, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(202, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -37686,9 +39404,9 @@ public Observable> call(Response response) { private ServiceResponse stopSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -37782,10 +39500,10 @@ public Observable> call(Response response) { private ServiceResponse stopNetworkTraceSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -37879,18 +39597,18 @@ public Observable> call(Response response) { private ServiceResponse syncRepositorySlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent @@ -37900,12 +39618,12 @@ public void syncFunctionTriggersSlot(String resourceGroupName, String name, Stri } /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -37915,12 +39633,12 @@ public ServiceFuture syncFunctionTriggersSlotAsync(String resourceGroupNam } /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -37934,12 +39652,12 @@ public Void call(ServiceResponse response) { } /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -37975,9 +39693,9 @@ public Observable> call(Response response) { private ServiceResponse syncFunctionTriggersSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -38073,9 +39791,9 @@ public Observable>> call(ServiceRespo * List triggered web jobs for an app, or a deployment slot. * List triggered web jobs for an app, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TriggeredWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -38111,9 +39829,9 @@ public Observable>> call(Response> listTriggeredWebJobsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -38215,10 +39933,10 @@ public Observable> call(Response getTriggeredWebJobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -38319,10 +40037,10 @@ public Observable> call(Response response) { private ServiceResponse deleteTriggeredWebJobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -38422,10 +40140,10 @@ public Observable>> call(ServiceR * List a triggered web job's history for an app, or a deployment slot. * List a triggered web job's history for an app, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param webJobName Name of Web Job. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param webJobName Name of Web Job. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TriggeredJobHistoryInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -38464,10 +40182,10 @@ public Observable>> call(Response private ServiceResponse> listTriggeredWebJobHistorySlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -38576,10 +40294,10 @@ public Observable> call(Response getTriggeredWebJobHistorySlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -38680,10 +40398,10 @@ public Observable> call(Response response) { private ServiceResponse runTriggeredWebJobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -38913,10 +40631,10 @@ public Observable>> call(ServiceRespons * Gets the quota usage information of an app (or deployment slot, if specified). * Gets the quota usage information of an app (or deployment slot, if specified). * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot. - ServiceResponse> * @param filter Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot. + ServiceResponse> * @param filter Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<CsmUsageQuotaInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -38952,9 +40670,9 @@ public Observable>> call(Response> listUsagesSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -39049,9 +40767,9 @@ public Observable>> call(Response> listVnetConnectionsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -39153,9 +40871,9 @@ public Observable> call(Response re private ServiceResponse getVnetConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -39265,9 +40983,9 @@ public Observable> call(Response re private ServiceResponse createOrUpdateVnetConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -39368,10 +41086,10 @@ public Observable> call(Response response) { private ServiceResponse deleteVnetConnectionSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -39481,9 +41199,9 @@ public Observable> call(Response re private ServiceResponse updateVnetConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -39592,10 +41310,10 @@ public Observable> call(Response private ServiceResponse getVnetConnectionGatewaySlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -39712,9 +41430,9 @@ public Observable> call(Response private ServiceResponse createOrUpdateVnetConnectionGatewaySlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -39831,9 +41549,9 @@ public Observable> call(Response private ServiceResponse updateVnetConnectionGatewaySlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -39929,9 +41647,9 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<WebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -39967,9 +41685,9 @@ public Observable>> call(Response> listWebJobsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -40071,9 +41789,9 @@ public Observable> call(Response resp private ServiceResponse getWebJobSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -40169,9 +41887,9 @@ public Observable>> call(ServiceRespon * Get the difference in configuration settings between two web app slots. * Get the difference in configuration settings between two web app slots. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param slotSwapEntity JSON object that contains the target slot name. See example. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param slotSwapEntity JSON object that contains the target slot name. See example. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SlotDifferenceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -40208,9 +41926,9 @@ public Observable>> call(Response> listSlotDifferencesFromProductionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -40385,10 +42103,10 @@ public Observable> call(Response response) { private ServiceResponse beginSwapSlotWithProductionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -40480,8 +42198,8 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Website Name. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Website Name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SnapshotInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -40514,9 +42232,9 @@ public Observable>> call(Response> listSnapshotsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -40608,8 +42326,8 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Website Name. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Website Name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SnapshotInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -40642,9 +42360,9 @@ public Observable>> call(Response> listSnapshotsFromDRSecondaryDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -40732,11 +42450,11 @@ public Observable> call(Response getSourceControlDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -40913,11 +42631,11 @@ public Observable> call(Response beginCreateOrUpdateSourceControlDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -41004,11 +42722,11 @@ public Observable> call(Response response) { private ServiceResponse deleteSourceControlDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -41104,11 +42822,11 @@ public Observable> call(Response updateSourceControlDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(201, new TypeToken() { }.getType()) - .register(202, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(201, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -41195,9 +42913,9 @@ public Observable> call(Response response) { private ServiceResponse startDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -41543,10 +43261,10 @@ public Observable>> call(Response> beginStartNetworkTraceDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(202, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(202, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -41633,9 +43351,9 @@ public Observable> call(Response response) { private ServiceResponse stopDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -41722,10 +43440,10 @@ public Observable> call(Response response) { private ServiceResponse stopNetworkTraceDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -41812,14 +43530,14 @@ public Observable> call(Response response) { private ServiceResponse syncRepositoryDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -41832,8 +43550,8 @@ public void syncFunctionTriggers(String resourceGroupName, String name) { } /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -41846,8 +43564,8 @@ public ServiceFuture syncFunctionTriggersAsync(String resourceGroupName, S } /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -41864,8 +43582,8 @@ public Void call(ServiceResponse response) { } /** - * Syncs function trigger metadata to the scale controller. - * Syncs function trigger metadata to the scale controller. + * Syncs function trigger metadata to the management database. + * Syncs function trigger metadata to the management database. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -41901,9 +43619,9 @@ public Observable> call(Response response) { private ServiceResponse syncFunctionTriggersDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -41995,8 +43713,8 @@ public Observable>> call(ServiceRespo * List triggered web jobs for an app, or a deployment slot. * List triggered web jobs for an app, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TriggeredWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -42029,9 +43747,9 @@ public Observable>> call(Response> listTriggeredWebJobsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -42126,10 +43844,10 @@ public Observable> call(Response getTriggeredWebJobDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -42223,10 +43941,10 @@ public Observable> call(Response response) { private ServiceResponse deleteTriggeredWebJobDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(204, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(204, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -42322,9 +44040,9 @@ public Observable>> call(ServiceR * List a triggered web job's history for an app, or a deployment slot. * List a triggered web job's history for an app, or a deployment slot. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. - ServiceResponse> * @param webJobName Name of Web Job. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. + ServiceResponse> * @param webJobName Name of Web Job. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TriggeredJobHistoryInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -42360,10 +44078,10 @@ public Observable>> call(Response private ServiceResponse> listTriggeredWebJobHistoryDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -42465,10 +44183,10 @@ public Observable> call(Response getTriggeredWebJobHistoryDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -42562,10 +44280,10 @@ public Observable> call(Response response) { private ServiceResponse runTriggeredWebJobDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -42783,9 +44501,9 @@ public Observable>> call(ServiceRespons * Gets the quota usage information of an app (or deployment slot, if specified). * Gets the quota usage information of an app (or deployment slot, if specified). * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Name of the app. - ServiceResponse> * @param filter Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of the app. + ServiceResponse> * @param filter Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<CsmUsageQuotaInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -42818,9 +44536,9 @@ public Observable>> call(Response> listUsagesDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -42908,9 +44626,9 @@ public Observable>> call(Response> listVnetConnectionsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -43005,9 +44723,9 @@ public Observable> call(Response re private ServiceResponse getVnetConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -43110,9 +44828,9 @@ public Observable> call(Response re private ServiceResponse createOrUpdateVnetConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -43206,10 +44924,10 @@ public Observable> call(Response response) { private ServiceResponse deleteVnetConnectionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -43312,9 +45030,9 @@ public Observable> call(Response re private ServiceResponse updateVnetConnectionDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -43416,10 +45134,10 @@ public Observable> call(Response private ServiceResponse getVnetConnectionGatewayDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -43529,9 +45247,9 @@ public Observable> call(Response private ServiceResponse createOrUpdateVnetConnectionGatewayDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -43641,9 +45359,9 @@ public Observable> call(Response private ServiceResponse updateVnetConnectionGatewayDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -43735,8 +45453,8 @@ public Observable>> call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param name Site name. + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<WebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -43769,9 +45487,9 @@ public Observable>> call(Response> listWebJobsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -43866,9 +45584,9 @@ public Observable> call(Response resp private ServiceResponse getWebJobDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -43957,7 +45675,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -43982,9 +45700,9 @@ public Observable>> call(Response private ServiceResponse> listNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -44073,7 +45791,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -44098,9 +45816,9 @@ public Observable>> call(Response private ServiceResponse> listByResourceGroupNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -44189,7 +45907,7 @@ public Observable>> call(ServiceResponse

> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<BackupItemInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -44214,9 +45932,9 @@ public Observable>> call(Response> listBackupsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -44305,7 +46023,7 @@ public Observable>> call(ServiceRe * List the configurations of an app. * List the configurations of an app. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteConfigResourceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -44330,9 +46048,9 @@ public Observable>> call(Response< private ServiceResponse> listConfigurationsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -44421,7 +46139,7 @@ public Observable>> cal * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteConfigurationSnapshotInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -44446,9 +46164,9 @@ public Observable>> cal private ServiceResponse> listConfigurationSnapshotInfoNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -44537,7 +46255,7 @@ public Observable>> call(ServiceResp * List continuous web jobs for an app, or a deployment slot. * List continuous web jobs for an app, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ContinuousWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -44562,9 +46280,9 @@ public Observable>> call(Response> listContinuousWebJobsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -44653,7 +46371,7 @@ public Observable>> call(ServiceResponse

> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<DeploymentInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -44678,9 +46396,9 @@ public Observable>> call(Response> listDeploymentsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -44769,7 +46487,7 @@ public Observable>> call(ServiceResponse

> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<IdentifierInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -44794,9 +46512,9 @@ public Observable>> call(Response> listDomainOwnershipIdentifiersNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -44885,7 +46603,7 @@ public Observable>> call(ServiceResp * List the functions for a web site, or a deployment slot. * List the functions for a web site, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<FunctionEnvelopeInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -44910,10 +46628,10 @@ public Observable>> call(Response> listFunctionsNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -45002,7 +46720,7 @@ public Observable>> call(ServiceRespo * Get hostname bindings for an app or a deployment slot. * Get hostname bindings for an app or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<HostNameBindingInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45027,9 +46745,9 @@ public Observable>> call(Response> listHostNameBindingsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -45118,7 +46836,7 @@ public Observable>> call(ServiceResponse * Gets all scale-out instances of an app. * Gets all scale-out instances of an app. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInstanceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45143,9 +46861,9 @@ public Observable>> call(Response> listInstanceIdentifiersNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -45234,7 +46952,7 @@ public Observable>> call(ServiceResponse< * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45259,10 +46977,10 @@ public Observable>> call(Response> listInstanceProcessesNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -45351,7 +47069,7 @@ public Observable>> call(ServiceRes * List module information for a process by its ID for a specific scaled-out instance in a web site. * List module information for a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45376,10 +47094,10 @@ public Observable>> call(Response> listInstanceProcessModulesNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -45468,7 +47186,7 @@ public Observable>> call(ServiceRes * List the threads in a process by its ID for a specific scaled-out instance in a web site. * List the threads in a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45493,10 +47211,10 @@ public Observable>> call(Response> listInstanceProcessThreadsNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -45585,7 +47303,7 @@ public Observable>> call(Ser * Gets all metric definitions of an app (or deployment slot, if specified). * Gets all metric definitions of an app (or deployment slot, if specified). * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ResourceMetricDefinitionInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45610,9 +47328,9 @@ public Observable>> call(Res private ServiceResponse> listMetricDefinitionsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -45701,7 +47419,7 @@ public Observable>> call(ServiceRespon * Gets performance metrics of an app (or deployment slot, if specified). * Gets performance metrics of an app (or deployment slot, if specified). * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ResourceMetricInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45726,9 +47444,9 @@ public Observable>> call(Response> listMetricsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -45817,7 +47535,7 @@ public Observable>> call(ServiceRespo * Gets perfmon counters for web app. * Gets perfmon counters for web app. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<PerfMonResponseInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45842,9 +47560,9 @@ public Observable>> call(Response> listPerfMonCountersNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -45933,7 +47651,7 @@ public Observable>> call(ServiceResponse< * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -45958,10 +47676,10 @@ public Observable>> call(Response> listProcessesNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -46050,7 +47768,7 @@ public Observable>> call(ServiceRes * List module information for a process by its ID for a specific scaled-out instance in a web site. * List module information for a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -46075,10 +47793,10 @@ public Observable>> call(Response> listProcessModulesNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -46167,7 +47885,7 @@ public Observable>> call(ServiceRes * List the threads in a process by its ID for a specific scaled-out instance in a web site. * List the threads in a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -46192,10 +47910,10 @@ public Observable>> call(Response> listProcessThreadsNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -46284,7 +48002,7 @@ public Observable>> call(ServiceRes * Get public certificates for an app or a deployment slot. * Get public certificates for an app or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<PublicCertificateInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -46309,9 +48027,9 @@ public Observable>> call(Response> listPublicCertificatesNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -46400,7 +48118,7 @@ public Observable>> call(ServiceRes * Get list of siteextensions for a web site, or a deployment slot. * Get list of siteextensions for a web site, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteExtensionInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -46425,10 +48143,10 @@ public Observable>> call(Response> listSiteExtensionsNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -46517,7 +48235,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -46542,9 +48260,9 @@ public Observable>> call(Response private ServiceResponse> listSlotsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -46633,7 +48351,7 @@ public Observable>> call(ServiceResponse

> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<BackupItemInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -46658,9 +48376,9 @@ public Observable>> call(Response> listBackupsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -46749,7 +48467,7 @@ public Observable>> call(ServiceRe * List the configurations of an app. * List the configurations of an app. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteConfigResourceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -46774,9 +48492,9 @@ public Observable>> call(Response< private ServiceResponse> listConfigurationsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -46865,7 +48583,7 @@ public Observable>> cal * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. * Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteConfigurationSnapshotInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -46890,9 +48608,9 @@ public Observable>> cal private ServiceResponse> listConfigurationSnapshotInfoSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -46981,7 +48699,7 @@ public Observable>> call(ServiceResp * List continuous web jobs for an app, or a deployment slot. * List continuous web jobs for an app, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ContinuousWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47006,9 +48724,9 @@ public Observable>> call(Response> listContinuousWebJobsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -47097,7 +48815,7 @@ public Observable>> call(ServiceResponse

> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<DeploymentInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47122,9 +48840,9 @@ public Observable>> call(Response> listDeploymentsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -47213,7 +48931,7 @@ public Observable>> call(ServiceResponse

> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<IdentifierInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47238,9 +48956,9 @@ public Observable>> call(Response> listDomainOwnershipIdentifiersSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -47329,7 +49047,7 @@ public Observable>> call(ServiceResp * List the functions for a web site, or a deployment slot. * List the functions for a web site, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<FunctionEnvelopeInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47354,10 +49072,10 @@ public Observable>> call(Response> listInstanceFunctionsSlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -47446,7 +49164,7 @@ public Observable>> call(ServiceRespo * Get hostname bindings for an app or a deployment slot. * Get hostname bindings for an app or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<HostNameBindingInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47471,9 +49189,9 @@ public Observable>> call(Response> listHostNameBindingsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -47562,7 +49280,7 @@ public Observable>> call(ServiceResponse * Gets all scale-out instances of an app. * Gets all scale-out instances of an app. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteInstanceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47587,9 +49305,9 @@ public Observable>> call(Response> listInstanceIdentifiersSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -47678,7 +49396,7 @@ public Observable>> call(ServiceResponse< * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47703,10 +49421,10 @@ public Observable>> call(Response> listInstanceProcessesSlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -47795,7 +49513,7 @@ public Observable>> call(ServiceRes * List module information for a process by its ID for a specific scaled-out instance in a web site. * List module information for a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47820,10 +49538,10 @@ public Observable>> call(Response> listInstanceProcessModulesSlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -47912,7 +49630,7 @@ public Observable>> call(ServiceRes * List the threads in a process by its ID for a specific scaled-out instance in a web site. * List the threads in a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -47937,10 +49655,10 @@ public Observable>> call(Response> listInstanceProcessThreadsSlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -48029,7 +49747,7 @@ public Observable>> call(Ser * Gets all metric definitions of an app (or deployment slot, if specified). * Gets all metric definitions of an app (or deployment slot, if specified). * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ResourceMetricDefinitionInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48054,9 +49772,9 @@ public Observable>> call(Res private ServiceResponse> listMetricDefinitionsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -48145,7 +49863,7 @@ public Observable>> call(ServiceRespon * Gets performance metrics of an app (or deployment slot, if specified). * Gets performance metrics of an app (or deployment slot, if specified). * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ResourceMetricInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48170,9 +49888,9 @@ public Observable>> call(Response> listMetricsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -48261,7 +49979,7 @@ public Observable>> call(ServiceRespo * Gets perfmon counters for web app. * Gets perfmon counters for web app. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<PerfMonResponseInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48286,9 +50004,9 @@ public Observable>> call(Response> listPerfMonCountersSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -48377,7 +50095,7 @@ public Observable>> call(ServiceResponse< * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48402,10 +50120,10 @@ public Observable>> call(Response> listProcessesSlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -48494,7 +50212,7 @@ public Observable>> call(ServiceRes * List module information for a process by its ID for a specific scaled-out instance in a web site. * List module information for a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48519,10 +50237,10 @@ public Observable>> call(Response> listProcessModulesSlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -48611,7 +50329,7 @@ public Observable>> call(ServiceRes * List the threads in a process by its ID for a specific scaled-out instance in a web site. * List the threads in a process by its ID for a specific scaled-out instance in a web site. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48636,10 +50354,10 @@ public Observable>> call(Response> listProcessThreadsSlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -48728,7 +50446,7 @@ public Observable>> call(ServiceRes * Get public certificates for an app or a deployment slot. * Get public certificates for an app or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<PublicCertificateInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48753,9 +50471,9 @@ public Observable>> call(Response> listPublicCertificatesSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -48844,7 +50562,7 @@ public Observable>> call(ServiceRes * Get list of siteextensions for a web site, or a deployment slot. * Get list of siteextensions for a web site, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SiteExtensionInfoInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48869,10 +50587,10 @@ public Observable>> call(Response> listSiteExtensionsSlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -48961,7 +50679,7 @@ public Observable>> call(ServiceRespon * Get the difference in configuration settings between two web app slots. * Get the difference in configuration settings between two web app slots. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SlotDifferenceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -48986,9 +50704,9 @@ public Observable>> call(Response> listSlotDifferencesSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -49077,7 +50795,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SnapshotInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -49102,9 +50820,9 @@ public Observable>> call(Response> listSnapshotsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -49193,7 +50911,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SnapshotInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -49218,9 +50936,9 @@ public Observable>> call(Response> listSnapshotsFromDRSecondarySlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -49309,7 +51027,7 @@ public Observable>> call(ServiceRespo * List triggered web jobs for an app, or a deployment slot. * List triggered web jobs for an app, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TriggeredWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -49334,9 +51052,9 @@ public Observable>> call(Response> listTriggeredWebJobsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -49425,7 +51143,7 @@ public Observable>> call(ServiceR * List a triggered web job's history for an app, or a deployment slot. * List a triggered web job's history for an app, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TriggeredJobHistoryInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -49450,10 +51168,10 @@ public Observable>> call(Response private ServiceResponse> listTriggeredWebJobHistorySlotNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -49542,7 +51260,7 @@ public Observable>> call(ServiceRespons * Gets the quota usage information of an app (or deployment slot, if specified). * Gets the quota usage information of an app (or deployment slot, if specified). * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<CsmUsageQuotaInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -49567,9 +51285,9 @@ public Observable>> call(Response> listUsagesSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -49658,7 +51376,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<WebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -49683,9 +51401,9 @@ public Observable>> call(Response> listWebJobsSlotNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -49774,7 +51492,7 @@ public Observable>> call(ServiceRespon * Get the difference in configuration settings between two web app slots. * Get the difference in configuration settings between two web app slots. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SlotDifferenceInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -49799,9 +51517,9 @@ public Observable>> call(Response> listSlotDifferencesFromProductionNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -49890,7 +51608,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SnapshotInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -49915,9 +51633,9 @@ public Observable>> call(Response> listSnapshotsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -50006,7 +51724,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<SnapshotInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -50031,9 +51749,9 @@ public Observable>> call(Response> listSnapshotsFromDRSecondaryNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -50122,7 +51840,7 @@ public Observable>> call(ServiceRespo * List triggered web jobs for an app, or a deployment slot. * List triggered web jobs for an app, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TriggeredWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -50147,9 +51865,9 @@ public Observable>> call(Response> listTriggeredWebJobsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -50238,7 +51956,7 @@ public Observable>> call(ServiceR * List a triggered web job's history for an app, or a deployment slot. * List a triggered web job's history for an app, or a deployment slot. * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<TriggeredJobHistoryInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -50263,10 +51981,10 @@ public Observable>> call(Response private ServiceResponse> listTriggeredWebJobHistoryNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .register(404, new TypeToken() { }.getType()) - .registerError(CloudException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); } /** @@ -50355,7 +52073,7 @@ public Observable>> call(ServiceRespons * Gets the quota usage information of an app (or deployment slot, if specified). * Gets the quota usage information of an app (or deployment slot, if specified). * - ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<CsmUsageQuotaInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -50380,9 +52098,9 @@ public Observable>> call(Response> listUsagesNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } /** @@ -50471,7 +52189,7 @@ public Observable>> call(ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<WebJobInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -50496,9 +52214,9 @@ public Observable>> call(Response> listWebJobsNextDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) - .registerError(DefaultErrorResponseException.class) - .build(response); + .register(200, new TypeToken>() { }.getType()) + .registerError(DefaultErrorResponseException.class) + .build(response); } } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobImpl.java index 041f2fe11a998..c6bfb2ba296a5 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobImpl.java @@ -15,13 +15,13 @@ import com.microsoft.azure.management.appservice.v2018_02_01.WebJobType; class WebJobImpl extends IndexableRefreshableWrapperImpl implements WebJob { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String webJobName; private String slot; - WebJobImpl(WebJobInner inner, AppServiceManager manager) { + WebJobImpl(WebJobInner inner, CertificateRegistrationManager manager) { super(null, inner); this.manager = manager; // set resource ancestor and positional variables @@ -32,7 +32,7 @@ class WebJobImpl extends IndexableRefreshableWrapperImpl im } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolsImpl.java b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolsImpl.java index 1c1dcc5ad4d7b..200f51d31fbd8 100644 --- a/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolsImpl.java +++ b/sdk/appservice/mgmt-v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolsImpl.java @@ -16,12 +16,12 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SkuDescription; class WorkerPoolsImpl extends CreatableUpdatableImpl implements WorkerPools, WorkerPools.Definition, WorkerPools.Update { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String workerPoolName; - WorkerPoolsImpl(String name, AppServiceManager manager) { + WorkerPoolsImpl(String name, CertificateRegistrationManager manager) { super(name, new WorkerPoolResourceInner()); this.manager = manager; // Set resource name @@ -29,7 +29,7 @@ class WorkerPoolsImpl extends CreatableUpdatableImpl