From c6276a53d7b135979cee0278cb0708dcf4f1d436 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 11 Jul 2018 12:38:47 -0700 Subject: [PATCH 01/22] Generated from 227d2d874f99479056028e324aaa0565849da16f (#2208) Add directive to web apps for Java code gen --- .../resource-manager/v2016_03_01/pom.xml | 266 +++++++++--------- .../v2016_03_01/AbnormalTimePeriod.java | 16 +- .../appservice/v2016_03_01/AnalysisData.java | 20 +- .../v2016_03_01/AnalysisDefinition.java | 4 +- .../v2016_03_01/ApiDefinitionInfo.java | 4 +- .../v2016_03_01/AppServiceEnvironment.java | 114 ++++---- .../v2016_03_01/AppServicePlan.java | 60 ++-- .../v2016_03_01/AppServicePlanCollection.java | 8 +- .../v2016_03_01/ApplicationStack.java | 4 +- .../v2016_03_01/AutoHealActions.java | 14 +- .../v2016_03_01/AutoHealCustomAction.java | 8 +- .../appservice/v2016_03_01/AutoHealRules.java | 8 +- .../v2016_03_01/AutoHealTriggers.java | 16 +- .../appservice/v2016_03_01/BillingMeter.java | 4 +- .../appservice/v2016_03_01/Capability.java | 12 +- .../appservice/v2016_03_01/Certificate.java | 6 +- .../v2016_03_01/CertificatePatchResource.java | 52 ++-- .../appservice/v2016_03_01/CloningInfo.java | 54 ++-- .../v2016_03_01/ConnStringInfo.java | 12 +- .../appservice/v2016_03_01/CorsSettings.java | 6 +- .../v2016_03_01/CsmOperationDescription.java | 4 +- .../appservice/v2016_03_01/CsmUsageQuota.java | 20 +- .../v2016_03_01/CsmUsageQuotaCollection.java | 6 +- .../appservice/v2016_03_01/DataSource.java | 8 +- .../v2016_03_01/DataTableResponseColumn.java | 12 +- .../v2016_03_01/DataTableResponseObject.java | 12 +- .../v2016_03_01/DefaultErrorResponse.java | 2 +- .../DefaultErrorResponseError.java | 8 +- .../DefaultErrorResponseErrorDetailsItem.java | 6 +- .../appservice/v2016_03_01/DeletedSite.java | 4 +- .../DetectorAbnormalTimePeriod.java | 32 +-- .../v2016_03_01/DetectorDefinition.java | 4 +- .../appservice/v2016_03_01/DetectorInfo.java | 8 +- .../v2016_03_01/DetectorResponse.java | 4 +- .../v2016_03_01/DiagnosticAnalysis.java | 4 +- .../v2016_03_01/DiagnosticCategory.java | 4 +- .../v2016_03_01/DiagnosticData.java | 8 +- .../DiagnosticDetectorResponse.java | 4 +- .../v2016_03_01/DiagnosticMetricSample.java | 30 +- .../v2016_03_01/DiagnosticMetricSet.java | 24 +- .../appservice/v2016_03_01/ErrorEntity.java | 24 +- .../appservice/v2016_03_01/Experiments.java | 4 +- .../v2016_03_01/GlobalCsmSkuDescription.java | 28 +- .../v2016_03_01/HandlerMapping.java | 12 +- .../v2016_03_01/HostNameSslState.java | 24 +- .../HostingEnvironmentDeploymentInfo.java | 8 +- .../HostingEnvironmentProfile.java | 8 +- .../v2016_03_01/HybridConnection.java | 34 +-- .../v2016_03_01/HybridConnectionKey.java | 4 +- .../v2016_03_01/IpSecurityRestriction.java | 8 +- .../v2016_03_01/LocalizableString.java | 8 +- .../v2016_03_01/ManagedServiceIdentity.java | 8 +- .../v2016_03_01/NameIdentifier.java | 4 +- .../appservice/v2016_03_01/NameValuePair.java | 8 +- .../NetworkAccessControlEntry.java | 16 +- .../appservice/v2016_03_01/Operation.java | 32 +-- .../v2016_03_01/ProxyOnlyResource.java | 4 +- .../appservice/v2016_03_01/PushSettings.java | 22 +- .../appservice/v2016_03_01/RampUpRule.java | 38 +-- .../v2016_03_01/Recommendation.java | 4 +- .../v2016_03_01/RecommendationRule.java | 4 +- .../appservice/v2016_03_01/Rendering.java | 12 +- .../v2016_03_01/RequestsBasedTrigger.java | 8 +- .../v2016_03_01/ResourceHealthMetadata.java | 4 +- .../v2016_03_01/ResourceMetric.java | 18 +- .../ResourceMetricAvailability.java | 4 +- .../v2016_03_01/ResourceMetricCollection.java | 6 +- .../v2016_03_01/ResourceMetricDefinition.java | 14 +- .../ResourceMetricDefinitionCollection.java | 6 +- .../v2016_03_01/ResourceMetricName.java | 4 +- .../v2016_03_01/ResourceMetricProperty.java | 8 +- .../v2016_03_01/ResourceMetricValue.java | 14 +- .../ResourceNameAvailabilityRequest.java | 12 +- .../v2016_03_01/ResponseMetaData.java | 4 +- .../appservice/v2016_03_01/Site.java | 104 +++---- .../appservice/v2016_03_01/SiteConfig.java | 178 ++++++------ .../appservice/v2016_03_01/SiteLimits.java | 12 +- .../v2016_03_01/SiteMachineKey.java | 16 +- .../appservice/v2016_03_01/SkuCapacity.java | 16 +- .../v2016_03_01/SkuDescription.java | 32 +-- .../v2016_03_01/SlotSwapStatus.java | 6 +- .../v2016_03_01/SlowRequestsBasedTrigger.java | 12 +- .../v2016_03_01/SnapshotRecoveryRequest.java | 22 +- .../v2016_03_01/SnapshotRecoveryTarget.java | 12 +- .../appservice/v2016_03_01/Solution.java | 28 +- .../v2016_03_01/StackMajorVersion.java | 16 +- .../v2016_03_01/StackMinorVersion.java | 12 +- .../appservice/v2016_03_01/StampCapacity.java | 48 ++-- .../v2016_03_01/StatusCodesBasedTrigger.java | 20 +- .../v2016_03_01/ValidateRequest.java | 36 +-- .../v2016_03_01/ValidateResponseError.java | 8 +- .../v2016_03_01/VirtualApplication.java | 16 +- .../v2016_03_01/VirtualDirectory.java | 8 +- .../v2016_03_01/VirtualIPMapping.java | 16 +- .../v2016_03_01/VirtualNetworkProfile.java | 12 +- .../appservice/v2016_03_01/VnetGateway.java | 8 +- .../appservice/v2016_03_01/VnetInfo.java | 20 +- .../v2016_03_01/VnetParameters.java | 12 +- .../appservice/v2016_03_01/VnetRoute.java | 24 +- .../VnetValidationTestFailure.java | 8 +- .../v2016_03_01/WebAppCollection.java | 6 +- .../appservice/v2016_03_01/WorkerPool.java | 18 +- .../AnalysisDefinitionImpl.java | 6 +- .../AnalysisDefinitionInner.java | 2 +- .../implementation/ApplicationStackImpl.java | 6 +- .../implementation/ApplicationStackInner.java | 20 +- .../implementation/BillingMeterImpl.java | 6 +- .../implementation/BillingMeterInner.java | 20 +- .../implementation/BillingMetersImpl.java | 6 +- .../implementation/CertificateImpl.java | 4 +- .../implementation/CertificateInner.java | 56 ++-- .../implementation/CertificatesImpl.java | 4 +- .../CsmOperationDescriptionImpl.java | 6 +- .../implementation/DeletedSiteImpl.java | 6 +- .../implementation/DeletedSiteInner.java | 14 +- .../implementation/DeletedWebAppsImpl.java | 9 +- .../DeploymentLocationsInner.java | 12 +- .../DetectorDefinitionImpl.java | 6 +- .../DetectorDefinitionInner.java | 8 +- .../implementation/DetectorResponseImpl.java | 6 +- .../implementation/DetectorResponseInner.java | 8 +- .../DiagnosticAnalysisImpl.java | 6 +- .../DiagnosticAnalysisInner.java | 20 +- .../DiagnosticCategoryImpl.java | 6 +- .../DiagnosticCategoryInner.java | 2 +- .../DiagnosticDetectorResponseImpl.java | 6 +- .../DiagnosticDetectorResponseInner.java | 32 +-- .../implementation/DiagnosticsImpl.java | 30 +- .../implementation/GeoRegionInner.java | 6 +- .../implementation/IdentifierInner.java | 4 +- .../PremierAddOnOfferInner.java | 44 +-- .../implementation/ProvidersImpl.java | 15 +- .../implementation/RecommendationImpl.java | 6 +- .../implementation/RecommendationInner.java | 84 +++--- .../RecommendationRuleImpl.java | 6 +- .../RecommendationRuleInner.java | 54 ++-- .../implementation/RecommendationsImpl.java | 12 +- .../ResourceHealthMetadataImpl.java | 6 +- .../ResourceHealthMetadataInner.java | 8 +- .../ResourceHealthMetadatasImpl.java | 18 +- .../ResourceNameAvailabilityInner.java | 12 +- .../implementation/SkuInfosInner.java | 8 +- .../implementation/SourceControlInner.java | 20 +- .../v2016_03_01/implementation/UserInner.java | 20 +- .../implementation/ValidateResponseInner.java | 8 +- .../VnetValidationFailureDetailsInner.java | 8 +- .../implementation/WebManager.java | 171 +++++++++++ .../resource-manager/v2016_08_01/pom.xml | 266 +++++++++--------- .../v2016_08_01/ApiDefinitionInfo.java | 4 +- .../v2016_08_01/AppServicePlan.java | 60 ++-- .../v2016_08_01/ApplicationLogsConfig.java | 12 +- .../v2016_08_01/AutoHealActions.java | 14 +- .../v2016_08_01/AutoHealCustomAction.java | 8 +- .../appservice/v2016_08_01/AutoHealRules.java | 8 +- .../v2016_08_01/AutoHealTriggers.java | 16 +- ...AzureBlobStorageApplicationLogsConfig.java | 16 +- .../AzureBlobStorageHttpLogsConfig.java | 16 +- ...zureTableStorageApplicationLogsConfig.java | 8 +- .../appservice/v2016_08_01/BackupItem.java | 4 +- .../appservice/v2016_08_01/BackupRequest.java | 4 +- .../v2016_08_01/BackupSchedule.java | 22 +- .../appservice/v2016_08_01/Capability.java | 12 +- .../appservice/v2016_08_01/CloningInfo.java | 54 ++-- .../v2016_08_01/ConnStringInfo.java | 12 +- .../v2016_08_01/ConnStringValueTypePair.java | 8 +- .../ConnectionStringDictionary.java | 4 +- .../v2016_08_01/ContinuousWebJob.java | 4 +- .../appservice/v2016_08_01/CorsSettings.java | 6 +- .../CsmPublishingProfileOptions.java | 10 +- .../appservice/v2016_08_01/CsmSlotEntity.java | 8 +- .../appservice/v2016_08_01/CsmUsageQuota.java | 4 +- .../CustomHostnameAnalysisResult.java | 4 +- .../v2016_08_01/DatabaseBackupSetting.java | 14 +- .../appservice/v2016_08_01/Deployment.java | 4 +- .../appservice/v2016_08_01/EnabledConfig.java | 4 +- .../appservice/v2016_08_01/ErrorEntity.java | 24 +- .../appservice/v2016_08_01/Experiments.java | 4 +- .../FileSystemApplicationLogsConfig.java | 4 +- .../v2016_08_01/FileSystemHttpLogsConfig.java | 20 +- .../v2016_08_01/FunctionEnvelope.java | 4 +- .../v2016_08_01/FunctionSecrets.java | 4 +- .../v2016_08_01/HandlerMapping.java | 12 +- .../v2016_08_01/HostNameBinding.java | 4 +- .../v2016_08_01/HostNameSslState.java | 24 +- .../HostingEnvironmentProfile.java | 8 +- .../v2016_08_01/HttpLogsConfig.java | 8 +- .../v2016_08_01/HybridConnection.java | 4 +- .../v2016_08_01/HybridConnectionKey.java | 4 +- .../appservice/v2016_08_01/Identifier.java | 4 +- .../v2016_08_01/IpSecurityRestriction.java | 8 +- .../v2016_08_01/LocalizableString.java | 8 +- .../appservice/v2016_08_01/MSDeploy.java | 64 ++++- .../appservice/v2016_08_01/MSDeployCore.java | 215 ++++++++++++++ .../appservice/v2016_08_01/MSDeployLog.java | 4 +- .../v2016_08_01/MSDeployLogEntry.java | 6 +- .../v2016_08_01/MSDeployStatus.java | 4 +- .../v2016_08_01/ManagedServiceIdentity.java | 8 +- .../v2016_08_01/MigrateMySqlRequest.java | 8 +- .../v2016_08_01/MigrateMySqlStatus.java | 4 +- .../appservice/v2016_08_01/NameValuePair.java | 8 +- .../v2016_08_01/NetworkFeatures.java | 4 +- .../appservice/v2016_08_01/Operation.java | 4 +- .../v2016_08_01/PerfMonResponse.java | 4 +- .../appservice/v2016_08_01/PerfMonSample.java | 16 +- .../appservice/v2016_08_01/PerfMonSet.java | 20 +- .../appservice/v2016_08_01/PremierAddOn.java | 4 +- .../appservice/v2016_08_01/ProcessInfo.java | 4 +- .../v2016_08_01/ProcessModuleInfo.java | 4 +- .../v2016_08_01/ProcessThreadInfo.java | 4 +- .../v2016_08_01/ProxyOnlyResource.java | 4 +- .../v2016_08_01/PublicCertificate.java | 4 +- .../appservice/v2016_08_01/PushSettings.java | 4 +- .../appservice/v2016_08_01/RampUpRule.java | 38 +-- .../RelayServiceConnectionEntity.java | 4 +- .../v2016_08_01/RequestsBasedTrigger.java | 8 +- .../v2016_08_01/ResourceMetric.java | 4 +- .../ResourceMetricAvailability.java | 4 +- .../v2016_08_01/ResourceMetricDefinition.java | 4 +- .../v2016_08_01/ResourceMetricName.java | 4 +- .../v2016_08_01/ResourceMetricProperty.java | 8 +- .../v2016_08_01/ResourceMetricValue.java | 14 +- .../v2016_08_01/RestoreRequest.java | 4 +- .../v2016_08_01/RestoreResponse.java | 4 +- .../v2016_08_01/SiteAuthSettings.java | 4 +- .../v2016_08_01/SiteCloneability.java | 4 +- .../SiteCloneabilityCriterion.java | 8 +- .../appservice/v2016_08_01/SiteConfig.java | 178 ++++++------ .../v2016_08_01/SiteConfigResource.java | 4 +- .../SiteConfigurationSnapshotInfo.java | 4 +- .../v2016_08_01/SiteExtensionInfo.java | 4 +- .../appservice/v2016_08_01/SiteInstance.java | 4 +- .../appservice/v2016_08_01/SiteLimits.java | 12 +- .../v2016_08_01/SiteLogsConfig.java | 4 +- .../v2016_08_01/SiteMachineKey.java | 16 +- .../v2016_08_01/SitePatchResource.java | 100 +++---- .../v2016_08_01/SitePhpErrorLogFlag.java | 4 +- .../v2016_08_01/SiteSourceControl.java | 4 +- .../appservice/v2016_08_01/Sites.java | 6 +- .../appservice/v2016_08_01/SkuCapacity.java | 16 +- .../v2016_08_01/SkuDescription.java | 32 +-- .../v2016_08_01/SlotConfigNamesResource.java | 4 +- .../v2016_08_01/SlotDifference.java | 4 +- .../v2016_08_01/SlotSwapStatus.java | 6 +- .../appservice/v2016_08_01/Slots.java | 4 +- .../v2016_08_01/SlowRequestsBasedTrigger.java | 12 +- .../appservice/v2016_08_01/Snapshot.java | 4 +- .../v2016_08_01/SnapshotRecoveryRequest.java | 22 +- .../v2016_08_01/SnapshotRecoveryTarget.java | 12 +- .../v2016_08_01/StatusCodesBasedTrigger.java | 20 +- .../v2016_08_01/StorageMigrationOptions.java | 16 +- .../v2016_08_01/StorageMigrationResponse.java | 4 +- .../v2016_08_01/StringDictionary.java | 4 +- .../v2016_08_01/TriggeredJobHistory.java | 4 +- .../v2016_08_01/TriggeredJobRun.java | 42 +-- .../v2016_08_01/TriggeredWebJob.java | 4 +- .../appservice/v2016_08_01/User.java | 4 +- .../v2016_08_01/VirtualApplication.java | 16 +- .../v2016_08_01/VirtualDirectory.java | 8 +- .../appservice/v2016_08_01/VnetGateway.java | 4 +- .../appservice/v2016_08_01/VnetInfo.java | 4 +- .../appservice/v2016_08_01/VnetRoute.java | 24 +- .../appservice/v2016_08_01/WebApps.java | 60 ++++ .../appservice/v2016_08_01/WebJob.java | 4 +- .../implementation/BackupItemImpl.java | 6 +- .../implementation/BackupItemInner.java | 28 +- .../implementation/BackupRequestImpl.java | 6 +- .../implementation/BackupRequestInner.java | 24 +- .../ConnectionStringDictionaryImpl.java | 6 +- .../ConnectionStringDictionaryInner.java | 4 +- .../implementation/ContinuousWebJobImpl.java | 6 +- .../implementation/ContinuousWebJobInner.java | 42 +-- .../implementation/CsmUsageQuotaImpl.java | 6 +- .../implementation/CsmUsageQuotaInner.java | 20 +- .../CustomHostnameAnalysisResultImpl.java | 6 +- .../CustomHostnameAnalysisResultInner.java | 32 +-- .../implementation/DeploymentImpl.java | 8 +- .../implementation/DeploymentInner.java | 40 +-- .../implementation/FunctionEnvelopeImpl.java | 8 +- .../implementation/FunctionEnvelopeInner.java | 36 +-- .../implementation/FunctionSecretsImpl.java | 6 +- .../implementation/FunctionSecretsInner.java | 8 +- .../implementation/HostNameBindingImpl.java | 8 +- .../implementation/HostNameBindingInner.java | 34 +-- .../implementation/HybridConnectionImpl.java | 8 +- .../implementation/HybridConnectionInner.java | 34 +-- .../HybridConnectionKeyImpl.java | 6 +- .../HybridConnectionKeyInner.java | 4 +- .../implementation/IdentifierImpl.java | 8 +- .../implementation/IdentifierInner.java | 4 +- .../implementation/MSDeployLogImpl.java | 6 +- .../implementation/MSDeployLogInner.java | 2 +- .../implementation/MSDeployStatusImpl.java | 6 +- .../implementation/MSDeployStatusInner.java | 10 +- .../MigrateMySqlStatusImpl.java | 6 +- .../MigrateMySqlStatusInner.java | 6 +- .../implementation/NetworkFeaturesImpl.java | 6 +- .../implementation/NetworkFeaturesInner.java | 8 +- .../implementation/OperationImpl.java | 6 +- .../implementation/OperationInner.java | 32 +-- .../implementation/PerfMonResponseImpl.java | 6 +- .../implementation/PerfMonResponseInner.java | 12 +- .../implementation/PremierAddOnImpl.java | 8 +- .../implementation/PremierAddOnInner.java | 36 +-- .../implementation/ProcessInfoImpl.java | 6 +- .../implementation/ProcessInfoInner.java | 144 +++++----- .../implementation/ProcessModuleInfoImpl.java | 6 +- .../ProcessModuleInfoInner.java | 44 +-- .../implementation/ProcessThreadInfoImpl.java | 6 +- .../ProcessThreadInfoInner.java | 52 ++-- .../implementation/PublicCertificateImpl.java | 8 +- .../PublicCertificateInner.java | 10 +- .../implementation/PushSettingsImpl.java | 6 +- .../implementation/PushSettingsInner.java | 22 +- .../RelayServiceConnectionEntityImpl.java | 6 +- .../ResourceMetricDefinitionImpl.java | 6 +- .../ResourceMetricDefinitionInner.java | 14 +- .../implementation/ResourceMetricImpl.java | 6 +- .../implementation/ResourceMetricInner.java | 18 +- .../implementation/RestoreRequestImpl.java | 6 +- .../implementation/RestoreRequestInner.java | 46 +-- .../implementation/RestoreResponseImpl.java | 6 +- .../implementation/RestoreResponseInner.java | 2 +- .../implementation/SiteAuthSettingsImpl.java | 6 +- .../implementation/SiteAuthSettingsInner.java | 174 +++++++++--- .../implementation/SiteCloneabilityImpl.java | 6 +- .../implementation/SiteCloneabilityInner.java | 18 +- .../SiteConfigResourceImpl.java | 6 +- .../SiteConfigResourceInner.java | 178 ++++++------ .../SiteConfigurationSnapshotInfoImpl.java | 6 +- .../SiteConfigurationSnapshotInfoInner.java | 4 +- .../implementation/SiteExtensionInfoImpl.java | 8 +- .../SiteExtensionInfoInner.java | 80 +++--- .../v2016_08_01/implementation/SiteInner.java | 104 +++---- .../implementation/SiteInstanceImpl.java | 6 +- .../implementation/SiteInstanceInner.java | 2 +- .../implementation/SiteLogsConfigImpl.java | 6 +- .../implementation/SiteLogsConfigInner.java | 16 +- .../SitePhpErrorLogFlagImpl.java | 6 +- .../SitePhpErrorLogFlagInner.java | 16 +- .../implementation/SiteSourceControlImpl.java | 6 +- .../SiteSourceControlInner.java | 20 +- .../v2016_08_01/implementation/SitesImpl.java | 4 +- .../SlotConfigNamesResourceImpl.java | 6 +- .../SlotConfigNamesResourceInner.java | 8 +- .../implementation/SlotDifferenceImpl.java | 6 +- .../implementation/SlotDifferenceInner.java | 14 +- .../v2016_08_01/implementation/SlotsImpl.java | 8 +- .../implementation/SnapshotImpl.java | 6 +- .../implementation/SnapshotInner.java | 2 +- .../StorageMigrationResponseImpl.java | 6 +- .../StorageMigrationResponseInner.java | 2 +- .../implementation/StringDictionaryImpl.java | 6 +- .../implementation/StringDictionaryInner.java | 4 +- .../TriggeredJobHistoryImpl.java | 6 +- .../TriggeredJobHistoryInner.java | 4 +- .../implementation/TriggeredWebJobImpl.java | 6 +- .../implementation/TriggeredWebJobInner.java | 42 +-- .../v2016_08_01/implementation/UserImpl.java | 6 +- .../v2016_08_01/implementation/UserInner.java | 20 +- .../implementation/VnetGatewayImpl.java | 8 +- .../implementation/VnetGatewayInner.java | 8 +- .../implementation/VnetInfoImpl.java | 8 +- .../implementation/VnetInfoInner.java | 20 +- .../implementation/WebAppsImpl.java | 112 +++++--- .../implementation/WebJobImpl.java | 6 +- .../implementation/WebJobInner.java | 30 +- .../implementation/WebManager.java | 99 +++++++ .../resource-manager/v2016_09_01/pom.xml | 266 +++++++++--------- .../v2016_09_01/AddressResponse.java | 4 +- .../v2016_09_01/ApiDefinitionInfo.java | 4 +- .../AppServiceEnvironmentPatchResource.java | 114 ++++---- .../AppServiceEnvironmentResource.java | 6 +- .../v2016_09_01/AppServiceEnvironments.java | 10 + .../v2016_09_01/AppServicePlan.java | 6 +- .../AppServicePlanPatchResource.java | 56 ++-- .../v2016_09_01/AppServicePlans.java | 10 + .../v2016_09_01/AutoHealActions.java | 14 +- .../v2016_09_01/AutoHealCustomAction.java | 8 +- .../appservice/v2016_09_01/AutoHealRules.java | 8 +- .../v2016_09_01/AutoHealTriggers.java | 16 +- .../appservice/v2016_09_01/Capability.java | 4 +- .../appservice/v2016_09_01/CloningInfo.java | 54 ++-- .../v2016_09_01/ConnStringInfo.java | 12 +- .../appservice/v2016_09_01/CorsSettings.java | 6 +- .../appservice/v2016_09_01/CsmUsageQuota.java | 4 +- .../appservice/v2016_09_01/ErrorEntity.java | 24 +- .../appservice/v2016_09_01/Experiments.java | 4 +- .../v2016_09_01/HandlerMapping.java | 12 +- .../v2016_09_01/HostNameSslState.java | 24 +- .../HostingEnvironmentAppServicePlan.java | 4 +- .../HostingEnvironmentDiagnostics.java | 4 +- .../HostingEnvironmentProfile.java | 8 +- .../HostingEnvironmentResourceMetric.java | 4 +- .../v2016_09_01/HostingEnvironmentSite.java | 4 +- .../v2016_09_01/HybridConnection.java | 4 +- .../v2016_09_01/HybridConnectionKey.java | 4 +- .../v2016_09_01/HybridConnectionLimits.java | 4 +- .../appservice/v2016_09_01/Identifier.java | 4 +- .../v2016_09_01/IpSecurityRestriction.java | 8 +- .../v2016_09_01/LocalizableString.java | 8 +- .../v2016_09_01/ManagedServiceIdentity.java | 8 +- .../v2016_09_01/MetricAvailabilily.java | 8 +- .../v2016_09_01/MetricDefinition.java | 4 +- .../v2016_09_01/MultiRolePools.java | 4 +- .../appservice/v2016_09_01/NameValuePair.java | 8 +- .../NetworkAccessControlEntry.java | 16 +- .../appservice/v2016_09_01/Operation.java | 4 +- .../v2016_09_01/ProxyOnlyResource.java | 4 +- .../appservice/v2016_09_01/PushSettings.java | 22 +- .../appservice/v2016_09_01/RampUpRule.java | 38 +-- .../v2016_09_01/RequestsBasedTrigger.java | 8 +- .../ResourceMetricAvailability.java | 4 +- .../v2016_09_01/ResourceMetricDefinition.java | 4 +- .../v2016_09_01/ResourceMetricName.java | 4 +- .../v2016_09_01/ResourceMetricProperty.java | 8 +- .../v2016_09_01/ResourceMetricValue.java | 14 +- .../v2016_09_01/ServerfarmResourceMetric.java | 4 +- .../v2016_09_01/ServerfarmSite.java | 4 +- .../appservice/v2016_09_01/SiteConfig.java | 178 ++++++------ .../appservice/v2016_09_01/SiteLimits.java | 12 +- .../v2016_09_01/SiteMachineKey.java | 16 +- .../appservice/v2016_09_01/SkuCapacity.java | 16 +- .../v2016_09_01/SkuDescription.java | 32 +-- .../appservice/v2016_09_01/SkuInfo.java | 4 +- .../v2016_09_01/SlotSwapStatus.java | 6 +- .../v2016_09_01/SlowRequestsBasedTrigger.java | 12 +- .../v2016_09_01/SnapshotRecoveryRequest.java | 22 +- .../v2016_09_01/SnapshotRecoveryTarget.java | 12 +- .../appservice/v2016_09_01/StampCapacity.java | 4 +- .../v2016_09_01/StatusCodesBasedTrigger.java | 20 +- .../appservice/v2016_09_01/Usage.java | 4 +- .../appservice/v2016_09_01/User.java | 20 +- .../v2016_09_01/VirtualApplication.java | 16 +- .../v2016_09_01/VirtualDirectory.java | 8 +- .../v2016_09_01/VirtualIPMapping.java | 16 +- .../v2016_09_01/VirtualNetworkProfile.java | 12 +- .../appservice/v2016_09_01/VnetGateway.java | 4 +- .../appservice/v2016_09_01/VnetInfo.java | 4 +- .../appservice/v2016_09_01/VnetRoute.java | 4 +- .../appservice/v2016_09_01/WorkerPool.java | 18 +- .../appservice/v2016_09_01/WorkerPools.java | 4 +- .../implementation/AddressResponseImpl.java | 6 +- .../implementation/AddressResponseInner.java | 16 +- .../AppServiceEnvironmentResourceImpl.java | 4 +- .../AppServiceEnvironmentResourceInner.java | 118 ++++---- .../AppServiceEnvironmentsImpl.java | 54 ++-- .../implementation/AppServicePlanImpl.java | 4 +- .../implementation/AppServicePlanInner.java | 60 ++-- .../implementation/AppServicePlansImpl.java | 9 +- .../implementation/CapabilityImpl.java | 6 +- .../implementation/CapabilityInner.java | 12 +- .../implementation/CsmUsageQuotaImpl.java | 6 +- .../implementation/CsmUsageQuotaInner.java | 20 +- .../HostingEnvironmentAppServicePlanImpl.java | 6 +- .../HostingEnvironmentDiagnosticsImpl.java | 6 +- .../HostingEnvironmentDiagnosticsInner.java | 8 +- .../HostingEnvironmentResourceMetricImpl.java | 6 +- .../HostingEnvironmentSiteImpl.java | 6 +- .../implementation/HybridConnectionImpl.java | 6 +- .../implementation/HybridConnectionInner.java | 34 +-- .../HybridConnectionKeyImpl.java | 6 +- .../HybridConnectionKeyInner.java | 4 +- .../HybridConnectionLimitsImpl.java | 6 +- .../HybridConnectionLimitsInner.java | 4 +- .../implementation/MetricDefinitionImpl.java | 6 +- .../implementation/MetricDefinitionInner.java | 10 +- .../implementation/MultiRolePoolsImpl.java | 6 +- .../implementation/OperationImpl.java | 6 +- .../implementation/OperationInner.java | 32 +-- .../ResourceMetricDefinitionImpl.java | 6 +- .../ResourceMetricDefinitionInner.java | 14 +- .../implementation/ResourceMetricInner.java | 18 +- .../ServerfarmResourceMetricImpl.java | 6 +- .../implementation/ServerfarmSiteImpl.java | 6 +- .../v2016_09_01/implementation/SiteInner.java | 104 +++---- .../implementation/SkuInfoImpl.java | 6 +- .../implementation/SkuInfoInner.java | 12 +- .../implementation/StampCapacityImpl.java | 6 +- .../implementation/StampCapacityInner.java | 48 ++-- .../v2016_09_01/implementation/UsageImpl.java | 6 +- .../implementation/UsageInner.java | 18 +- .../implementation/VnetGatewayImpl.java | 8 +- .../implementation/VnetGatewayInner.java | 8 +- .../implementation/VnetInfoImpl.java | 6 +- .../implementation/VnetInfoInner.java | 20 +- .../implementation/VnetRouteImpl.java | 8 +- .../implementation/VnetRouteInner.java | 24 +- .../implementation/WebManager.java | 111 ++++++++ .../WorkerPoolResourceInner.java | 18 +- .../implementation/WorkerPoolsImpl.java | 8 +- .../resource-manager/v2018_02_01/pom.xml | 266 +++++++++--------- .../v2018_02_01/AbnormalTimePeriod.java | 16 +- .../appservice/v2018_02_01/Address.java | 24 +- .../v2018_02_01/AddressResponse.java | 4 +- .../appservice/v2018_02_01/AnalysisData.java | 20 +- .../v2018_02_01/AnalysisDefinition.java | 4 +- .../v2018_02_01/ApiDefinitionInfo.java | 4 +- .../v2018_02_01/AppServiceCertificate.java | 10 +- .../AppServiceCertificateOrder.java | 6 +- ...pServiceCertificateOrderPatchResource.java | 52 ++-- .../AppServiceCertificateOrders.java | 10 + .../AppServiceCertificatePatchResource.java | 10 +- .../AppServiceCertificateResource.java | 4 +- .../AppServiceEnvironmentPatchResource.java | 118 ++++---- .../AppServiceEnvironmentResource.java | 6 +- .../v2018_02_01/AppServiceEnvironments.java | 10 + .../v2018_02_01/AppServicePlan.java | 6 +- .../AppServicePlanPatchResource.java | 56 ++-- .../v2018_02_01/AppServicePlans.java | 10 + .../v2018_02_01/ApplicationLogsConfig.java | 12 +- .../v2018_02_01/ApplicationStack.java | 4 +- .../v2018_02_01/AutoHealActions.java | 14 +- .../v2018_02_01/AutoHealCustomAction.java | 8 +- .../appservice/v2018_02_01/AutoHealRules.java | 8 +- .../v2018_02_01/AutoHealTriggers.java | 16 +- ...AzureBlobStorageApplicationLogsConfig.java | 16 +- .../AzureBlobStorageHttpLogsConfig.java | 16 +- ...zureTableStorageApplicationLogsConfig.java | 8 +- .../appservice/v2018_02_01/BackupItem.java | 4 +- .../appservice/v2018_02_01/BackupRequest.java | 4 +- .../v2018_02_01/BackupSchedule.java | 22 +- .../appservice/v2018_02_01/Capability.java | 4 +- .../appservice/v2018_02_01/Certificate.java | 6 +- .../v2018_02_01/CertificateDetails.java | 18 +- .../v2018_02_01/CertificateEmail.java | 4 +- .../v2018_02_01/CertificateOrderAction.java | 4 +- .../v2018_02_01/CertificatePatchResource.java | 50 ++-- .../appservice/v2018_02_01/CloningInfo.java | 50 ++-- .../v2018_02_01/ConnStringInfo.java | 12 +- .../v2018_02_01/ConnStringValueTypePair.java | 8 +- .../ConnectionStringDictionary.java | 4 +- .../appservice/v2018_02_01/Contact.java | 36 +-- .../v2018_02_01/ContinuousWebJob.java | 4 +- .../appservice/v2018_02_01/CorsSettings.java | 6 +- .../v2018_02_01/CsmOperationDescription.java | 4 +- .../CsmPublishingProfileOptions.java | 10 +- .../appservice/v2018_02_01/CsmSlotEntity.java | 8 +- .../CustomHostnameAnalysisResult.java | 4 +- .../appservice/v2018_02_01/DataSource.java | 8 +- .../v2018_02_01/DatabaseBackupSetting.java | 14 +- .../v2018_02_01/DefaultErrorResponse.java | 2 +- .../DefaultErrorResponseError.java | 8 +- .../DefaultErrorResponseErrorDetailsItem.java | 6 +- .../v2018_02_01/DeletedAppRestoreRequest.java | 16 +- .../appservice/v2018_02_01/DeletedSite.java | 4 +- .../appservice/v2018_02_01/Deployment.java | 4 +- .../DetectorAbnormalTimePeriod.java | 32 +-- .../v2018_02_01/DetectorDefinition.java | 4 +- .../v2018_02_01/DiagnosticAnalysis.java | 4 +- .../v2018_02_01/DiagnosticCategory.java | 4 +- .../DiagnosticDetectorResponse.java | 4 +- .../v2018_02_01/DiagnosticMetricSample.java | 30 +- .../v2018_02_01/DiagnosticMetricSet.java | 24 +- .../appservice/v2018_02_01/Domain.java | 6 +- .../DomainAvailablilityCheckResult.java | 4 +- .../DomainControlCenterSsoRequest.java | 4 +- .../DomainOwnershipIdentifier.java | 4 +- .../v2018_02_01/DomainPatchResource.java | 59 ++-- .../v2018_02_01/DomainPurchaseConsent.java | 12 +- .../DomainRecommendationSearchParameters.java | 8 +- .../appservice/v2018_02_01/Domains.java | 5 + .../appservice/v2018_02_01/EnabledConfig.java | 4 +- .../appservice/v2018_02_01/ErrorEntity.java | 24 +- .../appservice/v2018_02_01/Experiments.java | 4 +- .../FileSystemApplicationLogsConfig.java | 4 +- .../v2018_02_01/FileSystemHttpLogsConfig.java | 20 +- .../v2018_02_01/FunctionEnvelope.java | 4 +- .../v2018_02_01/FunctionSecrets.java | 4 +- .../v2018_02_01/GlobalCsmSkuDescription.java | 28 +- .../v2018_02_01/HandlerMapping.java | 12 +- .../appservice/v2018_02_01/HostName.java | 24 +- .../v2018_02_01/HostNameBinding.java | 4 +- .../v2018_02_01/HostNameSslState.java | 24 +- .../HostingEnvironmentAppServicePlan.java | 4 +- .../HostingEnvironmentDeploymentInfo.java | 8 +- .../HostingEnvironmentDiagnostics.java | 4 +- .../HostingEnvironmentProfile.java | 8 +- .../HostingEnvironmentResourceMetric.java | 4 +- .../v2018_02_01/HostingEnvironmentSite.java | 4 +- .../v2018_02_01/HttpLogsConfig.java | 8 +- .../v2018_02_01/HybridConnection.java | 4 +- .../v2018_02_01/HybridConnectionKey.java | 4 +- .../v2018_02_01/HybridConnectionLimits.java | 4 +- .../appservice/v2018_02_01/Identifier.java | 4 +- .../v2018_02_01/IpSecurityRestriction.java | 8 +- .../v2018_02_01/LocalizableString.java | 8 +- .../appservice/v2018_02_01/MSDeploy.java | 64 ++++- .../appservice/v2018_02_01/MSDeployCore.java | 215 ++++++++++++++ .../appservice/v2018_02_01/MSDeployLog.java | 4 +- .../v2018_02_01/MSDeployLogEntry.java | 6 +- .../v2018_02_01/MSDeployStatus.java | 4 +- .../v2018_02_01/ManagedServiceIdentity.java | 12 +- .../v2018_02_01/MetricAvailabilily.java | 8 +- .../v2018_02_01/MetricDefinition.java | 4 +- .../v2018_02_01/MigrateMySqlRequest.java | 8 +- .../v2018_02_01/MigrateMySqlStatus.java | 4 +- .../v2018_02_01/MultiRolePools.java | 4 +- .../v2018_02_01/NameIdentifier.java | 4 +- .../appservice/v2018_02_01/NameValuePair.java | 8 +- .../NetworkAccessControlEntry.java | 16 +- .../v2018_02_01/NetworkFeatures.java | 4 +- .../appservice/v2018_02_01/Operation.java | 4 +- .../v2018_02_01/PerfMonResponse.java | 4 +- .../appservice/v2018_02_01/PerfMonSample.java | 12 +- .../appservice/v2018_02_01/PerfMonSet.java | 20 +- .../appservice/v2018_02_01/PremierAddOn.java | 4 +- .../appservice/v2018_02_01/PrivateAccess.java | 4 +- .../v2018_02_01/PrivateAccessSubnet.java | 8 +- .../PrivateAccessVirtualNetwork.java | 16 +- .../appservice/v2018_02_01/ProcessInfo.java | 4 +- .../v2018_02_01/ProcessModuleInfo.java | 4 +- .../v2018_02_01/ProcessThreadInfo.java | 4 +- .../v2018_02_01/ProxyOnlyResource.java | 4 +- .../v2018_02_01/PublicCertificate.java | 4 +- .../appservice/v2018_02_01/PushSettings.java | 4 +- .../appservice/v2018_02_01/RampUpRule.java | 38 +-- .../v2018_02_01/Recommendation.java | 4 +- .../v2018_02_01/RecommendationRule.java | 4 +- .../ReissueCertificateOrderRequest.java | 16 +- .../RelayServiceConnectionEntity.java | 4 +- .../RenewCertificateOrderRequest.java | 12 +- .../v2018_02_01/RequestsBasedTrigger.java | 8 +- .../ResourceMetricAvailability.java | 4 +- .../v2018_02_01/ResourceMetricName.java | 4 +- .../v2018_02_01/ResourceMetricProperty.java | 8 +- .../v2018_02_01/ResourceMetricValue.java | 14 +- .../ResourceNameAvailabilityRequest.java | 12 +- .../v2018_02_01/ResponseMetaData.java | 4 +- .../v2018_02_01/RestoreRequest.java | 4 +- .../v2018_02_01/ServerfarmCsmUsageQuota.java | 4 +- .../ServerfarmHybridConnection.java | 4 +- .../v2018_02_01/ServerfarmResourceMetric.java | 4 +- .../ServerfarmResourceMetricDefinition.java | 4 +- .../v2018_02_01/ServerfarmSite.java | 4 +- .../v2018_02_01/ServerfarmVnetGateway.java | 4 +- .../v2018_02_01/ServerfarmVnetInfo.java | 4 +- .../v2018_02_01/SiteAuthSettings.java | 4 +- .../v2018_02_01/SiteCloneability.java | 4 +- .../SiteCloneabilityCriterion.java | 8 +- .../appservice/v2018_02_01/SiteConfig.java | 194 ++++++------- .../v2018_02_01/SiteConfigResource.java | 4 +- .../SiteConfigurationSnapshotInfo.java | 4 +- .../v2018_02_01/SiteCsmUsageQuota.java | 4 +- .../v2018_02_01/SiteExtensionInfo.java | 4 +- .../v2018_02_01/SiteHybridConnection.java | 4 +- .../appservice/v2018_02_01/SiteInstance.java | 4 +- .../appservice/v2018_02_01/SiteLimits.java | 12 +- .../v2018_02_01/SiteLogsConfig.java | 4 +- .../v2018_02_01/SiteMachineKey.java | 16 +- .../v2018_02_01/SitePatchResource.java | 104 +++---- .../v2018_02_01/SitePhpErrorLogFlag.java | 4 +- .../v2018_02_01/SiteResourceMetric.java | 4 +- .../SiteResourceMetricDefinition.java | 4 +- .../appservice/v2018_02_01/SiteSeal.java | 4 +- .../v2018_02_01/SiteSealRequest.java | 8 +- .../v2018_02_01/SiteSourceControl.java | 4 +- .../v2018_02_01/SiteVnetGateway.java | 4 +- .../appservice/v2018_02_01/SiteVnetInfo.java | 4 +- .../appservice/v2018_02_01/Sites.java | 6 +- .../appservice/v2018_02_01/SkuCapacity.java | 16 +- .../v2018_02_01/SkuDescription.java | 32 +-- .../appservice/v2018_02_01/SkuInfo.java | 4 +- .../v2018_02_01/SlotConfigNamesResource.java | 4 +- .../v2018_02_01/SlotDifference.java | 4 +- .../v2018_02_01/SlotSwapStatus.java | 6 +- .../appservice/v2018_02_01/Slots.java | 4 +- .../v2018_02_01/SlowRequestsBasedTrigger.java | 12 +- .../appservice/v2018_02_01/Snapshot.java | 4 +- .../v2018_02_01/SnapshotRecoveryRequest.java | 22 +- .../v2018_02_01/SnapshotRecoverySource.java | 12 +- .../v2018_02_01/SnapshotRecoveryTarget.java | 12 +- .../v2018_02_01/SnapshotRestoreRequest.java | 24 +- .../appservice/v2018_02_01/Solution.java | 28 +- .../v2018_02_01/StackMajorVersion.java | 16 +- .../v2018_02_01/StackMinorVersion.java | 12 +- .../appservice/v2018_02_01/StampCapacity.java | 4 +- .../v2018_02_01/StatusCodesBasedTrigger.java | 20 +- .../v2018_02_01/StorageMigrationOptions.java | 16 +- .../v2018_02_01/StorageMigrationResponse.java | 4 +- .../v2018_02_01/StringDictionary.java | 4 +- .../v2018_02_01/TldLegalAgreement.java | 4 +- .../v2018_02_01/TopLevelDomain.java | 4 +- .../TopLevelDomainAgreementOption.java | 8 +- .../v2018_02_01/TriggeredJobHistory.java | 4 +- .../v2018_02_01/TriggeredJobRun.java | 44 +-- .../v2018_02_01/TriggeredWebJob.java | 4 +- .../appservice/v2018_02_01/Usage.java | 4 +- .../appservice/v2018_02_01/User.java | 4 +- .../v2018_02_01/ValidateRequest.java | 36 +-- .../v2018_02_01/ValidateResponseError.java | 8 +- .../v2018_02_01/VirtualApplication.java | 16 +- .../v2018_02_01/VirtualDirectory.java | 8 +- .../v2018_02_01/VirtualIPMapping.java | 16 +- .../v2018_02_01/VirtualNetworkProfile.java | 12 +- .../v2018_02_01/VnetParameters.java | 12 +- .../appservice/v2018_02_01/VnetRoute.java | 4 +- .../VnetValidationTestFailure.java | 8 +- .../appservice/v2018_02_01/WebApps.java | 60 ++++ .../appservice/v2018_02_01/WebJob.java | 4 +- .../appservice/v2018_02_01/WorkerPool.java | 18 +- .../appservice/v2018_02_01/WorkerPools.java | 4 +- .../implementation/AddressResponseImpl.java | 6 +- .../implementation/AddressResponseInner.java | 16 +- .../AnalysisDefinitionImpl.java | 6 +- .../AnalysisDefinitionInner.java | 2 +- .../AppServiceCertificateOrderImpl.java | 4 +- .../AppServiceCertificateOrderInner.java | 56 ++-- .../AppServiceCertificateOrdersImpl.java | 12 +- .../AppServiceCertificateResourceImpl.java | 8 +- .../AppServiceCertificateResourceInner.java | 14 +- .../AppServiceEnvironmentInner.java | 118 ++++---- .../AppServiceEnvironmentResourceImpl.java | 4 +- .../AppServiceEnvironmentResourceInner.java | 122 ++++---- .../AppServiceEnvironmentsImpl.java | 57 ++-- .../implementation/AppServicePlanImpl.java | 4 +- .../implementation/AppServicePlanInner.java | 60 ++-- .../implementation/AppServicePlansImpl.java | 9 +- .../implementation/ApplicationStackImpl.java | 6 +- .../implementation/ApplicationStackInner.java | 20 +- .../implementation/BackupItemImpl.java | 6 +- .../implementation/BackupItemInner.java | 28 +- .../implementation/BackupRequestImpl.java | 6 +- .../implementation/BackupRequestInner.java | 16 +- .../implementation/BillingMeterInner.java | 20 +- .../implementation/CapabilityImpl.java | 6 +- .../implementation/CapabilityInner.java | 12 +- .../implementation/CertificateEmailImpl.java | 6 +- .../implementation/CertificateEmailInner.java | 8 +- .../implementation/CertificateImpl.java | 4 +- .../implementation/CertificateInner.java | 54 ++-- .../CertificateOrderActionImpl.java | 6 +- .../CertificateOrderActionInner.java | 4 +- .../CertificateRegistrationManager.java | 243 ++++++++++++++++ .../CertificateRegistrationProvidersImpl.java | 9 +- .../implementation/CertificatesImpl.java | 4 +- .../ConnectionStringDictionaryImpl.java | 6 +- .../ConnectionStringDictionaryInner.java | 4 +- .../implementation/ContinuousWebJobImpl.java | 6 +- .../implementation/ContinuousWebJobInner.java | 40 +-- .../CsmOperationDescriptionImpl.java | 6 +- .../implementation/CsmUsageQuotaInner.java | 20 +- .../CustomHostnameAnalysisResultImpl.java | 6 +- .../CustomHostnameAnalysisResultInner.java | 32 +-- .../implementation/DeletedSiteImpl.java | 6 +- .../implementation/DeletedSiteInner.java | 14 +- .../implementation/DeletedWebAppsImpl.java | 9 +- .../implementation/DeploymentImpl.java | 8 +- .../implementation/DeploymentInner.java | 36 +-- .../DeploymentLocationsInner.java | 12 +- .../DetectorDefinitionImpl.java | 6 +- .../DetectorDefinitionInner.java | 8 +- .../DiagnosticAnalysisImpl.java | 6 +- .../DiagnosticAnalysisInner.java | 20 +- .../DiagnosticCategoryImpl.java | 6 +- .../DiagnosticCategoryInner.java | 2 +- .../DiagnosticDetectorResponseImpl.java | 6 +- .../DiagnosticDetectorResponseInner.java | 32 +-- .../implementation/DiagnosticsImpl.java | 21 +- .../DomainAvailablilityCheckResultImpl.java | 6 +- .../DomainAvailablilityCheckResultInner.java | 12 +- .../DomainControlCenterSsoRequestImpl.java | 6 +- .../DomainControlCenterSsoRequestInner.java | 6 +- .../implementation/DomainImpl.java | 4 +- .../implementation/DomainInner.java | 63 +++-- .../DomainOwnershipIdentifierImpl.java | 8 +- .../DomainOwnershipIdentifierInner.java | 4 +- .../DomainRegistrationProvidersImpl.java | 9 +- .../implementation/DomainsImpl.java | 7 +- .../implementation/FunctionEnvelopeImpl.java | 8 +- .../implementation/FunctionEnvelopeInner.java | 36 +-- .../implementation/FunctionSecretsImpl.java | 6 +- .../implementation/FunctionSecretsInner.java | 8 +- .../implementation/GeoRegionInner.java | 4 +- .../implementation/HostNameBindingImpl.java | 8 +- .../implementation/HostNameBindingInner.java | 34 +-- .../HostingEnvironmentAppServicePlanImpl.java | 6 +- .../HostingEnvironmentDiagnosticsImpl.java | 6 +- .../HostingEnvironmentDiagnosticsInner.java | 8 +- .../HostingEnvironmentResourceMetricImpl.java | 6 +- .../HostingEnvironmentSiteImpl.java | 6 +- .../implementation/HybridConnectionImpl.java | 6 +- .../implementation/HybridConnectionInner.java | 34 +-- .../HybridConnectionKeyImpl.java | 6 +- .../HybridConnectionKeyInner.java | 4 +- .../HybridConnectionLimitsImpl.java | 6 +- .../HybridConnectionLimitsInner.java | 4 +- .../implementation/IdentifierImpl.java | 8 +- .../implementation/IdentifierInner.java | 4 +- .../implementation/MSDeployLogImpl.java | 6 +- .../implementation/MSDeployLogInner.java | 2 +- .../implementation/MSDeployStatusImpl.java | 6 +- .../implementation/MSDeployStatusInner.java | 10 +- .../implementation/MetricDefinitionImpl.java | 6 +- .../implementation/MetricDefinitionInner.java | 8 +- .../MigrateMySqlStatusImpl.java | 6 +- .../MigrateMySqlStatusInner.java | 6 +- .../implementation/MultiRolePoolsImpl.java | 6 +- .../implementation/NameIdentifierImpl.java | 6 +- .../implementation/NameIdentifierInner.java | 4 +- .../implementation/NetworkFeaturesImpl.java | 6 +- .../implementation/NetworkFeaturesInner.java | 8 +- .../implementation/OperationImpl.java | 6 +- .../implementation/OperationInner.java | 32 +-- .../implementation/PerfMonResponseImpl.java | 6 +- .../implementation/PerfMonResponseInner.java | 12 +- .../implementation/PremierAddOnImpl.java | 8 +- .../implementation/PremierAddOnInner.java | 24 +- .../PremierAddOnOfferInner.java | 40 +-- .../implementation/PrivateAccessImpl.java | 6 +- .../implementation/PrivateAccessInner.java | 8 +- .../implementation/ProcessInfoImpl.java | 6 +- .../implementation/ProcessInfoInner.java | 142 +++++----- .../implementation/ProcessModuleInfoImpl.java | 6 +- .../ProcessModuleInfoInner.java | 44 +-- .../implementation/ProcessThreadInfoImpl.java | 6 +- .../ProcessThreadInfoInner.java | 50 ++-- .../implementation/ProvidersImpl.java | 15 +- .../implementation/PublicCertificateImpl.java | 8 +- .../PublicCertificateInner.java | 10 +- .../implementation/PushSettingsImpl.java | 6 +- .../implementation/PushSettingsInner.java | 22 +- .../implementation/RecommendationImpl.java | 6 +- .../implementation/RecommendationInner.java | 90 +++--- .../RecommendationRuleImpl.java | 6 +- .../RecommendationRuleInner.java | 52 ++-- .../implementation/RecommendationsImpl.java | 12 +- .../RelayServiceConnectionEntityImpl.java | 6 +- .../ResourceMetricDefinitionInner.java | 10 +- .../implementation/ResourceMetricInner.java | 18 +- .../ResourceNameAvailabilityInner.java | 12 +- .../implementation/RestoreRequestImpl.java | 6 +- .../implementation/RestoreRequestInner.java | 46 +-- .../ServerfarmCsmUsageQuotaImpl.java | 6 +- .../ServerfarmHybridConnectionImpl.java | 6 +- ...erverfarmResourceMetricDefinitionImpl.java | 6 +- .../ServerfarmResourceMetricImpl.java | 6 +- .../implementation/ServerfarmSiteImpl.java | 6 +- .../ServerfarmVnetGatewayImpl.java | 8 +- .../ServerfarmVnetInfoImpl.java | 6 +- .../implementation/SiteAuthSettingsImpl.java | 6 +- .../implementation/SiteAuthSettingsInner.java | 178 ++++++++---- .../implementation/SiteCloneabilityImpl.java | 6 +- .../implementation/SiteCloneabilityInner.java | 18 +- .../SiteConfigResourceImpl.java | 6 +- .../SiteConfigResourceInner.java | 194 ++++++------- .../SiteConfigurationSnapshotInfoImpl.java | 6 +- .../SiteConfigurationSnapshotInfoInner.java | 4 +- .../implementation/SiteCsmUsageQuotaImpl.java | 6 +- .../implementation/SiteExtensionInfoImpl.java | 8 +- .../SiteExtensionInfoInner.java | 76 ++--- .../SiteHybridConnectionImpl.java | 8 +- .../v2018_02_01/implementation/SiteInner.java | 108 +++---- .../implementation/SiteInstanceImpl.java | 6 +- .../implementation/SiteInstanceInner.java | 2 +- .../implementation/SiteLogsConfigImpl.java | 6 +- .../implementation/SiteLogsConfigInner.java | 16 +- .../SitePhpErrorLogFlagImpl.java | 6 +- .../SitePhpErrorLogFlagInner.java | 16 +- .../SiteResourceMetricDefinitionImpl.java | 6 +- .../SiteResourceMetricImpl.java | 6 +- .../implementation/SiteSealImpl.java | 6 +- .../implementation/SiteSealInner.java | 4 +- .../implementation/SiteSourceControlImpl.java | 6 +- .../SiteSourceControlInner.java | 20 +- .../implementation/SiteVnetGatewayImpl.java | 8 +- .../implementation/SiteVnetInfoImpl.java | 8 +- .../v2018_02_01/implementation/SitesImpl.java | 4 +- .../implementation/SkuInfoImpl.java | 6 +- .../implementation/SkuInfoInner.java | 12 +- .../implementation/SkuInfosInner.java | 8 +- .../SlotConfigNamesResourceImpl.java | 6 +- .../SlotConfigNamesResourceInner.java | 8 +- .../implementation/SlotDifferenceImpl.java | 6 +- .../implementation/SlotDifferenceInner.java | 14 +- .../v2018_02_01/implementation/SlotsImpl.java | 8 +- .../implementation/SnapshotImpl.java | 6 +- .../implementation/SnapshotInner.java | 2 +- .../implementation/SourceControlInner.java | 16 +- .../implementation/StampCapacityImpl.java | 6 +- .../implementation/StampCapacityInner.java | 52 ++-- .../StorageMigrationResponseImpl.java | 6 +- .../StorageMigrationResponseInner.java | 2 +- .../implementation/StringDictionaryImpl.java | 6 +- .../implementation/StringDictionaryInner.java | 4 +- .../implementation/TldLegalAgreementImpl.java | 6 +- .../TldLegalAgreementInner.java | 16 +- .../implementation/TopLevelDomainImpl.java | 6 +- .../implementation/TopLevelDomainInner.java | 4 +- .../implementation/TopLevelDomainsImpl.java | 9 +- .../TriggeredJobHistoryImpl.java | 6 +- .../TriggeredJobHistoryInner.java | 4 +- .../implementation/TriggeredWebJobImpl.java | 6 +- .../implementation/TriggeredWebJobInner.java | 40 +-- .../v2018_02_01/implementation/UsageImpl.java | 6 +- .../implementation/UsageInner.java | 16 +- .../v2018_02_01/implementation/UserImpl.java | 6 +- .../v2018_02_01/implementation/UserInner.java | 20 +- .../implementation/ValidateResponseInner.java | 8 +- .../implementation/VnetGatewayInner.java | 8 +- .../implementation/VnetInfoInner.java | 20 +- .../implementation/VnetRouteImpl.java | 8 +- .../implementation/VnetRouteInner.java | 20 +- .../VnetValidationFailureDetailsInner.java | 8 +- .../implementation/WebAppsImpl.java | 110 +++++--- .../implementation/WebJobImpl.java | 6 +- .../implementation/WebJobInner.java | 28 +- .../WorkerPoolResourceInner.java | 18 +- .../implementation/WorkerPoolsImpl.java | 8 +- 908 files changed, 8950 insertions(+), 6989 deletions(-) create mode 100644 appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/WebManager.java create mode 100644 appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployCore.java create mode 100644 appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebManager.java create mode 100644 appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WebManager.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployCore.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java diff --git a/appservice/resource-manager/v2016_03_01/pom.xml b/appservice/resource-manager/v2016_03_01/pom.xml index 2a432a9235177..c8494595b1723 100644 --- a/appservice/resource-manager/v2016_03_01/pom.xml +++ b/appservice/resource-manager/v2016_03_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.appservice.v2016_03_01 - - com.microsoft.azure - azure-arm-parent - 0.0.2-beta - ../../../pom.xml - - azure-mgmt-appservice - 1.0.0-beta - jar - Microsoft Azure SDK for Web Management - This package contains Microsoft Web Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.appservice.v2016_03_01 + + com.microsoft.azure + azure-arm-parent + 0.0.2-beta + ../../../pom.xml + + azure-mgmt-web + 1.0.0-beta + jar + Microsoft Azure SDK for Web Management + This package contains Microsoft Web Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AbnormalTimePeriod.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AbnormalTimePeriod.java index 81a24d720a01d..46eb4bce4f3a0 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AbnormalTimePeriod.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AbnormalTimePeriod.java @@ -41,7 +41,7 @@ public class AbnormalTimePeriod { private List solutions; /** - * Get the startTime value. + * Get start time of the downtime. * * @return the startTime value */ @@ -50,7 +50,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the downtime. * * @param startTime the startTime value to set * @return the AbnormalTimePeriod object itself. @@ -61,7 +61,7 @@ public AbnormalTimePeriod withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the downtime. * * @return the endTime value */ @@ -70,7 +70,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the downtime. * * @param endTime the endTime value to set * @return the AbnormalTimePeriod object itself. @@ -81,7 +81,7 @@ public AbnormalTimePeriod withEndTime(DateTime endTime) { } /** - * Get the events value. + * Get list of Possible Cause of downtime. * * @return the events value */ @@ -90,7 +90,7 @@ public List events() { } /** - * Set the events value. + * Set list of Possible Cause of downtime. * * @param events the events value to set * @return the AbnormalTimePeriod object itself. @@ -101,7 +101,7 @@ public AbnormalTimePeriod withEvents(List events) { } /** - * Get the solutions value. + * Get list of proposed solutions. * * @return the solutions value */ @@ -110,7 +110,7 @@ public List solutions() { } /** - * Set the solutions value. + * Set list of proposed solutions. * * @param solutions the solutions value to set * @return the AbnormalTimePeriod object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AnalysisData.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AnalysisData.java index 03b098c2a01c3..c5e89383711a9 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AnalysisData.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AnalysisData.java @@ -47,7 +47,7 @@ public class AnalysisData { private ResponseMetaData detectorMetaData; /** - * Get the source value. + * Get name of the Detector. * * @return the source value */ @@ -56,7 +56,7 @@ public String source() { } /** - * Set the source value. + * Set name of the Detector. * * @param source the source value to set * @return the AnalysisData object itself. @@ -67,7 +67,7 @@ public AnalysisData withSource(String source) { } /** - * Get the detectorDefinition value. + * Get detector Definition. * * @return the detectorDefinition value */ @@ -76,7 +76,7 @@ public DetectorDefinitionInner detectorDefinition() { } /** - * Set the detectorDefinition value. + * Set detector Definition. * * @param detectorDefinition the detectorDefinition value to set * @return the AnalysisData object itself. @@ -87,7 +87,7 @@ public AnalysisData withDetectorDefinition(DetectorDefinitionInner detectorDefin } /** - * Get the metrics value. + * Get source Metrics. * * @return the metrics value */ @@ -96,7 +96,7 @@ public List metrics() { } /** - * Set the metrics value. + * Set source Metrics. * * @param metrics the metrics value to set * @return the AnalysisData object itself. @@ -107,7 +107,7 @@ public AnalysisData withMetrics(List metrics) { } /** - * Get the data value. + * Get additional Source Data. * * @return the data value */ @@ -116,7 +116,7 @@ public List> data() { } /** - * Set the data value. + * Set additional Source Data. * * @param data the data value to set * @return the AnalysisData object itself. @@ -127,7 +127,7 @@ public AnalysisData withData(List> data) { } /** - * Get the detectorMetaData value. + * Get detector Meta Data. * * @return the detectorMetaData value */ @@ -136,7 +136,7 @@ public ResponseMetaData detectorMetaData() { } /** - * Set the detectorMetaData value. + * Set detector Meta Data. * * @param detectorMetaData the detectorMetaData value to set * @return the AnalysisData object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AnalysisDefinition.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AnalysisDefinition.java index edfe33751fac8..66d383a614fa2 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AnalysisDefinition.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_03_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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ApiDefinitionInfo.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ApiDefinitionInfo.java index 3dae5bc248c46..b4cad8193f181 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ApiDefinitionInfo.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ApiDefinitionInfo.java @@ -21,7 +21,7 @@ public class ApiDefinitionInfo { private String url; /** - * Get the url value. + * Get the URL of the API definition. * * @return the url value */ @@ -30,7 +30,7 @@ public String url() { } /** - * Set the url value. + * Set the URL of the API definition. * * @param url the url value to set * @return the ApiDefinitionInfo object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServiceEnvironment.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServiceEnvironment.java index b12e5b4444a8d..eee35d823d856 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServiceEnvironment.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServiceEnvironment.java @@ -251,7 +251,7 @@ public class AppServiceEnvironment { private List userWhitelistedIpRanges; /** - * Get the name value. + * Get name of the App Service Environment. * * @return the name value */ @@ -260,7 +260,7 @@ public String name() { } /** - * Set the name value. + * Set name of the App Service Environment. * * @param name the name value to set * @return the AppServiceEnvironment object itself. @@ -271,7 +271,7 @@ public AppServiceEnvironment withName(String name) { } /** - * Get the location value. + * Get location of the App Service Environment, e.g. "West US". * * @return the location value */ @@ -280,7 +280,7 @@ public String location() { } /** - * Set the location value. + * Set location of the App Service Environment, e.g. "West US". * * @param location the location value to set * @return the AppServiceEnvironment object itself. @@ -291,7 +291,7 @@ public AppServiceEnvironment withLocation(String location) { } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -300,7 +300,7 @@ public ProvisioningState provisioningState() { } /** - * Get the status value. + * Get current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'. * * @return the status value */ @@ -309,7 +309,7 @@ public HostingEnvironmentStatus status() { } /** - * Get the vnetName value. + * Get name of the Virtual Network for the App Service Environment. * * @return the vnetName value */ @@ -318,7 +318,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set name of the Virtual Network for the App Service Environment. * * @param vnetName the vnetName value to set * @return the AppServiceEnvironment object itself. @@ -329,7 +329,7 @@ public AppServiceEnvironment withVnetName(String vnetName) { } /** - * Get the vnetResourceGroupName value. + * Get resource group of the Virtual Network. * * @return the vnetResourceGroupName value */ @@ -338,7 +338,7 @@ public String vnetResourceGroupName() { } /** - * Set the vnetResourceGroupName value. + * Set resource group of the Virtual Network. * * @param vnetResourceGroupName the vnetResourceGroupName value to set * @return the AppServiceEnvironment object itself. @@ -349,7 +349,7 @@ public AppServiceEnvironment withVnetResourceGroupName(String vnetResourceGroupN } /** - * Get the vnetSubnetName value. + * Get subnet of the Virtual Network. * * @return the vnetSubnetName value */ @@ -358,7 +358,7 @@ public String vnetSubnetName() { } /** - * Set the vnetSubnetName value. + * Set subnet of the Virtual Network. * * @param vnetSubnetName the vnetSubnetName value to set * @return the AppServiceEnvironment object itself. @@ -369,7 +369,7 @@ public AppServiceEnvironment withVnetSubnetName(String vnetSubnetName) { } /** - * Get the virtualNetwork value. + * Get description of the Virtual Network. * * @return the virtualNetwork value */ @@ -378,7 +378,7 @@ public VirtualNetworkProfile virtualNetwork() { } /** - * Set the virtualNetwork value. + * Set description of the Virtual Network. * * @param virtualNetwork the virtualNetwork value to set * @return the AppServiceEnvironment object itself. @@ -389,7 +389,7 @@ public AppServiceEnvironment withVirtualNetwork(VirtualNetworkProfile virtualNet } /** - * Get the internalLoadBalancingMode value. + * Get specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @return the internalLoadBalancingMode value */ @@ -398,7 +398,7 @@ public InternalLoadBalancingMode internalLoadBalancingMode() { } /** - * Set the internalLoadBalancingMode value. + * Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @param internalLoadBalancingMode the internalLoadBalancingMode value to set * @return the AppServiceEnvironment object itself. @@ -409,7 +409,7 @@ public AppServiceEnvironment withInternalLoadBalancingMode(InternalLoadBalancing } /** - * Get the multiSize value. + * Get front-end VM size, e.g. "Medium", "Large". * * @return the multiSize value */ @@ -418,7 +418,7 @@ public String multiSize() { } /** - * Set the multiSize value. + * Set front-end VM size, e.g. "Medium", "Large". * * @param multiSize the multiSize value to set * @return the AppServiceEnvironment object itself. @@ -429,7 +429,7 @@ public AppServiceEnvironment withMultiSize(String multiSize) { } /** - * Get the multiRoleCount value. + * Get number of front-end instances. * * @return the multiRoleCount value */ @@ -438,7 +438,7 @@ public Integer multiRoleCount() { } /** - * Set the multiRoleCount value. + * Set number of front-end instances. * * @param multiRoleCount the multiRoleCount value to set * @return the AppServiceEnvironment object itself. @@ -449,7 +449,7 @@ public AppServiceEnvironment withMultiRoleCount(Integer multiRoleCount) { } /** - * Get the workerPools value. + * Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @return the workerPools value */ @@ -458,7 +458,7 @@ public List workerPools() { } /** - * Set the workerPools value. + * Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @param workerPools the workerPools value to set * @return the AppServiceEnvironment object itself. @@ -469,7 +469,7 @@ public AppServiceEnvironment withWorkerPools(List workerPools) { } /** - * Get the ipsslAddressCount value. + * Get number of IP SSL addresses reserved for the App Service Environment. * * @return the ipsslAddressCount value */ @@ -478,7 +478,7 @@ public Integer ipsslAddressCount() { } /** - * Set the ipsslAddressCount value. + * Set number of IP SSL addresses reserved for the App Service Environment. * * @param ipsslAddressCount the ipsslAddressCount value to set * @return the AppServiceEnvironment object itself. @@ -489,7 +489,7 @@ public AppServiceEnvironment withIpsslAddressCount(Integer ipsslAddressCount) { } /** - * Get the databaseEdition value. + * Get edition of the metadata database for the App Service Environment, e.g. "Standard". * * @return the databaseEdition value */ @@ -498,7 +498,7 @@ public String databaseEdition() { } /** - * Get the databaseServiceObjective value. + * Get service objective of the metadata database for the App Service Environment, e.g. "S0". * * @return the databaseServiceObjective value */ @@ -507,7 +507,7 @@ public String databaseServiceObjective() { } /** - * Get the upgradeDomains value. + * Get number of upgrade domains of the App Service Environment. * * @return the upgradeDomains value */ @@ -516,7 +516,7 @@ public Integer upgradeDomains() { } /** - * Get the subscriptionId value. + * Get subscription of the App Service Environment. * * @return the subscriptionId value */ @@ -525,7 +525,7 @@ public String subscriptionId() { } /** - * Get the dnsSuffix value. + * Get dNS suffix of the App Service Environment. * * @return the dnsSuffix value */ @@ -534,7 +534,7 @@ public String dnsSuffix() { } /** - * Set the dnsSuffix value. + * Set dNS suffix of the App Service Environment. * * @param dnsSuffix the dnsSuffix value to set * @return the AppServiceEnvironment object itself. @@ -545,7 +545,7 @@ public AppServiceEnvironment withDnsSuffix(String dnsSuffix) { } /** - * Get the lastAction value. + * Get last deployment action on the App Service Environment. * * @return the lastAction value */ @@ -554,7 +554,7 @@ public String lastAction() { } /** - * Get the lastActionResult value. + * Get result of the last deployment action on the App Service Environment. * * @return the lastActionResult value */ @@ -563,7 +563,7 @@ public String lastActionResult() { } /** - * Get the allowedMultiSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for front-ends. * * @return the allowedMultiSizes value */ @@ -572,7 +572,7 @@ public String allowedMultiSizes() { } /** - * Get the allowedWorkerSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for workers. * * @return the allowedWorkerSizes value */ @@ -581,7 +581,7 @@ public String allowedWorkerSizes() { } /** - * Get the maximumNumberOfMachines value. + * Get maximum number of VMs in the App Service Environment. * * @return the maximumNumberOfMachines value */ @@ -590,7 +590,7 @@ public Integer maximumNumberOfMachines() { } /** - * Get the vipMappings value. + * Get description of IP SSL mapping for the App Service Environment. * * @return the vipMappings value */ @@ -599,7 +599,7 @@ public List vipMappings() { } /** - * Get the environmentCapacities value. + * Get current total, used, and available worker capacities. * * @return the environmentCapacities value */ @@ -608,7 +608,7 @@ public List environmentCapacities() { } /** - * Get the networkAccessControlList value. + * Get access control list for controlling traffic to the App Service Environment. * * @return the networkAccessControlList value */ @@ -617,7 +617,7 @@ public List networkAccessControlList() { } /** - * Set the networkAccessControlList value. + * Set access control list for controlling traffic to the App Service Environment. * * @param networkAccessControlList the networkAccessControlList value to set * @return the AppServiceEnvironment object itself. @@ -628,7 +628,7 @@ public AppServiceEnvironment withNetworkAccessControlList(List clusterSettings() { } /** - * Set the clusterSettings value. + * Set custom settings for changing the behavior of the App Service Environment. * * @param clusterSettings the clusterSettings value to set * @return the AppServiceEnvironment object itself. @@ -764,7 +768,7 @@ public AppServiceEnvironment withClusterSettings(List clusterSett } /** - * Get the userWhitelistedIpRanges value. + * Get user added ip ranges to whitelist on ASE db. * * @return the userWhitelistedIpRanges value */ @@ -773,7 +777,7 @@ public List userWhitelistedIpRanges() { } /** - * Set the userWhitelistedIpRanges value. + * Set user added ip ranges to whitelist on ASE db. * * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set * @return the AppServiceEnvironment object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServicePlan.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServicePlan.java index 0a29445c0dc8b..0006481ef500c 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServicePlan.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServicePlan.java @@ -143,7 +143,7 @@ public class AppServicePlan extends Resource { private String kind; /** - * Get the appServicePlanName value. + * Get name for the App Service plan. * * @return the appServicePlanName value */ @@ -152,7 +152,7 @@ public String appServicePlanName() { } /** - * Set the appServicePlanName value. + * Set name for the App Service plan. * * @param appServicePlanName the appServicePlanName value to set * @return the AppServicePlan object itself. @@ -163,7 +163,7 @@ public AppServicePlan withAppServicePlanName(String appServicePlanName) { } /** - * Get the workerTierName value. + * Get target worker tier assigned to the App Service plan. * * @return the workerTierName value */ @@ -172,7 +172,7 @@ public String workerTierName() { } /** - * Set the workerTierName value. + * Set target worker tier assigned to the App Service plan. * * @param workerTierName the workerTierName value to set * @return the AppServicePlan object itself. @@ -183,7 +183,7 @@ public AppServicePlan withWorkerTierName(String workerTierName) { } /** - * Get the status value. + * Get app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'. * * @return the status value */ @@ -192,7 +192,7 @@ public StatusOptions status() { } /** - * Get the subscription value. + * Get app Service plan subscription. * * @return the subscription value */ @@ -201,7 +201,7 @@ public String subscription() { } /** - * Get the adminSiteName value. + * Get app Service plan administration site. * * @return the adminSiteName value */ @@ -210,7 +210,7 @@ public String adminSiteName() { } /** - * Set the adminSiteName value. + * Set app Service plan administration site. * * @param adminSiteName the adminSiteName value to set * @return the AppServicePlan object itself. @@ -221,7 +221,7 @@ public AppServicePlan withAdminSiteName(String adminSiteName) { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the App Service plan. * * @return the hostingEnvironmentProfile value */ @@ -230,7 +230,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set specification for the App Service Environment to use for the App Service plan. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the AppServicePlan object itself. @@ -241,7 +241,7 @@ public AppServicePlan withHostingEnvironmentProfile(HostingEnvironmentProfile ho } /** - * Get the maximumNumberOfWorkers value. + * Get maximum number of instances that can be assigned to this App Service plan. * * @return the maximumNumberOfWorkers value */ @@ -250,7 +250,7 @@ public Integer maximumNumberOfWorkers() { } /** - * Get the geoRegion value. + * Get geographical location for the App Service plan. * * @return the geoRegion value */ @@ -259,7 +259,8 @@ public String geoRegion() { } /** - * Get the perSiteScaling value. + * Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @return the perSiteScaling value */ @@ -268,7 +269,8 @@ public Boolean perSiteScaling() { } /** - * Set the perSiteScaling value. + * Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @param perSiteScaling the perSiteScaling value to set * @return the AppServicePlan object itself. @@ -279,7 +281,7 @@ public AppServicePlan withPerSiteScaling(Boolean perSiteScaling) { } /** - * Get the numberOfSites value. + * Get number of apps assigned to this App Service plan. * * @return the numberOfSites value */ @@ -288,7 +290,7 @@ public Integer numberOfSites() { } /** - * Get the isSpot value. + * Get if <code>true</code>, this App Service Plan owns spot instances. * * @return the isSpot value */ @@ -297,7 +299,7 @@ public Boolean isSpot() { } /** - * Set the isSpot value. + * Set if <code>true</code>, this App Service Plan owns spot instances. * * @param isSpot the isSpot value to set * @return the AppServicePlan object itself. @@ -308,7 +310,7 @@ public AppServicePlan withIsSpot(Boolean isSpot) { } /** - * Get the spotExpirationTime value. + * Get the time when the server farm expires. Valid only if it is a spot server farm. * * @return the spotExpirationTime value */ @@ -317,7 +319,7 @@ public DateTime spotExpirationTime() { } /** - * Set the spotExpirationTime value. + * Set the time when the server farm expires. Valid only if it is a spot server farm. * * @param spotExpirationTime the spotExpirationTime value to set * @return the AppServicePlan object itself. @@ -328,7 +330,7 @@ public AppServicePlan withSpotExpirationTime(DateTime spotExpirationTime) { } /** - * Get the resourceGroup value. + * Get resource group of the App Service plan. * * @return the resourceGroup value */ @@ -337,7 +339,7 @@ public String resourceGroup() { } /** - * Get the reserved value. + * Get if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @return the reserved value */ @@ -346,7 +348,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @param reserved the reserved value to set * @return the AppServicePlan object itself. @@ -357,7 +359,7 @@ public AppServicePlan withReserved(Boolean reserved) { } /** - * Get the targetWorkerCount value. + * Get scaling worker count. * * @return the targetWorkerCount value */ @@ -366,7 +368,7 @@ public Integer targetWorkerCount() { } /** - * Set the targetWorkerCount value. + * Set scaling worker count. * * @param targetWorkerCount the targetWorkerCount value to set * @return the AppServicePlan object itself. @@ -377,7 +379,7 @@ public AppServicePlan withTargetWorkerCount(Integer targetWorkerCount) { } /** - * Get the targetWorkerSizeId value. + * Get scaling worker size ID. * * @return the targetWorkerSizeId value */ @@ -386,7 +388,7 @@ public Integer targetWorkerSizeId() { } /** - * Set the targetWorkerSizeId value. + * Set scaling worker size ID. * * @param targetWorkerSizeId the targetWorkerSizeId value to set * @return the AppServicePlan object itself. @@ -397,7 +399,7 @@ public AppServicePlan withTargetWorkerSizeId(Integer targetWorkerSizeId) { } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -426,7 +428,7 @@ public AppServicePlan withSku(SkuDescription sku) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -435,7 +437,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the AppServicePlan object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServicePlanCollection.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServicePlanCollection.java index 52db4552fccfc..83317c67648a4 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServicePlanCollection.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AppServicePlanCollection.java @@ -28,7 +28,7 @@ public class AppServicePlanCollection { private String nextLink; /** - * Get the value value. + * Get collection of resources. * * @return the value value */ @@ -37,7 +37,7 @@ public List value() { } /** - * Set the value value. + * Set collection of resources. * * @param value the value value to set * @return the AppServicePlanCollection object itself. @@ -48,7 +48,7 @@ public AppServicePlanCollection withValue(List value) { } /** - * Get the nextLink value. + * Get link to next page of resources. * * @return the nextLink value */ @@ -57,7 +57,7 @@ public String nextLink() { } /** - * Set the nextLink value. + * Set link to next page of resources. * * @param nextLink the nextLink value to set * @return the AppServicePlanCollection object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ApplicationStack.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ApplicationStack.java index 2b7e1a6f92d51..665174ff62823 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ApplicationStack.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_03_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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealActions.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealActions.java index b994918e8fa48..420407c893b7e 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealActions.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealActions.java @@ -35,7 +35,7 @@ public class AutoHealActions { private String minProcessExecutionTime; /** - * Get the actionType value. + * Get predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'. * * @return the actionType value */ @@ -44,7 +44,7 @@ public AutoHealActionType actionType() { } /** - * Set the actionType value. + * Set predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'. * * @param actionType the actionType value to set * @return the AutoHealActions object itself. @@ -55,7 +55,7 @@ public AutoHealActions withActionType(AutoHealActionType actionType) { } /** - * Get the customAction value. + * Get custom action to be taken. * * @return the customAction value */ @@ -64,7 +64,7 @@ public AutoHealCustomAction customAction() { } /** - * Set the customAction value. + * Set custom action to be taken. * * @param customAction the customAction value to set * @return the AutoHealActions object itself. @@ -75,7 +75,8 @@ public AutoHealActions withCustomAction(AutoHealCustomAction customAction) { } /** - * Get the minProcessExecutionTime value. + * Get minimum time the process must execute + before taking the action. * * @return the minProcessExecutionTime value */ @@ -84,7 +85,8 @@ public String minProcessExecutionTime() { } /** - * Set the minProcessExecutionTime value. + * Set minimum time the process must execute + before taking the action. * * @param minProcessExecutionTime the minProcessExecutionTime value to set * @return the AutoHealActions object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealCustomAction.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealCustomAction.java index 295d8f5acc3ef..34b14c5257682 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealCustomAction.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealCustomAction.java @@ -28,7 +28,7 @@ public class AutoHealCustomAction { private String parameters; /** - * Get the exe value. + * Get executable to be run. * * @return the exe value */ @@ -37,7 +37,7 @@ public String exe() { } /** - * Set the exe value. + * Set executable to be run. * * @param exe the exe value to set * @return the AutoHealCustomAction object itself. @@ -48,7 +48,7 @@ public AutoHealCustomAction withExe(String exe) { } /** - * Get the parameters value. + * Get parameters for the executable. * * @return the parameters value */ @@ -57,7 +57,7 @@ public String parameters() { } /** - * Set the parameters value. + * Set parameters for the executable. * * @param parameters the parameters value to set * @return the AutoHealCustomAction object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealRules.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealRules.java index be740bfe72032..58ae54f3af960 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealRules.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealRules.java @@ -27,7 +27,7 @@ public class AutoHealRules { private AutoHealActions actions; /** - * Get the triggers value. + * Get conditions that describe when to execute the auto-heal actions. * * @return the triggers value */ @@ -36,7 +36,7 @@ public AutoHealTriggers triggers() { } /** - * Set the triggers value. + * Set conditions that describe when to execute the auto-heal actions. * * @param triggers the triggers value to set * @return the AutoHealRules object itself. @@ -47,7 +47,7 @@ public AutoHealRules withTriggers(AutoHealTriggers triggers) { } /** - * Get the actions value. + * Get actions to be executed when a rule is triggered. * * @return the actions value */ @@ -56,7 +56,7 @@ public AutoHealActions actions() { } /** - * Set the actions value. + * Set actions to be executed when a rule is triggered. * * @param actions the actions value to set * @return the AutoHealRules object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealTriggers.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealTriggers.java index cfe6eb8bf7eb2..57c45ae22fe94 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealTriggers.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/AutoHealTriggers.java @@ -40,7 +40,7 @@ public class AutoHealTriggers { private SlowRequestsBasedTrigger slowRequests; /** - * Get the requests value. + * Get a rule based on total requests. * * @return the requests value */ @@ -49,7 +49,7 @@ public RequestsBasedTrigger requests() { } /** - * Set the requests value. + * Set a rule based on total requests. * * @param requests the requests value to set * @return the AutoHealTriggers object itself. @@ -60,7 +60,7 @@ public AutoHealTriggers withRequests(RequestsBasedTrigger requests) { } /** - * Get the privateBytesInKB value. + * Get a rule based on private bytes. * * @return the privateBytesInKB value */ @@ -69,7 +69,7 @@ public Integer privateBytesInKB() { } /** - * Set the privateBytesInKB value. + * Set a rule based on private bytes. * * @param privateBytesInKB the privateBytesInKB value to set * @return the AutoHealTriggers object itself. @@ -80,7 +80,7 @@ public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB) { } /** - * Get the statusCodes value. + * Get a rule based on status codes. * * @return the statusCodes value */ @@ -89,7 +89,7 @@ public List statusCodes() { } /** - * Set the statusCodes value. + * Set a rule based on status codes. * * @param statusCodes the statusCodes value to set * @return the AutoHealTriggers object itself. @@ -100,7 +100,7 @@ public AutoHealTriggers withStatusCodes(List statusCode } /** - * Get the slowRequests value. + * Get a rule based on request execution time. * * @return the slowRequests value */ @@ -109,7 +109,7 @@ public SlowRequestsBasedTrigger slowRequests() { } /** - * Set the slowRequests value. + * Set a rule based on request execution time. * * @param slowRequests the slowRequests value to set * @return the AutoHealTriggers object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/BillingMeter.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/BillingMeter.java index c5e3d1e71302d..1d1a88afa9361 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/BillingMeter.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/BillingMeter.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_03_01.implementation.BillingMeterInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; /** * Type representing BillingMeter. */ -public interface BillingMeter extends HasInner, HasManager { +public interface BillingMeter extends HasInner, HasManager { /** * @return the billingLocation value. */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Capability.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Capability.java index defa98895440e..2afa07a9608c9 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Capability.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Capability.java @@ -33,7 +33,7 @@ public class Capability { private String reason; /** - * Get the name value. + * Get name of the SKU capability. * * @return the name value */ @@ -42,7 +42,7 @@ public String name() { } /** - * Set the name value. + * Set name of the SKU capability. * * @param name the name value to set * @return the Capability object itself. @@ -53,7 +53,7 @@ public Capability withName(String name) { } /** - * Get the value value. + * Get value of the SKU capability. * * @return the value value */ @@ -62,7 +62,7 @@ public String value() { } /** - * Set the value value. + * Set value of the SKU capability. * * @param value the value value to set * @return the Capability object itself. @@ -73,7 +73,7 @@ public Capability withValue(String value) { } /** - * Get the reason value. + * Get reason of the SKU capability. * * @return the reason value */ @@ -82,7 +82,7 @@ public String reason() { } /** - * Set the reason value. + * Set reason of the SKU capability. * * @param reason the reason value to set * @return the Capability object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Certificate.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Certificate.java index 7366f2cae7ab0..fbcede953f241 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Certificate.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Certificate.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import java.util.List; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2016_03_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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CertificatePatchResource.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CertificatePatchResource.java index b5d1f10c79258..6e3ceea405579 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CertificatePatchResource.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CertificatePatchResource.java @@ -146,7 +146,7 @@ public class CertificatePatchResource extends ProxyOnlyResource { private String serverFarmId; /** - * Get the friendlyName value. + * Get friendly name of the certificate. * * @return the friendlyName value */ @@ -155,7 +155,7 @@ public String friendlyName() { } /** - * Get the subjectName value. + * Get subject name of the certificate. * * @return the subjectName value */ @@ -164,7 +164,7 @@ public String subjectName() { } /** - * Get the hostNames value. + * Get host names the certificate applies to. * * @return the hostNames value */ @@ -173,7 +173,7 @@ public List hostNames() { } /** - * Set the hostNames value. + * Set host names the certificate applies to. * * @param hostNames the hostNames value to set * @return the CertificatePatchResource object itself. @@ -184,7 +184,7 @@ public CertificatePatchResource withHostNames(List hostNames) { } /** - * Get the pfxBlob value. + * Get pfx blob. * * @return the pfxBlob value */ @@ -193,7 +193,7 @@ public byte[] pfxBlob() { } /** - * Set the pfxBlob value. + * Set pfx blob. * * @param pfxBlob the pfxBlob value to set * @return the CertificatePatchResource object itself. @@ -204,7 +204,7 @@ public CertificatePatchResource withPfxBlob(byte[] pfxBlob) { } /** - * Get the siteName value. + * Get app name. * * @return the siteName value */ @@ -213,7 +213,7 @@ public String siteName() { } /** - * Get the selfLink value. + * Get self link. * * @return the selfLink value */ @@ -222,7 +222,7 @@ public String selfLink() { } /** - * Get the issuer value. + * Get certificate issuer. * * @return the issuer value */ @@ -231,7 +231,7 @@ public String issuer() { } /** - * Get the issueDate value. + * Get certificate issue Date. * * @return the issueDate value */ @@ -240,7 +240,7 @@ public DateTime issueDate() { } /** - * Get the expirationDate value. + * Get certificate expriration date. * * @return the expirationDate value */ @@ -249,7 +249,7 @@ public DateTime expirationDate() { } /** - * Get the password value. + * Get certificate password. * * @return the password value */ @@ -258,7 +258,7 @@ public String password() { } /** - * Set the password value. + * Set certificate password. * * @param password the password value to set * @return the CertificatePatchResource object itself. @@ -269,7 +269,7 @@ public CertificatePatchResource withPassword(String password) { } /** - * Get the thumbprint value. + * Get certificate thumbprint. * * @return the thumbprint value */ @@ -278,7 +278,7 @@ public String thumbprint() { } /** - * Get the valid value. + * Get is the certificate valid?. * * @return the valid value */ @@ -287,7 +287,7 @@ public Boolean valid() { } /** - * Get the cerBlob value. + * Get raw bytes of .cer file. * * @return the cerBlob value */ @@ -296,7 +296,7 @@ public byte[] cerBlob() { } /** - * Get the publicKeyHash value. + * Get public key hash. * * @return the publicKeyHash value */ @@ -305,7 +305,7 @@ public String publicKeyHash() { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the certificate. * * @return the hostingEnvironmentProfile value */ @@ -314,7 +314,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Get the keyVaultId value. + * Get key Vault Csm resource Id. * * @return the keyVaultId value */ @@ -323,7 +323,7 @@ public String keyVaultId() { } /** - * Set the keyVaultId value. + * Set key Vault Csm resource Id. * * @param keyVaultId the keyVaultId value to set * @return the CertificatePatchResource object itself. @@ -334,7 +334,7 @@ public CertificatePatchResource withKeyVaultId(String keyVaultId) { } /** - * Get the keyVaultSecretName value. + * Get key Vault secret name. * * @return the keyVaultSecretName value */ @@ -343,7 +343,7 @@ public String keyVaultSecretName() { } /** - * Set the keyVaultSecretName value. + * Set key Vault secret name. * * @param keyVaultSecretName the keyVaultSecretName value to set * @return the CertificatePatchResource object itself. @@ -354,7 +354,7 @@ public CertificatePatchResource withKeyVaultSecretName(String keyVaultSecretName } /** - * Get the keyVaultSecretStatus value. + * Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'. * * @return the keyVaultSecretStatus value */ @@ -363,7 +363,7 @@ public KeyVaultSecretStatus keyVaultSecretStatus() { } /** - * Get the geoRegion value. + * Get region of the certificate. * * @return the geoRegion value */ @@ -372,7 +372,7 @@ public String geoRegion() { } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -381,7 +381,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the CertificatePatchResource object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CloningInfo.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CloningInfo.java index b07821a7e729f..bf73a890e6a7b 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CloningInfo.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CloningInfo.java @@ -100,7 +100,8 @@ public class CloningInfo { private Boolean ignoreQuotas; /** - * Get the correlationId value. + * Get correlation ID of cloning operation. This ID ties multiple cloning operations + together to use the same snapshot. * * @return the correlationId value */ @@ -109,7 +110,8 @@ public UUID correlationId() { } /** - * Set the correlationId value. + * Set correlation ID of cloning operation. This ID ties multiple cloning operations + together to use the same snapshot. * * @param correlationId the correlationId value to set * @return the CloningInfo object itself. @@ -120,7 +122,7 @@ public CloningInfo withCorrelationId(UUID correlationId) { } /** - * Get the overwrite value. + * Get <code>true</code> to overwrite destination app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -129,7 +131,7 @@ public Boolean overwrite() { } /** - * Set the overwrite value. + * Set <code>true</code> to overwrite destination app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the CloningInfo object itself. @@ -140,7 +142,7 @@ public CloningInfo withOverwrite(Boolean overwrite) { } /** - * Get the cloneCustomHostNames value. + * Get <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. * * @return the cloneCustomHostNames value */ @@ -149,7 +151,7 @@ public Boolean cloneCustomHostNames() { } /** - * Set the cloneCustomHostNames value. + * Set <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. * * @param cloneCustomHostNames the cloneCustomHostNames value to set * @return the CloningInfo object itself. @@ -160,7 +162,7 @@ public CloningInfo withCloneCustomHostNames(Boolean cloneCustomHostNames) { } /** - * Get the cloneSourceControl value. + * Get <code>true</code> to clone source control from source app; otherwise, <code>false</code>. * * @return the cloneSourceControl value */ @@ -169,7 +171,7 @@ public Boolean cloneSourceControl() { } /** - * Set the cloneSourceControl value. + * Set <code>true</code> to clone source control from source app; otherwise, <code>false</code>. * * @param cloneSourceControl the cloneSourceControl value to set * @return the CloningInfo object itself. @@ -180,7 +182,9 @@ public CloningInfo withCloneSourceControl(Boolean cloneSourceControl) { } /** - * Get the sourceWebAppId value. + * Get aRM resource ID of the source app. App resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the sourceWebAppId value */ @@ -189,7 +193,9 @@ public String sourceWebAppId() { } /** - * Set the sourceWebAppId value. + * Set aRM resource ID of the source app. App resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param sourceWebAppId the sourceWebAppId value to set * @return the CloningInfo object itself. @@ -200,7 +206,7 @@ public CloningInfo withSourceWebAppId(String sourceWebAppId) { } /** - * Get the hostingEnvironment value. + * Get app Service Environment. * * @return the hostingEnvironment value */ @@ -209,7 +215,7 @@ public String hostingEnvironment() { } /** - * Set the hostingEnvironment value. + * Set app Service Environment. * * @param hostingEnvironment the hostingEnvironment value to set * @return the CloningInfo object itself. @@ -220,7 +226,8 @@ public CloningInfo withHostingEnvironment(String hostingEnvironment) { } /** - * Get the appSettingsOverrides value. + * Get application setting overrides for cloned app. If specified, these settings override the settings cloned + from source app. Otherwise, application settings from source app are retained. * * @return the appSettingsOverrides value */ @@ -229,7 +236,8 @@ public Map appSettingsOverrides() { } /** - * Set the appSettingsOverrides value. + * Set application setting overrides for cloned app. If specified, these settings override the settings cloned + from source app. Otherwise, application settings from source app are retained. * * @param appSettingsOverrides the appSettingsOverrides value to set * @return the CloningInfo object itself. @@ -240,7 +248,7 @@ public CloningInfo withAppSettingsOverrides(Map appSettingsOverr } /** - * Get the configureLoadBalancing value. + * Get <code>true</code> to configure load balancing for source and destination app. * * @return the configureLoadBalancing value */ @@ -249,7 +257,7 @@ public Boolean configureLoadBalancing() { } /** - * Set the configureLoadBalancing value. + * Set <code>true</code> to configure load balancing for source and destination app. * * @param configureLoadBalancing the configureLoadBalancing value to set * @return the CloningInfo object itself. @@ -260,7 +268,8 @@ public CloningInfo withConfigureLoadBalancing(Boolean configureLoadBalancing) { } /** - * Get the trafficManagerProfileId value. + * Get aRM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. * * @return the trafficManagerProfileId value */ @@ -269,7 +278,8 @@ public String trafficManagerProfileId() { } /** - * Set the trafficManagerProfileId value. + * Set aRM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. * * @param trafficManagerProfileId the trafficManagerProfileId value to set * @return the CloningInfo object itself. @@ -280,7 +290,7 @@ public CloningInfo withTrafficManagerProfileId(String trafficManagerProfileId) { } /** - * Get the trafficManagerProfileName value. + * Get name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. * * @return the trafficManagerProfileName value */ @@ -289,7 +299,7 @@ public String trafficManagerProfileName() { } /** - * Set the trafficManagerProfileName value. + * Set name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. * * @param trafficManagerProfileName the trafficManagerProfileName value to set * @return the CloningInfo object itself. @@ -300,7 +310,7 @@ public CloningInfo withTrafficManagerProfileName(String trafficManagerProfileNam } /** - * Get the ignoreQuotas value. + * Get <code>true</code> if quotas should be ignored; otherwise, <code>false</code>. * * @return the ignoreQuotas value */ @@ -309,7 +319,7 @@ public Boolean ignoreQuotas() { } /** - * Set the ignoreQuotas value. + * Set <code>true</code> if quotas should be ignored; otherwise, <code>false</code>. * * @param ignoreQuotas the ignoreQuotas value to set * @return the CloningInfo object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ConnStringInfo.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ConnStringInfo.java index 77bd9e8f85692..233a13e397085 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ConnStringInfo.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ConnStringInfo.java @@ -35,7 +35,7 @@ public class ConnStringInfo { private ConnectionStringType type; /** - * Get the name value. + * Get name of connection string. * * @return the name value */ @@ -44,7 +44,7 @@ public String name() { } /** - * Set the name value. + * Set name of connection string. * * @param name the name value to set * @return the ConnStringInfo object itself. @@ -55,7 +55,7 @@ public ConnStringInfo withName(String name) { } /** - * Get the connectionString value. + * Get connection string value. * * @return the connectionString value */ @@ -64,7 +64,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set connection string value. * * @param connectionString the connectionString value to set * @return the ConnStringInfo object itself. @@ -75,7 +75,7 @@ public ConnStringInfo withConnectionString(String connectionString) { } /** - * Get the type value. + * Get type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @return the type value */ @@ -84,7 +84,7 @@ public ConnectionStringType type() { } /** - * Set the type value. + * Set type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @param type the type value to set * @return the ConnStringInfo object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CorsSettings.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CorsSettings.java index 9b8506ca45937..7e6987910869f 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CorsSettings.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CorsSettings.java @@ -24,7 +24,8 @@ public class CorsSettings { private List allowedOrigins; /** - * Get the allowedOrigins value. + * Get gets or sets the list of origins that should be allowed to make cross-origin + calls (for example: http://example.com:12345). Use "*" to allow all. * * @return the allowedOrigins value */ @@ -33,7 +34,8 @@ public List allowedOrigins() { } /** - * Set the allowedOrigins value. + * Set gets or sets the list of origins that should be allowed to make cross-origin + calls (for example: http://example.com:12345). Use "*" to allow all. * * @param allowedOrigins the allowedOrigins value to set * @return the CorsSettings object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmOperationDescription.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmOperationDescription.java index 4151455c6d494..e31b1a4e033f6 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmOperationDescription.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_03_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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuota.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuota.java index 89c0833ad3684..f84202a672a49 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuota.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuota.java @@ -46,7 +46,7 @@ public class CsmUsageQuota { private LocalizableString name; /** - * Get the unit value. + * Get units of measurement for the quota resourse. * * @return the unit value */ @@ -55,7 +55,7 @@ public String unit() { } /** - * Set the unit value. + * Set units of measurement for the quota resourse. * * @param unit the unit value to set * @return the CsmUsageQuota object itself. @@ -66,7 +66,7 @@ public CsmUsageQuota withUnit(String unit) { } /** - * Get the nextResetTime value. + * Get next reset time for the resource counter. * * @return the nextResetTime value */ @@ -75,7 +75,7 @@ public DateTime nextResetTime() { } /** - * Set the nextResetTime value. + * Set next reset time for the resource counter. * * @param nextResetTime the nextResetTime value to set * @return the CsmUsageQuota object itself. @@ -86,7 +86,7 @@ public CsmUsageQuota withNextResetTime(DateTime nextResetTime) { } /** - * Get the currentValue value. + * Get the current value of the resource counter. * * @return the currentValue value */ @@ -95,7 +95,7 @@ public Long currentValue() { } /** - * Set the currentValue value. + * Set the current value of the resource counter. * * @param currentValue the currentValue value to set * @return the CsmUsageQuota object itself. @@ -106,7 +106,7 @@ public CsmUsageQuota withCurrentValue(Long currentValue) { } /** - * Get the limit value. + * Get the resource limit. * * @return the limit value */ @@ -115,7 +115,7 @@ public Long limit() { } /** - * Set the limit value. + * Set the resource limit. * * @param limit the limit value to set * @return the CsmUsageQuota object itself. @@ -126,7 +126,7 @@ public CsmUsageQuota withLimit(Long limit) { } /** - * Get the name value. + * Get quota name. * * @return the name value */ @@ -135,7 +135,7 @@ public LocalizableString name() { } /** - * Set the name value. + * Set quota name. * * @param name the name value to set * @return the CsmUsageQuota object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuotaCollection.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuotaCollection.java index f6a3fd0b02f7f..38e37bd79bfc2 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuotaCollection.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuotaCollection.java @@ -28,7 +28,7 @@ public class CsmUsageQuotaCollection { private String nextLink; /** - * Get the value value. + * Get collection of resources. * * @return the value value */ @@ -37,7 +37,7 @@ public List value() { } /** - * Set the value value. + * Set collection of resources. * * @param value the value value to set * @return the CsmUsageQuotaCollection object itself. @@ -48,7 +48,7 @@ public CsmUsageQuotaCollection withValue(List value) { } /** - * Get the nextLink value. + * Get link to next page of resources. * * @return the nextLink value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataSource.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataSource.java index 8e7dd48d359dc..4d3b96de50d7a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataSource.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataSource.java @@ -28,7 +28,7 @@ public class DataSource { private List dataSourceUri; /** - * Get the instructions value. + * Get instrunctions if any for the data source. * * @return the instructions value */ @@ -37,7 +37,7 @@ public List instructions() { } /** - * Set the instructions value. + * Set instrunctions if any for the data source. * * @param instructions the instructions value to set * @return the DataSource object itself. @@ -48,7 +48,7 @@ public DataSource withInstructions(List instructions) { } /** - * Get the dataSourceUri value. + * Get datasource Uri Links. * * @return the dataSourceUri value */ @@ -57,7 +57,7 @@ public List dataSourceUri() { } /** - * Set the dataSourceUri value. + * Set datasource Uri Links. * * @param dataSourceUri the dataSourceUri value to set * @return the DataSource object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataTableResponseColumn.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataTableResponseColumn.java index 692296fb7a26d..acb3658f185cf 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataTableResponseColumn.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataTableResponseColumn.java @@ -33,7 +33,7 @@ public class DataTableResponseColumn { private String columnType; /** - * Get the columnName value. + * Get name of the column. * * @return the columnName value */ @@ -42,7 +42,7 @@ public String columnName() { } /** - * Set the columnName value. + * Set name of the column. * * @param columnName the columnName value to set * @return the DataTableResponseColumn object itself. @@ -53,7 +53,7 @@ public DataTableResponseColumn withColumnName(String columnName) { } /** - * Get the dataType value. + * Get data type which looks like 'String' or 'Int32'. * * @return the dataType value */ @@ -62,7 +62,7 @@ public String dataType() { } /** - * Set the dataType value. + * Set data type which looks like 'String' or 'Int32'. * * @param dataType the dataType value to set * @return the DataTableResponseColumn object itself. @@ -73,7 +73,7 @@ public DataTableResponseColumn withDataType(String dataType) { } /** - * Get the columnType value. + * Get column Type. * * @return the columnType value */ @@ -82,7 +82,7 @@ public String columnType() { } /** - * Set the columnType value. + * Set column Type. * * @param columnType the columnType value to set * @return the DataTableResponseColumn object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataTableResponseObject.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataTableResponseObject.java index 55cfe0b1acb95..4a2b4f231b3dc 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataTableResponseObject.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataTableResponseObject.java @@ -34,7 +34,7 @@ public class DataTableResponseObject { private List> rows; /** - * Get the tableName value. + * Get name of the table. * * @return the tableName value */ @@ -43,7 +43,7 @@ public String tableName() { } /** - * Set the tableName value. + * Set name of the table. * * @param tableName the tableName value to set * @return the DataTableResponseObject object itself. @@ -54,7 +54,7 @@ public DataTableResponseObject withTableName(String tableName) { } /** - * Get the columns value. + * Get list of columns with data types. * * @return the columns value */ @@ -63,7 +63,7 @@ public List columns() { } /** - * Set the columns value. + * Set list of columns with data types. * * @param columns the columns value to set * @return the DataTableResponseObject object itself. @@ -74,7 +74,7 @@ public DataTableResponseObject withColumns(List columns } /** - * Get the rows value. + * Get raw row values. * * @return the rows value */ @@ -83,7 +83,7 @@ public List> rows() { } /** - * Set the rows value. + * Set raw row values. * * @param rows the rows value to set * @return the DataTableResponseObject object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DefaultErrorResponse.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DefaultErrorResponse.java index b3893339961ed..40e30aea63f27 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DefaultErrorResponse.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DefaultErrorResponse.java @@ -21,7 +21,7 @@ public class DefaultErrorResponse { private DefaultErrorResponseError error; /** - * Get the error value. + * Get error model. * * @return the error value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DefaultErrorResponseError.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DefaultErrorResponseError.java index b13467a017abc..315e2b60f4abb 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DefaultErrorResponseError.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DefaultErrorResponseError.java @@ -46,7 +46,7 @@ public class DefaultErrorResponseError { private String innererror; /** - * Get the code value. + * Get standardized string to programmatically identify the error. * * @return the code value */ @@ -55,7 +55,7 @@ public String code() { } /** - * Get the message value. + * Get detailed error description and debugging information. * * @return the message value */ @@ -64,7 +64,7 @@ public String message() { } /** - * Get the target value. + * Get detailed error description and debugging information. * * @return the target value */ @@ -93,7 +93,7 @@ public DefaultErrorResponseError withDetails(List, HasManager { +public interface DeletedSite extends HasInner, HasManager { /** * @return the deletedTimestamp value. */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorAbnormalTimePeriod.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorAbnormalTimePeriod.java index 3a91731b1ac3e..40cf02fdda109 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorAbnormalTimePeriod.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorAbnormalTimePeriod.java @@ -67,7 +67,7 @@ public class DetectorAbnormalTimePeriod { private List solutions; /** - * Get the startTime value. + * Get start time of the corelated event. * * @return the startTime value */ @@ -76,7 +76,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the corelated event. * * @param startTime the startTime value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -87,7 +87,7 @@ public DetectorAbnormalTimePeriod withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the corelated event. * * @return the endTime value */ @@ -96,7 +96,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the corelated event. * * @param endTime the endTime value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -107,7 +107,7 @@ public DetectorAbnormalTimePeriod withEndTime(DateTime endTime) { } /** - * Get the message value. + * Get message describing the event. * * @return the message value */ @@ -116,7 +116,7 @@ public String message() { } /** - * Set the message value. + * Set message describing the event. * * @param message the message value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -127,7 +127,7 @@ public DetectorAbnormalTimePeriod withMessage(String message) { } /** - * Get the source value. + * Get represents the name of the Detector. * * @return the source value */ @@ -136,7 +136,7 @@ public String source() { } /** - * Set the source value. + * Set represents the name of the Detector. * * @param source the source value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -147,7 +147,7 @@ public DetectorAbnormalTimePeriod withSource(String source) { } /** - * Get the priority value. + * Get represents the rank of the Detector. * * @return the priority value */ @@ -156,7 +156,7 @@ public Double priority() { } /** - * Set the priority value. + * Set represents the rank of the Detector. * * @param priority the priority value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -167,7 +167,7 @@ public DetectorAbnormalTimePeriod withPriority(Double priority) { } /** - * Get the metaData value. + * Get downtime metadata. * * @return the metaData value */ @@ -176,7 +176,7 @@ public List> metaData() { } /** - * Set the metaData value. + * Set downtime metadata. * * @param metaData the metaData value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -187,7 +187,7 @@ public DetectorAbnormalTimePeriod withMetaData(List> metaDat } /** - * Get the type value. + * Get represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other'. * * @return the type value */ @@ -196,7 +196,7 @@ public IssueType type() { } /** - * Set the type value. + * Set represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other'. * * @param type the type value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -207,7 +207,7 @@ public DetectorAbnormalTimePeriod withType(IssueType type) { } /** - * Get the solutions value. + * Get list of proposed solutions. * * @return the solutions value */ @@ -216,7 +216,7 @@ public List solutions() { } /** - * Set the solutions value. + * Set list of proposed solutions. * * @param solutions the solutions value to set * @return the DetectorAbnormalTimePeriod object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorDefinition.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorDefinition.java index 05498b7112be4..c50b66b34dba7 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorDefinition.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_03_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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorInfo.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorInfo.java index ae1f1719bba72..009fa4c4ee66d 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorInfo.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorInfo.java @@ -39,7 +39,7 @@ public class DetectorInfo { private String supportTopicId; /** - * Get the description value. + * Get short description of the detector and its purpose. * * @return the description value */ @@ -48,7 +48,7 @@ public String description() { } /** - * Get the category value. + * Get support Category. * * @return the category value */ @@ -57,7 +57,7 @@ public String category() { } /** - * Get the subCategory value. + * Get support Sub Category. * * @return the subCategory value */ @@ -66,7 +66,7 @@ public String subCategory() { } /** - * Get the supportTopicId value. + * Get support Topic Id. * * @return the supportTopicId value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorResponse.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorResponse.java index 27ee8c59f92a7..b8dbcff79953a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorResponse.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; 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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticAnalysis.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticAnalysis.java index ef113eae92654..567a0240dbf62 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticAnalysis.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; 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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticCategory.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticCategory.java index ae9ce2cecfd8f..0925814107e7d 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticCategory.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; /** * 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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticData.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticData.java index 47acd3ba4a669..ea84f9713b79f 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticData.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticData.java @@ -27,7 +27,7 @@ public class DiagnosticData { private Rendering renderingProperties; /** - * Get the table value. + * Get data in table form. * * @return the table value */ @@ -36,7 +36,7 @@ public DataTableResponseObject table() { } /** - * Set the table value. + * Set data in table form. * * @param table the table value to set * @return the DiagnosticData object itself. @@ -47,7 +47,7 @@ public DiagnosticData withTable(DataTableResponseObject table) { } /** - * Get the renderingProperties value. + * Get properties that describe how the table should be rendered. * * @return the renderingProperties value */ @@ -56,7 +56,7 @@ public Rendering renderingProperties() { } /** - * Set the renderingProperties value. + * Set properties that describe how the table should be rendered. * * @param renderingProperties the renderingProperties value to set * @return the DiagnosticData object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticDetectorResponse.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticDetectorResponse.java index e8930ebe12097..8c3bbc219e0cc 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticDetectorResponse.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_03_01.implementation.DiagnosticDetectorResponseInner; import java.util.List; import com.microsoft.azure.management.appservice.v2016_03_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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticMetricSample.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticMetricSample.java index f18efac475cda..59473110af67d 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticMetricSample.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticMetricSample.java @@ -58,7 +58,7 @@ public class DiagnosticMetricSample { private Boolean isAggregated; /** - * Get the timestamp value. + * Get time at which metric is measured. * * @return the timestamp value */ @@ -67,7 +67,7 @@ public DateTime timestamp() { } /** - * Set the timestamp value. + * Set time at which metric is measured. * * @param timestamp the timestamp value to set * @return the DiagnosticMetricSample object itself. @@ -78,7 +78,10 @@ public DiagnosticMetricSample withTimestamp(DateTime timestamp) { } /** - * Get the roleInstance value. + * Get role Instance. Null if this counter is not per instance + This is returned and should be whichever instance name we desire to be returned + i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) + where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis. * * @return the roleInstance value */ @@ -87,7 +90,10 @@ public String roleInstance() { } /** - * Set the roleInstance value. + * Set role Instance. Null if this counter is not per instance + This is returned and should be whichever instance name we desire to be returned + i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) + where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis. * * @param roleInstance the roleInstance value to set * @return the DiagnosticMetricSample object itself. @@ -98,7 +104,7 @@ public DiagnosticMetricSample withRoleInstance(String roleInstance) { } /** - * Get the total value. + * Get total value of the metric. If multiple measurements are made this will have sum of all. * * @return the total value */ @@ -107,7 +113,7 @@ public Double total() { } /** - * Set the total value. + * Set total value of the metric. If multiple measurements are made this will have sum of all. * * @param total the total value to set * @return the DiagnosticMetricSample object itself. @@ -118,7 +124,7 @@ public DiagnosticMetricSample withTotal(Double total) { } /** - * Get the maximum value. + * Get maximum of the metric sampled during the time period. * * @return the maximum value */ @@ -127,7 +133,7 @@ public Double maximum() { } /** - * Set the maximum value. + * Set maximum of the metric sampled during the time period. * * @param maximum the maximum value to set * @return the DiagnosticMetricSample object itself. @@ -138,7 +144,7 @@ public DiagnosticMetricSample withMaximum(Double maximum) { } /** - * Get the minimum value. + * Get minimum of the metric sampled during the time period. * * @return the minimum value */ @@ -147,7 +153,7 @@ public Double minimum() { } /** - * Set the minimum value. + * Set minimum of the metric sampled during the time period. * * @param minimum the minimum value to set * @return the DiagnosticMetricSample object itself. @@ -158,7 +164,7 @@ public DiagnosticMetricSample withMinimum(Double minimum) { } /** - * Get the isAggregated value. + * Get whether the values are aggregates across all workers or not. * * @return the isAggregated value */ @@ -167,7 +173,7 @@ public Boolean isAggregated() { } /** - * Set the isAggregated value. + * Set whether the values are aggregates across all workers or not. * * @param isAggregated the isAggregated value to set * @return the DiagnosticMetricSample object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticMetricSet.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticMetricSet.java index 8b5b8a07bdea3..8169bbadf3f92 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticMetricSet.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DiagnosticMetricSet.java @@ -55,7 +55,7 @@ public class DiagnosticMetricSet { private List values; /** - * Get the name value. + * Get name of the metric. * * @return the name value */ @@ -64,7 +64,7 @@ public String name() { } /** - * Set the name value. + * Set name of the metric. * * @param name the name value to set * @return the DiagnosticMetricSet object itself. @@ -75,7 +75,7 @@ public DiagnosticMetricSet withName(String name) { } /** - * Get the unit value. + * Get metric's unit. * * @return the unit value */ @@ -84,7 +84,7 @@ public String unit() { } /** - * Set the unit value. + * Set metric's unit. * * @param unit the unit value to set * @return the DiagnosticMetricSet object itself. @@ -95,7 +95,7 @@ public DiagnosticMetricSet withUnit(String unit) { } /** - * Get the startTime value. + * Get start time of the period. * * @return the startTime value */ @@ -104,7 +104,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the period. * * @param startTime the startTime value to set * @return the DiagnosticMetricSet object itself. @@ -115,7 +115,7 @@ public DiagnosticMetricSet withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the period. * * @return the endTime value */ @@ -124,7 +124,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the period. * * @param endTime the endTime value to set * @return the DiagnosticMetricSet object itself. @@ -135,7 +135,7 @@ public DiagnosticMetricSet withEndTime(DateTime endTime) { } /** - * Get the timeGrain value. + * Get presented time grain. Supported grains at the moment are PT1M, PT1H, P1D. * * @return the timeGrain value */ @@ -144,7 +144,7 @@ public String timeGrain() { } /** - * Set the timeGrain value. + * Set presented time grain. Supported grains at the moment are PT1M, PT1H, P1D. * * @param timeGrain the timeGrain value to set * @return the DiagnosticMetricSet object itself. @@ -155,7 +155,7 @@ public DiagnosticMetricSet withTimeGrain(String timeGrain) { } /** - * Get the values value. + * Get collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}. * * @return the values value */ @@ -164,7 +164,7 @@ public List values() { } /** - * Set the values value. + * Set collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}. * * @param values the values value to set * @return the DiagnosticMetricSet object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ErrorEntity.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ErrorEntity.java index 82b4d767e4b62..8034cbf34f73c 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ErrorEntity.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ErrorEntity.java @@ -52,7 +52,7 @@ public class ErrorEntity { private String message; /** - * Get the extendedCode value. + * Get type of error. * * @return the extendedCode value */ @@ -61,7 +61,7 @@ public String extendedCode() { } /** - * Set the extendedCode value. + * Set type of error. * * @param extendedCode the extendedCode value to set * @return the ErrorEntity object itself. @@ -72,7 +72,7 @@ public ErrorEntity withExtendedCode(String extendedCode) { } /** - * Get the messageTemplate value. + * Get message template. * * @return the messageTemplate value */ @@ -81,7 +81,7 @@ public String messageTemplate() { } /** - * Set the messageTemplate value. + * Set message template. * * @param messageTemplate the messageTemplate value to set * @return the ErrorEntity object itself. @@ -92,7 +92,7 @@ public ErrorEntity withMessageTemplate(String messageTemplate) { } /** - * Get the parameters value. + * Get parameters for the template. * * @return the parameters value */ @@ -101,7 +101,7 @@ public List parameters() { } /** - * Set the parameters value. + * Set parameters for the template. * * @param parameters the parameters value to set * @return the ErrorEntity object itself. @@ -112,7 +112,7 @@ public ErrorEntity withParameters(List parameters) { } /** - * Get the innerErrors value. + * Get inner errors. * * @return the innerErrors value */ @@ -121,7 +121,7 @@ public List innerErrors() { } /** - * Set the innerErrors value. + * Set inner errors. * * @param innerErrors the innerErrors value to set * @return the ErrorEntity object itself. @@ -132,7 +132,7 @@ public ErrorEntity withInnerErrors(List innerErrors) { } /** - * Get the code value. + * Get basic error code. * * @return the code value */ @@ -141,7 +141,7 @@ public String code() { } /** - * Set the code value. + * Set basic error code. * * @param code the code value to set * @return the ErrorEntity object itself. @@ -152,7 +152,7 @@ public ErrorEntity withCode(String code) { } /** - * Get the message value. + * Get any details of the error. * * @return the message value */ @@ -161,7 +161,7 @@ public String message() { } /** - * Set the message value. + * Set any details of the error. * * @param message the message value to set * @return the ErrorEntity object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Experiments.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Experiments.java index 049c541ae447c..e7162ce183029 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Experiments.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Experiments.java @@ -22,7 +22,7 @@ public class Experiments { private List rampUpRules; /** - * Get the rampUpRules value. + * Get list of ramp-up rules. * * @return the rampUpRules value */ @@ -31,7 +31,7 @@ public List rampUpRules() { } /** - * Set the rampUpRules value. + * Set list of ramp-up rules. * * @param rampUpRules the rampUpRules value to set * @return the Experiments object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/GlobalCsmSkuDescription.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/GlobalCsmSkuDescription.java index 715fd5955c5e5..8e261da817216 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/GlobalCsmSkuDescription.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/GlobalCsmSkuDescription.java @@ -58,7 +58,7 @@ public class GlobalCsmSkuDescription { private List capabilities; /** - * Get the name value. + * Get name of the resource SKU. * * @return the name value */ @@ -67,7 +67,7 @@ public String name() { } /** - * Set the name value. + * Set name of the resource SKU. * * @param name the name value to set * @return the GlobalCsmSkuDescription object itself. @@ -78,7 +78,7 @@ public GlobalCsmSkuDescription withName(String name) { } /** - * Get the tier value. + * Get service Tier of the resource SKU. * * @return the tier value */ @@ -87,7 +87,7 @@ public String tier() { } /** - * Set the tier value. + * Set service Tier of the resource SKU. * * @param tier the tier value to set * @return the GlobalCsmSkuDescription object itself. @@ -98,7 +98,7 @@ public GlobalCsmSkuDescription withTier(String tier) { } /** - * Get the size value. + * Get size specifier of the resource SKU. * * @return the size value */ @@ -107,7 +107,7 @@ public String size() { } /** - * Set the size value. + * Set size specifier of the resource SKU. * * @param size the size value to set * @return the GlobalCsmSkuDescription object itself. @@ -118,7 +118,7 @@ public GlobalCsmSkuDescription withSize(String size) { } /** - * Get the family value. + * Get family code of the resource SKU. * * @return the family value */ @@ -127,7 +127,7 @@ public String family() { } /** - * Set the family value. + * Set family code of the resource SKU. * * @param family the family value to set * @return the GlobalCsmSkuDescription object itself. @@ -138,7 +138,7 @@ public GlobalCsmSkuDescription withFamily(String family) { } /** - * Get the capacity value. + * Get min, max, and default scale values of the SKU. * * @return the capacity value */ @@ -147,7 +147,7 @@ public SkuCapacity capacity() { } /** - * Set the capacity value. + * Set min, max, and default scale values of the SKU. * * @param capacity the capacity value to set * @return the GlobalCsmSkuDescription object itself. @@ -158,7 +158,7 @@ public GlobalCsmSkuDescription withCapacity(SkuCapacity capacity) { } /** - * Get the locations value. + * Get locations of the SKU. * * @return the locations value */ @@ -167,7 +167,7 @@ public List locations() { } /** - * Set the locations value. + * Set locations of the SKU. * * @param locations the locations value to set * @return the GlobalCsmSkuDescription object itself. @@ -178,7 +178,7 @@ public GlobalCsmSkuDescription withLocations(List locations) { } /** - * Get the capabilities value. + * Get capabilities of the SKU, e.g., is traffic manager enabled?. * * @return the capabilities value */ @@ -187,7 +187,7 @@ public List capabilities() { } /** - * Set the capabilities value. + * Set capabilities of the SKU, e.g., is traffic manager enabled?. * * @param capabilities the capabilities value to set * @return the GlobalCsmSkuDescription object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HandlerMapping.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HandlerMapping.java index 6b27d83e4c627..7e107bb41c499 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HandlerMapping.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HandlerMapping.java @@ -37,7 +37,7 @@ public class HandlerMapping { private String arguments; /** - * Get the extension value. + * Get requests with this extension will be handled using the specified FastCGI application. * * @return the extension value */ @@ -46,7 +46,7 @@ public String extension() { } /** - * Set the extension value. + * Set requests with this extension will be handled using the specified FastCGI application. * * @param extension the extension value to set * @return the HandlerMapping object itself. @@ -57,7 +57,7 @@ public HandlerMapping withExtension(String extension) { } /** - * Get the scriptProcessor value. + * Get the absolute path to the FastCGI application. * * @return the scriptProcessor value */ @@ -66,7 +66,7 @@ public String scriptProcessor() { } /** - * Set the scriptProcessor value. + * Set the absolute path to the FastCGI application. * * @param scriptProcessor the scriptProcessor value to set * @return the HandlerMapping object itself. @@ -77,7 +77,7 @@ public HandlerMapping withScriptProcessor(String scriptProcessor) { } /** - * Get the arguments value. + * Get command-line arguments to be passed to the script processor. * * @return the arguments value */ @@ -86,7 +86,7 @@ public String arguments() { } /** - * Set the arguments value. + * Set command-line arguments to be passed to the script processor. * * @param arguments the arguments value to set * @return the HandlerMapping object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostNameSslState.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostNameSslState.java index f2291a2bd4b87..99f9246e6b24a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostNameSslState.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostNameSslState.java @@ -53,7 +53,7 @@ public class HostNameSslState { private HostType hostType; /** - * Get the name value. + * Get hostname. * * @return the name value */ @@ -62,7 +62,7 @@ public String name() { } /** - * Set the name value. + * Set hostname. * * @param name the name value to set * @return the HostNameSslState object itself. @@ -73,7 +73,7 @@ public HostNameSslState withName(String name) { } /** - * Get the sslState value. + * Get sSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'. * * @return the sslState value */ @@ -82,7 +82,7 @@ public SslState sslState() { } /** - * Set the sslState value. + * Set sSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'. * * @param sslState the sslState value to set * @return the HostNameSslState object itself. @@ -93,7 +93,7 @@ public HostNameSslState withSslState(SslState sslState) { } /** - * Get the virtualIP value. + * Get virtual IP address assigned to the hostname if IP based SSL is enabled. * * @return the virtualIP value */ @@ -102,7 +102,7 @@ public String virtualIP() { } /** - * Set the virtualIP value. + * Set virtual IP address assigned to the hostname if IP based SSL is enabled. * * @param virtualIP the virtualIP value to set * @return the HostNameSslState object itself. @@ -113,7 +113,7 @@ public HostNameSslState withVirtualIP(String virtualIP) { } /** - * Get the thumbprint value. + * Get sSL certificate thumbprint. * * @return the thumbprint value */ @@ -122,7 +122,7 @@ public String thumbprint() { } /** - * Set the thumbprint value. + * Set sSL certificate thumbprint. * * @param thumbprint the thumbprint value to set * @return the HostNameSslState object itself. @@ -133,7 +133,7 @@ public HostNameSslState withThumbprint(String thumbprint) { } /** - * Get the toUpdate value. + * Get set to <code>true</code> to update existing hostname. * * @return the toUpdate value */ @@ -142,7 +142,7 @@ public Boolean toUpdate() { } /** - * Set the toUpdate value. + * Set set to <code>true</code> to update existing hostname. * * @param toUpdate the toUpdate value to set * @return the HostNameSslState object itself. @@ -153,7 +153,7 @@ public HostNameSslState withToUpdate(Boolean toUpdate) { } /** - * Get the hostType value. + * Get indicates whether the hostname is a standard or repository hostname. Possible values include: 'Standard', 'Repository'. * * @return the hostType value */ @@ -162,7 +162,7 @@ public HostType hostType() { } /** - * Set the hostType value. + * Set indicates whether the hostname is a standard or repository hostname. Possible values include: 'Standard', 'Repository'. * * @param hostType the hostType value to set * @return the HostNameSslState object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostingEnvironmentDeploymentInfo.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostingEnvironmentDeploymentInfo.java index f57b190a4d267..6edc02e1fe055 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostingEnvironmentDeploymentInfo.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostingEnvironmentDeploymentInfo.java @@ -27,7 +27,7 @@ public class HostingEnvironmentDeploymentInfo { private String location; /** - * Get the name value. + * Get name of the App Service Environment. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set name of the App Service Environment. * * @param name the name value to set * @return the HostingEnvironmentDeploymentInfo object itself. @@ -47,7 +47,7 @@ public HostingEnvironmentDeploymentInfo withName(String name) { } /** - * Get the location value. + * Get location of the App Service Environment. * * @return the location value */ @@ -56,7 +56,7 @@ public String location() { } /** - * Set the location value. + * Set location of the App Service Environment. * * @param location the location value to set * @return the HostingEnvironmentDeploymentInfo object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostingEnvironmentProfile.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostingEnvironmentProfile.java index 9449803e6c24a..eaee6a1287431 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostingEnvironmentProfile.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HostingEnvironmentProfile.java @@ -33,7 +33,7 @@ public class HostingEnvironmentProfile { private String type; /** - * Get the id value. + * Get resource ID of the App Service Environment. * * @return the id value */ @@ -42,7 +42,7 @@ public String id() { } /** - * Set the id value. + * Set resource ID of the App Service Environment. * * @param id the id value to set * @return the HostingEnvironmentProfile object itself. @@ -53,7 +53,7 @@ public HostingEnvironmentProfile withId(String id) { } /** - * Get the name value. + * Get name of the App Service Environment. * * @return the name value */ @@ -62,7 +62,7 @@ public String name() { } /** - * Get the type value. + * Get resource type of the App Service Environment. * * @return the type value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HybridConnection.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HybridConnection.java index d64104ce69bc1..d682c6d07ecc8 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HybridConnection.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HybridConnection.java @@ -69,7 +69,7 @@ public class HybridConnection extends ProxyOnlyResource { private String serviceBusSuffix; /** - * Get the serviceBusNamespace value. + * Get the name of the Service Bus namespace. * * @return the serviceBusNamespace value */ @@ -78,7 +78,7 @@ public String serviceBusNamespace() { } /** - * Set the serviceBusNamespace value. + * Set the name of the Service Bus namespace. * * @param serviceBusNamespace the serviceBusNamespace value to set * @return the HybridConnection object itself. @@ -89,7 +89,7 @@ public HybridConnection withServiceBusNamespace(String serviceBusNamespace) { } /** - * Get the relayName value. + * Get the name of the Service Bus relay. * * @return the relayName value */ @@ -98,7 +98,7 @@ public String relayName() { } /** - * Set the relayName value. + * Set the name of the Service Bus relay. * * @param relayName the relayName value to set * @return the HybridConnection object itself. @@ -109,7 +109,7 @@ public HybridConnection withRelayName(String relayName) { } /** - * Get the relayArmUri value. + * Get the ARM URI to the Service Bus relay. * * @return the relayArmUri value */ @@ -118,7 +118,7 @@ public String relayArmUri() { } /** - * Set the relayArmUri value. + * Set the ARM URI to the Service Bus relay. * * @param relayArmUri the relayArmUri value to set * @return the HybridConnection object itself. @@ -129,7 +129,7 @@ public HybridConnection withRelayArmUri(String relayArmUri) { } /** - * Get the hostname value. + * Get the hostname of the endpoint. * * @return the hostname value */ @@ -138,7 +138,7 @@ public String hostname() { } /** - * Set the hostname value. + * Set the hostname of the endpoint. * * @param hostname the hostname value to set * @return the HybridConnection object itself. @@ -149,7 +149,7 @@ public HybridConnection withHostname(String hostname) { } /** - * Get the port value. + * Get the port of the endpoint. * * @return the port value */ @@ -158,7 +158,7 @@ public Integer port() { } /** - * Set the port value. + * Set the port of the endpoint. * * @param port the port value to set * @return the HybridConnection object itself. @@ -169,7 +169,7 @@ public HybridConnection withPort(Integer port) { } /** - * Get the sendKeyName value. + * Get the name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. * * @return the sendKeyName value */ @@ -178,7 +178,7 @@ public String sendKeyName() { } /** - * Set the sendKeyName value. + * Set the name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. * * @param sendKeyName the sendKeyName value to set * @return the HybridConnection object itself. @@ -189,7 +189,8 @@ public HybridConnection withSendKeyName(String sendKeyName) { } /** - * Get the sendKeyValue value. + * Get the value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned + normally, use the POST /listKeys API instead. * * @return the sendKeyValue value */ @@ -198,7 +199,8 @@ public String sendKeyValue() { } /** - * Set the sendKeyValue value. + * Set the value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned + normally, use the POST /listKeys API instead. * * @param sendKeyValue the sendKeyValue value to set * @return the HybridConnection object itself. @@ -209,7 +211,7 @@ public HybridConnection withSendKeyValue(String sendKeyValue) { } /** - * Get the serviceBusSuffix value. + * Get the suffix for the service bus endpoint. By default this is .servicebus.windows.net. * * @return the serviceBusSuffix value */ @@ -218,7 +220,7 @@ public String serviceBusSuffix() { } /** - * Set the serviceBusSuffix value. + * Set the suffix for the service bus endpoint. By default this is .servicebus.windows.net. * * @param serviceBusSuffix the serviceBusSuffix value to set * @return the HybridConnection object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HybridConnectionKey.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HybridConnectionKey.java index e92628d41b56f..8bde03bf78b66 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HybridConnectionKey.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/HybridConnectionKey.java @@ -30,7 +30,7 @@ public class HybridConnectionKey extends ProxyOnlyResource { private String sendKeyValue; /** - * Get the sendKeyName value. + * Get the name of the send key. * * @return the sendKeyName value */ @@ -39,7 +39,7 @@ public String sendKeyName() { } /** - * Get the sendKeyValue value. + * Get the value of the send key. * * @return the sendKeyValue value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/IpSecurityRestriction.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/IpSecurityRestriction.java index b21a86ffeaa8f..e3f038be447ea 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/IpSecurityRestriction.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/IpSecurityRestriction.java @@ -27,7 +27,7 @@ public class IpSecurityRestriction { private String subnetMask; /** - * Get the ipAddress value. + * Get iP address the security restriction is valid for. * * @return the ipAddress value */ @@ -36,7 +36,7 @@ public String ipAddress() { } /** - * Set the ipAddress value. + * Set iP address the security restriction is valid for. * * @param ipAddress the ipAddress value to set * @return the IpSecurityRestriction object itself. @@ -47,7 +47,7 @@ public IpSecurityRestriction withIpAddress(String ipAddress) { } /** - * Get the subnetMask value. + * Get subnet mask for the range of IP addresses the restriction is valid for. * * @return the subnetMask value */ @@ -56,7 +56,7 @@ public String subnetMask() { } /** - * Set the subnetMask value. + * Set subnet mask for the range of IP addresses the restriction is valid for. * * @param subnetMask the subnetMask value to set * @return the IpSecurityRestriction object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/LocalizableString.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/LocalizableString.java index 6793a6e17a981..9562e35b5756a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/LocalizableString.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/LocalizableString.java @@ -27,7 +27,7 @@ public class LocalizableString { private String localizedValue; /** - * Get the value value. + * Get non-localized name. * * @return the value value */ @@ -36,7 +36,7 @@ public String value() { } /** - * Set the value value. + * Set non-localized name. * * @param value the value value to set * @return the LocalizableString object itself. @@ -47,7 +47,7 @@ public LocalizableString withValue(String value) { } /** - * Get the localizedValue value. + * Get localized name. * * @return the localizedValue value */ @@ -56,7 +56,7 @@ public String localizedValue() { } /** - * Set the localizedValue value. + * Set localized name. * * @param localizedValue the localizedValue value to set * @return the LocalizableString object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ManagedServiceIdentity.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ManagedServiceIdentity.java index 08ad29141bbb4..0102be8eac22b 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ManagedServiceIdentity.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ManagedServiceIdentity.java @@ -34,7 +34,7 @@ public class ManagedServiceIdentity { private String principalId; /** - * Get the type value. + * Get type of managed service identity. Possible values include: 'SystemAssigned'. * * @return the type value */ @@ -43,7 +43,7 @@ public ManagedServiceIdentityType type() { } /** - * Set the type value. + * Set type of managed service identity. Possible values include: 'SystemAssigned'. * * @param type the type value to set * @return the ManagedServiceIdentity object itself. @@ -54,7 +54,7 @@ public ManagedServiceIdentity withType(ManagedServiceIdentityType type) { } /** - * Get the tenantId value. + * Get tenant of managed service identity. * * @return the tenantId value */ @@ -63,7 +63,7 @@ public String tenantId() { } /** - * Get the principalId value. + * Get principal Id of managed service identity. * * @return the principalId value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NameIdentifier.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NameIdentifier.java index 11317445cf708..10bf7ca9d2752 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NameIdentifier.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NameIdentifier.java @@ -21,7 +21,7 @@ public class NameIdentifier { private String name; /** - * Get the name value. + * Get name of the object. * * @return the name value */ @@ -30,7 +30,7 @@ public String name() { } /** - * Set the name value. + * Set name of the object. * * @param name the name value to set * @return the NameIdentifier object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NameValuePair.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NameValuePair.java index 0352951acbbe9..378e2c505fb0a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NameValuePair.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NameValuePair.java @@ -27,7 +27,7 @@ public class NameValuePair { private String value; /** - * Get the name value. + * Get pair name. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set pair name. * * @param name the name value to set * @return the NameValuePair object itself. @@ -47,7 +47,7 @@ public NameValuePair withName(String name) { } /** - * Get the value value. + * Get pair value. * * @return the value value */ @@ -56,7 +56,7 @@ public String value() { } /** - * Set the value value. + * Set pair value. * * @param value the value value to set * @return the NameValuePair object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NetworkAccessControlEntry.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NetworkAccessControlEntry.java index 0ba804bf24728..91b77995b3818 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NetworkAccessControlEntry.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/NetworkAccessControlEntry.java @@ -39,7 +39,7 @@ public class NetworkAccessControlEntry { private String remoteSubnet; /** - * Get the action value. + * Get action object. Possible values include: 'Permit', 'Deny'. * * @return the action value */ @@ -48,7 +48,7 @@ public AccessControlEntryAction action() { } /** - * Set the action value. + * Set action object. Possible values include: 'Permit', 'Deny'. * * @param action the action value to set * @return the NetworkAccessControlEntry object itself. @@ -59,7 +59,7 @@ public NetworkAccessControlEntry withAction(AccessControlEntryAction action) { } /** - * Get the description value. + * Get description of network access control entry. * * @return the description value */ @@ -68,7 +68,7 @@ public String description() { } /** - * Set the description value. + * Set description of network access control entry. * * @param description the description value to set * @return the NetworkAccessControlEntry object itself. @@ -79,7 +79,7 @@ public NetworkAccessControlEntry withDescription(String description) { } /** - * Get the order value. + * Get order of precedence. * * @return the order value */ @@ -88,7 +88,7 @@ public Integer order() { } /** - * Set the order value. + * Set order of precedence. * * @param order the order value to set * @return the NetworkAccessControlEntry object itself. @@ -99,7 +99,7 @@ public NetworkAccessControlEntry withOrder(Integer order) { } /** - * Get the remoteSubnet value. + * Get remote subnet. * * @return the remoteSubnet value */ @@ -108,7 +108,7 @@ public String remoteSubnet() { } /** - * Set the remoteSubnet value. + * Set remote subnet. * * @param remoteSubnet the remoteSubnet value to set * @return the NetworkAccessControlEntry object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Operation.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Operation.java index d5b3227187153..69b8c495c8a1f 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Operation.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Operation.java @@ -67,7 +67,7 @@ public class Operation { private UUID geoMasterOperationId; /** - * Get the id value. + * Get operation ID. * * @return the id value */ @@ -76,7 +76,7 @@ public String id() { } /** - * Set the id value. + * Set operation ID. * * @param id the id value to set * @return the Operation object itself. @@ -87,7 +87,7 @@ public Operation withId(String id) { } /** - * Get the name value. + * Get operation name. * * @return the name value */ @@ -96,7 +96,7 @@ public String name() { } /** - * Set the name value. + * Set operation name. * * @param name the name value to set * @return the Operation object itself. @@ -107,7 +107,7 @@ public Operation withName(String name) { } /** - * Get the status value. + * Get the current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @return the status value */ @@ -116,7 +116,7 @@ public OperationStatus status() { } /** - * Set the status value. + * Set the current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @param status the status value to set * @return the Operation object itself. @@ -127,7 +127,7 @@ public Operation withStatus(OperationStatus status) { } /** - * Get the errors value. + * Get any errors associate with the operation. * * @return the errors value */ @@ -136,7 +136,7 @@ public List errors() { } /** - * Set the errors value. + * Set any errors associate with the operation. * * @param errors the errors value to set * @return the Operation object itself. @@ -147,7 +147,7 @@ public Operation withErrors(List errors) { } /** - * Get the createdTime value. + * Get time when operation has started. * * @return the createdTime value */ @@ -156,7 +156,7 @@ public DateTime createdTime() { } /** - * Set the createdTime value. + * Set time when operation has started. * * @param createdTime the createdTime value to set * @return the Operation object itself. @@ -167,7 +167,7 @@ public Operation withCreatedTime(DateTime createdTime) { } /** - * Get the modifiedTime value. + * Get time when operation has been updated. * * @return the modifiedTime value */ @@ -176,7 +176,7 @@ public DateTime modifiedTime() { } /** - * Set the modifiedTime value. + * Set time when operation has been updated. * * @param modifiedTime the modifiedTime value to set * @return the Operation object itself. @@ -187,7 +187,7 @@ public Operation withModifiedTime(DateTime modifiedTime) { } /** - * Get the expirationTime value. + * Get time when operation will expire. * * @return the expirationTime value */ @@ -196,7 +196,7 @@ public DateTime expirationTime() { } /** - * Set the expirationTime value. + * Set time when operation will expire. * * @param expirationTime the expirationTime value to set * @return the Operation object itself. @@ -207,7 +207,7 @@ public Operation withExpirationTime(DateTime expirationTime) { } /** - * Get the geoMasterOperationId value. + * Get applicable only for stamp operation ids. * * @return the geoMasterOperationId value */ @@ -216,7 +216,7 @@ public UUID geoMasterOperationId() { } /** - * Set the geoMasterOperationId value. + * Set applicable only for stamp operation ids. * * @param geoMasterOperationId the geoMasterOperationId value to set * @return the Operation object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ProxyOnlyResource.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ProxyOnlyResource.java index 45a2c4d7031ed..8493148b6cb93 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ProxyOnlyResource.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ProxyOnlyResource.java @@ -23,7 +23,7 @@ public class ProxyOnlyResource extends ProxyResource { private String kind; /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -32,7 +32,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the ProxyOnlyResource object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/PushSettings.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/PushSettings.java index fe93e56fd3455..4d9f8b19260bf 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/PushSettings.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/PushSettings.java @@ -47,7 +47,7 @@ public class PushSettings extends ProxyOnlyResource { private String dynamicTagsJson; /** - * Get the isPushEnabled value. + * Get gets or sets a flag indicating whether the Push endpoint is enabled. * * @return the isPushEnabled value */ @@ -56,7 +56,7 @@ public boolean isPushEnabled() { } /** - * Set the isPushEnabled value. + * Set gets or sets a flag indicating whether the Push endpoint is enabled. * * @param isPushEnabled the isPushEnabled value to set * @return the PushSettings object itself. @@ -67,7 +67,7 @@ public PushSettings withIsPushEnabled(boolean isPushEnabled) { } /** - * Get the tagWhitelistJson value. + * Get gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. * * @return the tagWhitelistJson value */ @@ -76,7 +76,7 @@ public String tagWhitelistJson() { } /** - * Set the tagWhitelistJson value. + * Set gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. * * @param tagWhitelistJson the tagWhitelistJson value to set * @return the PushSettings object itself. @@ -87,7 +87,10 @@ public PushSettings withTagWhitelistJson(String tagWhitelistJson) { } /** - * Get the tagsRequiringAuth value. + * Get gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. * * @return the tagsRequiringAuth value */ @@ -96,7 +99,10 @@ public String tagsRequiringAuth() { } /** - * Set the tagsRequiringAuth value. + * Set gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. * * @param tagsRequiringAuth the tagsRequiringAuth value to set * @return the PushSettings object itself. @@ -107,7 +113,7 @@ public PushSettings withTagsRequiringAuth(String tagsRequiringAuth) { } /** - * Get the dynamicTagsJson value. + * Get gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. * * @return the dynamicTagsJson value */ @@ -116,7 +122,7 @@ public String dynamicTagsJson() { } /** - * Set the dynamicTagsJson value. + * Set gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. * * @param dynamicTagsJson the dynamicTagsJson value to set * @return the PushSettings object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RampUpRule.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RampUpRule.java index 5ae72cade6d6f..06575a150066a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RampUpRule.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RampUpRule.java @@ -78,7 +78,7 @@ public class RampUpRule { private String name; /** - * Get the actionHostName value. + * Get hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. * * @return the actionHostName value */ @@ -87,7 +87,7 @@ public String actionHostName() { } /** - * Set the actionHostName value. + * Set hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. * * @param actionHostName the actionHostName value to set * @return the RampUpRule object itself. @@ -98,7 +98,7 @@ public RampUpRule withActionHostName(String actionHostName) { } /** - * Get the reroutePercentage value. + * Get percentage of the traffic which will be redirected to <code>ActionHostName</code>. * * @return the reroutePercentage value */ @@ -107,7 +107,7 @@ public Double reroutePercentage() { } /** - * Set the reroutePercentage value. + * Set percentage of the traffic which will be redirected to <code>ActionHostName</code>. * * @param reroutePercentage the reroutePercentage value to set * @return the RampUpRule object itself. @@ -118,7 +118,9 @@ public RampUpRule withReroutePercentage(Double reroutePercentage) { } /** - * Get the changeStep value. + * Get in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @return the changeStep value */ @@ -127,7 +129,9 @@ public Double changeStep() { } /** - * Set the changeStep value. + * Set in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @param changeStep the changeStep value to set * @return the RampUpRule object itself. @@ -138,7 +142,7 @@ public RampUpRule withChangeStep(Double changeStep) { } /** - * Get the changeIntervalInMinutes value. + * Get specifies interval in mimuntes to reevaluate ReroutePercentage. * * @return the changeIntervalInMinutes value */ @@ -147,7 +151,7 @@ public Integer changeIntervalInMinutes() { } /** - * Set the changeIntervalInMinutes value. + * Set specifies interval in mimuntes to reevaluate ReroutePercentage. * * @param changeIntervalInMinutes the changeIntervalInMinutes value to set * @return the RampUpRule object itself. @@ -158,7 +162,7 @@ public RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes) { } /** - * Get the minReroutePercentage value. + * Get specifies lower boundary above which ReroutePercentage will stay. * * @return the minReroutePercentage value */ @@ -167,7 +171,7 @@ public Double minReroutePercentage() { } /** - * Set the minReroutePercentage value. + * Set specifies lower boundary above which ReroutePercentage will stay. * * @param minReroutePercentage the minReroutePercentage value to set * @return the RampUpRule object itself. @@ -178,7 +182,7 @@ public RampUpRule withMinReroutePercentage(Double minReroutePercentage) { } /** - * Get the maxReroutePercentage value. + * Get specifies upper boundary below which ReroutePercentage will stay. * * @return the maxReroutePercentage value */ @@ -187,7 +191,7 @@ public Double maxReroutePercentage() { } /** - * Set the maxReroutePercentage value. + * Set specifies upper boundary below which ReroutePercentage will stay. * * @param maxReroutePercentage the maxReroutePercentage value to set * @return the RampUpRule object itself. @@ -198,7 +202,8 @@ public RampUpRule withMaxReroutePercentage(Double maxReroutePercentage) { } /** - * Get the changeDecisionCallbackUrl value. + * Get custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. + https://www.siteextensions.net/packages/TiPCallback/. * * @return the changeDecisionCallbackUrl value */ @@ -207,7 +212,8 @@ public String changeDecisionCallbackUrl() { } /** - * Set the changeDecisionCallbackUrl value. + * Set custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. + https://www.siteextensions.net/packages/TiPCallback/. * * @param changeDecisionCallbackUrl the changeDecisionCallbackUrl value to set * @return the RampUpRule object itself. @@ -218,7 +224,7 @@ public RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl } /** - * Get the name value. + * Get name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. * * @return the name value */ @@ -227,7 +233,7 @@ public String name() { } /** - * Set the name value. + * Set name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. * * @param name the name value to set * @return the RampUpRule object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Recommendation.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Recommendation.java index 0bd4b2cdf51a5..4495e9d9e540e 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Recommendation.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Recommendation.java @@ -11,7 +11,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_03_01.implementation.RecommendationInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import org.joda.time.DateTime; import java.util.UUID; import java.util.List; @@ -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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RecommendationRule.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RecommendationRule.java index 15408267f21c0..f6b9b27920256 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RecommendationRule.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_03_01.implementation.RecommendationRuleInner; import java.util.UUID; import java.util.List; @@ -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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Rendering.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Rendering.java index e5ec454d838ac..ac46f8b551152 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Rendering.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Rendering.java @@ -34,7 +34,7 @@ public class Rendering { private String description; /** - * Get the renderingType value. + * Get rendering Type. Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance'. * * @return the renderingType value */ @@ -43,7 +43,7 @@ public RenderingType renderingType() { } /** - * Set the renderingType value. + * Set rendering Type. Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance'. * * @param renderingType the renderingType value to set * @return the Rendering object itself. @@ -54,7 +54,7 @@ public Rendering withRenderingType(RenderingType renderingType) { } /** - * Get the title value. + * Get title of data. * * @return the title value */ @@ -63,7 +63,7 @@ public String title() { } /** - * Set the title value. + * Set title of data. * * @param title the title value to set * @return the Rendering object itself. @@ -74,7 +74,7 @@ public Rendering withTitle(String title) { } /** - * Get the description value. + * Get description of the data that will help it be interpreted. * * @return the description value */ @@ -83,7 +83,7 @@ public String description() { } /** - * Set the description value. + * Set description of the data that will help it be interpreted. * * @param description the description value to set * @return the Rendering object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RequestsBasedTrigger.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RequestsBasedTrigger.java index 585b0ba80f362..54a38a2e1427c 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RequestsBasedTrigger.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RequestsBasedTrigger.java @@ -27,7 +27,7 @@ public class RequestsBasedTrigger { private String timeInterval; /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -36,7 +36,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the RequestsBasedTrigger object itself. @@ -47,7 +47,7 @@ public RequestsBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -56,7 +56,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the RequestsBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceHealthMetadata.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceHealthMetadata.java index 622451af120c5..2ecfa43c81a13 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceHealthMetadata.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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.v2016_03_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_03_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_03_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/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetric.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetric.java index 59ebb68a266d4..9209e7d68861c 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetric.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetric.java @@ -71,7 +71,7 @@ public class ResourceMetric { private List properties; /** - * Get the name value. + * Get name of metric. * * @return the name value */ @@ -80,7 +80,7 @@ public ResourceMetricName name() { } /** - * Get the unit value. + * Get metric unit. * * @return the unit value */ @@ -89,7 +89,7 @@ public String unit() { } /** - * Get the timeGrain value. + * Get metric granularity. E.g PT1H, PT5M, P1D. * * @return the timeGrain value */ @@ -98,7 +98,7 @@ public String timeGrain() { } /** - * Get the startTime value. + * Get metric start time. * * @return the startTime value */ @@ -107,7 +107,7 @@ public DateTime startTime() { } /** - * Get the endTime value. + * Get metric end time. * * @return the endTime value */ @@ -116,7 +116,7 @@ public DateTime endTime() { } /** - * Get the resourceId value. + * Get metric resource Id. * * @return the resourceId value */ @@ -125,7 +125,7 @@ public String resourceId() { } /** - * Get the id value. + * Get resource Id. * * @return the id value */ @@ -134,7 +134,7 @@ public String id() { } /** - * Get the metricValues value. + * Get metric values. * * @return the metricValues value */ @@ -143,7 +143,7 @@ public List metricValues() { } /** - * Get the properties value. + * Get resource metric properties collection. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricAvailability.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricAvailability.java index ab25babdcebc8..c48e640371405 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricAvailability.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricAvailability.java @@ -27,7 +27,7 @@ public class ResourceMetricAvailability { private String retention; /** - * Get the timeGrain value. + * Get time grain . * * @return the timeGrain value */ @@ -36,7 +36,7 @@ public String timeGrain() { } /** - * Get the retention value. + * Get retention period for the current time grain. * * @return the retention value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricCollection.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricCollection.java index 91bb20b3591c7..2649cb2c9b752 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricCollection.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricCollection.java @@ -28,7 +28,7 @@ public class ResourceMetricCollection { private String nextLink; /** - * Get the value value. + * Get collection of resources. * * @return the value value */ @@ -37,7 +37,7 @@ public List value() { } /** - * Set the value value. + * Set collection of resources. * * @param value the value value to set * @return the ResourceMetricCollection object itself. @@ -48,7 +48,7 @@ public ResourceMetricCollection withValue(List value) { } /** - * Get the nextLink value. + * Get link to next page of resources. * * @return the nextLink value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricDefinition.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricDefinition.java index fb5a4b6e716c6..6ea89c60c9c7b 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricDefinition.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricDefinition.java @@ -62,7 +62,7 @@ public class ResourceMetricDefinition extends ProxyOnlyResource { private Map properties; /** - * Get the resourceMetricDefinitionName value. + * Get name of the metric. * * @return the resourceMetricDefinitionName value */ @@ -71,7 +71,7 @@ public ResourceMetricName resourceMetricDefinitionName() { } /** - * Get the unit value. + * Get unit of the metric. * * @return the unit value */ @@ -80,7 +80,7 @@ public String unit() { } /** - * Get the primaryAggregationType value. + * Get primary aggregation type. * * @return the primaryAggregationType value */ @@ -89,7 +89,7 @@ public String primaryAggregationType() { } /** - * Get the metricAvailabilities value. + * Get list of time grains supported for the metric together with retention period. * * @return the metricAvailabilities value */ @@ -98,7 +98,7 @@ public List metricAvailabilities() { } /** - * Get the resourceUri value. + * Get resource URI. * * @return the resourceUri value */ @@ -107,7 +107,7 @@ public String resourceUri() { } /** - * Get the resourceMetricDefinitionId value. + * Get resource ID. * * @return the resourceMetricDefinitionId value */ @@ -116,7 +116,7 @@ public String resourceMetricDefinitionId() { } /** - * Get the properties value. + * Get resource metric definition properties. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricDefinitionCollection.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricDefinitionCollection.java index 495ed70658e52..604b35be00f18 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricDefinitionCollection.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceMetricDefinitionCollection.java @@ -28,7 +28,7 @@ public class ResourceMetricDefinitionCollection { private String nextLink; /** - * Get the value value. + * Get collection of resources. * * @return the value value */ @@ -37,7 +37,7 @@ public List value() { } /** - * Set the value value. + * Set collection of resources. * * @param value the value value to set * @return the ResourceMetricDefinitionCollection object itself. @@ -48,7 +48,7 @@ public ResourceMetricDefinitionCollection withValue(List properties; /** - * Get the timestamp value. + * Get value timestamp. * * @return the timestamp value */ @@ -67,7 +67,7 @@ public String timestamp() { } /** - * Get the average value. + * Get value average. * * @return the average value */ @@ -76,7 +76,7 @@ public Double average() { } /** - * Get the minimum value. + * Get value minimum. * * @return the minimum value */ @@ -85,7 +85,7 @@ public Double minimum() { } /** - * Get the maximum value. + * Get value maximum. * * @return the maximum value */ @@ -94,7 +94,7 @@ public Double maximum() { } /** - * Get the total value. + * Get value total. * * @return the total value */ @@ -103,7 +103,7 @@ public Double total() { } /** - * Get the count value. + * Get value count. * * @return the count value */ @@ -112,7 +112,7 @@ public Double count() { } /** - * Get the properties value. + * Get resource metric properties collection. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceNameAvailabilityRequest.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceNameAvailabilityRequest.java index df7f8c46d62c0..6cd8019efb8b2 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceNameAvailabilityRequest.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResourceNameAvailabilityRequest.java @@ -36,7 +36,7 @@ public class ResourceNameAvailabilityRequest { private Boolean isFqdn; /** - * Get the name value. + * Get resource name to verify. * * @return the name value */ @@ -45,7 +45,7 @@ public String name() { } /** - * Set the name value. + * Set resource name to verify. * * @param name the name value to set * @return the ResourceNameAvailabilityRequest object itself. @@ -56,7 +56,7 @@ public ResourceNameAvailabilityRequest withName(String name) { } /** - * Get the type value. + * Get resource type used for verification. Possible values include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'. * * @return the type value */ @@ -65,7 +65,7 @@ public CheckNameResourceTypes type() { } /** - * Set the type value. + * Set resource type used for verification. Possible values include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'. * * @param type the type value to set * @return the ResourceNameAvailabilityRequest object itself. @@ -76,7 +76,7 @@ public ResourceNameAvailabilityRequest withType(CheckNameResourceTypes type) { } /** - * Get the isFqdn value. + * Get is fully qualified domain name. * * @return the isFqdn value */ @@ -85,7 +85,7 @@ public Boolean isFqdn() { } /** - * Set the isFqdn value. + * Set is fully qualified domain name. * * @param isFqdn the isFqdn value to set * @return the ResourceNameAvailabilityRequest object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResponseMetaData.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResponseMetaData.java index a15fbe490ef99..5f7bba0cbe33b 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResponseMetaData.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ResponseMetaData.java @@ -21,7 +21,7 @@ public class ResponseMetaData { private DataSource dataSource; /** - * Get the dataSource value. + * Get source of the Data. * * @return the dataSource value */ @@ -30,7 +30,7 @@ public DataSource dataSource() { } /** - * Set the dataSource value. + * Set source of the Data. * * @param dataSource the dataSource value to set * @return the ResponseMetaData object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Site.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Site.java index ba6460fa52a01..7f02505c09305 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Site.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Site.java @@ -253,7 +253,7 @@ public class Site extends Resource { private String kind; /** - * Get the state value. + * Get current state of the app. * * @return the state value */ @@ -262,7 +262,7 @@ public String state() { } /** - * Get the hostNames value. + * Get hostnames associated with the app. * * @return the hostNames value */ @@ -271,7 +271,7 @@ public List hostNames() { } /** - * Get the repositorySiteName value. + * Get name of the repository site. * * @return the repositorySiteName value */ @@ -280,7 +280,7 @@ public String repositorySiteName() { } /** - * Get the usageState value. + * Get state indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'. * * @return the usageState value */ @@ -289,7 +289,7 @@ public UsageState usageState() { } /** - * Get the enabled value. + * Get <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @return the enabled value */ @@ -298,7 +298,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @param enabled the enabled value to set * @return the Site object itself. @@ -309,7 +309,8 @@ public Site withEnabled(Boolean enabled) { } /** - * Get the enabledHostNames value. + * Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, + the app is not served on those hostnames. * * @return the enabledHostNames value */ @@ -318,7 +319,7 @@ public List enabledHostNames() { } /** - * Get the availabilityState value. + * Get management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'. * * @return the availabilityState value */ @@ -327,7 +328,7 @@ public SiteAvailabilityState availabilityState() { } /** - * Get the hostNameSslStates value. + * Get hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @return the hostNameSslStates value */ @@ -336,7 +337,7 @@ public List hostNameSslStates() { } /** - * Set the hostNameSslStates value. + * Set hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @param hostNameSslStates the hostNameSslStates value to set * @return the Site object itself. @@ -347,7 +348,7 @@ public Site withHostNameSslStates(List hostNameSslStates) { } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -356,7 +357,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the Site object itself. @@ -367,7 +368,7 @@ public Site withServerFarmId(String serverFarmId) { } /** - * Get the reserved value. + * Get <code>true</code> if reserved; otherwise, <code>false</code>. * * @return the reserved value */ @@ -376,7 +377,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set <code>true</code> if reserved; otherwise, <code>false</code>. * * @param reserved the reserved value to set * @return the Site object itself. @@ -387,7 +388,7 @@ public Site withReserved(Boolean reserved) { } /** - * Get the lastModifiedTimeUtc value. + * Get last time the app was modified, in UTC. Read-only. * * @return the lastModifiedTimeUtc value */ @@ -396,7 +397,7 @@ public DateTime lastModifiedTimeUtc() { } /** - * Get the siteConfig value. + * Get configuration of the app. * * @return the siteConfig value */ @@ -405,7 +406,7 @@ public SiteConfig siteConfig() { } /** - * Set the siteConfig value. + * Set configuration of the app. * * @param siteConfig the siteConfig value to set * @return the Site object itself. @@ -416,7 +417,7 @@ public Site withSiteConfig(SiteConfig siteConfig) { } /** - * Get the trafficManagerHostNames value. + * Get azure Traffic Manager hostnames associated with the app. Read-only. * * @return the trafficManagerHostNames value */ @@ -425,7 +426,7 @@ public List trafficManagerHostNames() { } /** - * Get the scmSiteAlsoStopped value. + * Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @return the scmSiteAlsoStopped value */ @@ -434,7 +435,7 @@ public Boolean scmSiteAlsoStopped() { } /** - * Set the scmSiteAlsoStopped value. + * Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @param scmSiteAlsoStopped the scmSiteAlsoStopped value to set * @return the Site object itself. @@ -445,7 +446,7 @@ public Site withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped) { } /** - * Get the targetSwapSlot value. + * Get specifies which deployment slot this app will swap into. Read-only. * * @return the targetSwapSlot value */ @@ -454,7 +455,7 @@ public String targetSwapSlot() { } /** - * Get the hostingEnvironmentProfile value. + * Get app Service Environment to use for the app. * * @return the hostingEnvironmentProfile value */ @@ -463,7 +464,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set app Service Environment to use for the app. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the Site object itself. @@ -474,7 +475,7 @@ public Site withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvir } /** - * Get the clientAffinityEnabled value. + * Get <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @return the clientAffinityEnabled value */ @@ -483,7 +484,7 @@ public Boolean clientAffinityEnabled() { } /** - * Set the clientAffinityEnabled value. + * Set <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @param clientAffinityEnabled the clientAffinityEnabled value to set * @return the Site object itself. @@ -494,7 +495,7 @@ public Site withClientAffinityEnabled(Boolean clientAffinityEnabled) { } /** - * Get the clientCertEnabled value. + * Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @return the clientCertEnabled value */ @@ -503,7 +504,7 @@ public Boolean clientCertEnabled() { } /** - * Set the clientCertEnabled value. + * Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @param clientCertEnabled the clientCertEnabled value to set * @return the Site object itself. @@ -514,7 +515,8 @@ public Site withClientCertEnabled(Boolean clientCertEnabled) { } /** - * Get the hostNamesDisabled value. + * Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @return the hostNamesDisabled value */ @@ -523,7 +525,8 @@ public Boolean hostNamesDisabled() { } /** - * Set the hostNamesDisabled value. + * Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @param hostNamesDisabled the hostNamesDisabled value to set * @return the Site object itself. @@ -534,7 +537,7 @@ public Site withHostNamesDisabled(Boolean hostNamesDisabled) { } /** - * Get the outboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. * * @return the outboundIpAddresses value */ @@ -543,7 +546,7 @@ public String outboundIpAddresses() { } /** - * Get the possibleOutboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. * * @return the possibleOutboundIpAddresses value */ @@ -552,7 +555,7 @@ public String possibleOutboundIpAddresses() { } /** - * Get the containerSize value. + * Get size of the function container. * * @return the containerSize value */ @@ -561,7 +564,7 @@ public Integer containerSize() { } /** - * Set the containerSize value. + * Set size of the function container. * * @param containerSize the containerSize value to set * @return the Site object itself. @@ -572,7 +575,7 @@ public Site withContainerSize(Integer containerSize) { } /** - * Get the dailyMemoryTimeQuota value. + * Get maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @return the dailyMemoryTimeQuota value */ @@ -581,7 +584,7 @@ public Integer dailyMemoryTimeQuota() { } /** - * Set the dailyMemoryTimeQuota value. + * Set maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @param dailyMemoryTimeQuota the dailyMemoryTimeQuota value to set * @return the Site object itself. @@ -592,7 +595,7 @@ public Site withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota) { } /** - * Get the suspendedTill value. + * Get app suspended till in case memory-time quota is exceeded. * * @return the suspendedTill value */ @@ -601,7 +604,8 @@ public DateTime suspendedTill() { } /** - * Get the maxNumberOfWorkers value. + * Get maximum number of workers. + This only applies to Functions container. * * @return the maxNumberOfWorkers value */ @@ -610,7 +614,7 @@ public Integer maxNumberOfWorkers() { } /** - * Get the cloningInfo value. + * Get if specified during app creation, the app is cloned from a source app. * * @return the cloningInfo value */ @@ -619,7 +623,7 @@ public CloningInfo cloningInfo() { } /** - * Set the cloningInfo value. + * Set if specified during app creation, the app is cloned from a source app. * * @param cloningInfo the cloningInfo value to set * @return the Site object itself. @@ -630,7 +634,7 @@ public Site withCloningInfo(CloningInfo cloningInfo) { } /** - * Get the snapshotInfo value. + * Get if specified during app creation, the app is created from a previous snapshot. * * @return the snapshotInfo value */ @@ -639,7 +643,7 @@ public SnapshotRecoveryRequest snapshotInfo() { } /** - * Set the snapshotInfo value. + * Set if specified during app creation, the app is created from a previous snapshot. * * @param snapshotInfo the snapshotInfo value to set * @return the Site object itself. @@ -650,7 +654,7 @@ public Site withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { } /** - * Get the resourceGroup value. + * Get name of the resource group the app belongs to. Read-only. * * @return the resourceGroup value */ @@ -659,7 +663,7 @@ public String resourceGroup() { } /** - * Get the isDefaultContainer value. + * Get <code>true</code> if the app is a default container; otherwise, <code>false</code>. * * @return the isDefaultContainer value */ @@ -668,7 +672,7 @@ public Boolean isDefaultContainer() { } /** - * Get the defaultHostName value. + * Get default hostname of the app. Read-only. * * @return the defaultHostName value */ @@ -677,7 +681,7 @@ public String defaultHostName() { } /** - * Get the slotSwapStatus value. + * Get status of the last deployment slot swap operation. * * @return the slotSwapStatus value */ @@ -686,7 +690,8 @@ public SlotSwapStatus slotSwapStatus() { } /** - * Get the httpsOnly value. + * Get httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @return the httpsOnly value */ @@ -695,7 +700,8 @@ public Boolean httpsOnly() { } /** - * Set the httpsOnly value. + * Set httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @param httpsOnly the httpsOnly value to set * @return the Site object itself. @@ -726,7 +732,7 @@ public Site withIdentity(ManagedServiceIdentity identity) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -735,7 +741,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the Site object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteConfig.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteConfig.java index 765ccc882d56d..846c69c7f4e31 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteConfig.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteConfig.java @@ -302,7 +302,7 @@ public class SiteConfig { private SupportedTlsVersions minTlsVersion; /** - * Get the numberOfWorkers value. + * Get number of workers. * * @return the numberOfWorkers value */ @@ -311,7 +311,7 @@ public Integer numberOfWorkers() { } /** - * Set the numberOfWorkers value. + * Set number of workers. * * @param numberOfWorkers the numberOfWorkers value to set * @return the SiteConfig object itself. @@ -322,7 +322,7 @@ public SiteConfig withNumberOfWorkers(Integer numberOfWorkers) { } /** - * Get the defaultDocuments value. + * Get default documents. * * @return the defaultDocuments value */ @@ -331,7 +331,7 @@ public List defaultDocuments() { } /** - * Set the defaultDocuments value. + * Set default documents. * * @param defaultDocuments the defaultDocuments value to set * @return the SiteConfig object itself. @@ -342,7 +342,7 @@ public SiteConfig withDefaultDocuments(List defaultDocuments) { } /** - * Get the netFrameworkVersion value. + * Get .NET Framework version. * * @return the netFrameworkVersion value */ @@ -351,7 +351,7 @@ public String netFrameworkVersion() { } /** - * Set the netFrameworkVersion value. + * Set .NET Framework version. * * @param netFrameworkVersion the netFrameworkVersion value to set * @return the SiteConfig object itself. @@ -362,7 +362,7 @@ public SiteConfig withNetFrameworkVersion(String netFrameworkVersion) { } /** - * Get the phpVersion value. + * Get version of PHP. * * @return the phpVersion value */ @@ -371,7 +371,7 @@ public String phpVersion() { } /** - * Set the phpVersion value. + * Set version of PHP. * * @param phpVersion the phpVersion value to set * @return the SiteConfig object itself. @@ -382,7 +382,7 @@ public SiteConfig withPhpVersion(String phpVersion) { } /** - * Get the pythonVersion value. + * Get version of Python. * * @return the pythonVersion value */ @@ -391,7 +391,7 @@ public String pythonVersion() { } /** - * Set the pythonVersion value. + * Set version of Python. * * @param pythonVersion the pythonVersion value to set * @return the SiteConfig object itself. @@ -402,7 +402,7 @@ public SiteConfig withPythonVersion(String pythonVersion) { } /** - * Get the nodeVersion value. + * Get version of Node.js. * * @return the nodeVersion value */ @@ -411,7 +411,7 @@ public String nodeVersion() { } /** - * Set the nodeVersion value. + * Set version of Node.js. * * @param nodeVersion the nodeVersion value to set * @return the SiteConfig object itself. @@ -422,7 +422,7 @@ public SiteConfig withNodeVersion(String nodeVersion) { } /** - * Get the linuxFxVersion value. + * Get linux App Framework and version. * * @return the linuxFxVersion value */ @@ -431,7 +431,7 @@ public String linuxFxVersion() { } /** - * Set the linuxFxVersion value. + * Set linux App Framework and version. * * @param linuxFxVersion the linuxFxVersion value to set * @return the SiteConfig object itself. @@ -442,7 +442,7 @@ public SiteConfig withLinuxFxVersion(String linuxFxVersion) { } /** - * Get the requestTracingEnabled value. + * Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @return the requestTracingEnabled value */ @@ -451,7 +451,7 @@ public Boolean requestTracingEnabled() { } /** - * Set the requestTracingEnabled value. + * Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @param requestTracingEnabled the requestTracingEnabled value to set * @return the SiteConfig object itself. @@ -462,7 +462,7 @@ public SiteConfig withRequestTracingEnabled(Boolean requestTracingEnabled) { } /** - * Get the requestTracingExpirationTime value. + * Get request tracing expiration time. * * @return the requestTracingExpirationTime value */ @@ -471,7 +471,7 @@ public DateTime requestTracingExpirationTime() { } /** - * Set the requestTracingExpirationTime value. + * Set request tracing expiration time. * * @param requestTracingExpirationTime the requestTracingExpirationTime value to set * @return the SiteConfig object itself. @@ -482,7 +482,7 @@ public SiteConfig withRequestTracingExpirationTime(DateTime requestTracingExpira } /** - * Get the remoteDebuggingEnabled value. + * Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @return the remoteDebuggingEnabled value */ @@ -491,7 +491,7 @@ public Boolean remoteDebuggingEnabled() { } /** - * Set the remoteDebuggingEnabled value. + * Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @param remoteDebuggingEnabled the remoteDebuggingEnabled value to set * @return the SiteConfig object itself. @@ -502,7 +502,7 @@ public SiteConfig withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled) { } /** - * Get the remoteDebuggingVersion value. + * Get remote debugging version. * * @return the remoteDebuggingVersion value */ @@ -511,7 +511,7 @@ public String remoteDebuggingVersion() { } /** - * Set the remoteDebuggingVersion value. + * Set remote debugging version. * * @param remoteDebuggingVersion the remoteDebuggingVersion value to set * @return the SiteConfig object itself. @@ -522,7 +522,7 @@ public SiteConfig withRemoteDebuggingVersion(String remoteDebuggingVersion) { } /** - * Get the httpLoggingEnabled value. + * Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @return the httpLoggingEnabled value */ @@ -531,7 +531,7 @@ public Boolean httpLoggingEnabled() { } /** - * Set the httpLoggingEnabled value. + * Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @param httpLoggingEnabled the httpLoggingEnabled value to set * @return the SiteConfig object itself. @@ -542,7 +542,7 @@ public SiteConfig withHttpLoggingEnabled(Boolean httpLoggingEnabled) { } /** - * Get the logsDirectorySizeLimit value. + * Get hTTP logs directory size limit. * * @return the logsDirectorySizeLimit value */ @@ -551,7 +551,7 @@ public Integer logsDirectorySizeLimit() { } /** - * Set the logsDirectorySizeLimit value. + * Set hTTP logs directory size limit. * * @param logsDirectorySizeLimit the logsDirectorySizeLimit value to set * @return the SiteConfig object itself. @@ -562,7 +562,7 @@ public SiteConfig withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit) { } /** - * Get the detailedErrorLoggingEnabled value. + * Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @return the detailedErrorLoggingEnabled value */ @@ -571,7 +571,7 @@ public Boolean detailedErrorLoggingEnabled() { } /** - * Set the detailedErrorLoggingEnabled value. + * Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @param detailedErrorLoggingEnabled the detailedErrorLoggingEnabled value to set * @return the SiteConfig object itself. @@ -582,7 +582,7 @@ public SiteConfig withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEn } /** - * Get the publishingUsername value. + * Get publishing user name. * * @return the publishingUsername value */ @@ -591,7 +591,7 @@ public String publishingUsername() { } /** - * Set the publishingUsername value. + * Set publishing user name. * * @param publishingUsername the publishingUsername value to set * @return the SiteConfig object itself. @@ -602,7 +602,7 @@ public SiteConfig withPublishingUsername(String publishingUsername) { } /** - * Get the appSettings value. + * Get application settings. * * @return the appSettings value */ @@ -611,7 +611,7 @@ public List appSettings() { } /** - * Set the appSettings value. + * Set application settings. * * @param appSettings the appSettings value to set * @return the SiteConfig object itself. @@ -622,7 +622,7 @@ public SiteConfig withAppSettings(List appSettings) { } /** - * Get the connectionStrings value. + * Get connection strings. * * @return the connectionStrings value */ @@ -631,7 +631,7 @@ public List connectionStrings() { } /** - * Set the connectionStrings value. + * Set connection strings. * * @param connectionStrings the connectionStrings value to set * @return the SiteConfig object itself. @@ -642,7 +642,7 @@ public SiteConfig withConnectionStrings(List connectionStrings) } /** - * Get the machineKey value. + * Get site MachineKey. * * @return the machineKey value */ @@ -651,7 +651,7 @@ public SiteMachineKey machineKey() { } /** - * Get the handlerMappings value. + * Get handler mappings. * * @return the handlerMappings value */ @@ -660,7 +660,7 @@ public List handlerMappings() { } /** - * Set the handlerMappings value. + * Set handler mappings. * * @param handlerMappings the handlerMappings value to set * @return the SiteConfig object itself. @@ -671,7 +671,7 @@ public SiteConfig withHandlerMappings(List handlerMappings) { } /** - * Get the documentRoot value. + * Get document root. * * @return the documentRoot value */ @@ -680,7 +680,7 @@ public String documentRoot() { } /** - * Set the documentRoot value. + * Set document root. * * @param documentRoot the documentRoot value to set * @return the SiteConfig object itself. @@ -691,7 +691,7 @@ public SiteConfig withDocumentRoot(String documentRoot) { } /** - * Get the scmType value. + * Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @return the scmType value */ @@ -700,7 +700,7 @@ public ScmType scmType() { } /** - * Set the scmType value. + * Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @param scmType the scmType value to set * @return the SiteConfig object itself. @@ -711,7 +711,7 @@ public SiteConfig withScmType(ScmType scmType) { } /** - * Get the use32BitWorkerProcess value. + * Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @return the use32BitWorkerProcess value */ @@ -720,7 +720,7 @@ public Boolean use32BitWorkerProcess() { } /** - * Set the use32BitWorkerProcess value. + * Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @param use32BitWorkerProcess the use32BitWorkerProcess value to set * @return the SiteConfig object itself. @@ -731,7 +731,7 @@ public SiteConfig withUse32BitWorkerProcess(Boolean use32BitWorkerProcess) { } /** - * Get the webSocketsEnabled value. + * Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @return the webSocketsEnabled value */ @@ -740,7 +740,7 @@ public Boolean webSocketsEnabled() { } /** - * Set the webSocketsEnabled value. + * Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @param webSocketsEnabled the webSocketsEnabled value to set * @return the SiteConfig object itself. @@ -751,7 +751,7 @@ public SiteConfig withWebSocketsEnabled(Boolean webSocketsEnabled) { } /** - * Get the alwaysOn value. + * Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @return the alwaysOn value */ @@ -760,7 +760,7 @@ public Boolean alwaysOn() { } /** - * Set the alwaysOn value. + * Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @param alwaysOn the alwaysOn value to set * @return the SiteConfig object itself. @@ -771,7 +771,7 @@ public SiteConfig withAlwaysOn(Boolean alwaysOn) { } /** - * Get the javaVersion value. + * Get java version. * * @return the javaVersion value */ @@ -780,7 +780,7 @@ public String javaVersion() { } /** - * Set the javaVersion value. + * Set java version. * * @param javaVersion the javaVersion value to set * @return the SiteConfig object itself. @@ -791,7 +791,7 @@ public SiteConfig withJavaVersion(String javaVersion) { } /** - * Get the javaContainer value. + * Get java container. * * @return the javaContainer value */ @@ -800,7 +800,7 @@ public String javaContainer() { } /** - * Set the javaContainer value. + * Set java container. * * @param javaContainer the javaContainer value to set * @return the SiteConfig object itself. @@ -811,7 +811,7 @@ public SiteConfig withJavaContainer(String javaContainer) { } /** - * Get the javaContainerVersion value. + * Get java container version. * * @return the javaContainerVersion value */ @@ -820,7 +820,7 @@ public String javaContainerVersion() { } /** - * Set the javaContainerVersion value. + * Set java container version. * * @param javaContainerVersion the javaContainerVersion value to set * @return the SiteConfig object itself. @@ -831,7 +831,7 @@ public SiteConfig withJavaContainerVersion(String javaContainerVersion) { } /** - * Get the appCommandLine value. + * Get app command line to launch. * * @return the appCommandLine value */ @@ -840,7 +840,7 @@ public String appCommandLine() { } /** - * Set the appCommandLine value. + * Set app command line to launch. * * @param appCommandLine the appCommandLine value to set * @return the SiteConfig object itself. @@ -851,7 +851,7 @@ public SiteConfig withAppCommandLine(String appCommandLine) { } /** - * Get the managedPipelineMode value. + * Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @return the managedPipelineMode value */ @@ -860,7 +860,7 @@ public ManagedPipelineMode managedPipelineMode() { } /** - * Set the managedPipelineMode value. + * Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @param managedPipelineMode the managedPipelineMode value to set * @return the SiteConfig object itself. @@ -871,7 +871,7 @@ public SiteConfig withManagedPipelineMode(ManagedPipelineMode managedPipelineMod } /** - * Get the virtualApplications value. + * Get virtual applications. * * @return the virtualApplications value */ @@ -880,7 +880,7 @@ public List virtualApplications() { } /** - * Set the virtualApplications value. + * Set virtual applications. * * @param virtualApplications the virtualApplications value to set * @return the SiteConfig object itself. @@ -891,7 +891,7 @@ public SiteConfig withVirtualApplications(List virtualApplic } /** - * Get the loadBalancing value. + * Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @return the loadBalancing value */ @@ -900,7 +900,7 @@ public SiteLoadBalancing loadBalancing() { } /** - * Set the loadBalancing value. + * Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @param loadBalancing the loadBalancing value to set * @return the SiteConfig object itself. @@ -911,7 +911,7 @@ public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { } /** - * Get the experiments value. + * Get this is work around for polymophic types. * * @return the experiments value */ @@ -920,7 +920,7 @@ public Experiments experiments() { } /** - * Set the experiments value. + * Set this is work around for polymophic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. @@ -931,7 +931,7 @@ public SiteConfig withExperiments(Experiments experiments) { } /** - * Get the limits value. + * Get site limits. * * @return the limits value */ @@ -940,7 +940,7 @@ public SiteLimits limits() { } /** - * Set the limits value. + * Set site limits. * * @param limits the limits value to set * @return the SiteConfig object itself. @@ -951,7 +951,7 @@ public SiteConfig withLimits(SiteLimits limits) { } /** - * Get the autoHealEnabled value. + * Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @return the autoHealEnabled value */ @@ -960,7 +960,7 @@ public Boolean autoHealEnabled() { } /** - * Set the autoHealEnabled value. + * Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @param autoHealEnabled the autoHealEnabled value to set * @return the SiteConfig object itself. @@ -971,7 +971,7 @@ public SiteConfig withAutoHealEnabled(Boolean autoHealEnabled) { } /** - * Get the autoHealRules value. + * Get auto Heal rules. * * @return the autoHealRules value */ @@ -980,7 +980,7 @@ public AutoHealRules autoHealRules() { } /** - * Set the autoHealRules value. + * Set auto Heal rules. * * @param autoHealRules the autoHealRules value to set * @return the SiteConfig object itself. @@ -991,7 +991,7 @@ public SiteConfig withAutoHealRules(AutoHealRules autoHealRules) { } /** - * Get the tracingOptions value. + * Get tracing options. * * @return the tracingOptions value */ @@ -1000,7 +1000,7 @@ public String tracingOptions() { } /** - * Set the tracingOptions value. + * Set tracing options. * * @param tracingOptions the tracingOptions value to set * @return the SiteConfig object itself. @@ -1011,7 +1011,7 @@ public SiteConfig withTracingOptions(String tracingOptions) { } /** - * Get the vnetName value. + * Get virtual Network name. * * @return the vnetName value */ @@ -1020,7 +1020,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set virtual Network name. * * @param vnetName the vnetName value to set * @return the SiteConfig object itself. @@ -1031,7 +1031,7 @@ public SiteConfig withVnetName(String vnetName) { } /** - * Get the cors value. + * Get cross-Origin Resource Sharing (CORS) settings. * * @return the cors value */ @@ -1040,7 +1040,7 @@ public CorsSettings cors() { } /** - * Set the cors value. + * Set cross-Origin Resource Sharing (CORS) settings. * * @param cors the cors value to set * @return the SiteConfig object itself. @@ -1051,7 +1051,7 @@ public SiteConfig withCors(CorsSettings cors) { } /** - * Get the push value. + * Get push endpoint settings. * * @return the push value */ @@ -1060,7 +1060,7 @@ public PushSettings push() { } /** - * Set the push value. + * Set push endpoint settings. * * @param push the push value to set * @return the SiteConfig object itself. @@ -1071,7 +1071,7 @@ public SiteConfig withPush(PushSettings push) { } /** - * Get the apiDefinition value. + * Get information about the formal API definition for the app. * * @return the apiDefinition value */ @@ -1080,7 +1080,7 @@ public ApiDefinitionInfo apiDefinition() { } /** - * Set the apiDefinition value. + * Set information about the formal API definition for the app. * * @param apiDefinition the apiDefinition value to set * @return the SiteConfig object itself. @@ -1091,7 +1091,7 @@ public SiteConfig withApiDefinition(ApiDefinitionInfo apiDefinition) { } /** - * Get the autoSwapSlotName value. + * Get auto-swap slot name. * * @return the autoSwapSlotName value */ @@ -1100,7 +1100,7 @@ public String autoSwapSlotName() { } /** - * Set the autoSwapSlotName value. + * Set auto-swap slot name. * * @param autoSwapSlotName the autoSwapSlotName value to set * @return the SiteConfig object itself. @@ -1111,7 +1111,7 @@ public SiteConfig withAutoSwapSlotName(String autoSwapSlotName) { } /** - * Get the localMySqlEnabled value. + * Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @return the localMySqlEnabled value */ @@ -1120,7 +1120,7 @@ public Boolean localMySqlEnabled() { } /** - * Set the localMySqlEnabled value. + * Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @param localMySqlEnabled the localMySqlEnabled value to set * @return the SiteConfig object itself. @@ -1131,7 +1131,7 @@ public SiteConfig withLocalMySqlEnabled(Boolean localMySqlEnabled) { } /** - * Get the ipSecurityRestrictions value. + * Get iP security restrictions. * * @return the ipSecurityRestrictions value */ @@ -1140,7 +1140,7 @@ public List ipSecurityRestrictions() { } /** - * Set the ipSecurityRestrictions value. + * Set iP security restrictions. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfig object itself. @@ -1151,7 +1151,7 @@ public SiteConfig withIpSecurityRestrictions(List ipSecur } /** - * Get the http20Enabled value. + * Get http20Enabled: configures a web site to allow clients to connect over http2.0. * * @return the http20Enabled value */ @@ -1160,7 +1160,7 @@ public Boolean http20Enabled() { } /** - * Set the http20Enabled value. + * Set http20Enabled: configures a web site to allow clients to connect over http2.0. * * @param http20Enabled the http20Enabled value to set * @return the SiteConfig object itself. @@ -1171,7 +1171,7 @@ public SiteConfig withHttp20Enabled(Boolean http20Enabled) { } /** - * Get the minTlsVersion value. + * Get minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @return the minTlsVersion value */ @@ -1180,7 +1180,7 @@ public SupportedTlsVersions minTlsVersion() { } /** - * Set the minTlsVersion value. + * Set minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @param minTlsVersion the minTlsVersion value to set * @return the SiteConfig object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteLimits.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteLimits.java index 5ce3be46114ab..c14f4d7f25ff4 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteLimits.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteLimits.java @@ -33,7 +33,7 @@ public class SiteLimits { private Long maxDiskSizeInMb; /** - * Get the maxPercentageCpu value. + * Get maximum allowed CPU usage percentage. * * @return the maxPercentageCpu value */ @@ -42,7 +42,7 @@ public Double maxPercentageCpu() { } /** - * Set the maxPercentageCpu value. + * Set maximum allowed CPU usage percentage. * * @param maxPercentageCpu the maxPercentageCpu value to set * @return the SiteLimits object itself. @@ -53,7 +53,7 @@ public SiteLimits withMaxPercentageCpu(Double maxPercentageCpu) { } /** - * Get the maxMemoryInMb value. + * Get maximum allowed memory usage in MB. * * @return the maxMemoryInMb value */ @@ -62,7 +62,7 @@ public Long maxMemoryInMb() { } /** - * Set the maxMemoryInMb value. + * Set maximum allowed memory usage in MB. * * @param maxMemoryInMb the maxMemoryInMb value to set * @return the SiteLimits object itself. @@ -73,7 +73,7 @@ public SiteLimits withMaxMemoryInMb(Long maxMemoryInMb) { } /** - * Get the maxDiskSizeInMb value. + * Get maximum allowed disk size usage in MB. * * @return the maxDiskSizeInMb value */ @@ -82,7 +82,7 @@ public Long maxDiskSizeInMb() { } /** - * Set the maxDiskSizeInMb value. + * Set maximum allowed disk size usage in MB. * * @param maxDiskSizeInMb the maxDiskSizeInMb value to set * @return the SiteLimits object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteMachineKey.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteMachineKey.java index 7a50396ff834b..2efa08184c4a3 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteMachineKey.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteMachineKey.java @@ -39,7 +39,7 @@ public class SiteMachineKey { private String decryptionKey; /** - * Get the validation value. + * Get machineKey validation. * * @return the validation value */ @@ -48,7 +48,7 @@ public String validation() { } /** - * Set the validation value. + * Set machineKey validation. * * @param validation the validation value to set * @return the SiteMachineKey object itself. @@ -59,7 +59,7 @@ public SiteMachineKey withValidation(String validation) { } /** - * Get the validationKey value. + * Get validation key. * * @return the validationKey value */ @@ -68,7 +68,7 @@ public String validationKey() { } /** - * Set the validationKey value. + * Set validation key. * * @param validationKey the validationKey value to set * @return the SiteMachineKey object itself. @@ -79,7 +79,7 @@ public SiteMachineKey withValidationKey(String validationKey) { } /** - * Get the decryption value. + * Get algorithm used for decryption. * * @return the decryption value */ @@ -88,7 +88,7 @@ public String decryption() { } /** - * Set the decryption value. + * Set algorithm used for decryption. * * @param decryption the decryption value to set * @return the SiteMachineKey object itself. @@ -99,7 +99,7 @@ public SiteMachineKey withDecryption(String decryption) { } /** - * Get the decryptionKey value. + * Get decryption key. * * @return the decryptionKey value */ @@ -108,7 +108,7 @@ public String decryptionKey() { } /** - * Set the decryptionKey value. + * Set decryption key. * * @param decryptionKey the decryptionKey value to set * @return the SiteMachineKey object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SkuCapacity.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SkuCapacity.java index 0fe5fbc08564d..40123aeb110b9 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SkuCapacity.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SkuCapacity.java @@ -39,7 +39,7 @@ public class SkuCapacity { private String scaleType; /** - * Get the minimum value. + * Get minimum number of workers for this App Service plan SKU. * * @return the minimum value */ @@ -48,7 +48,7 @@ public Integer minimum() { } /** - * Set the minimum value. + * Set minimum number of workers for this App Service plan SKU. * * @param minimum the minimum value to set * @return the SkuCapacity object itself. @@ -59,7 +59,7 @@ public SkuCapacity withMinimum(Integer minimum) { } /** - * Get the maximum value. + * Get maximum number of workers for this App Service plan SKU. * * @return the maximum value */ @@ -68,7 +68,7 @@ public Integer maximum() { } /** - * Set the maximum value. + * Set maximum number of workers for this App Service plan SKU. * * @param maximum the maximum value to set * @return the SkuCapacity object itself. @@ -79,7 +79,7 @@ public SkuCapacity withMaximum(Integer maximum) { } /** - * Get the defaultProperty value. + * Get default number of workers for this App Service plan SKU. * * @return the defaultProperty value */ @@ -88,7 +88,7 @@ public Integer defaultProperty() { } /** - * Set the defaultProperty value. + * Set default number of workers for this App Service plan SKU. * * @param defaultProperty the defaultProperty value to set * @return the SkuCapacity object itself. @@ -99,7 +99,7 @@ public SkuCapacity withDefaultProperty(Integer defaultProperty) { } /** - * Get the scaleType value. + * Get available scale configurations for an App Service plan. * * @return the scaleType value */ @@ -108,7 +108,7 @@ public String scaleType() { } /** - * Set the scaleType value. + * Set available scale configurations for an App Service plan. * * @param scaleType the scaleType value to set * @return the SkuCapacity object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SkuDescription.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SkuDescription.java index e0cc496629cd6..dc77b10176329 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SkuDescription.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SkuDescription.java @@ -64,7 +64,7 @@ public class SkuDescription { private List capabilities; /** - * Get the name value. + * Get name of the resource SKU. * * @return the name value */ @@ -73,7 +73,7 @@ public String name() { } /** - * Set the name value. + * Set name of the resource SKU. * * @param name the name value to set * @return the SkuDescription object itself. @@ -84,7 +84,7 @@ public SkuDescription withName(String name) { } /** - * Get the tier value. + * Get service tier of the resource SKU. * * @return the tier value */ @@ -93,7 +93,7 @@ public String tier() { } /** - * Set the tier value. + * Set service tier of the resource SKU. * * @param tier the tier value to set * @return the SkuDescription object itself. @@ -104,7 +104,7 @@ public SkuDescription withTier(String tier) { } /** - * Get the size value. + * Get size specifier of the resource SKU. * * @return the size value */ @@ -113,7 +113,7 @@ public String size() { } /** - * Set the size value. + * Set size specifier of the resource SKU. * * @param size the size value to set * @return the SkuDescription object itself. @@ -124,7 +124,7 @@ public SkuDescription withSize(String size) { } /** - * Get the family value. + * Get family code of the resource SKU. * * @return the family value */ @@ -133,7 +133,7 @@ public String family() { } /** - * Set the family value. + * Set family code of the resource SKU. * * @param family the family value to set * @return the SkuDescription object itself. @@ -144,7 +144,7 @@ public SkuDescription withFamily(String family) { } /** - * Get the capacity value. + * Get current number of instances assigned to the resource. * * @return the capacity value */ @@ -153,7 +153,7 @@ public Integer capacity() { } /** - * Set the capacity value. + * Set current number of instances assigned to the resource. * * @param capacity the capacity value to set * @return the SkuDescription object itself. @@ -164,7 +164,7 @@ public SkuDescription withCapacity(Integer capacity) { } /** - * Get the skuCapacity value. + * Get min, max, and default scale values of the SKU. * * @return the skuCapacity value */ @@ -173,7 +173,7 @@ public SkuCapacity skuCapacity() { } /** - * Set the skuCapacity value. + * Set min, max, and default scale values of the SKU. * * @param skuCapacity the skuCapacity value to set * @return the SkuDescription object itself. @@ -184,7 +184,7 @@ public SkuDescription withSkuCapacity(SkuCapacity skuCapacity) { } /** - * Get the locations value. + * Get locations of the SKU. * * @return the locations value */ @@ -193,7 +193,7 @@ public List locations() { } /** - * Set the locations value. + * Set locations of the SKU. * * @param locations the locations value to set * @return the SkuDescription object itself. @@ -204,7 +204,7 @@ public SkuDescription withLocations(List locations) { } /** - * Get the capabilities value. + * Get capabilities of the SKU, e.g., is traffic manager enabled?. * * @return the capabilities value */ @@ -213,7 +213,7 @@ public List capabilities() { } /** - * Set the capabilities value. + * Set capabilities of the SKU, e.g., is traffic manager enabled?. * * @param capabilities the capabilities value to set * @return the SkuDescription object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlotSwapStatus.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlotSwapStatus.java index 330477dd3add7..610165e24b594 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlotSwapStatus.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlotSwapStatus.java @@ -34,7 +34,7 @@ public class SlotSwapStatus { private String destinationSlotName; /** - * Get the timestampUtc value. + * Get the time the last successful slot swap completed. * * @return the timestampUtc value */ @@ -43,7 +43,7 @@ public DateTime timestampUtc() { } /** - * Get the sourceSlotName value. + * Get the source slot of the last swap operation. * * @return the sourceSlotName value */ @@ -52,7 +52,7 @@ public String sourceSlotName() { } /** - * Get the destinationSlotName value. + * Get the destination slot of the last swap operation. * * @return the destinationSlotName value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlowRequestsBasedTrigger.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlowRequestsBasedTrigger.java index 8b9c307404dc8..b2a0d2cc20090 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlowRequestsBasedTrigger.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlowRequestsBasedTrigger.java @@ -33,7 +33,7 @@ public class SlowRequestsBasedTrigger { private String timeInterval; /** - * Get the timeTaken value. + * Get time taken. * * @return the timeTaken value */ @@ -42,7 +42,7 @@ public String timeTaken() { } /** - * Set the timeTaken value. + * Set time taken. * * @param timeTaken the timeTaken value to set * @return the SlowRequestsBasedTrigger object itself. @@ -53,7 +53,7 @@ public SlowRequestsBasedTrigger withTimeTaken(String timeTaken) { } /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -62,7 +62,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the SlowRequestsBasedTrigger object itself. @@ -73,7 +73,7 @@ public SlowRequestsBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -82,7 +82,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the SlowRequestsBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SnapshotRecoveryRequest.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SnapshotRecoveryRequest.java index db42d476fd5c1..34e555fc2d1ec 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SnapshotRecoveryRequest.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SnapshotRecoveryRequest.java @@ -51,7 +51,7 @@ public class SnapshotRecoveryRequest extends ProxyOnlyResource { private Boolean ignoreConflictingHostNames; /** - * Get the snapshotTime value. + * Get point in time in which the app recovery should be attempted, formatted as a DateTime string. * * @return the snapshotTime value */ @@ -60,7 +60,7 @@ public String snapshotTime() { } /** - * Set the snapshotTime value. + * Set point in time in which the app recovery should be attempted, formatted as a DateTime string. * * @param snapshotTime the snapshotTime value to set * @return the SnapshotRecoveryRequest object itself. @@ -71,7 +71,7 @@ public SnapshotRecoveryRequest withSnapshotTime(String snapshotTime) { } /** - * Get the recoveryTarget value. + * Get specifies the web app that snapshot contents will be written to. * * @return the recoveryTarget value */ @@ -80,7 +80,7 @@ public SnapshotRecoveryTarget recoveryTarget() { } /** - * Set the recoveryTarget value. + * Set specifies the web app that snapshot contents will be written to. * * @param recoveryTarget the recoveryTarget value to set * @return the SnapshotRecoveryRequest object itself. @@ -91,7 +91,7 @@ public SnapshotRecoveryRequest withRecoveryTarget(SnapshotRecoveryTarget recover } /** - * Get the overwrite value. + * Get if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -100,7 +100,7 @@ public boolean overwrite() { } /** - * Set the overwrite value. + * Set if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the SnapshotRecoveryRequest object itself. @@ -111,7 +111,7 @@ public SnapshotRecoveryRequest withOverwrite(boolean overwrite) { } /** - * Get the recoverConfiguration value. + * Get if true, site configuration, in addition to content, will be reverted. * * @return the recoverConfiguration value */ @@ -120,7 +120,7 @@ public Boolean recoverConfiguration() { } /** - * Set the recoverConfiguration value. + * Set if true, site configuration, in addition to content, will be reverted. * * @param recoverConfiguration the recoverConfiguration value to set * @return the SnapshotRecoveryRequest object itself. @@ -131,7 +131,8 @@ public SnapshotRecoveryRequest withRecoverConfiguration(Boolean recoverConfigura } /** - * Get the ignoreConflictingHostNames value. + * Get if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @return the ignoreConflictingHostNames value */ @@ -140,7 +141,8 @@ public Boolean ignoreConflictingHostNames() { } /** - * Set the ignoreConflictingHostNames value. + * Set if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @param ignoreConflictingHostNames the ignoreConflictingHostNames value to set * @return the SnapshotRecoveryRequest object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SnapshotRecoveryTarget.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SnapshotRecoveryTarget.java index f9f34cc1d5382..ddfebf5a76a1d 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SnapshotRecoveryTarget.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SnapshotRecoveryTarget.java @@ -32,7 +32,7 @@ public class SnapshotRecoveryTarget { private String id; /** - * Get the location value. + * Get geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS. * * @return the location value */ @@ -41,7 +41,7 @@ public String location() { } /** - * Set the location value. + * Set geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS. * * @param location the location value to set * @return the SnapshotRecoveryTarget object itself. @@ -52,7 +52,9 @@ public SnapshotRecoveryTarget withLocation(String location) { } /** - * Get the id value. + * Get aRM resource ID of the target app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the id value */ @@ -61,7 +63,9 @@ public String id() { } /** - * Set the id value. + * Set aRM resource ID of the target app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param id the id value to set * @return the SnapshotRecoveryTarget object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Solution.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Solution.java index 24452143c96cd..020034b0203a3 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Solution.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/Solution.java @@ -59,7 +59,7 @@ public class Solution { private List> metadata; /** - * Get the id value. + * Get solution Id. * * @return the id value */ @@ -68,7 +68,7 @@ public Double id() { } /** - * Set the id value. + * Set solution Id. * * @param id the id value to set * @return the Solution object itself. @@ -79,7 +79,7 @@ public Solution withId(Double id) { } /** - * Get the displayName value. + * Get display Name of the solution. * * @return the displayName value */ @@ -88,7 +88,7 @@ public String displayName() { } /** - * Set the displayName value. + * Set display Name of the solution. * * @param displayName the displayName value to set * @return the Solution object itself. @@ -99,7 +99,7 @@ public Solution withDisplayName(String displayName) { } /** - * Get the order value. + * Get order of the solution. * * @return the order value */ @@ -108,7 +108,7 @@ public Double order() { } /** - * Set the order value. + * Set order of the solution. * * @param order the order value to set * @return the Solution object itself. @@ -119,7 +119,7 @@ public Solution withOrder(Double order) { } /** - * Get the description value. + * Get description of the solution. * * @return the description value */ @@ -128,7 +128,7 @@ public String description() { } /** - * Set the description value. + * Set description of the solution. * * @param description the description value to set * @return the Solution object itself. @@ -139,7 +139,7 @@ public Solution withDescription(String description) { } /** - * Get the type value. + * Get type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'. * * @return the type value */ @@ -148,7 +148,7 @@ public SolutionType type() { } /** - * Set the type value. + * Set type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'. * * @param type the type value to set * @return the Solution object itself. @@ -159,7 +159,7 @@ public Solution withType(SolutionType type) { } /** - * Get the data value. + * Get solution Data. * * @return the data value */ @@ -168,7 +168,7 @@ public List> data() { } /** - * Set the data value. + * Set solution Data. * * @param data the data value to set * @return the Solution object itself. @@ -179,7 +179,7 @@ public Solution withData(List> data) { } /** - * Get the metadata value. + * Get solution Metadata. * * @return the metadata value */ @@ -188,7 +188,7 @@ public List> metadata() { } /** - * Set the metadata value. + * Set solution Metadata. * * @param metadata the metadata value to set * @return the Solution object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StackMajorVersion.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StackMajorVersion.java index d8dae8ac0e210..b62b4825b3d56 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StackMajorVersion.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StackMajorVersion.java @@ -41,7 +41,7 @@ public class StackMajorVersion { private List minorVersions; /** - * Get the displayVersion value. + * Get application stack major version (display only). * * @return the displayVersion value */ @@ -50,7 +50,7 @@ public String displayVersion() { } /** - * Set the displayVersion value. + * Set application stack major version (display only). * * @param displayVersion the displayVersion value to set * @return the StackMajorVersion object itself. @@ -61,7 +61,7 @@ public StackMajorVersion withDisplayVersion(String displayVersion) { } /** - * Get the runtimeVersion value. + * Get application stack major version (runtime only). * * @return the runtimeVersion value */ @@ -70,7 +70,7 @@ public String runtimeVersion() { } /** - * Set the runtimeVersion value. + * Set application stack major version (runtime only). * * @param runtimeVersion the runtimeVersion value to set * @return the StackMajorVersion object itself. @@ -81,7 +81,7 @@ public StackMajorVersion withRuntimeVersion(String runtimeVersion) { } /** - * Get the isDefault value. + * Get <code>true</code> if this is the default major version; otherwise, <code>false</code>. * * @return the isDefault value */ @@ -90,7 +90,7 @@ public Boolean isDefault() { } /** - * Set the isDefault value. + * Set <code>true</code> if this is the default major version; otherwise, <code>false</code>. * * @param isDefault the isDefault value to set * @return the StackMajorVersion object itself. @@ -101,7 +101,7 @@ public StackMajorVersion withIsDefault(Boolean isDefault) { } /** - * Get the minorVersions value. + * Get minor versions associated with the major version. * * @return the minorVersions value */ @@ -110,7 +110,7 @@ public List minorVersions() { } /** - * Set the minorVersions value. + * Set minor versions associated with the major version. * * @param minorVersions the minorVersions value to set * @return the StackMajorVersion object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StackMinorVersion.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StackMinorVersion.java index c660c504d3cf0..15a73bd4fb510 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StackMinorVersion.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StackMinorVersion.java @@ -34,7 +34,7 @@ public class StackMinorVersion { private Boolean isDefault; /** - * Get the displayVersion value. + * Get application stack minor version (display only). * * @return the displayVersion value */ @@ -43,7 +43,7 @@ public String displayVersion() { } /** - * Set the displayVersion value. + * Set application stack minor version (display only). * * @param displayVersion the displayVersion value to set * @return the StackMinorVersion object itself. @@ -54,7 +54,7 @@ public StackMinorVersion withDisplayVersion(String displayVersion) { } /** - * Get the runtimeVersion value. + * Get application stack minor version (runtime only). * * @return the runtimeVersion value */ @@ -63,7 +63,7 @@ public String runtimeVersion() { } /** - * Set the runtimeVersion value. + * Set application stack minor version (runtime only). * * @param runtimeVersion the runtimeVersion value to set * @return the StackMinorVersion object itself. @@ -74,7 +74,7 @@ public StackMinorVersion withRuntimeVersion(String runtimeVersion) { } /** - * Get the isDefault value. + * Get <code>true</code> if this is the default minor version; otherwise, <code>false</code>. * * @return the isDefault value */ @@ -83,7 +83,7 @@ public Boolean isDefault() { } /** - * Set the isDefault value. + * Set <code>true</code> if this is the default minor version; otherwise, <code>false</code>. * * @param isDefault the isDefault value to set * @return the StackMinorVersion object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StampCapacity.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StampCapacity.java index edd42d0671af5..d842c83637950 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StampCapacity.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StampCapacity.java @@ -82,7 +82,7 @@ public class StampCapacity { private String siteMode; /** - * Get the name value. + * Get name of the stamp. * * @return the name value */ @@ -91,7 +91,7 @@ public String name() { } /** - * Set the name value. + * Set name of the stamp. * * @param name the name value to set * @return the StampCapacity object itself. @@ -102,7 +102,7 @@ public StampCapacity withName(String name) { } /** - * Get the availableCapacity value. + * Get available capacity (# of machines, bytes of storage etc...). * * @return the availableCapacity value */ @@ -111,7 +111,7 @@ public Long availableCapacity() { } /** - * Set the availableCapacity value. + * Set available capacity (# of machines, bytes of storage etc...). * * @param availableCapacity the availableCapacity value to set * @return the StampCapacity object itself. @@ -122,7 +122,7 @@ public StampCapacity withAvailableCapacity(Long availableCapacity) { } /** - * Get the totalCapacity value. + * Get total capacity (# of machines, bytes of storage etc...). * * @return the totalCapacity value */ @@ -131,7 +131,7 @@ public Long totalCapacity() { } /** - * Set the totalCapacity value. + * Set total capacity (# of machines, bytes of storage etc...). * * @param totalCapacity the totalCapacity value to set * @return the StampCapacity object itself. @@ -142,7 +142,7 @@ public StampCapacity withTotalCapacity(Long totalCapacity) { } /** - * Get the unit value. + * Get name of the unit. * * @return the unit value */ @@ -151,7 +151,7 @@ public String unit() { } /** - * Set the unit value. + * Set name of the unit. * * @param unit the unit value to set * @return the StampCapacity object itself. @@ -162,7 +162,7 @@ public StampCapacity withUnit(String unit) { } /** - * Get the computeMode value. + * Get shared/dedicated workers. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -171,7 +171,7 @@ public ComputeModeOptions computeMode() { } /** - * Set the computeMode value. + * Set shared/dedicated workers. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @param computeMode the computeMode value to set * @return the StampCapacity object itself. @@ -182,7 +182,7 @@ public StampCapacity withComputeMode(ComputeModeOptions computeMode) { } /** - * Get the workerSize value. + * Get size of the machines. Possible values include: 'Default', 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3'. * * @return the workerSize value */ @@ -191,7 +191,7 @@ public WorkerSizeOptions workerSize() { } /** - * Set the workerSize value. + * Set size of the machines. Possible values include: 'Default', 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3'. * * @param workerSize the workerSize value to set * @return the StampCapacity object itself. @@ -202,7 +202,10 @@ public StampCapacity withWorkerSize(WorkerSizeOptions workerSize) { } /** - * Get the workerSizeId value. + * Get size ID of machines: + 0 - Small + 1 - Medium + 2 - Large. * * @return the workerSizeId value */ @@ -211,7 +214,10 @@ public Integer workerSizeId() { } /** - * Set the workerSizeId value. + * Set size ID of machines: + 0 - Small + 1 - Medium + 2 - Large. * * @param workerSizeId the workerSizeId value to set * @return the StampCapacity object itself. @@ -222,7 +228,8 @@ public StampCapacity withWorkerSizeId(Integer workerSizeId) { } /** - * Get the excludeFromCapacityAllocation value. + * Get if <code>true</code>, it includes basic apps. + Basic apps are not used for capacity allocation. * * @return the excludeFromCapacityAllocation value */ @@ -231,7 +238,8 @@ public Boolean excludeFromCapacityAllocation() { } /** - * Set the excludeFromCapacityAllocation value. + * Set if <code>true</code>, it includes basic apps. + Basic apps are not used for capacity allocation. * * @param excludeFromCapacityAllocation the excludeFromCapacityAllocation value to set * @return the StampCapacity object itself. @@ -242,7 +250,7 @@ public StampCapacity withExcludeFromCapacityAllocation(Boolean excludeFromCapaci } /** - * Get the isApplicableForAllComputeModes value. + * Get <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>. * * @return the isApplicableForAllComputeModes value */ @@ -251,7 +259,7 @@ public Boolean isApplicableForAllComputeModes() { } /** - * Set the isApplicableForAllComputeModes value. + * Set <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>. * * @param isApplicableForAllComputeModes the isApplicableForAllComputeModes value to set * @return the StampCapacity object itself. @@ -262,7 +270,7 @@ public StampCapacity withIsApplicableForAllComputeModes(Boolean isApplicableForA } /** - * Get the siteMode value. + * Get shared or Dedicated. * * @return the siteMode value */ @@ -271,7 +279,7 @@ public String siteMode() { } /** - * Set the siteMode value. + * Set shared or Dedicated. * * @param siteMode the siteMode value to set * @return the StampCapacity object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StatusCodesBasedTrigger.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StatusCodesBasedTrigger.java index e40007d203ecc..fcd47cea61fc4 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StatusCodesBasedTrigger.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/StatusCodesBasedTrigger.java @@ -45,7 +45,7 @@ public class StatusCodesBasedTrigger { private String timeInterval; /** - * Get the status value. + * Get hTTP status code. * * @return the status value */ @@ -54,7 +54,7 @@ public Integer status() { } /** - * Set the status value. + * Set hTTP status code. * * @param status the status value to set * @return the StatusCodesBasedTrigger object itself. @@ -65,7 +65,7 @@ public StatusCodesBasedTrigger withStatus(Integer status) { } /** - * Get the subStatus value. + * Get request Sub Status. * * @return the subStatus value */ @@ -74,7 +74,7 @@ public Integer subStatus() { } /** - * Set the subStatus value. + * Set request Sub Status. * * @param subStatus the subStatus value to set * @return the StatusCodesBasedTrigger object itself. @@ -85,7 +85,7 @@ public StatusCodesBasedTrigger withSubStatus(Integer subStatus) { } /** - * Get the win32Status value. + * Get win32 error code. * * @return the win32Status value */ @@ -94,7 +94,7 @@ public Integer win32Status() { } /** - * Set the win32Status value. + * Set win32 error code. * * @param win32Status the win32Status value to set * @return the StatusCodesBasedTrigger object itself. @@ -105,7 +105,7 @@ public StatusCodesBasedTrigger withWin32Status(Integer win32Status) { } /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -114,7 +114,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the StatusCodesBasedTrigger object itself. @@ -125,7 +125,7 @@ public StatusCodesBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -134,7 +134,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the StatusCodesBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateRequest.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateRequest.java index 77552834642e3..a8e7e08557034 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateRequest.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateRequest.java @@ -75,7 +75,7 @@ public class ValidateRequest { private String hostingEnvironment; /** - * Get the name value. + * Get resource name to verify. * * @return the name value */ @@ -84,7 +84,7 @@ public String name() { } /** - * Set the name value. + * Set resource name to verify. * * @param name the name value to set * @return the ValidateRequest object itself. @@ -95,7 +95,7 @@ public ValidateRequest withName(String name) { } /** - * Get the type value. + * Get resource type used for verification. Possible values include: 'ServerFarm', 'Site'. * * @return the type value */ @@ -104,7 +104,7 @@ public ValidateResourceTypes type() { } /** - * Set the type value. + * Set resource type used for verification. Possible values include: 'ServerFarm', 'Site'. * * @param type the type value to set * @return the ValidateRequest object itself. @@ -115,7 +115,7 @@ public ValidateRequest withType(ValidateResourceTypes type) { } /** - * Get the location value. + * Get expected location of the resource. * * @return the location value */ @@ -124,7 +124,7 @@ public String location() { } /** - * Set the location value. + * Set expected location of the resource. * * @param location the location value to set * @return the ValidateRequest object itself. @@ -135,7 +135,7 @@ public ValidateRequest withLocation(String location) { } /** - * Get the serverFarmId value. + * Get aRM resource ID of an App Service plan that would host the app. * * @return the serverFarmId value */ @@ -144,7 +144,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set aRM resource ID of an App Service plan that would host the app. * * @param serverFarmId the serverFarmId value to set * @return the ValidateRequest object itself. @@ -155,7 +155,7 @@ public ValidateRequest withServerFarmId(String serverFarmId) { } /** - * Get the skuName value. + * Get name of the target SKU for the App Service plan. * * @return the skuName value */ @@ -164,7 +164,7 @@ public String skuName() { } /** - * Set the skuName value. + * Set name of the target SKU for the App Service plan. * * @param skuName the skuName value to set * @return the ValidateRequest object itself. @@ -175,7 +175,7 @@ public ValidateRequest withSkuName(String skuName) { } /** - * Get the needLinuxWorkers value. + * Get <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>. * * @return the needLinuxWorkers value */ @@ -184,7 +184,7 @@ public Boolean needLinuxWorkers() { } /** - * Set the needLinuxWorkers value. + * Set <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>. * * @param needLinuxWorkers the needLinuxWorkers value to set * @return the ValidateRequest object itself. @@ -195,7 +195,7 @@ public ValidateRequest withNeedLinuxWorkers(Boolean needLinuxWorkers) { } /** - * Get the isSpot value. + * Get <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>. * * @return the isSpot value */ @@ -204,7 +204,7 @@ public Boolean isSpot() { } /** - * Set the isSpot value. + * Set <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>. * * @param isSpot the isSpot value to set * @return the ValidateRequest object itself. @@ -215,7 +215,7 @@ public ValidateRequest withIsSpot(Boolean isSpot) { } /** - * Get the capacity value. + * Get target capacity of the App Service plan (number of VM's). * * @return the capacity value */ @@ -224,7 +224,7 @@ public Integer capacity() { } /** - * Set the capacity value. + * Set target capacity of the App Service plan (number of VM's). * * @param capacity the capacity value to set * @return the ValidateRequest object itself. @@ -235,7 +235,7 @@ public ValidateRequest withCapacity(Integer capacity) { } /** - * Get the hostingEnvironment value. + * Get name of App Service Environment where app or App Service plan should be created. * * @return the hostingEnvironment value */ @@ -244,7 +244,7 @@ public String hostingEnvironment() { } /** - * Set the hostingEnvironment value. + * Set name of App Service Environment where app or App Service plan should be created. * * @param hostingEnvironment the hostingEnvironment value to set * @return the ValidateRequest object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateResponseError.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateResponseError.java index 97675d16b5f78..a1fe4e3a91eda 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateResponseError.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateResponseError.java @@ -27,7 +27,7 @@ public class ValidateResponseError { private String message; /** - * Get the code value. + * Get validation error code. * * @return the code value */ @@ -36,7 +36,7 @@ public String code() { } /** - * Set the code value. + * Set validation error code. * * @param code the code value to set * @return the ValidateResponseError object itself. @@ -47,7 +47,7 @@ public ValidateResponseError withCode(String code) { } /** - * Get the message value. + * Get validation error message. * * @return the message value */ @@ -56,7 +56,7 @@ public String message() { } /** - * Set the message value. + * Set validation error message. * * @param message the message value to set * @return the ValidateResponseError object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualApplication.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualApplication.java index b37c73b2de0bc..f3d059a7ca1a4 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualApplication.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualApplication.java @@ -41,7 +41,7 @@ public class VirtualApplication { private List virtualDirectories; /** - * Get the virtualPath value. + * Get virtual path. * * @return the virtualPath value */ @@ -50,7 +50,7 @@ public String virtualPath() { } /** - * Set the virtualPath value. + * Set virtual path. * * @param virtualPath the virtualPath value to set * @return the VirtualApplication object itself. @@ -61,7 +61,7 @@ public VirtualApplication withVirtualPath(String virtualPath) { } /** - * Get the physicalPath value. + * Get physical path. * * @return the physicalPath value */ @@ -70,7 +70,7 @@ public String physicalPath() { } /** - * Set the physicalPath value. + * Set physical path. * * @param physicalPath the physicalPath value to set * @return the VirtualApplication object itself. @@ -81,7 +81,7 @@ public VirtualApplication withPhysicalPath(String physicalPath) { } /** - * Get the preloadEnabled value. + * Get <code>true</code> if preloading is enabled; otherwise, <code>false</code>. * * @return the preloadEnabled value */ @@ -90,7 +90,7 @@ public Boolean preloadEnabled() { } /** - * Set the preloadEnabled value. + * Set <code>true</code> if preloading is enabled; otherwise, <code>false</code>. * * @param preloadEnabled the preloadEnabled value to set * @return the VirtualApplication object itself. @@ -101,7 +101,7 @@ public VirtualApplication withPreloadEnabled(Boolean preloadEnabled) { } /** - * Get the virtualDirectories value. + * Get virtual directories for virtual application. * * @return the virtualDirectories value */ @@ -110,7 +110,7 @@ public List virtualDirectories() { } /** - * Set the virtualDirectories value. + * Set virtual directories for virtual application. * * @param virtualDirectories the virtualDirectories value to set * @return the VirtualApplication object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualDirectory.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualDirectory.java index 012ab00428c74..a98b6c928eefc 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualDirectory.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualDirectory.java @@ -27,7 +27,7 @@ public class VirtualDirectory { private String physicalPath; /** - * Get the virtualPath value. + * Get path to virtual application. * * @return the virtualPath value */ @@ -36,7 +36,7 @@ public String virtualPath() { } /** - * Set the virtualPath value. + * Set path to virtual application. * * @param virtualPath the virtualPath value to set * @return the VirtualDirectory object itself. @@ -47,7 +47,7 @@ public VirtualDirectory withVirtualPath(String virtualPath) { } /** - * Get the physicalPath value. + * Get physical path. * * @return the physicalPath value */ @@ -56,7 +56,7 @@ public String physicalPath() { } /** - * Set the physicalPath value. + * Set physical path. * * @param physicalPath the physicalPath value to set * @return the VirtualDirectory object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualIPMapping.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualIPMapping.java index 8fb910cf6c9cf..0b52b9e88b881 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualIPMapping.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualIPMapping.java @@ -39,7 +39,7 @@ public class VirtualIPMapping { private Boolean inUse; /** - * Get the virtualIP value. + * Get virtual IP address. * * @return the virtualIP value */ @@ -48,7 +48,7 @@ public String virtualIP() { } /** - * Set the virtualIP value. + * Set virtual IP address. * * @param virtualIP the virtualIP value to set * @return the VirtualIPMapping object itself. @@ -59,7 +59,7 @@ public VirtualIPMapping withVirtualIP(String virtualIP) { } /** - * Get the internalHttpPort value. + * Get internal HTTP port. * * @return the internalHttpPort value */ @@ -68,7 +68,7 @@ public Integer internalHttpPort() { } /** - * Set the internalHttpPort value. + * Set internal HTTP port. * * @param internalHttpPort the internalHttpPort value to set * @return the VirtualIPMapping object itself. @@ -79,7 +79,7 @@ public VirtualIPMapping withInternalHttpPort(Integer internalHttpPort) { } /** - * Get the internalHttpsPort value. + * Get internal HTTPS port. * * @return the internalHttpsPort value */ @@ -88,7 +88,7 @@ public Integer internalHttpsPort() { } /** - * Set the internalHttpsPort value. + * Set internal HTTPS port. * * @param internalHttpsPort the internalHttpsPort value to set * @return the VirtualIPMapping object itself. @@ -99,7 +99,7 @@ public VirtualIPMapping withInternalHttpsPort(Integer internalHttpsPort) { } /** - * Get the inUse value. + * Get is virtual IP mapping in use. * * @return the inUse value */ @@ -108,7 +108,7 @@ public Boolean inUse() { } /** - * Set the inUse value. + * Set is virtual IP mapping in use. * * @param inUse the inUse value to set * @return the VirtualIPMapping object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualNetworkProfile.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualNetworkProfile.java index a31bdb501d8a3..b078cd302629a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualNetworkProfile.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VirtualNetworkProfile.java @@ -39,7 +39,7 @@ public class VirtualNetworkProfile { private String subnet; /** - * Get the id value. + * Get resource id of the Virtual Network. * * @return the id value */ @@ -48,7 +48,7 @@ public String id() { } /** - * Set the id value. + * Set resource id of the Virtual Network. * * @param id the id value to set * @return the VirtualNetworkProfile object itself. @@ -59,7 +59,7 @@ public VirtualNetworkProfile withId(String id) { } /** - * Get the name value. + * Get name of the Virtual Network (read-only). * * @return the name value */ @@ -68,7 +68,7 @@ public String name() { } /** - * Get the type value. + * Get resource type of the Virtual Network (read-only). * * @return the type value */ @@ -77,7 +77,7 @@ public String type() { } /** - * Get the subnet value. + * Get subnet within the Virtual Network. * * @return the subnet value */ @@ -86,7 +86,7 @@ public String subnet() { } /** - * Set the subnet value. + * Set subnet within the Virtual Network. * * @param subnet the subnet value to set * @return the VirtualNetworkProfile object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetGateway.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetGateway.java index 784a6aeabcaa3..fe0bddd88c0b5 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetGateway.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetGateway.java @@ -30,7 +30,7 @@ public class VnetGateway extends ProxyOnlyResource { private String vpnPackageUri; /** - * Get the vnetName value. + * Get the Virtual Network name. * * @return the vnetName value */ @@ -39,7 +39,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set the Virtual Network name. * * @param vnetName the vnetName value to set * @return the VnetGateway object itself. @@ -50,7 +50,7 @@ public VnetGateway withVnetName(String vnetName) { } /** - * Get the vpnPackageUri value. + * Get the URI where the VPN package can be downloaded. * * @return the vpnPackageUri value */ @@ -59,7 +59,7 @@ public String vpnPackageUri() { } /** - * Set the vpnPackageUri value. + * Set the URI where the VPN package can be downloaded. * * @param vpnPackageUri the vpnPackageUri value to set * @return the VnetGateway object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetInfo.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetInfo.java index 16103de25c6a9..cf91ef31c2d46 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetInfo.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetInfo.java @@ -58,7 +58,7 @@ public class VnetInfo extends ProxyOnlyResource { private String dnsServers; /** - * Get the vnetResourceId value. + * Get the Virtual Network's resource ID. * * @return the vnetResourceId value */ @@ -67,7 +67,7 @@ public String vnetResourceId() { } /** - * Set the vnetResourceId value. + * Set the Virtual Network's resource ID. * * @param vnetResourceId the vnetResourceId value to set * @return the VnetInfo object itself. @@ -78,7 +78,7 @@ public VnetInfo withVnetResourceId(String vnetResourceId) { } /** - * Get the certThumbprint value. + * Get the client certificate thumbprint. * * @return the certThumbprint value */ @@ -87,7 +87,8 @@ public String certThumbprint() { } /** - * Get the certBlob value. + * Get a certificate file (.cer) blob containing the public key of the private key used to authenticate a + Point-To-Site VPN connection. * * @return the certBlob value */ @@ -96,7 +97,8 @@ public byte[] certBlob() { } /** - * Set the certBlob value. + * Set a certificate file (.cer) blob containing the public key of the private key used to authenticate a + Point-To-Site VPN connection. * * @param certBlob the certBlob value to set * @return the VnetInfo object itself. @@ -107,7 +109,7 @@ public VnetInfo withCertBlob(byte[] certBlob) { } /** - * Get the routes value. + * Get the routes that this Virtual Network connection uses. * * @return the routes value */ @@ -116,7 +118,7 @@ public List routes() { } /** - * Get the resyncRequired value. + * Get <code>true</code> if a resync is required; otherwise, <code>false</code>. * * @return the resyncRequired value */ @@ -125,7 +127,7 @@ public Boolean resyncRequired() { } /** - * Get the dnsServers value. + * Get dNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. * * @return the dnsServers value */ @@ -134,7 +136,7 @@ public String dnsServers() { } /** - * Set the dnsServers value. + * Set dNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. * * @param dnsServers the dnsServers value to set * @return the VnetInfo object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetParameters.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetParameters.java index 68cb9bbae0bf3..9e8db588431cc 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetParameters.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetParameters.java @@ -35,7 +35,7 @@ public class VnetParameters extends ProxyOnlyResource { private String vnetSubnetName; /** - * Get the vnetResourceGroup value. + * Get the Resource Group of the VNET to be validated. * * @return the vnetResourceGroup value */ @@ -44,7 +44,7 @@ public String vnetResourceGroup() { } /** - * Set the vnetResourceGroup value. + * Set the Resource Group of the VNET to be validated. * * @param vnetResourceGroup the vnetResourceGroup value to set * @return the VnetParameters object itself. @@ -55,7 +55,7 @@ public VnetParameters withVnetResourceGroup(String vnetResourceGroup) { } /** - * Get the vnetName value. + * Get the name of the VNET to be validated. * * @return the vnetName value */ @@ -64,7 +64,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set the name of the VNET to be validated. * * @param vnetName the vnetName value to set * @return the VnetParameters object itself. @@ -75,7 +75,7 @@ public VnetParameters withVnetName(String vnetName) { } /** - * Get the vnetSubnetName value. + * Get the subnet name to be validated. * * @return the vnetSubnetName value */ @@ -84,7 +84,7 @@ public String vnetSubnetName() { } /** - * Set the vnetSubnetName value. + * Set the subnet name to be validated. * * @param vnetSubnetName the vnetSubnetName value to set * @return the VnetParameters object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetRoute.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetRoute.java index 3cdbc1e199dc4..0f81a497ffa18 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetRoute.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetRoute.java @@ -53,7 +53,7 @@ public class VnetRoute extends ProxyOnlyResource { private RouteType routeType; /** - * Get the vnetRouteName value. + * Get the name of this route. This is only returned by the server and does not need to be set by the client. * * @return the vnetRouteName value */ @@ -62,7 +62,7 @@ public String vnetRouteName() { } /** - * Set the vnetRouteName value. + * Set the name of this route. This is only returned by the server and does not need to be set by the client. * * @param vnetRouteName the vnetRouteName value to set * @return the VnetRoute object itself. @@ -73,7 +73,7 @@ public VnetRoute withVnetRouteName(String vnetRouteName) { } /** - * Get the startAddress value. + * Get the starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. * * @return the startAddress value */ @@ -82,7 +82,7 @@ public String startAddress() { } /** - * Set the startAddress value. + * Set the starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. * * @param startAddress the startAddress value to set * @return the VnetRoute object itself. @@ -93,7 +93,7 @@ public VnetRoute withStartAddress(String startAddress) { } /** - * Get the endAddress value. + * Get the ending address for this route. If the start address is specified in CIDR notation, this must be omitted. * * @return the endAddress value */ @@ -102,7 +102,7 @@ public String endAddress() { } /** - * Set the endAddress value. + * Set the ending address for this route. If the start address is specified in CIDR notation, this must be omitted. * * @param endAddress the endAddress value to set * @return the VnetRoute object itself. @@ -113,7 +113,11 @@ public VnetRoute withEndAddress(String endAddress) { } /** - * Get the routeType value. + * Get the type of route this is: + DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 + INHERITED - Routes inherited from the real Virtual Network routes + STATIC - Static route set on the app only + These values will be used for syncing an app's routes with those from a Virtual Network. Possible values include: 'DEFAULT', 'INHERITED', 'STATIC'. * * @return the routeType value */ @@ -122,7 +126,11 @@ public RouteType routeType() { } /** - * Set the routeType value. + * Set the type of route this is: + DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 + INHERITED - Routes inherited from the real Virtual Network routes + STATIC - Static route set on the app only + These values will be used for syncing an app's routes with those from a Virtual Network. Possible values include: 'DEFAULT', 'INHERITED', 'STATIC'. * * @param routeType the routeType value to set * @return the VnetRoute object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetValidationTestFailure.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetValidationTestFailure.java index f727df0c184b7..b62234a3eb58e 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetValidationTestFailure.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/VnetValidationTestFailure.java @@ -30,7 +30,7 @@ public class VnetValidationTestFailure extends ProxyOnlyResource { private String details; /** - * Get the testName value. + * Get the name of the test that failed. * * @return the testName value */ @@ -39,7 +39,7 @@ public String testName() { } /** - * Set the testName value. + * Set the name of the test that failed. * * @param testName the testName value to set * @return the VnetValidationTestFailure object itself. @@ -50,7 +50,7 @@ public VnetValidationTestFailure withTestName(String testName) { } /** - * Get the details value. + * Get the details of what caused the failure, e.g. the blocking rule name, etc. * * @return the details value */ @@ -59,7 +59,7 @@ public String details() { } /** - * Set the details value. + * Set the details of what caused the failure, e.g. the blocking rule name, etc. * * @param details the details value to set * @return the VnetValidationTestFailure object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/WebAppCollection.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/WebAppCollection.java index 316683618506f..1fd48ef4e2c89 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/WebAppCollection.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/WebAppCollection.java @@ -28,7 +28,7 @@ public class WebAppCollection { private String nextLink; /** - * Get the value value. + * Get collection of resources. * * @return the value value */ @@ -37,7 +37,7 @@ public List value() { } /** - * Set the value value. + * Set collection of resources. * * @param value the value value to set * @return the WebAppCollection object itself. @@ -48,7 +48,7 @@ public WebAppCollection withValue(List value) { } /** - * Get the nextLink value. + * Get link to next page of resources. * * @return the nextLink value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/WorkerPool.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/WorkerPool.java index c6afd01805dba..810023bf72474 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/WorkerPool.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/WorkerPool.java @@ -47,7 +47,7 @@ public class WorkerPool { private List instanceNames; /** - * Get the workerSizeId value. + * Get worker size ID for referencing this worker pool. * * @return the workerSizeId value */ @@ -56,7 +56,7 @@ public Integer workerSizeId() { } /** - * Set the workerSizeId value. + * Set worker size ID for referencing this worker pool. * * @param workerSizeId the workerSizeId value to set * @return the WorkerPool object itself. @@ -67,7 +67,7 @@ public WorkerPool withWorkerSizeId(Integer workerSizeId) { } /** - * Get the computeMode value. + * Get shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -76,7 +76,7 @@ public ComputeModeOptions computeMode() { } /** - * Set the computeMode value. + * Set shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @param computeMode the computeMode value to set * @return the WorkerPool object itself. @@ -87,7 +87,7 @@ public WorkerPool withComputeMode(ComputeModeOptions computeMode) { } /** - * Get the workerSize value. + * Get vM size of the worker pool instances. * * @return the workerSize value */ @@ -96,7 +96,7 @@ public String workerSize() { } /** - * Set the workerSize value. + * Set vM size of the worker pool instances. * * @param workerSize the workerSize value to set * @return the WorkerPool object itself. @@ -107,7 +107,7 @@ public WorkerPool withWorkerSize(String workerSize) { } /** - * Get the workerCount value. + * Get number of instances in the worker pool. * * @return the workerCount value */ @@ -116,7 +116,7 @@ public Integer workerCount() { } /** - * Set the workerCount value. + * Set number of instances in the worker pool. * * @param workerCount the workerCount value to set * @return the WorkerPool object itself. @@ -127,7 +127,7 @@ public WorkerPool withWorkerCount(Integer workerCount) { } /** - * Get the instanceNames value. + * Get names of all instances in the worker pool (read only). * * @return the instanceNames value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/AnalysisDefinitionImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/AnalysisDefinitionImpl.java index 763192721fd9a..05b2769de911c 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/AnalysisDefinitionImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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 WebManager manager; + AnalysisDefinitionImpl(AnalysisDefinitionInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/AnalysisDefinitionInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/AnalysisDefinitionInner.java index c469ebb171a7b..411fed2e1e311 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/AnalysisDefinitionInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/AnalysisDefinitionInner.java @@ -24,7 +24,7 @@ public class AnalysisDefinitionInner extends ProxyOnlyResource { private String description; /** - * Get the description value. + * Get description of the Analysis. * * @return the description value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ApplicationStackImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ApplicationStackImpl.java index 56377d323cd49..327ba44c8e629 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ApplicationStackImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ApplicationStackImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_03_01.StackMajorVersion; class ApplicationStackImpl extends WrapperImpl implements ApplicationStack { - private final AppServiceManager manager; - ApplicationStackImpl(ApplicationStackInner inner, AppServiceManager manager) { + private final WebManager manager; + ApplicationStackImpl(ApplicationStackInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ApplicationStackInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ApplicationStackInner.java index 40f1215dd003e..c825c99fb6ccd 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ApplicationStackInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ApplicationStackInner.java @@ -47,7 +47,7 @@ public class ApplicationStackInner { private List frameworks; /** - * Get the name value. + * Get application stack name. * * @return the name value */ @@ -56,7 +56,7 @@ public String name() { } /** - * Set the name value. + * Set application stack name. * * @param name the name value to set * @return the ApplicationStackInner object itself. @@ -67,7 +67,7 @@ public ApplicationStackInner withName(String name) { } /** - * Get the display value. + * Get application stack display name. * * @return the display value */ @@ -76,7 +76,7 @@ public String display() { } /** - * Set the display value. + * Set application stack display name. * * @param display the display value to set * @return the ApplicationStackInner object itself. @@ -87,7 +87,7 @@ public ApplicationStackInner withDisplay(String display) { } /** - * Get the dependency value. + * Get application stack dependency. * * @return the dependency value */ @@ -96,7 +96,7 @@ public String dependency() { } /** - * Set the dependency value. + * Set application stack dependency. * * @param dependency the dependency value to set * @return the ApplicationStackInner object itself. @@ -107,7 +107,7 @@ public ApplicationStackInner withDependency(String dependency) { } /** - * Get the majorVersions value. + * Get list of major versions available. * * @return the majorVersions value */ @@ -116,7 +116,7 @@ public List majorVersions() { } /** - * Set the majorVersions value. + * Set list of major versions available. * * @param majorVersions the majorVersions value to set * @return the ApplicationStackInner object itself. @@ -127,7 +127,7 @@ public ApplicationStackInner withMajorVersions(List majorVers } /** - * Get the frameworks value. + * Get list of frameworks associated with application stack. * * @return the frameworks value */ @@ -136,7 +136,7 @@ public List frameworks() { } /** - * Set the frameworks value. + * Set list of frameworks associated with application stack. * * @param frameworks the frameworks value to set * @return the ApplicationStackInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMeterImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMeterImpl.java index 3c858d4e48c94..53f5da9909820 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMeterImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMeterImpl.java @@ -14,15 +14,15 @@ import rx.Observable; class BillingMeterImpl extends WrapperImpl implements BillingMeter { - private final AppServiceManager manager; + private final WebManager manager; - BillingMeterImpl(BillingMeterInner inner, AppServiceManager manager) { + BillingMeterImpl(BillingMeterInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMeterInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMeterInner.java index 88efcc9a21b36..24ea09492e858 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMeterInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMeterInner.java @@ -49,7 +49,7 @@ public class BillingMeterInner extends ProxyOnlyResource { private String resourceType; /** - * Get the meterId value. + * Get meter GUID onboarded in Commerce. * * @return the meterId value */ @@ -58,7 +58,7 @@ public String meterId() { } /** - * Set the meterId value. + * Set meter GUID onboarded in Commerce. * * @param meterId the meterId value to set * @return the BillingMeterInner object itself. @@ -69,7 +69,7 @@ public BillingMeterInner withMeterId(String meterId) { } /** - * Get the billingLocation value. + * Get azure Location of billable resource. * * @return the billingLocation value */ @@ -78,7 +78,7 @@ public String billingLocation() { } /** - * Set the billingLocation value. + * Set azure Location of billable resource. * * @param billingLocation the billingLocation value to set * @return the BillingMeterInner object itself. @@ -89,7 +89,7 @@ public BillingMeterInner withBillingLocation(String billingLocation) { } /** - * Get the shortName value. + * Get short Name from App Service Azure pricing Page. * * @return the shortName value */ @@ -98,7 +98,7 @@ public String shortName() { } /** - * Set the shortName value. + * Set short Name from App Service Azure pricing Page. * * @param shortName the shortName value to set * @return the BillingMeterInner object itself. @@ -109,7 +109,7 @@ public BillingMeterInner withShortName(String shortName) { } /** - * Get the friendlyName value. + * Get friendly name of the meter. * * @return the friendlyName value */ @@ -118,7 +118,7 @@ public String friendlyName() { } /** - * Set the friendlyName value. + * Set friendly name of the meter. * * @param friendlyName the friendlyName value to set * @return the BillingMeterInner object itself. @@ -129,7 +129,7 @@ public BillingMeterInner withFriendlyName(String friendlyName) { } /** - * Get the resourceType value. + * Get app Service resource type meter used for. * * @return the resourceType value */ @@ -138,7 +138,7 @@ public String resourceType() { } /** - * Set the resourceType value. + * Set app Service resource type meter used for. * * @param resourceType the resourceType value to set * @return the BillingMeterInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMetersImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMetersImpl.java index 140807a072d7a..c7b46dece5e4e 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMetersImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/BillingMetersImpl.java @@ -20,9 +20,9 @@ class BillingMetersImpl extends WrapperImpl implements BillingMeters { private PagedListConverter converter; - private final AppServiceManager manager; + private final WebManager manager; - BillingMetersImpl(AppServiceManager manager) { + BillingMetersImpl(WebManager manager) { super(manager.inner().billingMeters()); this.manager = manager; this.converter = new PagedListConverter() { @@ -33,7 +33,7 @@ public Observable typeConvertAsync(BillingMeterInner inner) { }; } - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateImpl.java index d50bef8c2c141..1283afabc7ea5 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateImpl.java @@ -18,9 +18,9 @@ import com.microsoft.azure.management.appservice.v2016_03_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, WebManager manager) { super(name, inner, manager); this.updateParameter = new CertificatePatchResource(); } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateInner.java index 4addf6f264ffc..b1e2a289e7808 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateInner.java @@ -155,7 +155,7 @@ public class CertificateInner extends Resource { private String kind; /** - * Get the friendlyName value. + * Get friendly name of the certificate. * * @return the friendlyName value */ @@ -164,7 +164,7 @@ public String friendlyName() { } /** - * Get the subjectName value. + * Get subject name of the certificate. * * @return the subjectName value */ @@ -173,7 +173,7 @@ public String subjectName() { } /** - * Get the hostNames value. + * Get host names the certificate applies to. * * @return the hostNames value */ @@ -182,7 +182,7 @@ public List hostNames() { } /** - * Set the hostNames value. + * Set host names the certificate applies to. * * @param hostNames the hostNames value to set * @return the CertificateInner object itself. @@ -193,7 +193,7 @@ public CertificateInner withHostNames(List hostNames) { } /** - * Get the pfxBlob value. + * Get pfx blob. * * @return the pfxBlob value */ @@ -202,7 +202,7 @@ public byte[] pfxBlob() { } /** - * Set the pfxBlob value. + * Set pfx blob. * * @param pfxBlob the pfxBlob value to set * @return the CertificateInner object itself. @@ -213,7 +213,7 @@ public CertificateInner withPfxBlob(byte[] pfxBlob) { } /** - * Get the siteName value. + * Get app name. * * @return the siteName value */ @@ -222,7 +222,7 @@ public String siteName() { } /** - * Get the selfLink value. + * Get self link. * * @return the selfLink value */ @@ -231,7 +231,7 @@ public String selfLink() { } /** - * Get the issuer value. + * Get certificate issuer. * * @return the issuer value */ @@ -240,7 +240,7 @@ public String issuer() { } /** - * Get the issueDate value. + * Get certificate issue Date. * * @return the issueDate value */ @@ -249,7 +249,7 @@ public DateTime issueDate() { } /** - * Get the expirationDate value. + * Get certificate expriration date. * * @return the expirationDate value */ @@ -258,7 +258,7 @@ public DateTime expirationDate() { } /** - * Get the password value. + * Get certificate password. * * @return the password value */ @@ -267,7 +267,7 @@ public String password() { } /** - * Set the password value. + * Set certificate password. * * @param password the password value to set * @return the CertificateInner object itself. @@ -278,7 +278,7 @@ public CertificateInner withPassword(String password) { } /** - * Get the thumbprint value. + * Get certificate thumbprint. * * @return the thumbprint value */ @@ -287,7 +287,7 @@ public String thumbprint() { } /** - * Get the valid value. + * Get is the certificate valid?. * * @return the valid value */ @@ -296,7 +296,7 @@ public Boolean valid() { } /** - * Get the cerBlob value. + * Get raw bytes of .cer file. * * @return the cerBlob value */ @@ -305,7 +305,7 @@ public byte[] cerBlob() { } /** - * Get the publicKeyHash value. + * Get public key hash. * * @return the publicKeyHash value */ @@ -314,7 +314,7 @@ public String publicKeyHash() { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the certificate. * * @return the hostingEnvironmentProfile value */ @@ -323,7 +323,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Get the keyVaultId value. + * Get key Vault Csm resource Id. * * @return the keyVaultId value */ @@ -332,7 +332,7 @@ public String keyVaultId() { } /** - * Set the keyVaultId value. + * Set key Vault Csm resource Id. * * @param keyVaultId the keyVaultId value to set * @return the CertificateInner object itself. @@ -343,7 +343,7 @@ public CertificateInner withKeyVaultId(String keyVaultId) { } /** - * Get the keyVaultSecretName value. + * Get key Vault secret name. * * @return the keyVaultSecretName value */ @@ -352,7 +352,7 @@ public String keyVaultSecretName() { } /** - * Set the keyVaultSecretName value. + * Set key Vault secret name. * * @param keyVaultSecretName the keyVaultSecretName value to set * @return the CertificateInner object itself. @@ -363,7 +363,7 @@ public CertificateInner withKeyVaultSecretName(String keyVaultSecretName) { } /** - * Get the keyVaultSecretStatus value. + * Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'. * * @return the keyVaultSecretStatus value */ @@ -372,7 +372,7 @@ public KeyVaultSecretStatus keyVaultSecretStatus() { } /** - * Get the geoRegion value. + * Get region of the certificate. * * @return the geoRegion value */ @@ -381,7 +381,7 @@ public String geoRegion() { } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -390,7 +390,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the CertificateInner object itself. @@ -401,7 +401,7 @@ public CertificateInner withServerFarmId(String serverFarmId) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -410,7 +410,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the CertificateInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificatesImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificatesImpl.java index 90a9f9e7df2d9..6aee259e33b69 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificatesImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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(WebManager manager) { super(manager.inner().certificates(), manager); } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CsmOperationDescriptionImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CsmOperationDescriptionImpl.java index bb5ce402ef4df..08215370c3d9e 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CsmOperationDescriptionImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CsmOperationDescriptionImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_03_01.CsmOperationDescriptionProperties; class CsmOperationDescriptionImpl extends WrapperImpl implements CsmOperationDescription { - private final AppServiceManager manager; - CsmOperationDescriptionImpl(CsmOperationDescriptionInner inner, AppServiceManager manager) { + private final WebManager manager; + CsmOperationDescriptionImpl(CsmOperationDescriptionInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedSiteImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedSiteImpl.java index fd10537153633..7359b1ede40ca 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedSiteImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedSiteImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class DeletedSiteImpl extends WrapperImpl implements DeletedSite { - private final AppServiceManager manager; - DeletedSiteImpl(DeletedSiteInner inner, AppServiceManager manager) { + private final WebManager manager; + DeletedSiteImpl(DeletedSiteInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedSiteInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedSiteInner.java index 35053fecb0baa..50b6cc6f965ec 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedSiteInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedSiteInner.java @@ -51,7 +51,7 @@ public class DeletedSiteInner { private String slot; /** - * Get the id value. + * Get numeric id for the deleted site. * * @return the id value */ @@ -60,7 +60,7 @@ public Integer id() { } /** - * Set the id value. + * Set numeric id for the deleted site. * * @param id the id value to set * @return the DeletedSiteInner object itself. @@ -71,7 +71,7 @@ public DeletedSiteInner withId(Integer id) { } /** - * Get the deletedTimestamp value. + * Get time in UTC when the app was deleted. * * @return the deletedTimestamp value */ @@ -80,7 +80,7 @@ public String deletedTimestamp() { } /** - * Get the subscription value. + * Get subscription containing the deleted site. * * @return the subscription value */ @@ -89,7 +89,7 @@ public String subscription() { } /** - * Get the resourceGroup value. + * Get resourceGroup that contained the deleted site. * * @return the resourceGroup value */ @@ -98,7 +98,7 @@ public String resourceGroup() { } /** - * Get the name value. + * Get name of the deleted site. * * @return the name value */ @@ -107,7 +107,7 @@ public String name() { } /** - * Get the slot value. + * Get slot of the deleted site. * * @return the slot value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedWebAppsImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedWebAppsImpl.java index 374552fbe01df..ca47be22d4f71 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedWebAppsImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeletedWebAppsImpl.java @@ -17,14 +17,14 @@ import com.microsoft.azure.management.appservice.v2016_03_01.DeletedSite; class DeletedWebAppsImpl extends WrapperImpl implements DeletedWebApps { - private final AppServiceManager manager; + private final WebManager manager; - DeletedWebAppsImpl(AppServiceManager manager) { + DeletedWebAppsImpl(WebManager manager) { super(manager.inner().deletedWebApps()); this.manager = manager; } - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } @@ -37,7 +37,8 @@ public Observable listAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DeletedSite call(DeletedSiteInner inner) { return new DeletedSiteImpl(inner, manager()); diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeploymentLocationsInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeploymentLocationsInner.java index bde7b737f01d7..57a8ce8c58b16 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeploymentLocationsInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DeploymentLocationsInner.java @@ -38,7 +38,7 @@ public class DeploymentLocationsInner { private List hostingEnvironmentDeploymentInfos; /** - * Get the locations value. + * Get available regions. * * @return the locations value */ @@ -47,7 +47,7 @@ public List locations() { } /** - * Set the locations value. + * Set available regions. * * @param locations the locations value to set * @return the DeploymentLocationsInner object itself. @@ -58,7 +58,7 @@ public DeploymentLocationsInner withLocations(List locations) { } /** - * Get the hostingEnvironments value. + * Get available App Service Environments with full descriptions of the environments. * * @return the hostingEnvironments value */ @@ -67,7 +67,7 @@ public List hostingEnvironments() { } /** - * Set the hostingEnvironments value. + * Set available App Service Environments with full descriptions of the environments. * * @param hostingEnvironments the hostingEnvironments value to set * @return the DeploymentLocationsInner object itself. @@ -78,7 +78,7 @@ public DeploymentLocationsInner withHostingEnvironments(List hostingEnvironmentDeploymentInfos( } /** - * Set the hostingEnvironmentDeploymentInfos value. + * Set available App Service Environments with basic information. * * @param hostingEnvironmentDeploymentInfos the hostingEnvironmentDeploymentInfos value to set * @return the DeploymentLocationsInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorDefinitionImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorDefinitionImpl.java index d6b2a88082c5b..c6d2c993d1548 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorDefinitionImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorDefinitionImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class DetectorDefinitionImpl extends WrapperImpl implements DetectorDefinition { - private final AppServiceManager manager; - DetectorDefinitionImpl(DetectorDefinitionInner inner, AppServiceManager manager) { + private final WebManager manager; + DetectorDefinitionImpl(DetectorDefinitionInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorDefinitionInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorDefinitionInner.java index 8b15f0e306625..e635273ec69be 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorDefinitionInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorDefinitionInner.java @@ -42,7 +42,7 @@ public class DetectorDefinitionInner extends ProxyOnlyResource { private Boolean isEnabled; /** - * Get the displayName value. + * Get display name of the detector. * * @return the displayName value */ @@ -51,7 +51,7 @@ public String displayName() { } /** - * Get the description value. + * Get description of the detector. * * @return the description value */ @@ -60,7 +60,7 @@ public String description() { } /** - * Get the rank value. + * Get detector Rank. * * @return the rank value */ @@ -69,7 +69,7 @@ public Double rank() { } /** - * Get the isEnabled value. + * Get flag representing whether detector is enabled or not. * * @return the isEnabled value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorResponseImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorResponseImpl.java index d656ba1e9a818..53eb85fe1af19 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorResponseImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DetectorResponseImpl.java @@ -16,12 +16,12 @@ import com.microsoft.azure.management.appservice.v2016_03_01.DetectorInfo; class DetectorResponseImpl extends IndexableRefreshableWrapperImpl implements DetectorResponse { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String detectorName; - DetectorResponseImpl(DetectorResponseInner inner, AppServiceManager manager) { + DetectorResponseImpl(DetectorResponseInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -30,7 +30,7 @@ class DetectorResponseImpl extends IndexableRefreshableWrapperImpl dataset; /** - * Get the metadata value. + * Get metadata for the detector. * * @return the metadata value */ @@ -42,7 +42,7 @@ public DetectorInfo metadata() { } /** - * Set the metadata value. + * Set metadata for the detector. * * @param metadata the metadata value to set * @return the DetectorResponseInner object itself. @@ -53,7 +53,7 @@ public DetectorResponseInner withMetadata(DetectorInfo metadata) { } /** - * Get the dataset value. + * Get data Set. * * @return the dataset value */ @@ -62,7 +62,7 @@ public List dataset() { } /** - * Set the dataset value. + * Set data Set. * * @param dataset the dataset value to set * @return the DetectorResponseInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticAnalysisImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticAnalysisImpl.java index 43c7aa0b7735b..bad021e44db10 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticAnalysisImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticAnalysisImpl.java @@ -19,13 +19,13 @@ import com.microsoft.azure.management.appservice.v2016_03_01.AnalysisData; class DiagnosticAnalysisImpl extends IndexableRefreshableWrapperImpl implements DiagnosticAnalysis { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String siteName; private String diagnosticCategory; private String analysisName; - DiagnosticAnalysisImpl(DiagnosticAnalysisInner inner, AppServiceManager manager) { + DiagnosticAnalysisImpl(DiagnosticAnalysisInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -35,7 +35,7 @@ class DiagnosticAnalysisImpl extends IndexableRefreshableWrapperImpl nonCorrelatedDetectors; /** - * Get the startTime value. + * Get start time of the period. * * @return the startTime value */ @@ -61,7 +61,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the period. * * @param startTime the startTime value to set * @return the DiagnosticAnalysisInner object itself. @@ -72,7 +72,7 @@ public DiagnosticAnalysisInner withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the period. * * @return the endTime value */ @@ -81,7 +81,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the period. * * @param endTime the endTime value to set * @return the DiagnosticAnalysisInner object itself. @@ -92,7 +92,7 @@ public DiagnosticAnalysisInner withEndTime(DateTime endTime) { } /** - * Get the abnormalTimePeriods value. + * Get list of time periods. * * @return the abnormalTimePeriods value */ @@ -101,7 +101,7 @@ public List abnormalTimePeriods() { } /** - * Set the abnormalTimePeriods value. + * Set list of time periods. * * @param abnormalTimePeriods the abnormalTimePeriods value to set * @return the DiagnosticAnalysisInner object itself. @@ -112,7 +112,7 @@ public DiagnosticAnalysisInner withAbnormalTimePeriods(List } /** - * Get the payload value. + * Get data by each detector. * * @return the payload value */ @@ -121,7 +121,7 @@ public List payload() { } /** - * Set the payload value. + * Set data by each detector. * * @param payload the payload value to set * @return the DiagnosticAnalysisInner object itself. @@ -132,7 +132,7 @@ public DiagnosticAnalysisInner withPayload(List payload) { } /** - * Get the nonCorrelatedDetectors value. + * Get data by each detector for detectors that did not corelate. * * @return the nonCorrelatedDetectors value */ @@ -141,7 +141,7 @@ public List nonCorrelatedDetectors() { } /** - * Set the nonCorrelatedDetectors value. + * Set data by each detector for detectors that did not corelate. * * @param nonCorrelatedDetectors the nonCorrelatedDetectors value to set * @return the DiagnosticAnalysisInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticCategoryImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticCategoryImpl.java index e47a7476cdbd1..c092e3c81866a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticCategoryImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticCategoryImpl.java @@ -13,12 +13,12 @@ import rx.Observable; class DiagnosticCategoryImpl extends IndexableRefreshableWrapperImpl implements DiagnosticCategory { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String siteName; private String diagnosticCategory; - DiagnosticCategoryImpl(DiagnosticCategoryInner inner, AppServiceManager manager) { + DiagnosticCategoryImpl(DiagnosticCategoryInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -27,7 +27,7 @@ class DiagnosticCategoryImpl extends IndexableRefreshableWrapperImpl implements DiagnosticDetectorResponse { - private final AppServiceManager manager; - DiagnosticDetectorResponseImpl(DiagnosticDetectorResponseInner inner, AppServiceManager manager) { + private final WebManager manager; + DiagnosticDetectorResponseImpl(DiagnosticDetectorResponseInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticDetectorResponseInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticDetectorResponseInner.java index 224c75cacd0ed..a9d6369803f3f 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticDetectorResponseInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticDetectorResponseInner.java @@ -72,7 +72,7 @@ public class DiagnosticDetectorResponseInner extends ProxyOnlyResource { private ResponseMetaData responseMetaData; /** - * Get the startTime value. + * Get start time of the period. * * @return the startTime value */ @@ -81,7 +81,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the period. * * @param startTime the startTime value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -92,7 +92,7 @@ public DiagnosticDetectorResponseInner withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the period. * * @return the endTime value */ @@ -101,7 +101,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the period. * * @param endTime the endTime value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -112,7 +112,7 @@ public DiagnosticDetectorResponseInner withEndTime(DateTime endTime) { } /** - * Get the issueDetected value. + * Get flag representing Issue was detected. * * @return the issueDetected value */ @@ -121,7 +121,7 @@ public Boolean issueDetected() { } /** - * Set the issueDetected value. + * Set flag representing Issue was detected. * * @param issueDetected the issueDetected value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -132,7 +132,7 @@ public DiagnosticDetectorResponseInner withIssueDetected(Boolean issueDetected) } /** - * Get the detectorDefinition value. + * Get detector's definition. * * @return the detectorDefinition value */ @@ -141,7 +141,7 @@ public DetectorDefinitionInner detectorDefinition() { } /** - * Set the detectorDefinition value. + * Set detector's definition. * * @param detectorDefinition the detectorDefinition value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -152,7 +152,7 @@ public DiagnosticDetectorResponseInner withDetectorDefinition(DetectorDefinition } /** - * Get the metrics value. + * Get metrics provided by the detector. * * @return the metrics value */ @@ -161,7 +161,7 @@ public List metrics() { } /** - * Set the metrics value. + * Set metrics provided by the detector. * * @param metrics the metrics value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -172,7 +172,7 @@ public DiagnosticDetectorResponseInner withMetrics(List met } /** - * Get the abnormalTimePeriods value. + * Get list of Correlated events found by the detector. * * @return the abnormalTimePeriods value */ @@ -181,7 +181,7 @@ public List abnormalTimePeriods() { } /** - * Set the abnormalTimePeriods value. + * Set list of Correlated events found by the detector. * * @param abnormalTimePeriods the abnormalTimePeriods value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -192,7 +192,7 @@ public DiagnosticDetectorResponseInner withAbnormalTimePeriods(List> data() { } /** - * Set the data value. + * Set additional Data that detector wants to send. * * @param data the data value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -212,7 +212,7 @@ public DiagnosticDetectorResponseInner withData(List> data) } /** - * Get the responseMetaData value. + * Get meta Data. * * @return the responseMetaData value */ @@ -221,7 +221,7 @@ public ResponseMetaData responseMetaData() { } /** - * Set the responseMetaData value. + * Set meta Data. * * @param responseMetaData the responseMetaData value to set * @return the DiagnosticDetectorResponseInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticsImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticsImpl.java index e547a470f453c..5cb3a680e242c 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticsImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticsImpl.java @@ -22,14 +22,14 @@ import com.microsoft.azure.management.appservice.v2016_03_01.AnalysisDefinition; class DiagnosticsImpl extends WrapperImpl implements Diagnostics { - private final AppServiceManager manager; + private final WebManager manager; - DiagnosticsImpl(AppServiceManager manager) { + DiagnosticsImpl(WebManager manager) { super(manager.inner().diagnostics()); this.manager = manager; } - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } @@ -46,7 +46,8 @@ public Observable listSiteDiagnosticCategoriesSlotAsync(fina public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DiagnosticCategory call(DiagnosticCategoryInner inner) { return new DiagnosticCategoryImpl(inner, manager()); @@ -160,7 +161,8 @@ public Observable listSiteDetectorResponsesAsync(final String public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorResponse call(DetectorResponseInner inner) { return new DetectorResponseImpl(inner, manager()); @@ -189,7 +191,8 @@ public Observable listSiteDetectorsAsync(final String resour public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorDefinition call(DetectorDefinitionInner inner) { return new DetectorDefinitionImpl(inner, manager()); @@ -206,7 +209,8 @@ public Observable getSiteDetectorAsync(final String resource public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorDefinition call(DetectorDefinitionInner inner) { return new DetectorDefinitionImpl(inner, manager()); @@ -235,7 +239,8 @@ public Observable listSiteDetectorResponsesSlotAsync(final Str public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorResponse call(DetectorResponseInner inner) { return new DetectorResponseImpl(inner, manager()); @@ -264,7 +269,8 @@ public Observable listSiteDetectorsSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorDefinition call(DetectorDefinitionInner inner) { return new DetectorDefinitionImpl(inner, manager()); @@ -281,7 +287,8 @@ public Observable getSiteDetectorSlotAsync(final String reso public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorDefinition call(DetectorDefinitionInner inner) { return new DetectorDefinitionImpl(inner, manager()); @@ -358,7 +365,8 @@ public Observable listSiteAnalysesSlotAsync(final String res public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public AnalysisDefinition call(AnalysisDefinitionInner inner) { return new AnalysisDefinitionImpl(inner, manager()); diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/GeoRegionInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/GeoRegionInner.java index 0be5f68501d6c..c2ee95211d313 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/GeoRegionInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/GeoRegionInner.java @@ -36,7 +36,7 @@ public class GeoRegionInner extends ProxyOnlyResource { private String displayName; /** - * Get the geoRegionName value. + * Get region name. * * @return the geoRegionName value */ @@ -45,7 +45,7 @@ public String geoRegionName() { } /** - * Get the description value. + * Get region description. * * @return the description value */ @@ -54,7 +54,7 @@ public String description() { } /** - * Get the displayName value. + * Get display name for region. * * @return the displayName value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/IdentifierInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/IdentifierInner.java index a50ed6a6081e8..c3d9fe0a8f569 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/IdentifierInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/IdentifierInner.java @@ -24,7 +24,7 @@ public class IdentifierInner extends ProxyOnlyResource { private String identifierId; /** - * Get the identifierId value. + * Get string representation of the identity. * * @return the identifierId value */ @@ -33,7 +33,7 @@ public String identifierId() { } /** - * Set the identifierId value. + * Set string representation of the identity. * * @param identifierId the identifierId value to set * @return the IdentifierInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/PremierAddOnOfferInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/PremierAddOnOfferInner.java index db475efefa225..19afd109657f1 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/PremierAddOnOfferInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/PremierAddOnOfferInner.java @@ -87,7 +87,7 @@ public class PremierAddOnOfferInner extends ProxyOnlyResource { private String marketplaceOffer; /** - * Get the sku value. + * Get premier add on SKU. * * @return the sku value */ @@ -96,7 +96,7 @@ public String sku() { } /** - * Set the sku value. + * Set premier add on SKU. * * @param sku the sku value to set * @return the PremierAddOnOfferInner object itself. @@ -107,7 +107,7 @@ public PremierAddOnOfferInner withSku(String sku) { } /** - * Get the product value. + * Get premier add on offer Product. * * @return the product value */ @@ -116,7 +116,7 @@ public String product() { } /** - * Set the product value. + * Set premier add on offer Product. * * @param product the product value to set * @return the PremierAddOnOfferInner object itself. @@ -127,7 +127,7 @@ public PremierAddOnOfferInner withProduct(String product) { } /** - * Get the vendor value. + * Get premier add on offer Vendor. * * @return the vendor value */ @@ -136,7 +136,7 @@ public String vendor() { } /** - * Set the vendor value. + * Set premier add on offer Vendor. * * @param vendor the vendor value to set * @return the PremierAddOnOfferInner object itself. @@ -147,7 +147,7 @@ public PremierAddOnOfferInner withVendor(String vendor) { } /** - * Get the premierAddOnOfferName value. + * Get premier add on offer Name. * * @return the premierAddOnOfferName value */ @@ -156,7 +156,7 @@ public String premierAddOnOfferName() { } /** - * Set the premierAddOnOfferName value. + * Set premier add on offer Name. * * @param premierAddOnOfferName the premierAddOnOfferName value to set * @return the PremierAddOnOfferInner object itself. @@ -167,7 +167,7 @@ public PremierAddOnOfferInner withPremierAddOnOfferName(String premierAddOnOffer } /** - * Get the promoCodeRequired value. + * Get <code>true</code> if promotion code is required; otherwise, <code>false</code>. * * @return the promoCodeRequired value */ @@ -176,7 +176,7 @@ public Boolean promoCodeRequired() { } /** - * Set the promoCodeRequired value. + * Set <code>true</code> if promotion code is required; otherwise, <code>false</code>. * * @param promoCodeRequired the promoCodeRequired value to set * @return the PremierAddOnOfferInner object itself. @@ -187,7 +187,7 @@ public PremierAddOnOfferInner withPromoCodeRequired(Boolean promoCodeRequired) { } /** - * Get the quota value. + * Get premier add on offer Quota. * * @return the quota value */ @@ -196,7 +196,7 @@ public Integer quota() { } /** - * Set the quota value. + * Set premier add on offer Quota. * * @param quota the quota value to set * @return the PremierAddOnOfferInner object itself. @@ -207,7 +207,7 @@ public PremierAddOnOfferInner withQuota(Integer quota) { } /** - * Get the webHostingPlanRestrictions value. + * Get app Service plans this offer is restricted to. Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard', 'Premium'. * * @return the webHostingPlanRestrictions value */ @@ -216,7 +216,7 @@ public AppServicePlanRestrictions webHostingPlanRestrictions() { } /** - * Set the webHostingPlanRestrictions value. + * Set app Service plans this offer is restricted to. Possible values include: 'None', 'Free', 'Shared', 'Basic', 'Standard', 'Premium'. * * @param webHostingPlanRestrictions the webHostingPlanRestrictions value to set * @return the PremierAddOnOfferInner object itself. @@ -227,7 +227,7 @@ public PremierAddOnOfferInner withWebHostingPlanRestrictions(AppServicePlanRestr } /** - * Get the privacyPolicyUrl value. + * Get privacy policy URL. * * @return the privacyPolicyUrl value */ @@ -236,7 +236,7 @@ public String privacyPolicyUrl() { } /** - * Set the privacyPolicyUrl value. + * Set privacy policy URL. * * @param privacyPolicyUrl the privacyPolicyUrl value to set * @return the PremierAddOnOfferInner object itself. @@ -247,7 +247,7 @@ public PremierAddOnOfferInner withPrivacyPolicyUrl(String privacyPolicyUrl) { } /** - * Get the legalTermsUrl value. + * Get legal terms URL. * * @return the legalTermsUrl value */ @@ -256,7 +256,7 @@ public String legalTermsUrl() { } /** - * Set the legalTermsUrl value. + * Set legal terms URL. * * @param legalTermsUrl the legalTermsUrl value to set * @return the PremierAddOnOfferInner object itself. @@ -267,7 +267,7 @@ public PremierAddOnOfferInner withLegalTermsUrl(String legalTermsUrl) { } /** - * Get the marketplacePublisher value. + * Get marketplace publisher. * * @return the marketplacePublisher value */ @@ -276,7 +276,7 @@ public String marketplacePublisher() { } /** - * Set the marketplacePublisher value. + * Set marketplace publisher. * * @param marketplacePublisher the marketplacePublisher value to set * @return the PremierAddOnOfferInner object itself. @@ -287,7 +287,7 @@ public PremierAddOnOfferInner withMarketplacePublisher(String marketplacePublish } /** - * Get the marketplaceOffer value. + * Get marketplace offer. * * @return the marketplaceOffer value */ @@ -296,7 +296,7 @@ public String marketplaceOffer() { } /** - * Set the marketplaceOffer value. + * Set marketplace offer. * * @param marketplaceOffer the marketplaceOffer value to set * @return the PremierAddOnOfferInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ProvidersImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ProvidersImpl.java index 4fb49a88ad507..fc02280d9181a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ProvidersImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ProvidersImpl.java @@ -18,14 +18,14 @@ import com.microsoft.azure.management.appservice.v2016_03_01.CsmOperationDescription; class ProvidersImpl extends WrapperImpl implements Providers { - private final AppServiceManager manager; + private final WebManager manager; - ProvidersImpl(AppServiceManager manager) { + ProvidersImpl(WebManager manager) { super(manager.inner().providers()); this.manager = manager; } - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } @@ -38,7 +38,8 @@ public Observable getAvailableStacksAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ApplicationStack call(ApplicationStackInner inner) { return new ApplicationStackImpl(inner, manager()); @@ -55,7 +56,8 @@ public Observable listAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ApplicationStack call(ApplicationStackInner inner) { return new ApplicationStackImpl(inner, manager()); @@ -72,7 +74,8 @@ public Observable listOperationsAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public CsmOperationDescription call(CsmOperationDescriptionInner inner) { return new CsmOperationDescriptionImpl(inner, manager()); diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationImpl.java index cde7878c8dc82..6948fc99fbf82 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationImpl.java @@ -20,15 +20,15 @@ import java.util.List; class RecommendationImpl extends WrapperImpl implements Recommendation { - private final AppServiceManager manager; + private final WebManager manager; - RecommendationImpl(RecommendationInner inner, AppServiceManager manager) { + RecommendationImpl(RecommendationInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationInner.java index 7fd50dc0655da..8dae5bc7f87a0 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationInner.java @@ -158,7 +158,7 @@ public class RecommendationInner extends ProxyOnlyResource { private String forwardLink; /** - * Get the creationTime value. + * Get timestamp when this instance was created. * * @return the creationTime value */ @@ -167,7 +167,7 @@ public DateTime creationTime() { } /** - * Set the creationTime value. + * Set timestamp when this instance was created. * * @param creationTime the creationTime value to set * @return the RecommendationInner object itself. @@ -178,7 +178,7 @@ public RecommendationInner withCreationTime(DateTime creationTime) { } /** - * Get the recommendationId value. + * Get a GUID value that each recommendation object is associated with. * * @return the recommendationId value */ @@ -187,7 +187,7 @@ public UUID recommendationId() { } /** - * Set the recommendationId value. + * Set a GUID value that each recommendation object is associated with. * * @param recommendationId the recommendationId value to set * @return the RecommendationInner object itself. @@ -198,7 +198,7 @@ public RecommendationInner withRecommendationId(UUID recommendationId) { } /** - * Get the resourceId value. + * Get full ARM resource ID string that this recommendation object is associated with. * * @return the resourceId value */ @@ -207,7 +207,7 @@ public String resourceId() { } /** - * Set the resourceId value. + * Set full ARM resource ID string that this recommendation object is associated with. * * @param resourceId the resourceId value to set * @return the RecommendationInner object itself. @@ -218,7 +218,7 @@ public RecommendationInner withResourceId(String resourceId) { } /** - * Get the resourceScope value. + * Get name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: 'ServerFarm', 'Subscription', 'WebSite'. * * @return the resourceScope value */ @@ -227,7 +227,7 @@ public ResourceScopeType resourceScope() { } /** - * Set the resourceScope value. + * Set name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: 'ServerFarm', 'Subscription', 'WebSite'. * * @param resourceScope the resourceScope value to set * @return the RecommendationInner object itself. @@ -238,7 +238,7 @@ public RecommendationInner withResourceScope(ResourceScopeType resourceScope) { } /** - * Get the ruleName value. + * Get unique name of the rule. * * @return the ruleName value */ @@ -247,7 +247,7 @@ public String ruleName() { } /** - * Set the ruleName value. + * Set unique name of the rule. * * @param ruleName the ruleName value to set * @return the RecommendationInner object itself. @@ -258,7 +258,7 @@ public RecommendationInner withRuleName(String ruleName) { } /** - * Get the displayName value. + * Get uI friendly name of the rule (may not be unique). * * @return the displayName value */ @@ -267,7 +267,7 @@ public String displayName() { } /** - * Set the displayName value. + * Set uI friendly name of the rule (may not be unique). * * @param displayName the displayName value to set * @return the RecommendationInner object itself. @@ -278,7 +278,7 @@ public RecommendationInner withDisplayName(String displayName) { } /** - * Get the message value. + * Get recommendation text. * * @return the message value */ @@ -287,7 +287,7 @@ public String message() { } /** - * Set the message value. + * Set recommendation text. * * @param message the message value to set * @return the RecommendationInner object itself. @@ -298,7 +298,7 @@ public RecommendationInner withMessage(String message) { } /** - * Get the level value. + * Get level indicating how critical this recommendation can impact. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'. * * @return the level value */ @@ -307,7 +307,7 @@ public NotificationLevel level() { } /** - * Set the level value. + * Set level indicating how critical this recommendation can impact. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'. * * @param level the level value to set * @return the RecommendationInner object itself. @@ -318,7 +318,7 @@ public RecommendationInner withLevel(NotificationLevel level) { } /** - * Get the channels value. + * Get list of channels that this recommendation can apply. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'. * * @return the channels value */ @@ -327,7 +327,7 @@ public Channels channels() { } /** - * Set the channels value. + * Set list of channels that this recommendation can apply. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'. * * @param channels the channels value to set * @return the RecommendationInner object itself. @@ -338,7 +338,7 @@ public RecommendationInner withChannels(Channels channels) { } /** - * Get the tags value. + * Get the list of category tags that this recommendation belongs to. * * @return the tags value */ @@ -347,7 +347,7 @@ public List tags() { } /** - * Set the tags value. + * Set the list of category tags that this recommendation belongs to. * * @param tags the tags value to set * @return the RecommendationInner object itself. @@ -358,7 +358,7 @@ public RecommendationInner withTags(List tags) { } /** - * Get the actionName value. + * Get name of action recommended by this object. * * @return the actionName value */ @@ -367,7 +367,7 @@ public String actionName() { } /** - * Set the actionName value. + * Set name of action recommended by this object. * * @param actionName the actionName value to set * @return the RecommendationInner object itself. @@ -378,7 +378,7 @@ public RecommendationInner withActionName(String actionName) { } /** - * Get the startTime value. + * Get the beginning time in UTC of a range that the recommendation refers to. * * @return the startTime value */ @@ -387,7 +387,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set the beginning time in UTC of a range that the recommendation refers to. * * @param startTime the startTime value to set * @return the RecommendationInner object itself. @@ -398,7 +398,7 @@ public RecommendationInner withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get the end time in UTC of a range that the recommendation refers to. * * @return the endTime value */ @@ -407,7 +407,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set the end time in UTC of a range that the recommendation refers to. * * @param endTime the endTime value to set * @return the RecommendationInner object itself. @@ -418,7 +418,7 @@ public RecommendationInner withEndTime(DateTime endTime) { } /** - * Get the nextNotificationTime value. + * Get when to notify this recommendation next in UTC. Null means that this will never be notified anymore. * * @return the nextNotificationTime value */ @@ -427,7 +427,7 @@ public DateTime nextNotificationTime() { } /** - * Set the nextNotificationTime value. + * Set when to notify this recommendation next in UTC. Null means that this will never be notified anymore. * * @param nextNotificationTime the nextNotificationTime value to set * @return the RecommendationInner object itself. @@ -438,7 +438,7 @@ public RecommendationInner withNextNotificationTime(DateTime nextNotificationTim } /** - * Get the notificationExpirationTime value. + * Get date and time in UTC when this notification expires. * * @return the notificationExpirationTime value */ @@ -447,7 +447,7 @@ public DateTime notificationExpirationTime() { } /** - * Set the notificationExpirationTime value. + * Set date and time in UTC when this notification expires. * * @param notificationExpirationTime the notificationExpirationTime value to set * @return the RecommendationInner object itself. @@ -458,7 +458,7 @@ public RecommendationInner withNotificationExpirationTime(DateTime notificationE } /** - * Get the notifiedTime value. + * Get last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet. * * @return the notifiedTime value */ @@ -467,7 +467,7 @@ public DateTime notifiedTime() { } /** - * Set the notifiedTime value. + * Set last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet. * * @param notifiedTime the notifiedTime value to set * @return the RecommendationInner object itself. @@ -478,7 +478,7 @@ public RecommendationInner withNotifiedTime(DateTime notifiedTime) { } /** - * Get the score value. + * Get a metric value measured by the rule. * * @return the score value */ @@ -487,7 +487,7 @@ public Double score() { } /** - * Set the score value. + * Set a metric value measured by the rule. * * @param score the score value to set * @return the RecommendationInner object itself. @@ -498,7 +498,7 @@ public RecommendationInner withScore(Double score) { } /** - * Get the isDynamic value. + * Get true if this is associated with a dynamically added rule. * * @return the isDynamic value */ @@ -507,7 +507,7 @@ public Boolean isDynamic() { } /** - * Set the isDynamic value. + * Set true if this is associated with a dynamically added rule. * * @param isDynamic the isDynamic value to set * @return the RecommendationInner object itself. @@ -518,7 +518,7 @@ public RecommendationInner withIsDynamic(Boolean isDynamic) { } /** - * Get the extensionName value. + * Get extension name of the portal if exists. * * @return the extensionName value */ @@ -527,7 +527,7 @@ public String extensionName() { } /** - * Set the extensionName value. + * Set extension name of the portal if exists. * * @param extensionName the extensionName value to set * @return the RecommendationInner object itself. @@ -538,7 +538,7 @@ public RecommendationInner withExtensionName(String extensionName) { } /** - * Get the bladeName value. + * Get deep link to a blade on the portal. * * @return the bladeName value */ @@ -547,7 +547,7 @@ public String bladeName() { } /** - * Set the bladeName value. + * Set deep link to a blade on the portal. * * @param bladeName the bladeName value to set * @return the RecommendationInner object itself. @@ -558,7 +558,7 @@ public RecommendationInner withBladeName(String bladeName) { } /** - * Get the forwardLink value. + * Get forward link to an external document associated with the rule. * * @return the forwardLink value */ @@ -567,7 +567,7 @@ public String forwardLink() { } /** - * Set the forwardLink value. + * Set forward link to an external document associated with the rule. * * @param forwardLink the forwardLink value to set * @return the RecommendationInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationRuleImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationRuleImpl.java index 85f3887c87d4d..9b92b783d063e 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationRuleImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationRuleImpl.java @@ -16,14 +16,14 @@ import java.util.List; class RecommendationRuleImpl extends WrapperImpl implements RecommendationRule { - private final AppServiceManager manager; - RecommendationRuleImpl(RecommendationRuleInner inner, AppServiceManager manager) { + private final WebManager manager; + RecommendationRuleImpl(RecommendationRuleInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationRuleInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationRuleInner.java index 2d45bc339868e..36570e7f7a707 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationRuleInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationRuleInner.java @@ -105,7 +105,7 @@ public class RecommendationRuleInner extends ProxyOnlyResource { private String forwardLink; /** - * Get the recommendationRuleName value. + * Get unique name of the rule. * * @return the recommendationRuleName value */ @@ -114,7 +114,7 @@ public String recommendationRuleName() { } /** - * Set the recommendationRuleName value. + * Set unique name of the rule. * * @param recommendationRuleName the recommendationRuleName value to set * @return the RecommendationRuleInner object itself. @@ -125,7 +125,7 @@ public RecommendationRuleInner withRecommendationRuleName(String recommendationR } /** - * Get the displayName value. + * Get uI friendly name of the rule. * * @return the displayName value */ @@ -134,7 +134,7 @@ public String displayName() { } /** - * Set the displayName value. + * Set uI friendly name of the rule. * * @param displayName the displayName value to set * @return the RecommendationRuleInner object itself. @@ -145,7 +145,7 @@ public RecommendationRuleInner withDisplayName(String displayName) { } /** - * Get the message value. + * Get localized name of the rule (Good for UI). * * @return the message value */ @@ -154,7 +154,7 @@ public String message() { } /** - * Set the message value. + * Set localized name of the rule (Good for UI). * * @param message the message value to set * @return the RecommendationRuleInner object itself. @@ -165,7 +165,8 @@ public RecommendationRuleInner withMessage(String message) { } /** - * Get the recommendationId value. + * Get recommendation ID of an associated recommendation object tied to the rule, if exists. + If such an object doesn't exist, it is set to null. * * @return the recommendationId value */ @@ -174,7 +175,8 @@ public UUID recommendationId() { } /** - * Set the recommendationId value. + * Set recommendation ID of an associated recommendation object tied to the rule, if exists. + If such an object doesn't exist, it is set to null. * * @param recommendationId the recommendationId value to set * @return the RecommendationRuleInner object itself. @@ -185,7 +187,7 @@ public RecommendationRuleInner withRecommendationId(UUID recommendationId) { } /** - * Get the description value. + * Get localized detailed description of the rule. * * @return the description value */ @@ -194,7 +196,7 @@ public String description() { } /** - * Set the description value. + * Set localized detailed description of the rule. * * @param description the description value to set * @return the RecommendationRuleInner object itself. @@ -205,7 +207,7 @@ public RecommendationRuleInner withDescription(String description) { } /** - * Get the actionName value. + * Get name of action that is recommended by this rule in string. * * @return the actionName value */ @@ -214,7 +216,7 @@ public String actionName() { } /** - * Set the actionName value. + * Set name of action that is recommended by this rule in string. * * @param actionName the actionName value to set * @return the RecommendationRuleInner object itself. @@ -225,7 +227,7 @@ public RecommendationRuleInner withActionName(String actionName) { } /** - * Get the level value. + * Get level of impact indicating how critical this rule is. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'. * * @return the level value */ @@ -234,7 +236,7 @@ public NotificationLevel level() { } /** - * Set the level value. + * Set level of impact indicating how critical this rule is. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'. * * @param level the level value to set * @return the RecommendationRuleInner object itself. @@ -245,7 +247,7 @@ public RecommendationRuleInner withLevel(NotificationLevel level) { } /** - * Get the channels value. + * Get list of available channels that this rule applies. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'. * * @return the channels value */ @@ -254,7 +256,7 @@ public Channels channels() { } /** - * Set the channels value. + * Set list of available channels that this rule applies. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'. * * @param channels the channels value to set * @return the RecommendationRuleInner object itself. @@ -265,7 +267,7 @@ public RecommendationRuleInner withChannels(Channels channels) { } /** - * Get the tags value. + * Get an array of category tags that the rule contains. * * @return the tags value */ @@ -274,7 +276,7 @@ public List tags() { } /** - * Set the tags value. + * Set an array of category tags that the rule contains. * * @param tags the tags value to set * @return the RecommendationRuleInner object itself. @@ -285,7 +287,7 @@ public RecommendationRuleInner withTags(List tags) { } /** - * Get the isDynamic value. + * Get true if this is associated with a dynamically added rule. * * @return the isDynamic value */ @@ -294,7 +296,7 @@ public Boolean isDynamic() { } /** - * Set the isDynamic value. + * Set true if this is associated with a dynamically added rule. * * @param isDynamic the isDynamic value to set * @return the RecommendationRuleInner object itself. @@ -305,7 +307,7 @@ public RecommendationRuleInner withIsDynamic(Boolean isDynamic) { } /** - * Get the extensionName value. + * Get extension name of the portal if exists. Applicable to dynamic rule only. * * @return the extensionName value */ @@ -314,7 +316,7 @@ public String extensionName() { } /** - * Set the extensionName value. + * Set extension name of the portal if exists. Applicable to dynamic rule only. * * @param extensionName the extensionName value to set * @return the RecommendationRuleInner object itself. @@ -325,7 +327,7 @@ public RecommendationRuleInner withExtensionName(String extensionName) { } /** - * Get the bladeName value. + * Get deep link to a blade on the portal. Applicable to dynamic rule only. * * @return the bladeName value */ @@ -334,7 +336,7 @@ public String bladeName() { } /** - * Set the bladeName value. + * Set deep link to a blade on the portal. Applicable to dynamic rule only. * * @param bladeName the bladeName value to set * @return the RecommendationRuleInner object itself. @@ -345,7 +347,7 @@ public RecommendationRuleInner withBladeName(String bladeName) { } /** - * Get the forwardLink value. + * Get forward link to an external document associated with the rule. Applicable to dynamic rule only. * * @return the forwardLink value */ @@ -354,7 +356,7 @@ public String forwardLink() { } /** - * Set the forwardLink value. + * Set forward link to an external document associated with the rule. Applicable to dynamic rule only. * * @param forwardLink the forwardLink value to set * @return the RecommendationRuleInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationsImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationsImpl.java index 09fe9633ef4ea..4c47ce84183be 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationsImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationsImpl.java @@ -22,9 +22,9 @@ class RecommendationsImpl extends WrapperImpl implements Recommendations { private PagedListConverter converter; - private final AppServiceManager manager; + private final WebManager manager; - RecommendationsImpl(AppServiceManager manager) { + RecommendationsImpl(WebManager 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 WebManager manager() { return this.manager; } @@ -64,7 +64,8 @@ public Observable listRecommendedRulesForWebAppAsync(final Strin public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Recommendation call(RecommendationInner inner) { return new RecommendationImpl(inner, manager()); @@ -135,7 +136,8 @@ public Observable listHistoryForWebAppAsync(final String resourc public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Recommendation call(RecommendationInner inner) { return new RecommendationImpl(inner, manager()); diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadataImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadataImpl.java index c04b517e705e6..a48148374856f 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadataImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_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 WebManager manager; + ResourceHealthMetadataImpl(ResourceHealthMetadataInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadataInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadataInner.java index 431925a43687c..de72766c79153 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadataInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadataInner.java @@ -30,7 +30,7 @@ public class ResourceHealthMetadataInner extends ProxyOnlyResource { private Boolean signalAvailability; /** - * Get the category value. + * Get the category that the resource matches in the RHC Policy File. * * @return the category value */ @@ -39,7 +39,7 @@ public String category() { } /** - * Set the category value. + * Set the category that the resource matches in the RHC Policy File. * * @param category the category value to set * @return the ResourceHealthMetadataInner object itself. @@ -50,7 +50,7 @@ public ResourceHealthMetadataInner withCategory(String category) { } /** - * Get the signalAvailability value. + * Get is there a health signal for the resource. * * @return the signalAvailability value */ @@ -59,7 +59,7 @@ public Boolean signalAvailability() { } /** - * Set the signalAvailability value. + * Set is there a health signal for the resource. * * @param signalAvailability the signalAvailability value to set * @return the ResourceHealthMetadataInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadatasImpl.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadatasImpl.java index 377de245e282b..40135f07c0390 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadatasImpl.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceHealthMetadatasImpl.java @@ -17,14 +17,14 @@ import com.microsoft.azure.management.appservice.v2016_03_01.ResourceHealthMetadata; class ResourceHealthMetadatasImpl extends WrapperImpl implements ResourceHealthMetadatas { - private final AppServiceManager manager; + private final WebManager manager; - ResourceHealthMetadatasImpl(AppServiceManager manager) { + ResourceHealthMetadatasImpl(WebManager manager) { super(manager.inner().resourceHealthMetadatas()); this.manager = manager; } - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } @@ -37,7 +37,8 @@ public Observable listBySiteAsync(final String resourceG public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { return new ResourceHealthMetadataImpl(inner, manager()); @@ -66,7 +67,8 @@ public Observable listAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { return new ResourceHealthMetadataImpl(inner, manager()); @@ -83,7 +85,8 @@ public Observable listByResourceGroupAsync(final String public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { return new ResourceHealthMetadataImpl(inner, manager()); @@ -100,7 +103,8 @@ public Observable listBySiteSlotAsync(final String resou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { return new ResourceHealthMetadataImpl(inner, manager()); diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceNameAvailabilityInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceNameAvailabilityInner.java index 7caecb70c62a3..950a8b3962cf9 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceNameAvailabilityInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceNameAvailabilityInner.java @@ -44,7 +44,7 @@ public class ResourceNameAvailabilityInner { private String message; /** - * Get the nameAvailable value. + * Get <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. * * @return the nameAvailable value */ @@ -53,7 +53,7 @@ public Boolean nameAvailable() { } /** - * Set the nameAvailable value. + * Set <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. * * @param nameAvailable the nameAvailable value to set * @return the ResourceNameAvailabilityInner object itself. @@ -64,7 +64,7 @@ public ResourceNameAvailabilityInner withNameAvailable(Boolean nameAvailable) { } /** - * Get the reason value. + * Get <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'. * * @return the reason value */ @@ -73,7 +73,7 @@ public InAvailabilityReasonType reason() { } /** - * Set the reason value. + * Set <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'. * * @param reason the reason value to set * @return the ResourceNameAvailabilityInner object itself. @@ -84,7 +84,7 @@ public ResourceNameAvailabilityInner withReason(InAvailabilityReasonType reason) } /** - * Get the message value. + * Get if reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. * * @return the message value */ @@ -93,7 +93,7 @@ public String message() { } /** - * Set the message value. + * Set if reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. * * @param message the message value to set * @return the ResourceNameAvailabilityInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/SkuInfosInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/SkuInfosInner.java index 281e7a63cf519..33958efc0560a 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/SkuInfosInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/SkuInfosInner.java @@ -29,7 +29,7 @@ public class SkuInfosInner { private List skus; /** - * Get the resourceType value. + * Get resource type that this SKU applies to. * * @return the resourceType value */ @@ -38,7 +38,7 @@ public String resourceType() { } /** - * Set the resourceType value. + * Set resource type that this SKU applies to. * * @param resourceType the resourceType value to set * @return the SkuInfosInner object itself. @@ -49,7 +49,7 @@ public SkuInfosInner withResourceType(String resourceType) { } /** - * Get the skus value. + * Get list of SKUs the subscription is able to use. * * @return the skus value */ @@ -58,7 +58,7 @@ public List skus() { } /** - * Set the skus value. + * Set list of SKUs the subscription is able to use. * * @param skus the skus value to set * @return the SkuInfosInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/SourceControlInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/SourceControlInner.java index 59573a8eb1b34..7a032a94650bf 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/SourceControlInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/SourceControlInner.java @@ -49,7 +49,7 @@ public class SourceControlInner extends ProxyOnlyResource { private DateTime expirationTime; /** - * Get the sourceControlName value. + * Get name or source control type. * * @return the sourceControlName value */ @@ -58,7 +58,7 @@ public String sourceControlName() { } /** - * Set the sourceControlName value. + * Set name or source control type. * * @param sourceControlName the sourceControlName value to set * @return the SourceControlInner object itself. @@ -69,7 +69,7 @@ public SourceControlInner withSourceControlName(String sourceControlName) { } /** - * Get the token value. + * Get oAuth access token. * * @return the token value */ @@ -78,7 +78,7 @@ public String token() { } /** - * Set the token value. + * Set oAuth access token. * * @param token the token value to set * @return the SourceControlInner object itself. @@ -89,7 +89,7 @@ public SourceControlInner withToken(String token) { } /** - * Get the tokenSecret value. + * Get oAuth access token secret. * * @return the tokenSecret value */ @@ -98,7 +98,7 @@ public String tokenSecret() { } /** - * Set the tokenSecret value. + * Set oAuth access token secret. * * @param tokenSecret the tokenSecret value to set * @return the SourceControlInner object itself. @@ -109,7 +109,7 @@ public SourceControlInner withTokenSecret(String tokenSecret) { } /** - * Get the refreshToken value. + * Get oAuth refresh token. * * @return the refreshToken value */ @@ -118,7 +118,7 @@ public String refreshToken() { } /** - * Set the refreshToken value. + * Set oAuth refresh token. * * @param refreshToken the refreshToken value to set * @return the SourceControlInner object itself. @@ -129,7 +129,7 @@ public SourceControlInner withRefreshToken(String refreshToken) { } /** - * Get the expirationTime value. + * Get oAuth token expiration. * * @return the expirationTime value */ @@ -138,7 +138,7 @@ public DateTime expirationTime() { } /** - * Set the expirationTime value. + * Set oAuth token expiration. * * @param expirationTime the expirationTime value to set * @return the SourceControlInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/UserInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/UserInner.java index 4ad2efc7cf64c..1a2aaf23c9ef4 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/UserInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/UserInner.java @@ -48,7 +48,7 @@ public class UserInner extends ProxyOnlyResource { private String publishingPasswordHashSalt; /** - * Get the userName value. + * Get username. * * @return the userName value */ @@ -57,7 +57,7 @@ public String userName() { } /** - * Set the userName value. + * Set username. * * @param userName the userName value to set * @return the UserInner object itself. @@ -68,7 +68,7 @@ public UserInner withUserName(String userName) { } /** - * Get the publishingUserName value. + * Get username used for publishing. * * @return the publishingUserName value */ @@ -77,7 +77,7 @@ public String publishingUserName() { } /** - * Set the publishingUserName value. + * Set username used for publishing. * * @param publishingUserName the publishingUserName value to set * @return the UserInner object itself. @@ -88,7 +88,7 @@ public UserInner withPublishingUserName(String publishingUserName) { } /** - * Get the publishingPassword value. + * Get password used for publishing. * * @return the publishingPassword value */ @@ -97,7 +97,7 @@ public String publishingPassword() { } /** - * Set the publishingPassword value. + * Set password used for publishing. * * @param publishingPassword the publishingPassword value to set * @return the UserInner object itself. @@ -108,7 +108,7 @@ public UserInner withPublishingPassword(String publishingPassword) { } /** - * Get the publishingPasswordHash value. + * Get password hash used for publishing. * * @return the publishingPasswordHash value */ @@ -117,7 +117,7 @@ public String publishingPasswordHash() { } /** - * Set the publishingPasswordHash value. + * Set password hash used for publishing. * * @param publishingPasswordHash the publishingPasswordHash value to set * @return the UserInner object itself. @@ -128,7 +128,7 @@ public UserInner withPublishingPasswordHash(String publishingPasswordHash) { } /** - * Get the publishingPasswordHashSalt value. + * Get password hash salt used for publishing. * * @return the publishingPasswordHashSalt value */ @@ -137,7 +137,7 @@ public String publishingPasswordHashSalt() { } /** - * Set the publishingPasswordHashSalt value. + * Set password hash salt used for publishing. * * @param publishingPasswordHashSalt the publishingPasswordHashSalt value to set * @return the UserInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ValidateResponseInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ValidateResponseInner.java index e3c907491f2e4..29a38ca52c672 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ValidateResponseInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ValidateResponseInner.java @@ -28,7 +28,7 @@ public class ValidateResponseInner { private ValidateResponseError error; /** - * Get the status value. + * Get result of validation. * * @return the status value */ @@ -37,7 +37,7 @@ public String status() { } /** - * Set the status value. + * Set result of validation. * * @param status the status value to set * @return the ValidateResponseInner object itself. @@ -48,7 +48,7 @@ public ValidateResponseInner withStatus(String status) { } /** - * Get the error value. + * Get error details for the case when validation fails. * * @return the error value */ @@ -57,7 +57,7 @@ public ValidateResponseError error() { } /** - * Set the error value. + * Set error details for the case when validation fails. * * @param error the error value to set * @return the ValidateResponseInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/VnetValidationFailureDetailsInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/VnetValidationFailureDetailsInner.java index e99f1c76eef4f..e875fe1a42adb 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/VnetValidationFailureDetailsInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/VnetValidationFailureDetailsInner.java @@ -32,7 +32,7 @@ public class VnetValidationFailureDetailsInner extends ProxyOnlyResource { private List failedTests; /** - * Get the failed value. + * Get a flag describing whether or not validation failed. * * @return the failed value */ @@ -41,7 +41,7 @@ public Boolean failed() { } /** - * Set the failed value. + * Set a flag describing whether or not validation failed. * * @param failed the failed value to set * @return the VnetValidationFailureDetailsInner object itself. @@ -52,7 +52,7 @@ public VnetValidationFailureDetailsInner withFailed(Boolean failed) { } /** - * Get the failedTests value. + * Get a list of tests that failed in the validation. * * @return the failedTests value */ @@ -61,7 +61,7 @@ public List failedTests() { } /** - * Set the failedTests value. + * Set a list of tests that failed in the validation. * * @param failedTests the failedTests value to set * @return the VnetValidationFailureDetailsInner object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/WebManager.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/WebManager.java new file mode 100644 index 0000000000000..af4232f07b0b8 --- /dev/null +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/WebManager.java @@ -0,0 +1,171 @@ +/** + * 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.v2016_03_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.v2016_03_01.Certificates; +import com.microsoft.azure.management.appservice.v2016_03_01.DeletedWebApps; +import com.microsoft.azure.management.appservice.v2016_03_01.Diagnostics; +import com.microsoft.azure.management.appservice.v2016_03_01.Providers; +import com.microsoft.azure.management.appservice.v2016_03_01.Recommendations; +import com.microsoft.azure.management.appservice.v2016_03_01.ResourceHealthMetadatas; +import com.microsoft.azure.management.appservice.v2016_03_01.BillingMeters; +import com.microsoft.azure.arm.resources.implementation.AzureConfigurableCoreImpl; +import com.microsoft.azure.arm.resources.implementation.ManagerCore; + +/** + * Entry point to Azure Web resource management. + */ +public final class WebManager extends ManagerCore { + private Certificates certificates; + private DeletedWebApps deletedWebApps; + private Diagnostics diagnostics; + private Providers providers; + private Recommendations recommendations; + private ResourceHealthMetadatas resourceHealthMetadatas; + private BillingMeters billingMeters; + /** + * Get a Configurable instance that can be used to create WebManager with optional configuration. + * + * @return the instance allowing configurations + */ + public static Configurable configure() { + return new WebManager.ConfigurableImpl(); + } + /** + * Creates an instance of WebManager that exposes Web resource management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the WebManager + */ + public static WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return new WebManager(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 WebManager that exposes Web resource management API entry points. + * + * @param restClient the RestClient to be used for API calls. + * @param subscriptionId the subscription UUID + * @return the WebManager + */ + public static WebManager authenticate(RestClient restClient, String subscriptionId) { + return new WebManager(restClient, subscriptionId); + } + /** + * The interface allowing configurations to be set. + */ + public interface Configurable extends AzureConfigurable { + /** + * Creates an instance of WebManager that exposes Web management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the interface exposing Web management API entry points that work across subscriptions + */ + WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId); + } + + /** + * @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 ResourceHealthMetadatas. + */ + public ResourceHealthMetadatas resourceHealthMetadatas() { + if (this.resourceHealthMetadatas == null) { + this.resourceHealthMetadatas = new ResourceHealthMetadatasImpl(this); + } + return this.resourceHealthMetadatas; + } + + /** + * @return Entry point to manage BillingMeters. + */ + public BillingMeters billingMeters() { + if (this.billingMeters == null) { + this.billingMeters = new BillingMetersImpl(this); + } + return this.billingMeters; + } + + /** + * The implementation for Configurable interface. + */ + private static final class ConfigurableImpl extends AzureConfigurableCoreImpl implements Configurable { + public WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return WebManager.authenticate(buildRestClient(credentials), subscriptionId); + } + } + private WebManager(RestClient restClient, String subscriptionId) { + super( + restClient, + subscriptionId, + new WebSiteManagementClientImpl(restClient).withSubscriptionId(subscriptionId)); + } +} diff --git a/appservice/resource-manager/v2016_08_01/pom.xml b/appservice/resource-manager/v2016_08_01/pom.xml index 572532020aae9..8e8c2d99094ef 100644 --- a/appservice/resource-manager/v2016_08_01/pom.xml +++ b/appservice/resource-manager/v2016_08_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.appservice.v2016_08_01 - - com.microsoft.azure - azure-arm-parent - 0.0.2-beta - ../../../pom.xml - - azure-mgmt-appservice - 1.0.0-beta - jar - Microsoft Azure SDK for Web Management - This package contains Microsoft Web Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.appservice.v2016_08_01 + + com.microsoft.azure + azure-arm-parent + 0.0.2-beta + ../../../pom.xml + + azure-mgmt-web + 1.0.0-beta + jar + Microsoft Azure SDK for Web Management + This package contains Microsoft Web Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ApiDefinitionInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ApiDefinitionInfo.java index 88af255354940..a0a8d6e8ad59f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ApiDefinitionInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ApiDefinitionInfo.java @@ -21,7 +21,7 @@ public class ApiDefinitionInfo { private String url; /** - * Get the url value. + * Get the URL of the API definition. * * @return the url value */ @@ -30,7 +30,7 @@ public String url() { } /** - * Set the url value. + * Set the URL of the API definition. * * @param url the url value to set * @return the ApiDefinitionInfo object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AppServicePlan.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AppServicePlan.java index f01365ddb3393..78e1256e7b7de 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AppServicePlan.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AppServicePlan.java @@ -143,7 +143,7 @@ public class AppServicePlan extends Resource { private String kind; /** - * Get the appServicePlanName value. + * Get name for the App Service plan. * * @return the appServicePlanName value */ @@ -152,7 +152,7 @@ public String appServicePlanName() { } /** - * Set the appServicePlanName value. + * Set name for the App Service plan. * * @param appServicePlanName the appServicePlanName value to set * @return the AppServicePlan object itself. @@ -163,7 +163,7 @@ public AppServicePlan withAppServicePlanName(String appServicePlanName) { } /** - * Get the workerTierName value. + * Get target worker tier assigned to the App Service plan. * * @return the workerTierName value */ @@ -172,7 +172,7 @@ public String workerTierName() { } /** - * Set the workerTierName value. + * Set target worker tier assigned to the App Service plan. * * @param workerTierName the workerTierName value to set * @return the AppServicePlan object itself. @@ -183,7 +183,7 @@ public AppServicePlan withWorkerTierName(String workerTierName) { } /** - * Get the status value. + * Get app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'. * * @return the status value */ @@ -192,7 +192,7 @@ public StatusOptions status() { } /** - * Get the subscription value. + * Get app Service plan subscription. * * @return the subscription value */ @@ -201,7 +201,7 @@ public String subscription() { } /** - * Get the adminSiteName value. + * Get app Service plan administration site. * * @return the adminSiteName value */ @@ -210,7 +210,7 @@ public String adminSiteName() { } /** - * Set the adminSiteName value. + * Set app Service plan administration site. * * @param adminSiteName the adminSiteName value to set * @return the AppServicePlan object itself. @@ -221,7 +221,7 @@ public AppServicePlan withAdminSiteName(String adminSiteName) { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the App Service plan. * * @return the hostingEnvironmentProfile value */ @@ -230,7 +230,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set specification for the App Service Environment to use for the App Service plan. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the AppServicePlan object itself. @@ -241,7 +241,7 @@ public AppServicePlan withHostingEnvironmentProfile(HostingEnvironmentProfile ho } /** - * Get the maximumNumberOfWorkers value. + * Get maximum number of instances that can be assigned to this App Service plan. * * @return the maximumNumberOfWorkers value */ @@ -250,7 +250,7 @@ public Integer maximumNumberOfWorkers() { } /** - * Get the geoRegion value. + * Get geographical location for the App Service plan. * * @return the geoRegion value */ @@ -259,7 +259,8 @@ public String geoRegion() { } /** - * Get the perSiteScaling value. + * Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @return the perSiteScaling value */ @@ -268,7 +269,8 @@ public Boolean perSiteScaling() { } /** - * Set the perSiteScaling value. + * Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @param perSiteScaling the perSiteScaling value to set * @return the AppServicePlan object itself. @@ -279,7 +281,7 @@ public AppServicePlan withPerSiteScaling(Boolean perSiteScaling) { } /** - * Get the numberOfSites value. + * Get number of apps assigned to this App Service plan. * * @return the numberOfSites value */ @@ -288,7 +290,7 @@ public Integer numberOfSites() { } /** - * Get the isSpot value. + * Get if <code>true</code>, this App Service Plan owns spot instances. * * @return the isSpot value */ @@ -297,7 +299,7 @@ public Boolean isSpot() { } /** - * Set the isSpot value. + * Set if <code>true</code>, this App Service Plan owns spot instances. * * @param isSpot the isSpot value to set * @return the AppServicePlan object itself. @@ -308,7 +310,7 @@ public AppServicePlan withIsSpot(Boolean isSpot) { } /** - * Get the spotExpirationTime value. + * Get the time when the server farm expires. Valid only if it is a spot server farm. * * @return the spotExpirationTime value */ @@ -317,7 +319,7 @@ public DateTime spotExpirationTime() { } /** - * Set the spotExpirationTime value. + * Set the time when the server farm expires. Valid only if it is a spot server farm. * * @param spotExpirationTime the spotExpirationTime value to set * @return the AppServicePlan object itself. @@ -328,7 +330,7 @@ public AppServicePlan withSpotExpirationTime(DateTime spotExpirationTime) { } /** - * Get the resourceGroup value. + * Get resource group of the App Service plan. * * @return the resourceGroup value */ @@ -337,7 +339,7 @@ public String resourceGroup() { } /** - * Get the reserved value. + * Get if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @return the reserved value */ @@ -346,7 +348,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @param reserved the reserved value to set * @return the AppServicePlan object itself. @@ -357,7 +359,7 @@ public AppServicePlan withReserved(Boolean reserved) { } /** - * Get the targetWorkerCount value. + * Get scaling worker count. * * @return the targetWorkerCount value */ @@ -366,7 +368,7 @@ public Integer targetWorkerCount() { } /** - * Set the targetWorkerCount value. + * Set scaling worker count. * * @param targetWorkerCount the targetWorkerCount value to set * @return the AppServicePlan object itself. @@ -377,7 +379,7 @@ public AppServicePlan withTargetWorkerCount(Integer targetWorkerCount) { } /** - * Get the targetWorkerSizeId value. + * Get scaling worker size ID. * * @return the targetWorkerSizeId value */ @@ -386,7 +388,7 @@ public Integer targetWorkerSizeId() { } /** - * Set the targetWorkerSizeId value. + * Set scaling worker size ID. * * @param targetWorkerSizeId the targetWorkerSizeId value to set * @return the AppServicePlan object itself. @@ -397,7 +399,7 @@ public AppServicePlan withTargetWorkerSizeId(Integer targetWorkerSizeId) { } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -426,7 +428,7 @@ public AppServicePlan withSku(SkuDescription sku) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -435,7 +437,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the AppServicePlan object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ApplicationLogsConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ApplicationLogsConfig.java index 1b6fc1bdbafd8..ff69da7155a50 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ApplicationLogsConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ApplicationLogsConfig.java @@ -33,7 +33,7 @@ public class ApplicationLogsConfig { private AzureBlobStorageApplicationLogsConfig azureBlobStorage; /** - * Get the fileSystem value. + * Get application logs to file system configuration. * * @return the fileSystem value */ @@ -42,7 +42,7 @@ public FileSystemApplicationLogsConfig fileSystem() { } /** - * Set the fileSystem value. + * Set application logs to file system configuration. * * @param fileSystem the fileSystem value to set * @return the ApplicationLogsConfig object itself. @@ -53,7 +53,7 @@ public ApplicationLogsConfig withFileSystem(FileSystemApplicationLogsConfig file } /** - * Get the azureTableStorage value. + * Get application logs to azure table storage configuration. * * @return the azureTableStorage value */ @@ -62,7 +62,7 @@ public AzureTableStorageApplicationLogsConfig azureTableStorage() { } /** - * Set the azureTableStorage value. + * Set application logs to azure table storage configuration. * * @param azureTableStorage the azureTableStorage value to set * @return the ApplicationLogsConfig object itself. @@ -73,7 +73,7 @@ public ApplicationLogsConfig withAzureTableStorage(AzureTableStorageApplicationL } /** - * Get the azureBlobStorage value. + * Get application logs to blob storage configuration. * * @return the azureBlobStorage value */ @@ -82,7 +82,7 @@ public AzureBlobStorageApplicationLogsConfig azureBlobStorage() { } /** - * Set the azureBlobStorage value. + * Set application logs to blob storage configuration. * * @param azureBlobStorage the azureBlobStorage value to set * @return the ApplicationLogsConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealActions.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealActions.java index 1d828fcc3b0bd..3f76e7ef0542d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealActions.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealActions.java @@ -35,7 +35,7 @@ public class AutoHealActions { private String minProcessExecutionTime; /** - * Get the actionType value. + * Get predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'. * * @return the actionType value */ @@ -44,7 +44,7 @@ public AutoHealActionType actionType() { } /** - * Set the actionType value. + * Set predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'. * * @param actionType the actionType value to set * @return the AutoHealActions object itself. @@ -55,7 +55,7 @@ public AutoHealActions withActionType(AutoHealActionType actionType) { } /** - * Get the customAction value. + * Get custom action to be taken. * * @return the customAction value */ @@ -64,7 +64,7 @@ public AutoHealCustomAction customAction() { } /** - * Set the customAction value. + * Set custom action to be taken. * * @param customAction the customAction value to set * @return the AutoHealActions object itself. @@ -75,7 +75,8 @@ public AutoHealActions withCustomAction(AutoHealCustomAction customAction) { } /** - * Get the minProcessExecutionTime value. + * Get minimum time the process must execute + before taking the action. * * @return the minProcessExecutionTime value */ @@ -84,7 +85,8 @@ public String minProcessExecutionTime() { } /** - * Set the minProcessExecutionTime value. + * Set minimum time the process must execute + before taking the action. * * @param minProcessExecutionTime the minProcessExecutionTime value to set * @return the AutoHealActions object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealCustomAction.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealCustomAction.java index d16deb25385c6..cd27160bc1940 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealCustomAction.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealCustomAction.java @@ -28,7 +28,7 @@ public class AutoHealCustomAction { private String parameters; /** - * Get the exe value. + * Get executable to be run. * * @return the exe value */ @@ -37,7 +37,7 @@ public String exe() { } /** - * Set the exe value. + * Set executable to be run. * * @param exe the exe value to set * @return the AutoHealCustomAction object itself. @@ -48,7 +48,7 @@ public AutoHealCustomAction withExe(String exe) { } /** - * Get the parameters value. + * Get parameters for the executable. * * @return the parameters value */ @@ -57,7 +57,7 @@ public String parameters() { } /** - * Set the parameters value. + * Set parameters for the executable. * * @param parameters the parameters value to set * @return the AutoHealCustomAction object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealRules.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealRules.java index 9ec0f75ec32da..90d9d67637b1e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealRules.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealRules.java @@ -27,7 +27,7 @@ public class AutoHealRules { private AutoHealActions actions; /** - * Get the triggers value. + * Get conditions that describe when to execute the auto-heal actions. * * @return the triggers value */ @@ -36,7 +36,7 @@ public AutoHealTriggers triggers() { } /** - * Set the triggers value. + * Set conditions that describe when to execute the auto-heal actions. * * @param triggers the triggers value to set * @return the AutoHealRules object itself. @@ -47,7 +47,7 @@ public AutoHealRules withTriggers(AutoHealTriggers triggers) { } /** - * Get the actions value. + * Get actions to be executed when a rule is triggered. * * @return the actions value */ @@ -56,7 +56,7 @@ public AutoHealActions actions() { } /** - * Set the actions value. + * Set actions to be executed when a rule is triggered. * * @param actions the actions value to set * @return the AutoHealRules object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealTriggers.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealTriggers.java index 1dd3ab70f8f81..3338d7b6fe4fb 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealTriggers.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AutoHealTriggers.java @@ -40,7 +40,7 @@ public class AutoHealTriggers { private SlowRequestsBasedTrigger slowRequests; /** - * Get the requests value. + * Get a rule based on total requests. * * @return the requests value */ @@ -49,7 +49,7 @@ public RequestsBasedTrigger requests() { } /** - * Set the requests value. + * Set a rule based on total requests. * * @param requests the requests value to set * @return the AutoHealTriggers object itself. @@ -60,7 +60,7 @@ public AutoHealTriggers withRequests(RequestsBasedTrigger requests) { } /** - * Get the privateBytesInKB value. + * Get a rule based on private bytes. * * @return the privateBytesInKB value */ @@ -69,7 +69,7 @@ public Integer privateBytesInKB() { } /** - * Set the privateBytesInKB value. + * Set a rule based on private bytes. * * @param privateBytesInKB the privateBytesInKB value to set * @return the AutoHealTriggers object itself. @@ -80,7 +80,7 @@ public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB) { } /** - * Get the statusCodes value. + * Get a rule based on status codes. * * @return the statusCodes value */ @@ -89,7 +89,7 @@ public List statusCodes() { } /** - * Set the statusCodes value. + * Set a rule based on status codes. * * @param statusCodes the statusCodes value to set * @return the AutoHealTriggers object itself. @@ -100,7 +100,7 @@ public AutoHealTriggers withStatusCodes(List statusCode } /** - * Get the slowRequests value. + * Get a rule based on request execution time. * * @return the slowRequests value */ @@ -109,7 +109,7 @@ public SlowRequestsBasedTrigger slowRequests() { } /** - * Set the slowRequests value. + * Set a rule based on request execution time. * * @param slowRequests the slowRequests value to set * @return the AutoHealTriggers object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureBlobStorageApplicationLogsConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureBlobStorageApplicationLogsConfig.java index 7c8fc7a3302be..f21b177fa2a9b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureBlobStorageApplicationLogsConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureBlobStorageApplicationLogsConfig.java @@ -37,7 +37,7 @@ public class AzureBlobStorageApplicationLogsConfig { private Integer retentionInDays; /** - * Get the level value. + * Get log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @return the level value */ @@ -46,7 +46,7 @@ public LogLevel level() { } /** - * Set the level value. + * Set log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @param level the level value to set * @return the AzureBlobStorageApplicationLogsConfig object itself. @@ -57,7 +57,7 @@ public AzureBlobStorageApplicationLogsConfig withLevel(LogLevel level) { } /** - * Get the sasUrl value. + * Get sAS url to a azure blob container with read/write/list/delete permissions. * * @return the sasUrl value */ @@ -66,7 +66,7 @@ public String sasUrl() { } /** - * Set the sasUrl value. + * Set sAS url to a azure blob container with read/write/list/delete permissions. * * @param sasUrl the sasUrl value to set * @return the AzureBlobStorageApplicationLogsConfig object itself. @@ -77,7 +77,9 @@ public AzureBlobStorageApplicationLogsConfig withSasUrl(String sasUrl) { } /** - * Get the retentionInDays value. + * Get retention in days. + Remove blobs older than X days. + 0 or lower means no retention. * * @return the retentionInDays value */ @@ -86,7 +88,9 @@ public Integer retentionInDays() { } /** - * Set the retentionInDays value. + * Set retention in days. + Remove blobs older than X days. + 0 or lower means no retention. * * @param retentionInDays the retentionInDays value to set * @return the AzureBlobStorageApplicationLogsConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureBlobStorageHttpLogsConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureBlobStorageHttpLogsConfig.java index 3e15a683ac3e0..86612da060fe7 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureBlobStorageHttpLogsConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureBlobStorageHttpLogsConfig.java @@ -37,7 +37,7 @@ public class AzureBlobStorageHttpLogsConfig { private Boolean enabled; /** - * Get the sasUrl value. + * Get sAS url to a azure blob container with read/write/list/delete permissions. * * @return the sasUrl value */ @@ -46,7 +46,7 @@ public String sasUrl() { } /** - * Set the sasUrl value. + * Set sAS url to a azure blob container with read/write/list/delete permissions. * * @param sasUrl the sasUrl value to set * @return the AzureBlobStorageHttpLogsConfig object itself. @@ -57,7 +57,9 @@ public AzureBlobStorageHttpLogsConfig withSasUrl(String sasUrl) { } /** - * Get the retentionInDays value. + * Get retention in days. + Remove blobs older than X days. + 0 or lower means no retention. * * @return the retentionInDays value */ @@ -66,7 +68,9 @@ public Integer retentionInDays() { } /** - * Set the retentionInDays value. + * Set retention in days. + Remove blobs older than X days. + 0 or lower means no retention. * * @param retentionInDays the retentionInDays value to set * @return the AzureBlobStorageHttpLogsConfig object itself. @@ -77,7 +81,7 @@ public AzureBlobStorageHttpLogsConfig withRetentionInDays(Integer retentionInDay } /** - * Get the enabled value. + * Get true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @return the enabled value */ @@ -86,7 +90,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @param enabled the enabled value to set * @return the AzureBlobStorageHttpLogsConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureTableStorageApplicationLogsConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureTableStorageApplicationLogsConfig.java index 062537bb96966..1a06b8e73b047 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureTableStorageApplicationLogsConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/AzureTableStorageApplicationLogsConfig.java @@ -28,7 +28,7 @@ public class AzureTableStorageApplicationLogsConfig { private String sasUrl; /** - * Get the level value. + * Get log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @return the level value */ @@ -37,7 +37,7 @@ public LogLevel level() { } /** - * Set the level value. + * Set log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @param level the level value to set * @return the AzureTableStorageApplicationLogsConfig object itself. @@ -48,7 +48,7 @@ public AzureTableStorageApplicationLogsConfig withLevel(LogLevel level) { } /** - * Get the sasUrl value. + * Get sAS URL to an Azure table with add/query/delete permissions. * * @return the sasUrl value */ @@ -57,7 +57,7 @@ public String sasUrl() { } /** - * Set the sasUrl value. + * Set sAS URL to an Azure table with add/query/delete permissions. * * @param sasUrl the sasUrl value to set * @return the AzureTableStorageApplicationLogsConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupItem.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupItem.java index 789791ad257c4..1c48926d778e9 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupItem.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupRequest.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupRequest.java index a7cc515db2492..23e58c00b4417 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupRequest.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.BackupRequestInner; import java.util.List; /** * Type representing BackupRequest. */ -public interface BackupRequest extends HasInner, HasManager { +public interface BackupRequest extends HasInner, HasManager { /** * @return the backupRequestName value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupSchedule.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupSchedule.java index 978a99a65131f..8333547cb187d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupSchedule.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/BackupSchedule.java @@ -57,7 +57,7 @@ public class BackupSchedule { private DateTime lastExecutionTime; /** - * Get the frequencyInterval value. + * Get how often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day). * * @return the frequencyInterval value */ @@ -66,7 +66,7 @@ public int frequencyInterval() { } /** - * Set the frequencyInterval value. + * Set how often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day). * * @param frequencyInterval the frequencyInterval value to set * @return the BackupSchedule object itself. @@ -77,7 +77,7 @@ public BackupSchedule withFrequencyInterval(int frequencyInterval) { } /** - * Get the frequencyUnit value. + * Get the unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'Day', 'Hour'. * * @return the frequencyUnit value */ @@ -86,7 +86,7 @@ public FrequencyUnit frequencyUnit() { } /** - * Set the frequencyUnit value. + * Set the unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'Day', 'Hour'. * * @param frequencyUnit the frequencyUnit value to set * @return the BackupSchedule object itself. @@ -97,7 +97,7 @@ public BackupSchedule withFrequencyUnit(FrequencyUnit frequencyUnit) { } /** - * Get the keepAtLeastOneBackup value. + * Get true if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. * * @return the keepAtLeastOneBackup value */ @@ -106,7 +106,7 @@ public boolean keepAtLeastOneBackup() { } /** - * Set the keepAtLeastOneBackup value. + * Set true if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. * * @param keepAtLeastOneBackup the keepAtLeastOneBackup value to set * @return the BackupSchedule object itself. @@ -117,7 +117,7 @@ public BackupSchedule withKeepAtLeastOneBackup(boolean keepAtLeastOneBackup) { } /** - * Get the retentionPeriodInDays value. + * Get after how many days backups should be deleted. * * @return the retentionPeriodInDays value */ @@ -126,7 +126,7 @@ public int retentionPeriodInDays() { } /** - * Set the retentionPeriodInDays value. + * Set after how many days backups should be deleted. * * @param retentionPeriodInDays the retentionPeriodInDays value to set * @return the BackupSchedule object itself. @@ -137,7 +137,7 @@ public BackupSchedule withRetentionPeriodInDays(int retentionPeriodInDays) { } /** - * Get the startTime value. + * Get when the schedule should start working. * * @return the startTime value */ @@ -146,7 +146,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set when the schedule should start working. * * @param startTime the startTime value to set * @return the BackupSchedule object itself. @@ -157,7 +157,7 @@ public BackupSchedule withStartTime(DateTime startTime) { } /** - * Get the lastExecutionTime value. + * Get last time when this schedule was triggered. * * @return the lastExecutionTime value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Capability.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Capability.java index 6f699c4968c24..8766128d38ff3 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Capability.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Capability.java @@ -33,7 +33,7 @@ public class Capability { private String reason; /** - * Get the name value. + * Get name of the SKU capability. * * @return the name value */ @@ -42,7 +42,7 @@ public String name() { } /** - * Set the name value. + * Set name of the SKU capability. * * @param name the name value to set * @return the Capability object itself. @@ -53,7 +53,7 @@ public Capability withName(String name) { } /** - * Get the value value. + * Get value of the SKU capability. * * @return the value value */ @@ -62,7 +62,7 @@ public String value() { } /** - * Set the value value. + * Set value of the SKU capability. * * @param value the value value to set * @return the Capability object itself. @@ -73,7 +73,7 @@ public Capability withValue(String value) { } /** - * Get the reason value. + * Get reason of the SKU capability. * * @return the reason value */ @@ -82,7 +82,7 @@ public String reason() { } /** - * Set the reason value. + * Set reason of the SKU capability. * * @param reason the reason value to set * @return the Capability object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CloningInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CloningInfo.java index bac3cf051b36a..95f80b1a6b79e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CloningInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CloningInfo.java @@ -100,7 +100,8 @@ public class CloningInfo { private Boolean ignoreQuotas; /** - * Get the correlationId value. + * Get correlation ID of cloning operation. This ID ties multiple cloning operations + together to use the same snapshot. * * @return the correlationId value */ @@ -109,7 +110,8 @@ public UUID correlationId() { } /** - * Set the correlationId value. + * Set correlation ID of cloning operation. This ID ties multiple cloning operations + together to use the same snapshot. * * @param correlationId the correlationId value to set * @return the CloningInfo object itself. @@ -120,7 +122,7 @@ public CloningInfo withCorrelationId(UUID correlationId) { } /** - * Get the overwrite value. + * Get <code>true</code> to overwrite destination app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -129,7 +131,7 @@ public Boolean overwrite() { } /** - * Set the overwrite value. + * Set <code>true</code> to overwrite destination app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the CloningInfo object itself. @@ -140,7 +142,7 @@ public CloningInfo withOverwrite(Boolean overwrite) { } /** - * Get the cloneCustomHostNames value. + * Get <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. * * @return the cloneCustomHostNames value */ @@ -149,7 +151,7 @@ public Boolean cloneCustomHostNames() { } /** - * Set the cloneCustomHostNames value. + * Set <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. * * @param cloneCustomHostNames the cloneCustomHostNames value to set * @return the CloningInfo object itself. @@ -160,7 +162,7 @@ public CloningInfo withCloneCustomHostNames(Boolean cloneCustomHostNames) { } /** - * Get the cloneSourceControl value. + * Get <code>true</code> to clone source control from source app; otherwise, <code>false</code>. * * @return the cloneSourceControl value */ @@ -169,7 +171,7 @@ public Boolean cloneSourceControl() { } /** - * Set the cloneSourceControl value. + * Set <code>true</code> to clone source control from source app; otherwise, <code>false</code>. * * @param cloneSourceControl the cloneSourceControl value to set * @return the CloningInfo object itself. @@ -180,7 +182,9 @@ public CloningInfo withCloneSourceControl(Boolean cloneSourceControl) { } /** - * Get the sourceWebAppId value. + * Get aRM resource ID of the source app. App resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the sourceWebAppId value */ @@ -189,7 +193,9 @@ public String sourceWebAppId() { } /** - * Set the sourceWebAppId value. + * Set aRM resource ID of the source app. App resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param sourceWebAppId the sourceWebAppId value to set * @return the CloningInfo object itself. @@ -200,7 +206,7 @@ public CloningInfo withSourceWebAppId(String sourceWebAppId) { } /** - * Get the hostingEnvironment value. + * Get app Service Environment. * * @return the hostingEnvironment value */ @@ -209,7 +215,7 @@ public String hostingEnvironment() { } /** - * Set the hostingEnvironment value. + * Set app Service Environment. * * @param hostingEnvironment the hostingEnvironment value to set * @return the CloningInfo object itself. @@ -220,7 +226,8 @@ public CloningInfo withHostingEnvironment(String hostingEnvironment) { } /** - * Get the appSettingsOverrides value. + * Get application setting overrides for cloned app. If specified, these settings override the settings cloned + from source app. Otherwise, application settings from source app are retained. * * @return the appSettingsOverrides value */ @@ -229,7 +236,8 @@ public Map appSettingsOverrides() { } /** - * Set the appSettingsOverrides value. + * Set application setting overrides for cloned app. If specified, these settings override the settings cloned + from source app. Otherwise, application settings from source app are retained. * * @param appSettingsOverrides the appSettingsOverrides value to set * @return the CloningInfo object itself. @@ -240,7 +248,7 @@ public CloningInfo withAppSettingsOverrides(Map appSettingsOverr } /** - * Get the configureLoadBalancing value. + * Get <code>true</code> to configure load balancing for source and destination app. * * @return the configureLoadBalancing value */ @@ -249,7 +257,7 @@ public Boolean configureLoadBalancing() { } /** - * Set the configureLoadBalancing value. + * Set <code>true</code> to configure load balancing for source and destination app. * * @param configureLoadBalancing the configureLoadBalancing value to set * @return the CloningInfo object itself. @@ -260,7 +268,8 @@ public CloningInfo withConfigureLoadBalancing(Boolean configureLoadBalancing) { } /** - * Get the trafficManagerProfileId value. + * Get aRM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. * * @return the trafficManagerProfileId value */ @@ -269,7 +278,8 @@ public String trafficManagerProfileId() { } /** - * Set the trafficManagerProfileId value. + * Set aRM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. * * @param trafficManagerProfileId the trafficManagerProfileId value to set * @return the CloningInfo object itself. @@ -280,7 +290,7 @@ public CloningInfo withTrafficManagerProfileId(String trafficManagerProfileId) { } /** - * Get the trafficManagerProfileName value. + * Get name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. * * @return the trafficManagerProfileName value */ @@ -289,7 +299,7 @@ public String trafficManagerProfileName() { } /** - * Set the trafficManagerProfileName value. + * Set name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. * * @param trafficManagerProfileName the trafficManagerProfileName value to set * @return the CloningInfo object itself. @@ -300,7 +310,7 @@ public CloningInfo withTrafficManagerProfileName(String trafficManagerProfileNam } /** - * Get the ignoreQuotas value. + * Get <code>true</code> if quotas should be ignored; otherwise, <code>false</code>. * * @return the ignoreQuotas value */ @@ -309,7 +319,7 @@ public Boolean ignoreQuotas() { } /** - * Set the ignoreQuotas value. + * Set <code>true</code> if quotas should be ignored; otherwise, <code>false</code>. * * @param ignoreQuotas the ignoreQuotas value to set * @return the CloningInfo object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnStringInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnStringInfo.java index 370577cc9f4c9..c666ece7a7370 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnStringInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnStringInfo.java @@ -35,7 +35,7 @@ public class ConnStringInfo { private ConnectionStringType type; /** - * Get the name value. + * Get name of connection string. * * @return the name value */ @@ -44,7 +44,7 @@ public String name() { } /** - * Set the name value. + * Set name of connection string. * * @param name the name value to set * @return the ConnStringInfo object itself. @@ -55,7 +55,7 @@ public ConnStringInfo withName(String name) { } /** - * Get the connectionString value. + * Get connection string value. * * @return the connectionString value */ @@ -64,7 +64,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set connection string value. * * @param connectionString the connectionString value to set * @return the ConnStringInfo object itself. @@ -75,7 +75,7 @@ public ConnStringInfo withConnectionString(String connectionString) { } /** - * Get the type value. + * Get type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @return the type value */ @@ -84,7 +84,7 @@ public ConnectionStringType type() { } /** - * Set the type value. + * Set type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @param type the type value to set * @return the ConnStringInfo object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnStringValueTypePair.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnStringValueTypePair.java index 5f9adf9e90dc8..1f4cb35417506 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnStringValueTypePair.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnStringValueTypePair.java @@ -29,7 +29,7 @@ public class ConnStringValueTypePair { private ConnectionStringType type; /** - * Get the value value. + * Get value of pair. * * @return the value value */ @@ -38,7 +38,7 @@ public String value() { } /** - * Set the value value. + * Set value of pair. * * @param value the value value to set * @return the ConnStringValueTypePair object itself. @@ -49,7 +49,7 @@ public ConnStringValueTypePair withValue(String value) { } /** - * Get the type value. + * Get type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @return the type value */ @@ -58,7 +58,7 @@ public ConnectionStringType type() { } /** - * Set the type value. + * Set type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @param type the type value to set * @return the ConnStringValueTypePair object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnectionStringDictionary.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnectionStringDictionary.java index 284720aa8931e..d2166677e4437 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ConnectionStringDictionary.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ContinuousWebJob.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ContinuousWebJob.java index b54e24522c34e..14fb88564d237 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ContinuousWebJob.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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 continuousWebJobName value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CorsSettings.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CorsSettings.java index bba8be339c59c..f08d664dcaf30 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CorsSettings.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CorsSettings.java @@ -24,7 +24,8 @@ public class CorsSettings { private List allowedOrigins; /** - * Get the allowedOrigins value. + * Get gets or sets the list of origins that should be allowed to make cross-origin + calls (for example: http://example.com:12345). Use "*" to allow all. * * @return the allowedOrigins value */ @@ -33,7 +34,8 @@ public List allowedOrigins() { } /** - * Set the allowedOrigins value. + * Set gets or sets the list of origins that should be allowed to make cross-origin + calls (for example: http://example.com:12345). Use "*" to allow all. * * @param allowedOrigins the allowedOrigins value to set * @return the CorsSettings object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmPublishingProfileOptions.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmPublishingProfileOptions.java index 07e6a73ca957d..5aa4d4978493a 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmPublishingProfileOptions.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmPublishingProfileOptions.java @@ -24,7 +24,10 @@ public class CsmPublishingProfileOptions { private PublishingProfileFormat format; /** - * Get the format value. + * Get name of the format. Valid values are: + FileZilla3 + WebDeploy -- default + Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'. * * @return the format value */ @@ -33,7 +36,10 @@ public PublishingProfileFormat format() { } /** - * Set the format value. + * Set name of the format. Valid values are: + FileZilla3 + WebDeploy -- default + Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'. * * @param format the format value to set * @return the CsmPublishingProfileOptions object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmSlotEntity.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmSlotEntity.java index 5acb277eebbd0..5ab3228b83dba 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmSlotEntity.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmSlotEntity.java @@ -28,7 +28,7 @@ public class CsmSlotEntity { private boolean preserveVnet; /** - * Get the targetSlot value. + * Get destination deployment slot during swap operation. * * @return the targetSlot value */ @@ -37,7 +37,7 @@ public String targetSlot() { } /** - * Set the targetSlot value. + * Set destination deployment slot during swap operation. * * @param targetSlot the targetSlot value to set * @return the CsmSlotEntity object itself. @@ -48,7 +48,7 @@ public CsmSlotEntity withTargetSlot(String targetSlot) { } /** - * Get the preserveVnet value. + * Get <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>. * * @return the preserveVnet value */ @@ -57,7 +57,7 @@ public boolean preserveVnet() { } /** - * Set the preserveVnet value. + * Set <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>. * * @param preserveVnet the preserveVnet value to set * @return the CsmSlotEntity object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmUsageQuota.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmUsageQuota.java index 0f0390085227b..1654c2649ae81 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmUsageQuota.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CsmUsageQuota.java @@ -11,13 +11,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.CsmUsageQuotaInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import org.joda.time.DateTime; /** * Type representing CsmUsageQuota. */ -public interface CsmUsageQuota extends HasInner, HasManager { +public interface CsmUsageQuota extends HasInner, HasManager { /** * @return the currentValue value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CustomHostnameAnalysisResult.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CustomHostnameAnalysisResult.java index e32fc44cefd0b..8982b2b97cc53 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/CustomHostnameAnalysisResult.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/DatabaseBackupSetting.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/DatabaseBackupSetting.java index 589b5d0e7d765..5a7bbea2837a4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/DatabaseBackupSetting.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/DatabaseBackupSetting.java @@ -44,7 +44,7 @@ public class DatabaseBackupSetting { private String connectionString; /** - * Get the databaseType value. + * Get database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'. * * @return the databaseType value */ @@ -53,7 +53,7 @@ public DatabaseType databaseType() { } /** - * Set the databaseType value. + * Set database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'. * * @param databaseType the databaseType value to set * @return the DatabaseBackupSetting object itself. @@ -84,7 +84,8 @@ public DatabaseBackupSetting withName(String name) { } /** - * Get the connectionStringName value. + * Get contains a connection string name that is linked to the SiteConfig.ConnectionStrings. + This is used during restore with overwrite connection strings options. * * @return the connectionStringName value */ @@ -93,7 +94,8 @@ public String connectionStringName() { } /** - * Set the connectionStringName value. + * Set contains a connection string name that is linked to the SiteConfig.ConnectionStrings. + This is used during restore with overwrite connection strings options. * * @param connectionStringName the connectionStringName value to set * @return the DatabaseBackupSetting object itself. @@ -104,7 +106,7 @@ public DatabaseBackupSetting withConnectionStringName(String connectionStringNam } /** - * Get the connectionString value. + * Get contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. * * @return the connectionString value */ @@ -113,7 +115,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. * * @param connectionString the connectionString value to set * @return the DatabaseBackupSetting object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Deployment.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Deployment.java index 03b9ef8a53392..8368816e478eb 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Deployment.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/EnabledConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/EnabledConfig.java index 54b9ad59b9305..3a2ad254d3acd 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/EnabledConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/EnabledConfig.java @@ -22,7 +22,7 @@ public class EnabledConfig { private Boolean enabled; /** - * Get the enabled value. + * Get true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @return the enabled value */ @@ -31,7 +31,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @param enabled the enabled value to set * @return the EnabledConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ErrorEntity.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ErrorEntity.java index 675c9af3364e8..6cfe410a2ace4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ErrorEntity.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ErrorEntity.java @@ -52,7 +52,7 @@ public class ErrorEntity { private String message; /** - * Get the extendedCode value. + * Get type of error. * * @return the extendedCode value */ @@ -61,7 +61,7 @@ public String extendedCode() { } /** - * Set the extendedCode value. + * Set type of error. * * @param extendedCode the extendedCode value to set * @return the ErrorEntity object itself. @@ -72,7 +72,7 @@ public ErrorEntity withExtendedCode(String extendedCode) { } /** - * Get the messageTemplate value. + * Get message template. * * @return the messageTemplate value */ @@ -81,7 +81,7 @@ public String messageTemplate() { } /** - * Set the messageTemplate value. + * Set message template. * * @param messageTemplate the messageTemplate value to set * @return the ErrorEntity object itself. @@ -92,7 +92,7 @@ public ErrorEntity withMessageTemplate(String messageTemplate) { } /** - * Get the parameters value. + * Get parameters for the template. * * @return the parameters value */ @@ -101,7 +101,7 @@ public List parameters() { } /** - * Set the parameters value. + * Set parameters for the template. * * @param parameters the parameters value to set * @return the ErrorEntity object itself. @@ -112,7 +112,7 @@ public ErrorEntity withParameters(List parameters) { } /** - * Get the innerErrors value. + * Get inner errors. * * @return the innerErrors value */ @@ -121,7 +121,7 @@ public List innerErrors() { } /** - * Set the innerErrors value. + * Set inner errors. * * @param innerErrors the innerErrors value to set * @return the ErrorEntity object itself. @@ -132,7 +132,7 @@ public ErrorEntity withInnerErrors(List innerErrors) { } /** - * Get the code value. + * Get basic error code. * * @return the code value */ @@ -141,7 +141,7 @@ public String code() { } /** - * Set the code value. + * Set basic error code. * * @param code the code value to set * @return the ErrorEntity object itself. @@ -152,7 +152,7 @@ public ErrorEntity withCode(String code) { } /** - * Get the message value. + * Get any details of the error. * * @return the message value */ @@ -161,7 +161,7 @@ public String message() { } /** - * Set the message value. + * Set any details of the error. * * @param message the message value to set * @return the ErrorEntity object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Experiments.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Experiments.java index 653f9083a1778..6b6ae79b422cd 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Experiments.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Experiments.java @@ -22,7 +22,7 @@ public class Experiments { private List rampUpRules; /** - * Get the rampUpRules value. + * Get list of ramp-up rules. * * @return the rampUpRules value */ @@ -31,7 +31,7 @@ public List rampUpRules() { } /** - * Set the rampUpRules value. + * Set list of ramp-up rules. * * @param rampUpRules the rampUpRules value to set * @return the Experiments object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FileSystemApplicationLogsConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FileSystemApplicationLogsConfig.java index b8c9751bbe066..bdb870831cfe4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FileSystemApplicationLogsConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FileSystemApplicationLogsConfig.java @@ -22,7 +22,7 @@ public class FileSystemApplicationLogsConfig { private LogLevel level; /** - * Get the level value. + * Get log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @return the level value */ @@ -31,7 +31,7 @@ public LogLevel level() { } /** - * Set the level value. + * Set log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @param level the level value to set * @return the FileSystemApplicationLogsConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FileSystemHttpLogsConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FileSystemHttpLogsConfig.java index e1ac8a0149f3d..3c82ab8f65bbb 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FileSystemHttpLogsConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FileSystemHttpLogsConfig.java @@ -38,7 +38,9 @@ public class FileSystemHttpLogsConfig { private Boolean enabled; /** - * Get the retentionInMb value. + * Get maximum size in megabytes that http log files can use. + When reached old log files will be removed to make space for new ones. + Value can range between 25 and 100. * * @return the retentionInMb value */ @@ -47,7 +49,9 @@ public Integer retentionInMb() { } /** - * Set the retentionInMb value. + * Set maximum size in megabytes that http log files can use. + When reached old log files will be removed to make space for new ones. + Value can range between 25 and 100. * * @param retentionInMb the retentionInMb value to set * @return the FileSystemHttpLogsConfig object itself. @@ -58,7 +62,9 @@ public FileSystemHttpLogsConfig withRetentionInMb(Integer retentionInMb) { } /** - * Get the retentionInDays value. + * Get retention in days. + Remove files older than X days. + 0 or lower means no retention. * * @return the retentionInDays value */ @@ -67,7 +73,9 @@ public Integer retentionInDays() { } /** - * Set the retentionInDays value. + * Set retention in days. + Remove files older than X days. + 0 or lower means no retention. * * @param retentionInDays the retentionInDays value to set * @return the FileSystemHttpLogsConfig object itself. @@ -78,7 +86,7 @@ public FileSystemHttpLogsConfig withRetentionInDays(Integer retentionInDays) { } /** - * Get the enabled value. + * Get true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @return the enabled value */ @@ -87,7 +95,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @param enabled the enabled value to set * @return the FileSystemHttpLogsConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FunctionEnvelope.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FunctionEnvelope.java index 7646a39f76996..c4647d331e44f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FunctionEnvelope.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FunctionSecrets.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FunctionSecrets.java index 9389d1f75e35c..21dc165efdc5f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/FunctionSecrets.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HandlerMapping.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HandlerMapping.java index f110a75c696a9..31a8529237da6 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HandlerMapping.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HandlerMapping.java @@ -37,7 +37,7 @@ public class HandlerMapping { private String arguments; /** - * Get the extension value. + * Get requests with this extension will be handled using the specified FastCGI application. * * @return the extension value */ @@ -46,7 +46,7 @@ public String extension() { } /** - * Set the extension value. + * Set requests with this extension will be handled using the specified FastCGI application. * * @param extension the extension value to set * @return the HandlerMapping object itself. @@ -57,7 +57,7 @@ public HandlerMapping withExtension(String extension) { } /** - * Get the scriptProcessor value. + * Get the absolute path to the FastCGI application. * * @return the scriptProcessor value */ @@ -66,7 +66,7 @@ public String scriptProcessor() { } /** - * Set the scriptProcessor value. + * Set the absolute path to the FastCGI application. * * @param scriptProcessor the scriptProcessor value to set * @return the HandlerMapping object itself. @@ -77,7 +77,7 @@ public HandlerMapping withScriptProcessor(String scriptProcessor) { } /** - * Get the arguments value. + * Get command-line arguments to be passed to the script processor. * * @return the arguments value */ @@ -86,7 +86,7 @@ public String arguments() { } /** - * Set the arguments value. + * Set command-line arguments to be passed to the script processor. * * @param arguments the arguments value to set * @return the HandlerMapping object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostNameBinding.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostNameBinding.java index 90cbe5f0d16eb..7d1b53b21b386 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostNameBinding.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostNameSslState.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostNameSslState.java index 4b4514d00255b..35ff945b2aabf 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostNameSslState.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostNameSslState.java @@ -53,7 +53,7 @@ public class HostNameSslState { private HostType hostType; /** - * Get the name value. + * Get hostname. * * @return the name value */ @@ -62,7 +62,7 @@ public String name() { } /** - * Set the name value. + * Set hostname. * * @param name the name value to set * @return the HostNameSslState object itself. @@ -73,7 +73,7 @@ public HostNameSslState withName(String name) { } /** - * Get the sslState value. + * Get sSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'. * * @return the sslState value */ @@ -82,7 +82,7 @@ public SslState sslState() { } /** - * Set the sslState value. + * Set sSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'. * * @param sslState the sslState value to set * @return the HostNameSslState object itself. @@ -93,7 +93,7 @@ public HostNameSslState withSslState(SslState sslState) { } /** - * Get the virtualIP value. + * Get virtual IP address assigned to the hostname if IP based SSL is enabled. * * @return the virtualIP value */ @@ -102,7 +102,7 @@ public String virtualIP() { } /** - * Set the virtualIP value. + * Set virtual IP address assigned to the hostname if IP based SSL is enabled. * * @param virtualIP the virtualIP value to set * @return the HostNameSslState object itself. @@ -113,7 +113,7 @@ public HostNameSslState withVirtualIP(String virtualIP) { } /** - * Get the thumbprint value. + * Get sSL certificate thumbprint. * * @return the thumbprint value */ @@ -122,7 +122,7 @@ public String thumbprint() { } /** - * Set the thumbprint value. + * Set sSL certificate thumbprint. * * @param thumbprint the thumbprint value to set * @return the HostNameSslState object itself. @@ -133,7 +133,7 @@ public HostNameSslState withThumbprint(String thumbprint) { } /** - * Get the toUpdate value. + * Get set to <code>true</code> to update existing hostname. * * @return the toUpdate value */ @@ -142,7 +142,7 @@ public Boolean toUpdate() { } /** - * Set the toUpdate value. + * Set set to <code>true</code> to update existing hostname. * * @param toUpdate the toUpdate value to set * @return the HostNameSslState object itself. @@ -153,7 +153,7 @@ public HostNameSslState withToUpdate(Boolean toUpdate) { } /** - * Get the hostType value. + * Get indicates whether the hostname is a standard or repository hostname. Possible values include: 'Standard', 'Repository'. * * @return the hostType value */ @@ -162,7 +162,7 @@ public HostType hostType() { } /** - * Set the hostType value. + * Set indicates whether the hostname is a standard or repository hostname. Possible values include: 'Standard', 'Repository'. * * @param hostType the hostType value to set * @return the HostNameSslState object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostingEnvironmentProfile.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostingEnvironmentProfile.java index 01e8cfa0af4ed..9b27b382ff17f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostingEnvironmentProfile.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HostingEnvironmentProfile.java @@ -33,7 +33,7 @@ public class HostingEnvironmentProfile { private String type; /** - * Get the id value. + * Get resource ID of the App Service Environment. * * @return the id value */ @@ -42,7 +42,7 @@ public String id() { } /** - * Set the id value. + * Set resource ID of the App Service Environment. * * @param id the id value to set * @return the HostingEnvironmentProfile object itself. @@ -53,7 +53,7 @@ public HostingEnvironmentProfile withId(String id) { } /** - * Get the name value. + * Get name of the App Service Environment. * * @return the name value */ @@ -62,7 +62,7 @@ public String name() { } /** - * Get the type value. + * Get resource type of the App Service Environment. * * @return the type value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HttpLogsConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HttpLogsConfig.java index f4f036fac07fa..ed73c3012ce4b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HttpLogsConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HttpLogsConfig.java @@ -27,7 +27,7 @@ public class HttpLogsConfig { private AzureBlobStorageHttpLogsConfig azureBlobStorage; /** - * Get the fileSystem value. + * Get http logs to file system configuration. * * @return the fileSystem value */ @@ -36,7 +36,7 @@ public FileSystemHttpLogsConfig fileSystem() { } /** - * Set the fileSystem value. + * Set http logs to file system configuration. * * @param fileSystem the fileSystem value to set * @return the HttpLogsConfig object itself. @@ -47,7 +47,7 @@ public HttpLogsConfig withFileSystem(FileSystemHttpLogsConfig fileSystem) { } /** - * Get the azureBlobStorage value. + * Get http logs to azure blob storage configuration. * * @return the azureBlobStorage value */ @@ -56,7 +56,7 @@ public AzureBlobStorageHttpLogsConfig azureBlobStorage() { } /** - * Set the azureBlobStorage value. + * Set http logs to azure blob storage configuration. * * @param azureBlobStorage the azureBlobStorage value to set * @return the HttpLogsConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HybridConnection.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HybridConnection.java index 143ba31fe58a4..e2e0cdaae0cc6 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HybridConnection.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HybridConnection.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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * Type representing HybridConnection. */ -public interface HybridConnection extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface HybridConnection extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the hostname value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HybridConnectionKey.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HybridConnectionKey.java index 5db734a7a46b9..a9bb4270a054f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/HybridConnectionKey.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Identifier.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Identifier.java index 03ceca0f72f07..7d2c29fc6d290 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Identifier.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/IpSecurityRestriction.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/IpSecurityRestriction.java index 14dc1f2222545..5cfaf638274f5 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/IpSecurityRestriction.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/IpSecurityRestriction.java @@ -27,7 +27,7 @@ public class IpSecurityRestriction { private String subnetMask; /** - * Get the ipAddress value. + * Get iP address the security restriction is valid for. * * @return the ipAddress value */ @@ -36,7 +36,7 @@ public String ipAddress() { } /** - * Set the ipAddress value. + * Set iP address the security restriction is valid for. * * @param ipAddress the ipAddress value to set * @return the IpSecurityRestriction object itself. @@ -47,7 +47,7 @@ public IpSecurityRestriction withIpAddress(String ipAddress) { } /** - * Get the subnetMask value. + * Get subnet mask for the range of IP addresses the restriction is valid for. * * @return the subnetMask value */ @@ -56,7 +56,7 @@ public String subnetMask() { } /** - * Set the subnetMask value. + * Set subnet mask for the range of IP addresses the restriction is valid for. * * @param subnetMask the subnetMask value to set * @return the IpSecurityRestriction object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/LocalizableString.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/LocalizableString.java index b938f979c081c..c7b51ffa68cc8 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/LocalizableString.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/LocalizableString.java @@ -27,7 +27,7 @@ public class LocalizableString { private String localizedValue; /** - * Get the value value. + * Get non-localized name. * * @return the value value */ @@ -36,7 +36,7 @@ public String value() { } /** - * Set the value value. + * Set non-localized name. * * @param value the value value to set * @return the LocalizableString object itself. @@ -47,7 +47,7 @@ public LocalizableString withValue(String value) { } /** - * Get the localizedValue value. + * Get localized name. * * @return the localizedValue value */ @@ -56,7 +56,7 @@ public String localizedValue() { } /** - * Set the localizedValue value. + * Set localized name. * * @param localizedValue the localizedValue value to set * @return the LocalizableString object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeploy.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeploy.java index f09960599d4d7..8b7a05b4103f1 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeploy.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeploy.java @@ -9,6 +9,7 @@ package com.microsoft.azure.management.appservice.v2016_08_01; import java.util.Map; +import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; @@ -67,7 +68,14 @@ public class MSDeploy extends ProxyOnlyResource { private Boolean appOffline; /** - * Get the packageUri value. + * List of Add-On packages. Add-On packages implicitly enable the Do Not + * Delete MSDeploy rule. + */ + @JsonProperty(value = "properties.addOnPackages") + private List addOnPackages; + + /** + * Get package URI. * * @return the packageUri value */ @@ -76,7 +84,7 @@ public String packageUri() { } /** - * Set the packageUri value. + * Set package URI. * * @param packageUri the packageUri value to set * @return the MSDeploy object itself. @@ -87,7 +95,7 @@ public MSDeploy withPackageUri(String packageUri) { } /** - * Get the connectionString value. + * Get sQL Connection String. * * @return the connectionString value */ @@ -96,7 +104,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set sQL Connection String. * * @param connectionString the connectionString value to set * @return the MSDeploy object itself. @@ -107,7 +115,7 @@ public MSDeploy withConnectionString(String connectionString) { } /** - * Get the dbType value. + * Get database Type. * * @return the dbType value */ @@ -116,7 +124,7 @@ public String dbType() { } /** - * Set the dbType value. + * Set database Type. * * @param dbType the dbType value to set * @return the MSDeploy object itself. @@ -127,7 +135,7 @@ public MSDeploy withDbType(String dbType) { } /** - * Get the setParametersXmlFileUri value. + * Get uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. * * @return the setParametersXmlFileUri value */ @@ -136,7 +144,7 @@ public String setParametersXmlFileUri() { } /** - * Set the setParametersXmlFileUri value. + * Set uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. * * @param setParametersXmlFileUri the setParametersXmlFileUri value to set * @return the MSDeploy object itself. @@ -147,7 +155,7 @@ public MSDeploy withSetParametersXmlFileUri(String setParametersXmlFileUri) { } /** - * Get the setParameters value. + * Get mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. * * @return the setParameters value */ @@ -156,7 +164,7 @@ public Map setParameters() { } /** - * Set the setParameters value. + * Set mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. * * @param setParameters the setParameters value to set * @return the MSDeploy object itself. @@ -167,7 +175,10 @@ public MSDeploy withSetParameters(Map setParameters) { } /** - * Get the skipAppData value. + * Get controls whether the MSDeploy operation skips the App_Data directory. + If set to <code>true</code>, the existing App_Data directory on the destination + will not be deleted, and any App_Data directory in the source will be ignored. + Setting is <code>false</code> by default. * * @return the skipAppData value */ @@ -176,7 +187,10 @@ public Boolean skipAppData() { } /** - * Set the skipAppData value. + * Set controls whether the MSDeploy operation skips the App_Data directory. + If set to <code>true</code>, the existing App_Data directory on the destination + will not be deleted, and any App_Data directory in the source will be ignored. + Setting is <code>false</code> by default. * * @param skipAppData the skipAppData value to set * @return the MSDeploy object itself. @@ -187,7 +201,8 @@ public MSDeploy withSkipAppData(Boolean skipAppData) { } /** - * Get the appOffline value. + * Get sets the AppOffline rule while the MSDeploy operation executes. + Setting is <code>false</code> by default. * * @return the appOffline value */ @@ -196,7 +211,8 @@ public Boolean appOffline() { } /** - * Set the appOffline value. + * Set sets the AppOffline rule while the MSDeploy operation executes. + Setting is <code>false</code> by default. * * @param appOffline the appOffline value to set * @return the MSDeploy object itself. @@ -206,4 +222,24 @@ public MSDeploy withAppOffline(Boolean appOffline) { return this; } + /** + * Get list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule. + * + * @return the addOnPackages value + */ + public List addOnPackages() { + return this.addOnPackages; + } + + /** + * Set list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule. + * + * @param addOnPackages the addOnPackages value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withAddOnPackages(List addOnPackages) { + this.addOnPackages = addOnPackages; + return this; + } + } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployCore.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployCore.java new file mode 100644 index 0000000000000..75e4eb067a28d --- /dev/null +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployCore.java @@ -0,0 +1,215 @@ +/** + * 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.v2016_08_01; + +import java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * MSDeploy ARM PUT core information. + */ +public class MSDeployCore { + /** + * Package URI. + */ + @JsonProperty(value = "packageUri") + private String packageUri; + + /** + * SQL Connection String. + */ + @JsonProperty(value = "connectionString") + private String connectionString; + + /** + * Database Type. + */ + @JsonProperty(value = "dbType") + private String dbType; + + /** + * URI of MSDeploy Parameters file. Must not be set if SetParameters is + * used. + */ + @JsonProperty(value = "setParametersXmlFileUri") + private String setParametersXmlFileUri; + + /** + * MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + */ + @JsonProperty(value = "setParameters") + private Map setParameters; + + /** + * Controls whether the MSDeploy operation skips the App_Data directory. + * If set to <code>true</code>, the existing App_Data directory + * on the destination + * will not be deleted, and any App_Data directory in the source will be + * ignored. + * Setting is <code>false</code> by default. + */ + @JsonProperty(value = "skipAppData") + private Boolean skipAppData; + + /** + * Sets the AppOffline rule while the MSDeploy operation executes. + * Setting is <code>false</code> by default. + */ + @JsonProperty(value = "appOffline") + private Boolean appOffline; + + /** + * Get package URI. + * + * @return the packageUri value + */ + public String packageUri() { + return this.packageUri; + } + + /** + * Set package URI. + * + * @param packageUri the packageUri value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withPackageUri(String packageUri) { + this.packageUri = packageUri; + return this; + } + + /** + * Get sQL Connection String. + * + * @return the connectionString value + */ + public String connectionString() { + return this.connectionString; + } + + /** + * Set sQL Connection String. + * + * @param connectionString the connectionString value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withConnectionString(String connectionString) { + this.connectionString = connectionString; + return this; + } + + /** + * Get database Type. + * + * @return the dbType value + */ + public String dbType() { + return this.dbType; + } + + /** + * Set database Type. + * + * @param dbType the dbType value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withDbType(String dbType) { + this.dbType = dbType; + return this; + } + + /** + * Get uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. + * + * @return the setParametersXmlFileUri value + */ + public String setParametersXmlFileUri() { + return this.setParametersXmlFileUri; + } + + /** + * Set uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. + * + * @param setParametersXmlFileUri the setParametersXmlFileUri value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withSetParametersXmlFileUri(String setParametersXmlFileUri) { + this.setParametersXmlFileUri = setParametersXmlFileUri; + return this; + } + + /** + * Get mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + * + * @return the setParameters value + */ + public Map setParameters() { + return this.setParameters; + } + + /** + * Set mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + * + * @param setParameters the setParameters value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withSetParameters(Map setParameters) { + this.setParameters = setParameters; + return this; + } + + /** + * Get controls whether the MSDeploy operation skips the App_Data directory. + If set to <code>true</code>, the existing App_Data directory on the destination + will not be deleted, and any App_Data directory in the source will be ignored. + Setting is <code>false</code> by default. + * + * @return the skipAppData value + */ + public Boolean skipAppData() { + return this.skipAppData; + } + + /** + * Set controls whether the MSDeploy operation skips the App_Data directory. + If set to <code>true</code>, the existing App_Data directory on the destination + will not be deleted, and any App_Data directory in the source will be ignored. + Setting is <code>false</code> by default. + * + * @param skipAppData the skipAppData value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withSkipAppData(Boolean skipAppData) { + this.skipAppData = skipAppData; + return this; + } + + /** + * Get sets the AppOffline rule while the MSDeploy operation executes. + Setting is <code>false</code> by default. + * + * @return the appOffline value + */ + public Boolean appOffline() { + return this.appOffline; + } + + /** + * Set sets the AppOffline rule while the MSDeploy operation executes. + Setting is <code>false</code> by default. + * + * @param appOffline the appOffline value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withAppOffline(Boolean appOffline) { + this.appOffline = appOffline; + return this; + } + +} diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployLog.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployLog.java index a7a64f53cb840..c1a49815f7d01 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployLog.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployLogEntry.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployLogEntry.java index 0408b07a15979..eef0354390260 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployLogEntry.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployLogEntry.java @@ -34,7 +34,7 @@ public class MSDeployLogEntry { private String message; /** - * Get the time value. + * Get timestamp of log entry. * * @return the time value */ @@ -43,7 +43,7 @@ public DateTime time() { } /** - * Get the type value. + * Get log entry type. Possible values include: 'Message', 'Warning', 'Error'. * * @return the type value */ @@ -52,7 +52,7 @@ public MSDeployLogEntryType type() { } /** - * Get the message value. + * Get log entry message. * * @return the message value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployStatus.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployStatus.java index 6947959a2fbac..bb1485b60ca76 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MSDeployStatus.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ManagedServiceIdentity.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ManagedServiceIdentity.java index 0048622a05bda..d79a152ba5fd8 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ManagedServiceIdentity.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ManagedServiceIdentity.java @@ -34,7 +34,7 @@ public class ManagedServiceIdentity { private String principalId; /** - * Get the type value. + * Get type of managed service identity. Possible values include: 'SystemAssigned'. * * @return the type value */ @@ -43,7 +43,7 @@ public ManagedServiceIdentityType type() { } /** - * Set the type value. + * Set type of managed service identity. Possible values include: 'SystemAssigned'. * * @param type the type value to set * @return the ManagedServiceIdentity object itself. @@ -54,7 +54,7 @@ public ManagedServiceIdentity withType(ManagedServiceIdentityType type) { } /** - * Get the tenantId value. + * Get tenant of managed service identity. * * @return the tenantId value */ @@ -63,7 +63,7 @@ public String tenantId() { } /** - * Get the principalId value. + * Get principal Id of managed service identity. * * @return the principalId value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MigrateMySqlRequest.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MigrateMySqlRequest.java index ee5fd2fe06ee1..fa41b85892dec 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MigrateMySqlRequest.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MigrateMySqlRequest.java @@ -30,7 +30,7 @@ public class MigrateMySqlRequest extends ProxyOnlyResource { private MySqlMigrationType migrationType; /** - * Get the connectionString value. + * Get connection string to the remote MySQL database. * * @return the connectionString value */ @@ -39,7 +39,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set connection string to the remote MySQL database. * * @param connectionString the connectionString value to set * @return the MigrateMySqlRequest object itself. @@ -50,7 +50,7 @@ public MigrateMySqlRequest withConnectionString(String connectionString) { } /** - * Get the migrationType value. + * Get the type of migration operation to be done. Possible values include: 'LocalToRemote', 'RemoteToLocal'. * * @return the migrationType value */ @@ -59,7 +59,7 @@ public MySqlMigrationType migrationType() { } /** - * Set the migrationType value. + * Set the type of migration operation to be done. Possible values include: 'LocalToRemote', 'RemoteToLocal'. * * @param migrationType the migrationType value to set * @return the MigrateMySqlRequest object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MigrateMySqlStatus.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MigrateMySqlStatus.java index aa4315deb9989..15deb9b0693b1 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/MigrateMySqlStatus.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/NameValuePair.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/NameValuePair.java index ae70b163555b3..eb7d8746a9121 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/NameValuePair.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/NameValuePair.java @@ -27,7 +27,7 @@ public class NameValuePair { private String value; /** - * Get the name value. + * Get pair name. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set pair name. * * @param name the name value to set * @return the NameValuePair object itself. @@ -47,7 +47,7 @@ public NameValuePair withName(String name) { } /** - * Get the value value. + * Get pair value. * * @return the value value */ @@ -56,7 +56,7 @@ public String value() { } /** - * Set the value value. + * Set pair value. * * @param value the value value to set * @return the NameValuePair object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/NetworkFeatures.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/NetworkFeatures.java index 7f954e62055e8..01e4e903e10da 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/NetworkFeatures.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Operation.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Operation.java index 7858544bd7114..7974d517c9334 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Operation.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Operation.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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.OperationInner; import org.joda.time.DateTime; import java.util.List; @@ -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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonResponse.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonResponse.java index 9eb056d6c548c..ec6e1fbfeb16c 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonResponse.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonResponse.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.PerfMonResponseInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * Type representing PerfMonResponse. */ -public interface PerfMonResponse extends HasInner, HasManager { +public interface PerfMonResponse extends HasInner, HasManager { /** * @return the code value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonSample.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonSample.java index 8f9bb30b2ee2c..8f14fe82f42c0 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonSample.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonSample.java @@ -40,7 +40,7 @@ public class PerfMonSample { private Integer coreCount; /** - * Get the time value. + * Get point in time for which counter was measured. * * @return the time value */ @@ -49,7 +49,7 @@ public DateTime time() { } /** - * Set the time value. + * Set point in time for which counter was measured. * * @param time the time value to set * @return the PerfMonSample object itself. @@ -60,7 +60,7 @@ public PerfMonSample withTime(DateTime time) { } /** - * Get the instanceName value. + * Get name of the server on which the measurement is made. * * @return the instanceName value */ @@ -69,7 +69,7 @@ public String instanceName() { } /** - * Set the instanceName value. + * Set name of the server on which the measurement is made. * * @param instanceName the instanceName value to set * @return the PerfMonSample object itself. @@ -80,7 +80,7 @@ public PerfMonSample withInstanceName(String instanceName) { } /** - * Get the value value. + * Get value of counter at a certain time. * * @return the value value */ @@ -89,7 +89,7 @@ public Double value() { } /** - * Set the value value. + * Set value of counter at a certain time. * * @param value the value value to set * @return the PerfMonSample object itself. @@ -100,7 +100,7 @@ public PerfMonSample withValue(Double value) { } /** - * Get the coreCount value. + * Get core Count of worker. Not a data member. * * @return the coreCount value */ @@ -109,7 +109,7 @@ public Integer coreCount() { } /** - * Set the coreCount value. + * Set core Count of worker. Not a data member. * * @param coreCount the coreCount value to set * @return the PerfMonSample object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonSet.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonSet.java index 1c3f33c29a43e..d580ed8907fb4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonSet.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PerfMonSet.java @@ -47,7 +47,7 @@ public class PerfMonSet { private List values; /** - * Get the name value. + * Get unique key name of the counter. * * @return the name value */ @@ -56,7 +56,7 @@ public String name() { } /** - * Set the name value. + * Set unique key name of the counter. * * @param name the name value to set * @return the PerfMonSet object itself. @@ -67,7 +67,7 @@ public PerfMonSet withName(String name) { } /** - * Get the startTime value. + * Get start time of the period. * * @return the startTime value */ @@ -76,7 +76,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the period. * * @param startTime the startTime value to set * @return the PerfMonSet object itself. @@ -87,7 +87,7 @@ public PerfMonSet withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the period. * * @return the endTime value */ @@ -96,7 +96,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the period. * * @param endTime the endTime value to set * @return the PerfMonSet object itself. @@ -107,7 +107,7 @@ public PerfMonSet withEndTime(DateTime endTime) { } /** - * Get the timeGrain value. + * Get presented time grain. * * @return the timeGrain value */ @@ -116,7 +116,7 @@ public String timeGrain() { } /** - * Set the timeGrain value. + * Set presented time grain. * * @param timeGrain the timeGrain value to set * @return the PerfMonSet object itself. @@ -127,7 +127,7 @@ public PerfMonSet withTimeGrain(String timeGrain) { } /** - * Get the values value. + * Get collection of workers that are active during this time. * * @return the values value */ @@ -136,7 +136,7 @@ public List values() { } /** - * Set the values value. + * Set collection of workers that are active during this time. * * @param values the values value to set * @return the PerfMonSet object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PremierAddOn.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PremierAddOn.java index c8234ee7ad803..2af0616835879 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PremierAddOn.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessInfo.java index bbf74377b547d..7ba45c8bd7bef 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessModuleInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessModuleInfo.java index 263dfddfaacda..94092f3a15e8b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessModuleInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessThreadInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessThreadInfo.java index 1858a6534cdb4..67ecfb227fc1e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProcessThreadInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProxyOnlyResource.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProxyOnlyResource.java index a648cc6092b43..79df740bb0744 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProxyOnlyResource.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ProxyOnlyResource.java @@ -23,7 +23,7 @@ public class ProxyOnlyResource extends ProxyResource { private String kind; /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -32,7 +32,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the ProxyOnlyResource object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PublicCertificate.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PublicCertificate.java index 548d7bd617969..09ccf2092e665 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PublicCertificate.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PushSettings.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PushSettings.java index 0d9a7cb9abee9..14b6b0e38f250 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/PushSettings.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RampUpRule.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RampUpRule.java index a74baea57a74b..e90557e352764 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RampUpRule.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RampUpRule.java @@ -78,7 +78,7 @@ public class RampUpRule { private String name; /** - * Get the actionHostName value. + * Get hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. * * @return the actionHostName value */ @@ -87,7 +87,7 @@ public String actionHostName() { } /** - * Set the actionHostName value. + * Set hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. * * @param actionHostName the actionHostName value to set * @return the RampUpRule object itself. @@ -98,7 +98,7 @@ public RampUpRule withActionHostName(String actionHostName) { } /** - * Get the reroutePercentage value. + * Get percentage of the traffic which will be redirected to <code>ActionHostName</code>. * * @return the reroutePercentage value */ @@ -107,7 +107,7 @@ public Double reroutePercentage() { } /** - * Set the reroutePercentage value. + * Set percentage of the traffic which will be redirected to <code>ActionHostName</code>. * * @param reroutePercentage the reroutePercentage value to set * @return the RampUpRule object itself. @@ -118,7 +118,9 @@ public RampUpRule withReroutePercentage(Double reroutePercentage) { } /** - * Get the changeStep value. + * Get in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @return the changeStep value */ @@ -127,7 +129,9 @@ public Double changeStep() { } /** - * Set the changeStep value. + * Set in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @param changeStep the changeStep value to set * @return the RampUpRule object itself. @@ -138,7 +142,7 @@ public RampUpRule withChangeStep(Double changeStep) { } /** - * Get the changeIntervalInMinutes value. + * Get specifies interval in mimuntes to reevaluate ReroutePercentage. * * @return the changeIntervalInMinutes value */ @@ -147,7 +151,7 @@ public Integer changeIntervalInMinutes() { } /** - * Set the changeIntervalInMinutes value. + * Set specifies interval in mimuntes to reevaluate ReroutePercentage. * * @param changeIntervalInMinutes the changeIntervalInMinutes value to set * @return the RampUpRule object itself. @@ -158,7 +162,7 @@ public RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes) { } /** - * Get the minReroutePercentage value. + * Get specifies lower boundary above which ReroutePercentage will stay. * * @return the minReroutePercentage value */ @@ -167,7 +171,7 @@ public Double minReroutePercentage() { } /** - * Set the minReroutePercentage value. + * Set specifies lower boundary above which ReroutePercentage will stay. * * @param minReroutePercentage the minReroutePercentage value to set * @return the RampUpRule object itself. @@ -178,7 +182,7 @@ public RampUpRule withMinReroutePercentage(Double minReroutePercentage) { } /** - * Get the maxReroutePercentage value. + * Get specifies upper boundary below which ReroutePercentage will stay. * * @return the maxReroutePercentage value */ @@ -187,7 +191,7 @@ public Double maxReroutePercentage() { } /** - * Set the maxReroutePercentage value. + * Set specifies upper boundary below which ReroutePercentage will stay. * * @param maxReroutePercentage the maxReroutePercentage value to set * @return the RampUpRule object itself. @@ -198,7 +202,8 @@ public RampUpRule withMaxReroutePercentage(Double maxReroutePercentage) { } /** - * Get the changeDecisionCallbackUrl value. + * Get custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. + https://www.siteextensions.net/packages/TiPCallback/. * * @return the changeDecisionCallbackUrl value */ @@ -207,7 +212,8 @@ public String changeDecisionCallbackUrl() { } /** - * Set the changeDecisionCallbackUrl value. + * Set custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. + https://www.siteextensions.net/packages/TiPCallback/. * * @param changeDecisionCallbackUrl the changeDecisionCallbackUrl value to set * @return the RampUpRule object itself. @@ -218,7 +224,7 @@ public RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl } /** - * Get the name value. + * Get name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. * * @return the name value */ @@ -227,7 +233,7 @@ public String name() { } /** - * Set the name value. + * Set name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. * * @param name the name value to set * @return the RampUpRule object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RelayServiceConnectionEntity.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RelayServiceConnectionEntity.java index 48f915ca0e6b3..14c463b6d117c 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RelayServiceConnectionEntity.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RequestsBasedTrigger.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RequestsBasedTrigger.java index 267ff49af89e0..e4d47d603f66c 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RequestsBasedTrigger.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RequestsBasedTrigger.java @@ -27,7 +27,7 @@ public class RequestsBasedTrigger { private String timeInterval; /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -36,7 +36,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the RequestsBasedTrigger object itself. @@ -47,7 +47,7 @@ public RequestsBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -56,7 +56,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the RequestsBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetric.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetric.java index 87e3f0ad898ea..47dabde2bfd60 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetric.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetric.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.ResourceMetricInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import org.joda.time.DateTime; import java.util.List; /** * Type representing ResourceMetric. */ -public interface ResourceMetric extends HasInner, HasManager { +public interface ResourceMetric extends HasInner, HasManager { /** * @return the endTime value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricAvailability.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricAvailability.java index a7475dad2736c..9ac556353295e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricAvailability.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricAvailability.java @@ -27,7 +27,7 @@ public class ResourceMetricAvailability { private String retention; /** - * Get the timeGrain value. + * Get time grain . * * @return the timeGrain value */ @@ -36,7 +36,7 @@ public String timeGrain() { } /** - * Get the retention value. + * Get retention period for the current time grain. * * @return the retention value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricDefinition.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricDefinition.java index f64d6c84c07a9..a0ab34199c86d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricDefinition.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricDefinition.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.ResourceMetricDefinitionInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import java.util.List; import java.util.Map; /** * Type representing ResourceMetricDefinition. */ -public interface ResourceMetricDefinition extends HasInner, HasManager { +public interface ResourceMetricDefinition extends HasInner, HasManager { /** * @return the id value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricName.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricName.java index 6a9495f578fab..4e823f1f9cf27 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricName.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricName.java @@ -27,7 +27,7 @@ public class ResourceMetricName { private String localizedValue; /** - * Get the value value. + * Get metric name value. * * @return the value value */ @@ -36,7 +36,7 @@ public String value() { } /** - * Get the localizedValue value. + * Get localized metric name value. * * @return the localizedValue value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricProperty.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricProperty.java index 3895d984cd8a8..9af958b8caf4d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricProperty.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricProperty.java @@ -27,7 +27,7 @@ public class ResourceMetricProperty { private String value; /** - * Get the key value. + * Get key for resource metric property. * * @return the key value */ @@ -36,7 +36,7 @@ public String key() { } /** - * Set the key value. + * Set key for resource metric property. * * @param key the key value to set * @return the ResourceMetricProperty object itself. @@ -47,7 +47,7 @@ public ResourceMetricProperty withKey(String key) { } /** - * Get the value value. + * Get value of pair. * * @return the value value */ @@ -56,7 +56,7 @@ public String value() { } /** - * Set the value value. + * Set value of pair. * * @param value the value value to set * @return the ResourceMetricProperty object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricValue.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricValue.java index a4c176cc5e739..7d504a51526b0 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricValue.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/ResourceMetricValue.java @@ -58,7 +58,7 @@ public class ResourceMetricValue { private List properties; /** - * Get the timestamp value. + * Get value timestamp. * * @return the timestamp value */ @@ -67,7 +67,7 @@ public String timestamp() { } /** - * Get the average value. + * Get value average. * * @return the average value */ @@ -76,7 +76,7 @@ public Double average() { } /** - * Get the minimum value. + * Get value minimum. * * @return the minimum value */ @@ -85,7 +85,7 @@ public Double minimum() { } /** - * Get the maximum value. + * Get value maximum. * * @return the maximum value */ @@ -94,7 +94,7 @@ public Double maximum() { } /** - * Get the total value. + * Get value total. * * @return the total value */ @@ -103,7 +103,7 @@ public Double total() { } /** - * Get the count value. + * Get value count. * * @return the count value */ @@ -112,7 +112,7 @@ public Double count() { } /** - * Get the properties value. + * Get resource metric properties collection. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RestoreRequest.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RestoreRequest.java index 3e9952afa2f16..d573f971ee544 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RestoreRequest.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RestoreResponse.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RestoreResponse.java index 386674ac08891..683c9d02bb0d8 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RestoreResponse.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RestoreResponse.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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.RestoreResponseInner; /** * Type representing RestoreResponse. */ -public interface RestoreResponse extends HasInner, HasManager { +public interface RestoreResponse extends HasInner, HasManager { /** * @return the id value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteAuthSettings.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteAuthSettings.java index e21f8a3c97301..a5ed04b7b81fa 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteAuthSettings.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteCloneability.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteCloneability.java index 5c1f0d16fd066..b4862e5657b99 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteCloneability.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteCloneabilityCriterion.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteCloneabilityCriterion.java index 35416f0af34b6..8c219b77cdb4d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteCloneabilityCriterion.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteCloneabilityCriterion.java @@ -27,7 +27,7 @@ public class SiteCloneabilityCriterion { private String description; /** - * Get the name value. + * Get name of criterion. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set name of criterion. * * @param name the name value to set * @return the SiteCloneabilityCriterion object itself. @@ -47,7 +47,7 @@ public SiteCloneabilityCriterion withName(String name) { } /** - * Get the description value. + * Get description of criterion. * * @return the description value */ @@ -56,7 +56,7 @@ public String description() { } /** - * Set the description value. + * Set description of criterion. * * @param description the description value to set * @return the SiteCloneabilityCriterion object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfig.java index c00c3dfff9801..c4b5f1cb5a6b0 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfig.java @@ -303,7 +303,7 @@ public class SiteConfig { private SupportedTlsVersions minTlsVersion; /** - * Get the numberOfWorkers value. + * Get number of workers. * * @return the numberOfWorkers value */ @@ -312,7 +312,7 @@ public Integer numberOfWorkers() { } /** - * Set the numberOfWorkers value. + * Set number of workers. * * @param numberOfWorkers the numberOfWorkers value to set * @return the SiteConfig object itself. @@ -323,7 +323,7 @@ public SiteConfig withNumberOfWorkers(Integer numberOfWorkers) { } /** - * Get the defaultDocuments value. + * Get default documents. * * @return the defaultDocuments value */ @@ -332,7 +332,7 @@ public List defaultDocuments() { } /** - * Set the defaultDocuments value. + * Set default documents. * * @param defaultDocuments the defaultDocuments value to set * @return the SiteConfig object itself. @@ -343,7 +343,7 @@ public SiteConfig withDefaultDocuments(List defaultDocuments) { } /** - * Get the netFrameworkVersion value. + * Get .NET Framework version. * * @return the netFrameworkVersion value */ @@ -352,7 +352,7 @@ public String netFrameworkVersion() { } /** - * Set the netFrameworkVersion value. + * Set .NET Framework version. * * @param netFrameworkVersion the netFrameworkVersion value to set * @return the SiteConfig object itself. @@ -363,7 +363,7 @@ public SiteConfig withNetFrameworkVersion(String netFrameworkVersion) { } /** - * Get the phpVersion value. + * Get version of PHP. * * @return the phpVersion value */ @@ -372,7 +372,7 @@ public String phpVersion() { } /** - * Set the phpVersion value. + * Set version of PHP. * * @param phpVersion the phpVersion value to set * @return the SiteConfig object itself. @@ -383,7 +383,7 @@ public SiteConfig withPhpVersion(String phpVersion) { } /** - * Get the pythonVersion value. + * Get version of Python. * * @return the pythonVersion value */ @@ -392,7 +392,7 @@ public String pythonVersion() { } /** - * Set the pythonVersion value. + * Set version of Python. * * @param pythonVersion the pythonVersion value to set * @return the SiteConfig object itself. @@ -403,7 +403,7 @@ public SiteConfig withPythonVersion(String pythonVersion) { } /** - * Get the nodeVersion value. + * Get version of Node.js. * * @return the nodeVersion value */ @@ -412,7 +412,7 @@ public String nodeVersion() { } /** - * Set the nodeVersion value. + * Set version of Node.js. * * @param nodeVersion the nodeVersion value to set * @return the SiteConfig object itself. @@ -423,7 +423,7 @@ public SiteConfig withNodeVersion(String nodeVersion) { } /** - * Get the linuxFxVersion value. + * Get linux App Framework and version. * * @return the linuxFxVersion value */ @@ -432,7 +432,7 @@ public String linuxFxVersion() { } /** - * Set the linuxFxVersion value. + * Set linux App Framework and version. * * @param linuxFxVersion the linuxFxVersion value to set * @return the SiteConfig object itself. @@ -443,7 +443,7 @@ public SiteConfig withLinuxFxVersion(String linuxFxVersion) { } /** - * Get the requestTracingEnabled value. + * Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @return the requestTracingEnabled value */ @@ -452,7 +452,7 @@ public Boolean requestTracingEnabled() { } /** - * Set the requestTracingEnabled value. + * Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @param requestTracingEnabled the requestTracingEnabled value to set * @return the SiteConfig object itself. @@ -463,7 +463,7 @@ public SiteConfig withRequestTracingEnabled(Boolean requestTracingEnabled) { } /** - * Get the requestTracingExpirationTime value. + * Get request tracing expiration time. * * @return the requestTracingExpirationTime value */ @@ -472,7 +472,7 @@ public DateTime requestTracingExpirationTime() { } /** - * Set the requestTracingExpirationTime value. + * Set request tracing expiration time. * * @param requestTracingExpirationTime the requestTracingExpirationTime value to set * @return the SiteConfig object itself. @@ -483,7 +483,7 @@ public SiteConfig withRequestTracingExpirationTime(DateTime requestTracingExpira } /** - * Get the remoteDebuggingEnabled value. + * Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @return the remoteDebuggingEnabled value */ @@ -492,7 +492,7 @@ public Boolean remoteDebuggingEnabled() { } /** - * Set the remoteDebuggingEnabled value. + * Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @param remoteDebuggingEnabled the remoteDebuggingEnabled value to set * @return the SiteConfig object itself. @@ -503,7 +503,7 @@ public SiteConfig withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled) { } /** - * Get the remoteDebuggingVersion value. + * Get remote debugging version. * * @return the remoteDebuggingVersion value */ @@ -512,7 +512,7 @@ public String remoteDebuggingVersion() { } /** - * Set the remoteDebuggingVersion value. + * Set remote debugging version. * * @param remoteDebuggingVersion the remoteDebuggingVersion value to set * @return the SiteConfig object itself. @@ -523,7 +523,7 @@ public SiteConfig withRemoteDebuggingVersion(String remoteDebuggingVersion) { } /** - * Get the httpLoggingEnabled value. + * Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @return the httpLoggingEnabled value */ @@ -532,7 +532,7 @@ public Boolean httpLoggingEnabled() { } /** - * Set the httpLoggingEnabled value. + * Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @param httpLoggingEnabled the httpLoggingEnabled value to set * @return the SiteConfig object itself. @@ -543,7 +543,7 @@ public SiteConfig withHttpLoggingEnabled(Boolean httpLoggingEnabled) { } /** - * Get the logsDirectorySizeLimit value. + * Get hTTP logs directory size limit. * * @return the logsDirectorySizeLimit value */ @@ -552,7 +552,7 @@ public Integer logsDirectorySizeLimit() { } /** - * Set the logsDirectorySizeLimit value. + * Set hTTP logs directory size limit. * * @param logsDirectorySizeLimit the logsDirectorySizeLimit value to set * @return the SiteConfig object itself. @@ -563,7 +563,7 @@ public SiteConfig withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit) { } /** - * Get the detailedErrorLoggingEnabled value. + * Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @return the detailedErrorLoggingEnabled value */ @@ -572,7 +572,7 @@ public Boolean detailedErrorLoggingEnabled() { } /** - * Set the detailedErrorLoggingEnabled value. + * Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @param detailedErrorLoggingEnabled the detailedErrorLoggingEnabled value to set * @return the SiteConfig object itself. @@ -583,7 +583,7 @@ public SiteConfig withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEn } /** - * Get the publishingUsername value. + * Get publishing user name. * * @return the publishingUsername value */ @@ -592,7 +592,7 @@ public String publishingUsername() { } /** - * Set the publishingUsername value. + * Set publishing user name. * * @param publishingUsername the publishingUsername value to set * @return the SiteConfig object itself. @@ -603,7 +603,7 @@ public SiteConfig withPublishingUsername(String publishingUsername) { } /** - * Get the appSettings value. + * Get application settings. * * @return the appSettings value */ @@ -612,7 +612,7 @@ public List appSettings() { } /** - * Set the appSettings value. + * Set application settings. * * @param appSettings the appSettings value to set * @return the SiteConfig object itself. @@ -623,7 +623,7 @@ public SiteConfig withAppSettings(List appSettings) { } /** - * Get the connectionStrings value. + * Get connection strings. * * @return the connectionStrings value */ @@ -632,7 +632,7 @@ public List connectionStrings() { } /** - * Set the connectionStrings value. + * Set connection strings. * * @param connectionStrings the connectionStrings value to set * @return the SiteConfig object itself. @@ -643,7 +643,7 @@ public SiteConfig withConnectionStrings(List connectionStrings) } /** - * Get the machineKey value. + * Get site MachineKey. * * @return the machineKey value */ @@ -652,7 +652,7 @@ public SiteMachineKey machineKey() { } /** - * Get the handlerMappings value. + * Get handler mappings. * * @return the handlerMappings value */ @@ -661,7 +661,7 @@ public List handlerMappings() { } /** - * Set the handlerMappings value. + * Set handler mappings. * * @param handlerMappings the handlerMappings value to set * @return the SiteConfig object itself. @@ -672,7 +672,7 @@ public SiteConfig withHandlerMappings(List handlerMappings) { } /** - * Get the documentRoot value. + * Get document root. * * @return the documentRoot value */ @@ -681,7 +681,7 @@ public String documentRoot() { } /** - * Set the documentRoot value. + * Set document root. * * @param documentRoot the documentRoot value to set * @return the SiteConfig object itself. @@ -692,7 +692,7 @@ public SiteConfig withDocumentRoot(String documentRoot) { } /** - * Get the scmType value. + * Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @return the scmType value */ @@ -701,7 +701,7 @@ public ScmType scmType() { } /** - * Set the scmType value. + * Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @param scmType the scmType value to set * @return the SiteConfig object itself. @@ -712,7 +712,7 @@ public SiteConfig withScmType(ScmType scmType) { } /** - * Get the use32BitWorkerProcess value. + * Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @return the use32BitWorkerProcess value */ @@ -721,7 +721,7 @@ public Boolean use32BitWorkerProcess() { } /** - * Set the use32BitWorkerProcess value. + * Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @param use32BitWorkerProcess the use32BitWorkerProcess value to set * @return the SiteConfig object itself. @@ -732,7 +732,7 @@ public SiteConfig withUse32BitWorkerProcess(Boolean use32BitWorkerProcess) { } /** - * Get the webSocketsEnabled value. + * Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @return the webSocketsEnabled value */ @@ -741,7 +741,7 @@ public Boolean webSocketsEnabled() { } /** - * Set the webSocketsEnabled value. + * Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @param webSocketsEnabled the webSocketsEnabled value to set * @return the SiteConfig object itself. @@ -752,7 +752,7 @@ public SiteConfig withWebSocketsEnabled(Boolean webSocketsEnabled) { } /** - * Get the alwaysOn value. + * Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @return the alwaysOn value */ @@ -761,7 +761,7 @@ public Boolean alwaysOn() { } /** - * Set the alwaysOn value. + * Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @param alwaysOn the alwaysOn value to set * @return the SiteConfig object itself. @@ -772,7 +772,7 @@ public SiteConfig withAlwaysOn(Boolean alwaysOn) { } /** - * Get the javaVersion value. + * Get java version. * * @return the javaVersion value */ @@ -781,7 +781,7 @@ public String javaVersion() { } /** - * Set the javaVersion value. + * Set java version. * * @param javaVersion the javaVersion value to set * @return the SiteConfig object itself. @@ -792,7 +792,7 @@ public SiteConfig withJavaVersion(String javaVersion) { } /** - * Get the javaContainer value. + * Get java container. * * @return the javaContainer value */ @@ -801,7 +801,7 @@ public String javaContainer() { } /** - * Set the javaContainer value. + * Set java container. * * @param javaContainer the javaContainer value to set * @return the SiteConfig object itself. @@ -812,7 +812,7 @@ public SiteConfig withJavaContainer(String javaContainer) { } /** - * Get the javaContainerVersion value. + * Get java container version. * * @return the javaContainerVersion value */ @@ -821,7 +821,7 @@ public String javaContainerVersion() { } /** - * Set the javaContainerVersion value. + * Set java container version. * * @param javaContainerVersion the javaContainerVersion value to set * @return the SiteConfig object itself. @@ -832,7 +832,7 @@ public SiteConfig withJavaContainerVersion(String javaContainerVersion) { } /** - * Get the appCommandLine value. + * Get app command line to launch. * * @return the appCommandLine value */ @@ -841,7 +841,7 @@ public String appCommandLine() { } /** - * Set the appCommandLine value. + * Set app command line to launch. * * @param appCommandLine the appCommandLine value to set * @return the SiteConfig object itself. @@ -852,7 +852,7 @@ public SiteConfig withAppCommandLine(String appCommandLine) { } /** - * Get the managedPipelineMode value. + * Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @return the managedPipelineMode value */ @@ -861,7 +861,7 @@ public ManagedPipelineMode managedPipelineMode() { } /** - * Set the managedPipelineMode value. + * Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @param managedPipelineMode the managedPipelineMode value to set * @return the SiteConfig object itself. @@ -872,7 +872,7 @@ public SiteConfig withManagedPipelineMode(ManagedPipelineMode managedPipelineMod } /** - * Get the virtualApplications value. + * Get virtual applications. * * @return the virtualApplications value */ @@ -881,7 +881,7 @@ public List virtualApplications() { } /** - * Set the virtualApplications value. + * Set virtual applications. * * @param virtualApplications the virtualApplications value to set * @return the SiteConfig object itself. @@ -892,7 +892,7 @@ public SiteConfig withVirtualApplications(List virtualApplic } /** - * Get the loadBalancing value. + * Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @return the loadBalancing value */ @@ -901,7 +901,7 @@ public SiteLoadBalancing loadBalancing() { } /** - * Set the loadBalancing value. + * Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @param loadBalancing the loadBalancing value to set * @return the SiteConfig object itself. @@ -912,7 +912,7 @@ public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { } /** - * Get the experiments value. + * Get this is work around for polymophic types. * * @return the experiments value */ @@ -921,7 +921,7 @@ public Experiments experiments() { } /** - * Set the experiments value. + * Set this is work around for polymophic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. @@ -932,7 +932,7 @@ public SiteConfig withExperiments(Experiments experiments) { } /** - * Get the limits value. + * Get site limits. * * @return the limits value */ @@ -941,7 +941,7 @@ public SiteLimits limits() { } /** - * Set the limits value. + * Set site limits. * * @param limits the limits value to set * @return the SiteConfig object itself. @@ -952,7 +952,7 @@ public SiteConfig withLimits(SiteLimits limits) { } /** - * Get the autoHealEnabled value. + * Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @return the autoHealEnabled value */ @@ -961,7 +961,7 @@ public Boolean autoHealEnabled() { } /** - * Set the autoHealEnabled value. + * Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @param autoHealEnabled the autoHealEnabled value to set * @return the SiteConfig object itself. @@ -972,7 +972,7 @@ public SiteConfig withAutoHealEnabled(Boolean autoHealEnabled) { } /** - * Get the autoHealRules value. + * Get auto Heal rules. * * @return the autoHealRules value */ @@ -981,7 +981,7 @@ public AutoHealRules autoHealRules() { } /** - * Set the autoHealRules value. + * Set auto Heal rules. * * @param autoHealRules the autoHealRules value to set * @return the SiteConfig object itself. @@ -992,7 +992,7 @@ public SiteConfig withAutoHealRules(AutoHealRules autoHealRules) { } /** - * Get the tracingOptions value. + * Get tracing options. * * @return the tracingOptions value */ @@ -1001,7 +1001,7 @@ public String tracingOptions() { } /** - * Set the tracingOptions value. + * Set tracing options. * * @param tracingOptions the tracingOptions value to set * @return the SiteConfig object itself. @@ -1012,7 +1012,7 @@ public SiteConfig withTracingOptions(String tracingOptions) { } /** - * Get the vnetName value. + * Get virtual Network name. * * @return the vnetName value */ @@ -1021,7 +1021,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set virtual Network name. * * @param vnetName the vnetName value to set * @return the SiteConfig object itself. @@ -1032,7 +1032,7 @@ public SiteConfig withVnetName(String vnetName) { } /** - * Get the cors value. + * Get cross-Origin Resource Sharing (CORS) settings. * * @return the cors value */ @@ -1041,7 +1041,7 @@ public CorsSettings cors() { } /** - * Set the cors value. + * Set cross-Origin Resource Sharing (CORS) settings. * * @param cors the cors value to set * @return the SiteConfig object itself. @@ -1052,7 +1052,7 @@ public SiteConfig withCors(CorsSettings cors) { } /** - * Get the push value. + * Get push endpoint settings. * * @return the push value */ @@ -1061,7 +1061,7 @@ public PushSettingsInner push() { } /** - * Set the push value. + * Set push endpoint settings. * * @param push the push value to set * @return the SiteConfig object itself. @@ -1072,7 +1072,7 @@ public SiteConfig withPush(PushSettingsInner push) { } /** - * Get the apiDefinition value. + * Get information about the formal API definition for the app. * * @return the apiDefinition value */ @@ -1081,7 +1081,7 @@ public ApiDefinitionInfo apiDefinition() { } /** - * Set the apiDefinition value. + * Set information about the formal API definition for the app. * * @param apiDefinition the apiDefinition value to set * @return the SiteConfig object itself. @@ -1092,7 +1092,7 @@ public SiteConfig withApiDefinition(ApiDefinitionInfo apiDefinition) { } /** - * Get the autoSwapSlotName value. + * Get auto-swap slot name. * * @return the autoSwapSlotName value */ @@ -1101,7 +1101,7 @@ public String autoSwapSlotName() { } /** - * Set the autoSwapSlotName value. + * Set auto-swap slot name. * * @param autoSwapSlotName the autoSwapSlotName value to set * @return the SiteConfig object itself. @@ -1112,7 +1112,7 @@ public SiteConfig withAutoSwapSlotName(String autoSwapSlotName) { } /** - * Get the localMySqlEnabled value. + * Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @return the localMySqlEnabled value */ @@ -1121,7 +1121,7 @@ public Boolean localMySqlEnabled() { } /** - * Set the localMySqlEnabled value. + * Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @param localMySqlEnabled the localMySqlEnabled value to set * @return the SiteConfig object itself. @@ -1132,7 +1132,7 @@ public SiteConfig withLocalMySqlEnabled(Boolean localMySqlEnabled) { } /** - * Get the ipSecurityRestrictions value. + * Get iP security restrictions. * * @return the ipSecurityRestrictions value */ @@ -1141,7 +1141,7 @@ public List ipSecurityRestrictions() { } /** - * Set the ipSecurityRestrictions value. + * Set iP security restrictions. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfig object itself. @@ -1152,7 +1152,7 @@ public SiteConfig withIpSecurityRestrictions(List ipSecur } /** - * Get the http20Enabled value. + * Get http20Enabled: configures a web site to allow clients to connect over http2.0. * * @return the http20Enabled value */ @@ -1161,7 +1161,7 @@ public Boolean http20Enabled() { } /** - * Set the http20Enabled value. + * Set http20Enabled: configures a web site to allow clients to connect over http2.0. * * @param http20Enabled the http20Enabled value to set * @return the SiteConfig object itself. @@ -1172,7 +1172,7 @@ public SiteConfig withHttp20Enabled(Boolean http20Enabled) { } /** - * Get the minTlsVersion value. + * Get minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @return the minTlsVersion value */ @@ -1181,7 +1181,7 @@ public SupportedTlsVersions minTlsVersion() { } /** - * Set the minTlsVersion value. + * Set minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @param minTlsVersion the minTlsVersion value to set * @return the SiteConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfigResource.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfigResource.java index b2e629cfa0100..54b0ef821de54 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfigResource.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.SiteConfigResourceInner; import java.util.List; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.PushSettingsInner; @@ -19,7 +19,7 @@ /** * Type representing SiteConfigResource. */ -public interface SiteConfigResource extends HasInner, HasManager { +public interface SiteConfigResource extends HasInner, HasManager { /** * @return the alwaysOn value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfigurationSnapshotInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfigurationSnapshotInfo.java index 1d3ad3e7eb194..3210d518b5717 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfigurationSnapshotInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteExtensionInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteExtensionInfo.java index 65e2e32795118..f256482367ddc 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteExtensionInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteInstance.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteInstance.java index fa429d116537b..89d845a6b8e66 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteInstance.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteInstance.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.SiteInstanceInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * Type representing SiteInstance. */ -public interface SiteInstance extends HasInner, HasManager { +public interface SiteInstance extends HasInner, HasManager { /** * @return the id value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteLimits.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteLimits.java index 1bceadc8542f0..49d9192b89213 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteLimits.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteLimits.java @@ -33,7 +33,7 @@ public class SiteLimits { private Long maxDiskSizeInMb; /** - * Get the maxPercentageCpu value. + * Get maximum allowed CPU usage percentage. * * @return the maxPercentageCpu value */ @@ -42,7 +42,7 @@ public Double maxPercentageCpu() { } /** - * Set the maxPercentageCpu value. + * Set maximum allowed CPU usage percentage. * * @param maxPercentageCpu the maxPercentageCpu value to set * @return the SiteLimits object itself. @@ -53,7 +53,7 @@ public SiteLimits withMaxPercentageCpu(Double maxPercentageCpu) { } /** - * Get the maxMemoryInMb value. + * Get maximum allowed memory usage in MB. * * @return the maxMemoryInMb value */ @@ -62,7 +62,7 @@ public Long maxMemoryInMb() { } /** - * Set the maxMemoryInMb value. + * Set maximum allowed memory usage in MB. * * @param maxMemoryInMb the maxMemoryInMb value to set * @return the SiteLimits object itself. @@ -73,7 +73,7 @@ public SiteLimits withMaxMemoryInMb(Long maxMemoryInMb) { } /** - * Get the maxDiskSizeInMb value. + * Get maximum allowed disk size usage in MB. * * @return the maxDiskSizeInMb value */ @@ -82,7 +82,7 @@ public Long maxDiskSizeInMb() { } /** - * Set the maxDiskSizeInMb value. + * Set maximum allowed disk size usage in MB. * * @param maxDiskSizeInMb the maxDiskSizeInMb value to set * @return the SiteLimits object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteLogsConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteLogsConfig.java index e24e7cc07f072..5193377de47a0 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteLogsConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteMachineKey.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteMachineKey.java index 2ed7724049e86..8682ff4a570e3 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteMachineKey.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteMachineKey.java @@ -39,7 +39,7 @@ public class SiteMachineKey { private String decryptionKey; /** - * Get the validation value. + * Get machineKey validation. * * @return the validation value */ @@ -48,7 +48,7 @@ public String validation() { } /** - * Set the validation value. + * Set machineKey validation. * * @param validation the validation value to set * @return the SiteMachineKey object itself. @@ -59,7 +59,7 @@ public SiteMachineKey withValidation(String validation) { } /** - * Get the validationKey value. + * Get validation key. * * @return the validationKey value */ @@ -68,7 +68,7 @@ public String validationKey() { } /** - * Set the validationKey value. + * Set validation key. * * @param validationKey the validationKey value to set * @return the SiteMachineKey object itself. @@ -79,7 +79,7 @@ public SiteMachineKey withValidationKey(String validationKey) { } /** - * Get the decryption value. + * Get algorithm used for decryption. * * @return the decryption value */ @@ -88,7 +88,7 @@ public String decryption() { } /** - * Set the decryption value. + * Set algorithm used for decryption. * * @param decryption the decryption value to set * @return the SiteMachineKey object itself. @@ -99,7 +99,7 @@ public SiteMachineKey withDecryption(String decryption) { } /** - * Get the decryptionKey value. + * Get decryption key. * * @return the decryptionKey value */ @@ -108,7 +108,7 @@ public String decryptionKey() { } /** - * Set the decryptionKey value. + * Set decryption key. * * @param decryptionKey the decryptionKey value to set * @return the SiteMachineKey object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SitePatchResource.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SitePatchResource.java index 3ee2418bf6873..6939dc971d139 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SitePatchResource.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SitePatchResource.java @@ -240,7 +240,7 @@ public class SitePatchResource extends ProxyOnlyResource { private Boolean httpsOnly; /** - * Get the state value. + * Get current state of the app. * * @return the state value */ @@ -249,7 +249,7 @@ public String state() { } /** - * Get the hostNames value. + * Get hostnames associated with the app. * * @return the hostNames value */ @@ -258,7 +258,7 @@ public List hostNames() { } /** - * Get the repositorySiteName value. + * Get name of the repository site. * * @return the repositorySiteName value */ @@ -267,7 +267,7 @@ public String repositorySiteName() { } /** - * Get the usageState value. + * Get state indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'. * * @return the usageState value */ @@ -276,7 +276,7 @@ public UsageState usageState() { } /** - * Get the enabled value. + * Get <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @return the enabled value */ @@ -285,7 +285,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @param enabled the enabled value to set * @return the SitePatchResource object itself. @@ -296,7 +296,8 @@ public SitePatchResource withEnabled(Boolean enabled) { } /** - * Get the enabledHostNames value. + * Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, + the app is not served on those hostnames. * * @return the enabledHostNames value */ @@ -305,7 +306,7 @@ public List enabledHostNames() { } /** - * Get the availabilityState value. + * Get management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'. * * @return the availabilityState value */ @@ -314,7 +315,7 @@ public SiteAvailabilityState availabilityState() { } /** - * Get the hostNameSslStates value. + * Get hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @return the hostNameSslStates value */ @@ -323,7 +324,7 @@ public List hostNameSslStates() { } /** - * Set the hostNameSslStates value. + * Set hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @param hostNameSslStates the hostNameSslStates value to set * @return the SitePatchResource object itself. @@ -334,7 +335,7 @@ public SitePatchResource withHostNameSslStates(List hostNameSs } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -343,7 +344,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the SitePatchResource object itself. @@ -354,7 +355,7 @@ public SitePatchResource withServerFarmId(String serverFarmId) { } /** - * Get the reserved value. + * Get <code>true</code> if reserved; otherwise, <code>false</code>. * * @return the reserved value */ @@ -363,7 +364,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set <code>true</code> if reserved; otherwise, <code>false</code>. * * @param reserved the reserved value to set * @return the SitePatchResource object itself. @@ -374,7 +375,7 @@ public SitePatchResource withReserved(Boolean reserved) { } /** - * Get the lastModifiedTimeUtc value. + * Get last time the app was modified, in UTC. Read-only. * * @return the lastModifiedTimeUtc value */ @@ -383,7 +384,7 @@ public DateTime lastModifiedTimeUtc() { } /** - * Get the siteConfig value. + * Get configuration of the app. * * @return the siteConfig value */ @@ -392,7 +393,7 @@ public SiteConfig siteConfig() { } /** - * Set the siteConfig value. + * Set configuration of the app. * * @param siteConfig the siteConfig value to set * @return the SitePatchResource object itself. @@ -403,7 +404,7 @@ public SitePatchResource withSiteConfig(SiteConfig siteConfig) { } /** - * Get the trafficManagerHostNames value. + * Get azure Traffic Manager hostnames associated with the app. Read-only. * * @return the trafficManagerHostNames value */ @@ -412,7 +413,7 @@ public List trafficManagerHostNames() { } /** - * Get the scmSiteAlsoStopped value. + * Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @return the scmSiteAlsoStopped value */ @@ -421,7 +422,7 @@ public Boolean scmSiteAlsoStopped() { } /** - * Set the scmSiteAlsoStopped value. + * Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @param scmSiteAlsoStopped the scmSiteAlsoStopped value to set * @return the SitePatchResource object itself. @@ -432,7 +433,7 @@ public SitePatchResource withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped) { } /** - * Get the targetSwapSlot value. + * Get specifies which deployment slot this app will swap into. Read-only. * * @return the targetSwapSlot value */ @@ -441,7 +442,7 @@ public String targetSwapSlot() { } /** - * Get the hostingEnvironmentProfile value. + * Get app Service Environment to use for the app. * * @return the hostingEnvironmentProfile value */ @@ -450,7 +451,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set app Service Environment to use for the app. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the SitePatchResource object itself. @@ -461,7 +462,7 @@ public SitePatchResource withHostingEnvironmentProfile(HostingEnvironmentProfile } /** - * Get the clientAffinityEnabled value. + * Get <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @return the clientAffinityEnabled value */ @@ -470,7 +471,7 @@ public Boolean clientAffinityEnabled() { } /** - * Set the clientAffinityEnabled value. + * Set <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @param clientAffinityEnabled the clientAffinityEnabled value to set * @return the SitePatchResource object itself. @@ -481,7 +482,7 @@ public SitePatchResource withClientAffinityEnabled(Boolean clientAffinityEnabled } /** - * Get the clientCertEnabled value. + * Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @return the clientCertEnabled value */ @@ -490,7 +491,7 @@ public Boolean clientCertEnabled() { } /** - * Set the clientCertEnabled value. + * Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @param clientCertEnabled the clientCertEnabled value to set * @return the SitePatchResource object itself. @@ -501,7 +502,8 @@ public SitePatchResource withClientCertEnabled(Boolean clientCertEnabled) { } /** - * Get the hostNamesDisabled value. + * Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @return the hostNamesDisabled value */ @@ -510,7 +512,8 @@ public Boolean hostNamesDisabled() { } /** - * Set the hostNamesDisabled value. + * Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @param hostNamesDisabled the hostNamesDisabled value to set * @return the SitePatchResource object itself. @@ -521,7 +524,7 @@ public SitePatchResource withHostNamesDisabled(Boolean hostNamesDisabled) { } /** - * Get the outboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. * * @return the outboundIpAddresses value */ @@ -530,7 +533,7 @@ public String outboundIpAddresses() { } /** - * Get the possibleOutboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. * * @return the possibleOutboundIpAddresses value */ @@ -539,7 +542,7 @@ public String possibleOutboundIpAddresses() { } /** - * Get the containerSize value. + * Get size of the function container. * * @return the containerSize value */ @@ -548,7 +551,7 @@ public Integer containerSize() { } /** - * Set the containerSize value. + * Set size of the function container. * * @param containerSize the containerSize value to set * @return the SitePatchResource object itself. @@ -559,7 +562,7 @@ public SitePatchResource withContainerSize(Integer containerSize) { } /** - * Get the dailyMemoryTimeQuota value. + * Get maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @return the dailyMemoryTimeQuota value */ @@ -568,7 +571,7 @@ public Integer dailyMemoryTimeQuota() { } /** - * Set the dailyMemoryTimeQuota value. + * Set maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @param dailyMemoryTimeQuota the dailyMemoryTimeQuota value to set * @return the SitePatchResource object itself. @@ -579,7 +582,7 @@ public SitePatchResource withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota) } /** - * Get the suspendedTill value. + * Get app suspended till in case memory-time quota is exceeded. * * @return the suspendedTill value */ @@ -588,7 +591,8 @@ public DateTime suspendedTill() { } /** - * Get the maxNumberOfWorkers value. + * Get maximum number of workers. + This only applies to Functions container. * * @return the maxNumberOfWorkers value */ @@ -597,7 +601,7 @@ public Integer maxNumberOfWorkers() { } /** - * Get the cloningInfo value. + * Get if specified during app creation, the app is cloned from a source app. * * @return the cloningInfo value */ @@ -606,7 +610,7 @@ public CloningInfo cloningInfo() { } /** - * Set the cloningInfo value. + * Set if specified during app creation, the app is cloned from a source app. * * @param cloningInfo the cloningInfo value to set * @return the SitePatchResource object itself. @@ -617,7 +621,7 @@ public SitePatchResource withCloningInfo(CloningInfo cloningInfo) { } /** - * Get the snapshotInfo value. + * Get if specified during app creation, the app is created from a previous snapshot. * * @return the snapshotInfo value */ @@ -626,7 +630,7 @@ public SnapshotRecoveryRequest snapshotInfo() { } /** - * Set the snapshotInfo value. + * Set if specified during app creation, the app is created from a previous snapshot. * * @param snapshotInfo the snapshotInfo value to set * @return the SitePatchResource object itself. @@ -637,7 +641,7 @@ public SitePatchResource withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) } /** - * Get the resourceGroup value. + * Get name of the resource group the app belongs to. Read-only. * * @return the resourceGroup value */ @@ -646,7 +650,7 @@ public String resourceGroup() { } /** - * Get the isDefaultContainer value. + * Get <code>true</code> if the app is a default container; otherwise, <code>false</code>. * * @return the isDefaultContainer value */ @@ -655,7 +659,7 @@ public Boolean isDefaultContainer() { } /** - * Get the defaultHostName value. + * Get default hostname of the app. Read-only. * * @return the defaultHostName value */ @@ -664,7 +668,7 @@ public String defaultHostName() { } /** - * Get the slotSwapStatus value. + * Get status of the last deployment slot swap operation. * * @return the slotSwapStatus value */ @@ -673,7 +677,8 @@ public SlotSwapStatus slotSwapStatus() { } /** - * Get the httpsOnly value. + * Get httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @return the httpsOnly value */ @@ -682,7 +687,8 @@ public Boolean httpsOnly() { } /** - * Set the httpsOnly value. + * Set httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @param httpsOnly the httpsOnly value to set * @return the SitePatchResource object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SitePhpErrorLogFlag.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SitePhpErrorLogFlag.java index 41838f90aca20..db81277727381 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SitePhpErrorLogFlag.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteSourceControl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteSourceControl.java index 9b72903f2a5c3..99e129576204a 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteSourceControl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Sites.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Sites.java index a0a5f2a565d63..3f4071e5f114b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Sites.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Sites.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import java.util.List; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.SiteInner; @@ -25,7 +25,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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SkuCapacity.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SkuCapacity.java index f128d9267fd1b..c2d53db0a9de8 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SkuCapacity.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SkuCapacity.java @@ -39,7 +39,7 @@ public class SkuCapacity { private String scaleType; /** - * Get the minimum value. + * Get minimum number of workers for this App Service plan SKU. * * @return the minimum value */ @@ -48,7 +48,7 @@ public Integer minimum() { } /** - * Set the minimum value. + * Set minimum number of workers for this App Service plan SKU. * * @param minimum the minimum value to set * @return the SkuCapacity object itself. @@ -59,7 +59,7 @@ public SkuCapacity withMinimum(Integer minimum) { } /** - * Get the maximum value. + * Get maximum number of workers for this App Service plan SKU. * * @return the maximum value */ @@ -68,7 +68,7 @@ public Integer maximum() { } /** - * Set the maximum value. + * Set maximum number of workers for this App Service plan SKU. * * @param maximum the maximum value to set * @return the SkuCapacity object itself. @@ -79,7 +79,7 @@ public SkuCapacity withMaximum(Integer maximum) { } /** - * Get the defaultProperty value. + * Get default number of workers for this App Service plan SKU. * * @return the defaultProperty value */ @@ -88,7 +88,7 @@ public Integer defaultProperty() { } /** - * Set the defaultProperty value. + * Set default number of workers for this App Service plan SKU. * * @param defaultProperty the defaultProperty value to set * @return the SkuCapacity object itself. @@ -99,7 +99,7 @@ public SkuCapacity withDefaultProperty(Integer defaultProperty) { } /** - * Get the scaleType value. + * Get available scale configurations for an App Service plan. * * @return the scaleType value */ @@ -108,7 +108,7 @@ public String scaleType() { } /** - * Set the scaleType value. + * Set available scale configurations for an App Service plan. * * @param scaleType the scaleType value to set * @return the SkuCapacity object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SkuDescription.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SkuDescription.java index 5ec88498e9257..6e555138622e6 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SkuDescription.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SkuDescription.java @@ -64,7 +64,7 @@ public class SkuDescription { private List capabilities; /** - * Get the name value. + * Get name of the resource SKU. * * @return the name value */ @@ -73,7 +73,7 @@ public String name() { } /** - * Set the name value. + * Set name of the resource SKU. * * @param name the name value to set * @return the SkuDescription object itself. @@ -84,7 +84,7 @@ public SkuDescription withName(String name) { } /** - * Get the tier value. + * Get service tier of the resource SKU. * * @return the tier value */ @@ -93,7 +93,7 @@ public String tier() { } /** - * Set the tier value. + * Set service tier of the resource SKU. * * @param tier the tier value to set * @return the SkuDescription object itself. @@ -104,7 +104,7 @@ public SkuDescription withTier(String tier) { } /** - * Get the size value. + * Get size specifier of the resource SKU. * * @return the size value */ @@ -113,7 +113,7 @@ public String size() { } /** - * Set the size value. + * Set size specifier of the resource SKU. * * @param size the size value to set * @return the SkuDescription object itself. @@ -124,7 +124,7 @@ public SkuDescription withSize(String size) { } /** - * Get the family value. + * Get family code of the resource SKU. * * @return the family value */ @@ -133,7 +133,7 @@ public String family() { } /** - * Set the family value. + * Set family code of the resource SKU. * * @param family the family value to set * @return the SkuDescription object itself. @@ -144,7 +144,7 @@ public SkuDescription withFamily(String family) { } /** - * Get the capacity value. + * Get current number of instances assigned to the resource. * * @return the capacity value */ @@ -153,7 +153,7 @@ public Integer capacity() { } /** - * Set the capacity value. + * Set current number of instances assigned to the resource. * * @param capacity the capacity value to set * @return the SkuDescription object itself. @@ -164,7 +164,7 @@ public SkuDescription withCapacity(Integer capacity) { } /** - * Get the skuCapacity value. + * Get min, max, and default scale values of the SKU. * * @return the skuCapacity value */ @@ -173,7 +173,7 @@ public SkuCapacity skuCapacity() { } /** - * Set the skuCapacity value. + * Set min, max, and default scale values of the SKU. * * @param skuCapacity the skuCapacity value to set * @return the SkuDescription object itself. @@ -184,7 +184,7 @@ public SkuDescription withSkuCapacity(SkuCapacity skuCapacity) { } /** - * Get the locations value. + * Get locations of the SKU. * * @return the locations value */ @@ -193,7 +193,7 @@ public List locations() { } /** - * Set the locations value. + * Set locations of the SKU. * * @param locations the locations value to set * @return the SkuDescription object itself. @@ -204,7 +204,7 @@ public SkuDescription withLocations(List locations) { } /** - * Get the capabilities value. + * Get capabilities of the SKU, e.g., is traffic manager enabled?. * * @return the capabilities value */ @@ -213,7 +213,7 @@ public List capabilities() { } /** - * Set the capabilities value. + * Set capabilities of the SKU, e.g., is traffic manager enabled?. * * @param capabilities the capabilities value to set * @return the SkuDescription object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotConfigNamesResource.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotConfigNamesResource.java index a967192061c27..dc14ed98a716b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotConfigNamesResource.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotDifference.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotDifference.java index df3438aa4bbb6..b8b870b765a2f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotDifference.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotSwapStatus.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotSwapStatus.java index e59521fbe8bea..400327be42fb7 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotSwapStatus.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotSwapStatus.java @@ -34,7 +34,7 @@ public class SlotSwapStatus { private String destinationSlotName; /** - * Get the timestampUtc value. + * Get the time the last successful slot swap completed. * * @return the timestampUtc value */ @@ -43,7 +43,7 @@ public DateTime timestampUtc() { } /** - * Get the sourceSlotName value. + * Get the source slot of the last swap operation. * * @return the sourceSlotName value */ @@ -52,7 +52,7 @@ public String sourceSlotName() { } /** - * Get the destinationSlotName value. + * Get the destination slot of the last swap operation. * * @return the destinationSlotName value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Slots.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Slots.java index 0052510e20f43..745f491b6c81d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Slots.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import java.util.List; import org.joda.time.DateTime; import java.util.Map; @@ -24,7 +24,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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlowRequestsBasedTrigger.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlowRequestsBasedTrigger.java index 0db48ebc33c7b..d05751d428ba9 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlowRequestsBasedTrigger.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlowRequestsBasedTrigger.java @@ -33,7 +33,7 @@ public class SlowRequestsBasedTrigger { private String timeInterval; /** - * Get the timeTaken value. + * Get time taken. * * @return the timeTaken value */ @@ -42,7 +42,7 @@ public String timeTaken() { } /** - * Set the timeTaken value. + * Set time taken. * * @param timeTaken the timeTaken value to set * @return the SlowRequestsBasedTrigger object itself. @@ -53,7 +53,7 @@ public SlowRequestsBasedTrigger withTimeTaken(String timeTaken) { } /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -62,7 +62,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the SlowRequestsBasedTrigger object itself. @@ -73,7 +73,7 @@ public SlowRequestsBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -82,7 +82,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the SlowRequestsBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Snapshot.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Snapshot.java index 3e1c9de04259a..8bb983668095f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Snapshot.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/Snapshot.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_08_01.implementation.SnapshotInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * Type representing Snapshot. */ -public interface Snapshot extends HasInner, HasManager { +public interface Snapshot extends HasInner, HasManager { /** * @return the id value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SnapshotRecoveryRequest.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SnapshotRecoveryRequest.java index 95d52b989418d..07e05902f2b27 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SnapshotRecoveryRequest.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SnapshotRecoveryRequest.java @@ -51,7 +51,7 @@ public class SnapshotRecoveryRequest extends ProxyOnlyResource { private Boolean ignoreConflictingHostNames; /** - * Get the snapshotTime value. + * Get point in time in which the app recovery should be attempted, formatted as a DateTime string. * * @return the snapshotTime value */ @@ -60,7 +60,7 @@ public String snapshotTime() { } /** - * Set the snapshotTime value. + * Set point in time in which the app recovery should be attempted, formatted as a DateTime string. * * @param snapshotTime the snapshotTime value to set * @return the SnapshotRecoveryRequest object itself. @@ -71,7 +71,7 @@ public SnapshotRecoveryRequest withSnapshotTime(String snapshotTime) { } /** - * Get the recoveryTarget value. + * Get specifies the web app that snapshot contents will be written to. * * @return the recoveryTarget value */ @@ -80,7 +80,7 @@ public SnapshotRecoveryTarget recoveryTarget() { } /** - * Set the recoveryTarget value. + * Set specifies the web app that snapshot contents will be written to. * * @param recoveryTarget the recoveryTarget value to set * @return the SnapshotRecoveryRequest object itself. @@ -91,7 +91,7 @@ public SnapshotRecoveryRequest withRecoveryTarget(SnapshotRecoveryTarget recover } /** - * Get the overwrite value. + * Get if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -100,7 +100,7 @@ public boolean overwrite() { } /** - * Set the overwrite value. + * Set if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the SnapshotRecoveryRequest object itself. @@ -111,7 +111,7 @@ public SnapshotRecoveryRequest withOverwrite(boolean overwrite) { } /** - * Get the recoverConfiguration value. + * Get if true, site configuration, in addition to content, will be reverted. * * @return the recoverConfiguration value */ @@ -120,7 +120,7 @@ public Boolean recoverConfiguration() { } /** - * Set the recoverConfiguration value. + * Set if true, site configuration, in addition to content, will be reverted. * * @param recoverConfiguration the recoverConfiguration value to set * @return the SnapshotRecoveryRequest object itself. @@ -131,7 +131,8 @@ public SnapshotRecoveryRequest withRecoverConfiguration(Boolean recoverConfigura } /** - * Get the ignoreConflictingHostNames value. + * Get if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @return the ignoreConflictingHostNames value */ @@ -140,7 +141,8 @@ public Boolean ignoreConflictingHostNames() { } /** - * Set the ignoreConflictingHostNames value. + * Set if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @param ignoreConflictingHostNames the ignoreConflictingHostNames value to set * @return the SnapshotRecoveryRequest object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SnapshotRecoveryTarget.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SnapshotRecoveryTarget.java index d237b8f19702e..066d991f3b3d4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SnapshotRecoveryTarget.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SnapshotRecoveryTarget.java @@ -32,7 +32,7 @@ public class SnapshotRecoveryTarget { private String id; /** - * Get the location value. + * Get geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS. * * @return the location value */ @@ -41,7 +41,7 @@ public String location() { } /** - * Set the location value. + * Set geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS. * * @param location the location value to set * @return the SnapshotRecoveryTarget object itself. @@ -52,7 +52,9 @@ public SnapshotRecoveryTarget withLocation(String location) { } /** - * Get the id value. + * Get aRM resource ID of the target app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the id value */ @@ -61,7 +63,9 @@ public String id() { } /** - * Set the id value. + * Set aRM resource ID of the target app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param id the id value to set * @return the SnapshotRecoveryTarget object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StatusCodesBasedTrigger.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StatusCodesBasedTrigger.java index c6ade681febd7..f1541d84db368 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StatusCodesBasedTrigger.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StatusCodesBasedTrigger.java @@ -45,7 +45,7 @@ public class StatusCodesBasedTrigger { private String timeInterval; /** - * Get the status value. + * Get hTTP status code. * * @return the status value */ @@ -54,7 +54,7 @@ public Integer status() { } /** - * Set the status value. + * Set hTTP status code. * * @param status the status value to set * @return the StatusCodesBasedTrigger object itself. @@ -65,7 +65,7 @@ public StatusCodesBasedTrigger withStatus(Integer status) { } /** - * Get the subStatus value. + * Get request Sub Status. * * @return the subStatus value */ @@ -74,7 +74,7 @@ public Integer subStatus() { } /** - * Set the subStatus value. + * Set request Sub Status. * * @param subStatus the subStatus value to set * @return the StatusCodesBasedTrigger object itself. @@ -85,7 +85,7 @@ public StatusCodesBasedTrigger withSubStatus(Integer subStatus) { } /** - * Get the win32Status value. + * Get win32 error code. * * @return the win32Status value */ @@ -94,7 +94,7 @@ public Integer win32Status() { } /** - * Set the win32Status value. + * Set win32 error code. * * @param win32Status the win32Status value to set * @return the StatusCodesBasedTrigger object itself. @@ -105,7 +105,7 @@ public StatusCodesBasedTrigger withWin32Status(Integer win32Status) { } /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -114,7 +114,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the StatusCodesBasedTrigger object itself. @@ -125,7 +125,7 @@ public StatusCodesBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -134,7 +134,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the StatusCodesBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StorageMigrationOptions.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StorageMigrationOptions.java index b3d0397e036ed..ef65e709d745c 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StorageMigrationOptions.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StorageMigrationOptions.java @@ -43,7 +43,7 @@ public class StorageMigrationOptions extends ProxyOnlyResource { private Boolean blockWriteAccessToSite; /** - * Get the azurefilesConnectionString value. + * Get azureFiles connection string. * * @return the azurefilesConnectionString value */ @@ -52,7 +52,7 @@ public String azurefilesConnectionString() { } /** - * Set the azurefilesConnectionString value. + * Set azureFiles connection string. * * @param azurefilesConnectionString the azurefilesConnectionString value to set * @return the StorageMigrationOptions object itself. @@ -63,7 +63,7 @@ public StorageMigrationOptions withAzurefilesConnectionString(String azurefilesC } /** - * Get the azurefilesShare value. + * Get azureFiles share. * * @return the azurefilesShare value */ @@ -72,7 +72,7 @@ public String azurefilesShare() { } /** - * Set the azurefilesShare value. + * Set azureFiles share. * * @param azurefilesShare the azurefilesShare value to set * @return the StorageMigrationOptions object itself. @@ -83,7 +83,7 @@ public StorageMigrationOptions withAzurefilesShare(String azurefilesShare) { } /** - * Get the switchSiteAfterMigration value. + * Get <code>true</code>if the app should be switched over; otherwise, <code>false</code>. * * @return the switchSiteAfterMigration value */ @@ -92,7 +92,7 @@ public Boolean switchSiteAfterMigration() { } /** - * Set the switchSiteAfterMigration value. + * Set <code>true</code>if the app should be switched over; otherwise, <code>false</code>. * * @param switchSiteAfterMigration the switchSiteAfterMigration value to set * @return the StorageMigrationOptions object itself. @@ -103,7 +103,7 @@ public StorageMigrationOptions withSwitchSiteAfterMigration(Boolean switchSiteAf } /** - * Get the blockWriteAccessToSite value. + * Get <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>. * * @return the blockWriteAccessToSite value */ @@ -112,7 +112,7 @@ public Boolean blockWriteAccessToSite() { } /** - * Set the blockWriteAccessToSite value. + * Set <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>. * * @param blockWriteAccessToSite the blockWriteAccessToSite value to set * @return the StorageMigrationOptions object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StorageMigrationResponse.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StorageMigrationResponse.java index 4844a692efb1f..657cb05145362 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StorageMigrationResponse.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StringDictionary.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StringDictionary.java index 1a54ad9b2fa9f..01b5aaed44c0f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/StringDictionary.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredJobHistory.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredJobHistory.java index 724ab37e91a5a..765600fa0bef9 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredJobHistory.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredJobRun.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredJobRun.java index 8acbb0df4bf0a..1fdd8c1246a9f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredJobRun.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredJobRun.java @@ -84,7 +84,7 @@ public class TriggeredJobRun extends ProxyOnlyResource { private String trigger; /** - * Get the triggeredJobRunId value. + * Get job ID. * * @return the triggeredJobRunId value */ @@ -93,7 +93,7 @@ public String triggeredJobRunId() { } /** - * Set the triggeredJobRunId value. + * Set job ID. * * @param triggeredJobRunId the triggeredJobRunId value to set * @return the TriggeredJobRun object itself. @@ -104,7 +104,7 @@ public TriggeredJobRun withTriggeredJobRunId(String triggeredJobRunId) { } /** - * Get the triggeredJobRunName value. + * Get job name. * * @return the triggeredJobRunName value */ @@ -113,7 +113,7 @@ public String triggeredJobRunName() { } /** - * Get the status value. + * Get job status. Possible values include: 'Success', 'Failed', 'Error'. * * @return the status value */ @@ -122,7 +122,7 @@ public TriggeredWebJobStatus status() { } /** - * Set the status value. + * Set job status. Possible values include: 'Success', 'Failed', 'Error'. * * @param status the status value to set * @return the TriggeredJobRun object itself. @@ -133,7 +133,7 @@ public TriggeredJobRun withStatus(TriggeredWebJobStatus status) { } /** - * Get the startTime value. + * Get start time. * * @return the startTime value */ @@ -142,7 +142,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time. * * @param startTime the startTime value to set * @return the TriggeredJobRun object itself. @@ -153,7 +153,7 @@ public TriggeredJobRun withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time. * * @return the endTime value */ @@ -162,7 +162,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time. * * @param endTime the endTime value to set * @return the TriggeredJobRun object itself. @@ -173,7 +173,7 @@ public TriggeredJobRun withEndTime(DateTime endTime) { } /** - * Get the duration value. + * Get job duration. * * @return the duration value */ @@ -182,7 +182,7 @@ public String duration() { } /** - * Set the duration value. + * Set job duration. * * @param duration the duration value to set * @return the TriggeredJobRun object itself. @@ -193,7 +193,7 @@ public TriggeredJobRun withDuration(String duration) { } /** - * Get the outputUrl value. + * Get output URL. * * @return the outputUrl value */ @@ -202,7 +202,7 @@ public String outputUrl() { } /** - * Set the outputUrl value. + * Set output URL. * * @param outputUrl the outputUrl value to set * @return the TriggeredJobRun object itself. @@ -213,7 +213,7 @@ public TriggeredJobRun withOutputUrl(String outputUrl) { } /** - * Get the errorUrl value. + * Get error URL. * * @return the errorUrl value */ @@ -222,7 +222,7 @@ public String errorUrl() { } /** - * Set the errorUrl value. + * Set error URL. * * @param errorUrl the errorUrl value to set * @return the TriggeredJobRun object itself. @@ -233,7 +233,7 @@ public TriggeredJobRun withErrorUrl(String errorUrl) { } /** - * Get the url value. + * Get job URL. * * @return the url value */ @@ -242,7 +242,7 @@ public String url() { } /** - * Set the url value. + * Set job URL. * * @param url the url value to set * @return the TriggeredJobRun object itself. @@ -253,7 +253,7 @@ public TriggeredJobRun withUrl(String url) { } /** - * Get the jobName value. + * Get job name. * * @return the jobName value */ @@ -262,7 +262,7 @@ public String jobName() { } /** - * Set the jobName value. + * Set job name. * * @param jobName the jobName value to set * @return the TriggeredJobRun object itself. @@ -273,7 +273,7 @@ public TriggeredJobRun withJobName(String jobName) { } /** - * Get the trigger value. + * Get job trigger. * * @return the trigger value */ @@ -282,7 +282,7 @@ public String trigger() { } /** - * Set the trigger value. + * Set job trigger. * * @param trigger the trigger value to set * @return the TriggeredJobRun object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredWebJob.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredWebJob.java index 83f615863a923..a5fa6ac9bb55e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/TriggeredWebJob.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/User.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/User.java index 693271c7d4df3..982d879f9adbd 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/User.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_08_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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VirtualApplication.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VirtualApplication.java index aaec3844692a3..78f3d06c75553 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VirtualApplication.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VirtualApplication.java @@ -41,7 +41,7 @@ public class VirtualApplication { private List virtualDirectories; /** - * Get the virtualPath value. + * Get virtual path. * * @return the virtualPath value */ @@ -50,7 +50,7 @@ public String virtualPath() { } /** - * Set the virtualPath value. + * Set virtual path. * * @param virtualPath the virtualPath value to set * @return the VirtualApplication object itself. @@ -61,7 +61,7 @@ public VirtualApplication withVirtualPath(String virtualPath) { } /** - * Get the physicalPath value. + * Get physical path. * * @return the physicalPath value */ @@ -70,7 +70,7 @@ public String physicalPath() { } /** - * Set the physicalPath value. + * Set physical path. * * @param physicalPath the physicalPath value to set * @return the VirtualApplication object itself. @@ -81,7 +81,7 @@ public VirtualApplication withPhysicalPath(String physicalPath) { } /** - * Get the preloadEnabled value. + * Get <code>true</code> if preloading is enabled; otherwise, <code>false</code>. * * @return the preloadEnabled value */ @@ -90,7 +90,7 @@ public Boolean preloadEnabled() { } /** - * Set the preloadEnabled value. + * Set <code>true</code> if preloading is enabled; otherwise, <code>false</code>. * * @param preloadEnabled the preloadEnabled value to set * @return the VirtualApplication object itself. @@ -101,7 +101,7 @@ public VirtualApplication withPreloadEnabled(Boolean preloadEnabled) { } /** - * Get the virtualDirectories value. + * Get virtual directories for virtual application. * * @return the virtualDirectories value */ @@ -110,7 +110,7 @@ public List virtualDirectories() { } /** - * Set the virtualDirectories value. + * Set virtual directories for virtual application. * * @param virtualDirectories the virtualDirectories value to set * @return the VirtualApplication object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VirtualDirectory.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VirtualDirectory.java index 5704a4a3390e6..2347cf2fde346 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VirtualDirectory.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VirtualDirectory.java @@ -27,7 +27,7 @@ public class VirtualDirectory { private String physicalPath; /** - * Get the virtualPath value. + * Get path to virtual application. * * @return the virtualPath value */ @@ -36,7 +36,7 @@ public String virtualPath() { } /** - * Set the virtualPath value. + * Set path to virtual application. * * @param virtualPath the virtualPath value to set * @return the VirtualDirectory object itself. @@ -47,7 +47,7 @@ public VirtualDirectory withVirtualPath(String virtualPath) { } /** - * Get the physicalPath value. + * Get physical path. * * @return the physicalPath value */ @@ -56,7 +56,7 @@ public String physicalPath() { } /** - * Set the physicalPath value. + * Set physical path. * * @param physicalPath the physicalPath value to set * @return the VirtualDirectory object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetGateway.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetGateway.java index cc1357a225508..750e751d222c4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetGateway.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetGateway.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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; /** * Type representing VnetGateway. */ -public interface VnetGateway extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface VnetGateway extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the id value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetInfo.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetInfo.java index f0e50b36ffd47..93fea40510d4d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetInfo.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetInfo.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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; import java.util.List; /** * Type representing VnetInfo. */ -public interface VnetInfo extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface VnetInfo extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the certBlob value. */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetRoute.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetRoute.java index c1711305da0e3..2f8d1b056fb1f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetRoute.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/VnetRoute.java @@ -53,7 +53,7 @@ public class VnetRoute extends ProxyOnlyResource { private RouteType routeType; /** - * Get the vnetRouteName value. + * Get the name of this route. This is only returned by the server and does not need to be set by the client. * * @return the vnetRouteName value */ @@ -62,7 +62,7 @@ public String vnetRouteName() { } /** - * Set the vnetRouteName value. + * Set the name of this route. This is only returned by the server and does not need to be set by the client. * * @param vnetRouteName the vnetRouteName value to set * @return the VnetRoute object itself. @@ -73,7 +73,7 @@ public VnetRoute withVnetRouteName(String vnetRouteName) { } /** - * Get the startAddress value. + * Get the starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. * * @return the startAddress value */ @@ -82,7 +82,7 @@ public String startAddress() { } /** - * Set the startAddress value. + * Set the starting address for this route. This may also include a CIDR notation, in which case the end address must not be specified. * * @param startAddress the startAddress value to set * @return the VnetRoute object itself. @@ -93,7 +93,7 @@ public VnetRoute withStartAddress(String startAddress) { } /** - * Get the endAddress value. + * Get the ending address for this route. If the start address is specified in CIDR notation, this must be omitted. * * @return the endAddress value */ @@ -102,7 +102,7 @@ public String endAddress() { } /** - * Set the endAddress value. + * Set the ending address for this route. If the start address is specified in CIDR notation, this must be omitted. * * @param endAddress the endAddress value to set * @return the VnetRoute object itself. @@ -113,7 +113,11 @@ public VnetRoute withEndAddress(String endAddress) { } /** - * Get the routeType value. + * Get the type of route this is: + DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 + INHERITED - Routes inherited from the real Virtual Network routes + STATIC - Static route set on the app only + These values will be used for syncing an app's routes with those from a Virtual Network. Possible values include: 'DEFAULT', 'INHERITED', 'STATIC'. * * @return the routeType value */ @@ -122,7 +126,11 @@ public RouteType routeType() { } /** - * Set the routeType value. + * Set the type of route this is: + DEFAULT - By default, every app has routes to the local address ranges specified by RFC1918 + INHERITED - Routes inherited from the real Virtual Network routes + STATIC - Static route set on the app only + These values will be used for syncing an app's routes with those from a Virtual Network. Possible values include: 'DEFAULT', 'INHERITED', 'STATIC'. * * @param routeType the routeType value to set * @return the VnetRoute object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebApps.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebApps.java index f42a55f6c3562..5543125601311 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebApps.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebApps.java @@ -57,28 +57,88 @@ * Type representing WebApps. */ public interface WebApps { + /** + * Begins definition for a new Site resource. + * @param name resource name. + * @return the first stage of the new Site definition. + */ Sites.DefinitionStages.Blank defineSite(String name); + /** + * Begins definition for a new Deployment resource. + * @param name resource name. + * @return the first stage of the new Deployment definition. + */ Deployment.DefinitionStages.Blank defineDeployment(String name); + /** + * Begins definition for a new DomainOwnershipIdentifier resource. + * @param name resource name. + * @return the first stage of the new DomainOwnershipIdentifier definition. + */ Identifier.DefinitionStages.Blank defineDomainOwnershipIdentifier(String name); + /** + * Begins definition for a new Function resource. + * @param name resource name. + * @return the first stage of the new Function definition. + */ FunctionEnvelope.DefinitionStages.Blank defineFunction(String name); + /** + * Begins definition for a new HostNameBinding resource. + * @param name resource name. + * @return the first stage of the new HostNameBinding definition. + */ HostNameBinding.DefinitionStages.Blank defineHostNameBinding(String name); + /** + * Begins definition for a new Relay resource. + * @param name resource name. + * @return the first stage of the new Relay definition. + */ HybridConnection.DefinitionStages.Blank defineRelay(String name); + /** + * Begins definition for a new Premieraddon resource. + * @param name resource name. + * @return the first stage of the new Premieraddon definition. + */ PremierAddOn.DefinitionStages.Blank definePremieraddon(String name); + /** + * Begins definition for a new PublicCertificate resource. + * @param name resource name. + * @return the first stage of the new PublicCertificate definition. + */ PublicCertificate.DefinitionStages.Blank definePublicCertificate(String name); + /** + * Begins definition for a new Siteextension resource. + * @param name resource name. + * @return the first stage of the new Siteextension definition. + */ SiteExtensionInfo.DefinitionStages.Blank defineSiteextension(String name); + /** + * Begins definition for a new Slot resource. + * @param name resource name. + * @return the first stage of the new Slot definition. + */ Slots.DefinitionStages.Blank defineSlot(String name); + /** + * Begins definition for a new VirtualNetworkConnection resource. + * @param name resource name. + * @return the first stage of the new VirtualNetworkConnection definition. + */ VnetInfo.DefinitionStages.Blank defineVirtualNetworkConnection(String name); + /** + * Begins definition for a new Gateway resource. + * @param name resource name. + * @return the first stage of the new Gateway definition. + */ VnetGateway.DefinitionStages.Blank defineGateway(String name); /** diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebJob.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebJob.java index 0787d0e3b6c68..ff2cb1ffb6c3f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebJob.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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.v2016_08_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_08_01.implementation.WebManager; 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/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupItemImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupItemImpl.java index fc752212eb3c9..259cce287898e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupItemImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupItemImpl.java @@ -17,12 +17,12 @@ import com.microsoft.azure.management.appservice.v2016_08_01.BackupItemStatus; class BackupItemImpl extends IndexableRefreshableWrapperImpl implements BackupItem { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String backupId; - BackupItemImpl(BackupItemInner inner, AppServiceManager manager) { + BackupItemImpl(BackupItemInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -31,7 +31,7 @@ class BackupItemImpl extends IndexableRefreshableWrapperImpl databases() { } /** - * Get the scheduled value. + * Get true if this backup has been created due to a schedule being triggered. * * @return the scheduled value */ @@ -199,7 +199,7 @@ public Boolean scheduled() { } /** - * Get the lastRestoreTimeStamp value. + * Get timestamp of a last restore operation which used this backup. * * @return the lastRestoreTimeStamp value */ @@ -208,7 +208,7 @@ public DateTime lastRestoreTimeStamp() { } /** - * Get the finishedTimeStamp value. + * Get timestamp when this backup finished. * * @return the finishedTimeStamp value */ @@ -217,7 +217,7 @@ public DateTime finishedTimeStamp() { } /** - * Get the correlationId value. + * Get unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. * * @return the correlationId value */ @@ -226,7 +226,7 @@ public String correlationId() { } /** - * Get the websiteSizeInBytes value. + * Get size of the original web app which has been backed up. * * @return the websiteSizeInBytes value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupRequestImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupRequestImpl.java index b8f36034f435e..a3de793755f4f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupRequestImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupRequestImpl.java @@ -16,14 +16,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.DatabaseBackupSetting; class BackupRequestImpl extends WrapperImpl implements BackupRequest { - private final AppServiceManager manager; - BackupRequestImpl(BackupRequestInner inner, AppServiceManager manager) { + private final WebManager manager; + BackupRequestImpl(BackupRequestInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupRequestInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupRequestInner.java index ec89fcae95113..cfa09c079b724 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupRequestInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/BackupRequestInner.java @@ -60,7 +60,7 @@ public class BackupRequestInner extends ProxyOnlyResource { private BackupRestoreOperationType backupRequestType; /** - * Get the backupRequestName value. + * Get name of the backup. * * @return the backupRequestName value */ @@ -69,7 +69,7 @@ public String backupRequestName() { } /** - * Set the backupRequestName value. + * Set name of the backup. * * @param backupRequestName the backupRequestName value to set * @return the BackupRequestInner object itself. @@ -80,7 +80,7 @@ public BackupRequestInner withBackupRequestName(String backupRequestName) { } /** - * Get the enabled value. + * Get true if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. * * @return the enabled value */ @@ -89,7 +89,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set true if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. * * @param enabled the enabled value to set * @return the BackupRequestInner object itself. @@ -100,7 +100,7 @@ public BackupRequestInner withEnabled(Boolean enabled) { } /** - * Get the storageAccountUrl value. + * Get sAS URL to the container. * * @return the storageAccountUrl value */ @@ -109,7 +109,7 @@ public String storageAccountUrl() { } /** - * Set the storageAccountUrl value. + * Set sAS URL to the container. * * @param storageAccountUrl the storageAccountUrl value to set * @return the BackupRequestInner object itself. @@ -120,7 +120,7 @@ public BackupRequestInner withStorageAccountUrl(String storageAccountUrl) { } /** - * Get the backupSchedule value. + * Get schedule for the backup if it is executed periodically. * * @return the backupSchedule value */ @@ -129,7 +129,7 @@ public BackupSchedule backupSchedule() { } /** - * Set the backupSchedule value. + * Set schedule for the backup if it is executed periodically. * * @param backupSchedule the backupSchedule value to set * @return the BackupRequestInner object itself. @@ -140,7 +140,7 @@ public BackupRequestInner withBackupSchedule(BackupSchedule backupSchedule) { } /** - * Get the databases value. + * Get databases included in the backup. * * @return the databases value */ @@ -149,7 +149,7 @@ public List databases() { } /** - * Set the databases value. + * Set databases included in the backup. * * @param databases the databases value to set * @return the BackupRequestInner object itself. @@ -160,7 +160,7 @@ public BackupRequestInner withDatabases(List databases) { } /** - * Get the backupRequestType value. + * Get type of the backup. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot'. * * @return the backupRequestType value */ @@ -169,7 +169,7 @@ public BackupRestoreOperationType backupRequestType() { } /** - * Set the backupRequestType value. + * Set type of the backup. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot'. * * @param backupRequestType the backupRequestType value to set * @return the BackupRequestInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ConnectionStringDictionaryImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ConnectionStringDictionaryImpl.java index ef2e71e82ebe3..7c0cddd04b34e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ConnectionStringDictionaryImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ConnectionStringDictionaryImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.ConnStringValueTypePair; class ConnectionStringDictionaryImpl extends WrapperImpl implements ConnectionStringDictionary { - private final AppServiceManager manager; - ConnectionStringDictionaryImpl(ConnectionStringDictionaryInner inner, AppServiceManager manager) { + private final WebManager manager; + ConnectionStringDictionaryImpl(ConnectionStringDictionaryInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ConnectionStringDictionaryInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ConnectionStringDictionaryInner.java index 18f28fc90b0ab..0ef371e7a4d1d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ConnectionStringDictionaryInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ConnectionStringDictionaryInner.java @@ -24,7 +24,7 @@ public class ConnectionStringDictionaryInner extends ProxyOnlyResource { private Map properties; /** - * Get the properties value. + * Get connection strings. * * @return the properties value */ @@ -33,7 +33,7 @@ public Map properties() { } /** - * Set the properties value. + * Set connection strings. * * @param properties the properties value to set * @return the ConnectionStringDictionaryInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ContinuousWebJobImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ContinuousWebJobImpl.java index bc7cdda6778ff..c833557e73ba1 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ContinuousWebJobImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ContinuousWebJobImpl.java @@ -16,12 +16,12 @@ import com.microsoft.azure.management.appservice.v2016_08_01.ContinuousWebJobStatus; class ContinuousWebJobImpl extends IndexableRefreshableWrapperImpl implements ContinuousWebJob { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String webJobName; - ContinuousWebJobImpl(ContinuousWebJobInner inner, AppServiceManager manager) { + ContinuousWebJobImpl(ContinuousWebJobInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -30,7 +30,7 @@ class ContinuousWebJobImpl extends IndexableRefreshableWrapperImpl settings; /** - * Get the status value. + * Get job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped'. * * @return the status value */ @@ -97,7 +97,7 @@ public ContinuousWebJobStatus status() { } /** - * Set the status value. + * Set job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped'. * * @param status the status value to set * @return the ContinuousWebJobInner object itself. @@ -108,7 +108,7 @@ public ContinuousWebJobInner withStatus(ContinuousWebJobStatus status) { } /** - * Get the detailedStatus value. + * Get detailed status. * * @return the detailedStatus value */ @@ -117,7 +117,7 @@ public String detailedStatus() { } /** - * Set the detailedStatus value. + * Set detailed status. * * @param detailedStatus the detailedStatus value to set * @return the ContinuousWebJobInner object itself. @@ -128,7 +128,7 @@ public ContinuousWebJobInner withDetailedStatus(String detailedStatus) { } /** - * Get the logUrl value. + * Get log URL. * * @return the logUrl value */ @@ -137,7 +137,7 @@ public String logUrl() { } /** - * Set the logUrl value. + * Set log URL. * * @param logUrl the logUrl value to set * @return the ContinuousWebJobInner object itself. @@ -148,7 +148,7 @@ public ContinuousWebJobInner withLogUrl(String logUrl) { } /** - * Get the continuousWebJobName value. + * Get job name. Used as job identifier in ARM resource URI. * * @return the continuousWebJobName value */ @@ -157,7 +157,7 @@ public String continuousWebJobName() { } /** - * Get the runCommand value. + * Get run command. * * @return the runCommand value */ @@ -166,7 +166,7 @@ public String runCommand() { } /** - * Set the runCommand value. + * Set run command. * * @param runCommand the runCommand value to set * @return the ContinuousWebJobInner object itself. @@ -177,7 +177,7 @@ public ContinuousWebJobInner withRunCommand(String runCommand) { } /** - * Get the url value. + * Get job URL. * * @return the url value */ @@ -186,7 +186,7 @@ public String url() { } /** - * Set the url value. + * Set job URL. * * @param url the url value to set * @return the ContinuousWebJobInner object itself. @@ -197,7 +197,7 @@ public ContinuousWebJobInner withUrl(String url) { } /** - * Get the extraInfoUrl value. + * Get extra Info URL. * * @return the extraInfoUrl value */ @@ -206,7 +206,7 @@ public String extraInfoUrl() { } /** - * Set the extraInfoUrl value. + * Set extra Info URL. * * @param extraInfoUrl the extraInfoUrl value to set * @return the ContinuousWebJobInner object itself. @@ -217,7 +217,7 @@ public ContinuousWebJobInner withExtraInfoUrl(String extraInfoUrl) { } /** - * Get the jobType value. + * Get job type. Possible values include: 'Continuous', 'Triggered'. * * @return the jobType value */ @@ -226,7 +226,7 @@ public WebJobType jobType() { } /** - * Set the jobType value. + * Set job type. Possible values include: 'Continuous', 'Triggered'. * * @param jobType the jobType value to set * @return the ContinuousWebJobInner object itself. @@ -237,7 +237,7 @@ public ContinuousWebJobInner withJobType(WebJobType jobType) { } /** - * Get the error value. + * Get error information. * * @return the error value */ @@ -246,7 +246,7 @@ public String error() { } /** - * Set the error value. + * Set error information. * * @param error the error value to set * @return the ContinuousWebJobInner object itself. @@ -257,7 +257,7 @@ public ContinuousWebJobInner withError(String error) { } /** - * Get the usingSdk value. + * Get using SDK?. * * @return the usingSdk value */ @@ -266,7 +266,7 @@ public Boolean usingSdk() { } /** - * Set the usingSdk value. + * Set using SDK?. * * @param usingSdk the usingSdk value to set * @return the ContinuousWebJobInner object itself. @@ -277,7 +277,7 @@ public ContinuousWebJobInner withUsingSdk(Boolean usingSdk) { } /** - * Get the settings value. + * Get job settings. * * @return the settings value */ @@ -286,7 +286,7 @@ public Map settings() { } /** - * Set the settings value. + * Set job settings. * * @param settings the settings value to set * @return the ContinuousWebJobInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaImpl.java index 16c50674d2c50..c1f548b90f25c 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaImpl.java @@ -15,15 +15,15 @@ import org.joda.time.DateTime; class CsmUsageQuotaImpl extends WrapperImpl implements CsmUsageQuota { - private final AppServiceManager manager; + private final WebManager manager; - CsmUsageQuotaImpl(CsmUsageQuotaInner inner, AppServiceManager manager) { + CsmUsageQuotaImpl(CsmUsageQuotaInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaInner.java index b07a83802b1c3..f23a0362137b0 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaInner.java @@ -47,7 +47,7 @@ public class CsmUsageQuotaInner { private LocalizableString name; /** - * Get the unit value. + * Get units of measurement for the quota resourse. * * @return the unit value */ @@ -56,7 +56,7 @@ public String unit() { } /** - * Set the unit value. + * Set units of measurement for the quota resourse. * * @param unit the unit value to set * @return the CsmUsageQuotaInner object itself. @@ -67,7 +67,7 @@ public CsmUsageQuotaInner withUnit(String unit) { } /** - * Get the nextResetTime value. + * Get next reset time for the resource counter. * * @return the nextResetTime value */ @@ -76,7 +76,7 @@ public DateTime nextResetTime() { } /** - * Set the nextResetTime value. + * Set next reset time for the resource counter. * * @param nextResetTime the nextResetTime value to set * @return the CsmUsageQuotaInner object itself. @@ -87,7 +87,7 @@ public CsmUsageQuotaInner withNextResetTime(DateTime nextResetTime) { } /** - * Get the currentValue value. + * Get the current value of the resource counter. * * @return the currentValue value */ @@ -96,7 +96,7 @@ public Long currentValue() { } /** - * Set the currentValue value. + * Set the current value of the resource counter. * * @param currentValue the currentValue value to set * @return the CsmUsageQuotaInner object itself. @@ -107,7 +107,7 @@ public CsmUsageQuotaInner withCurrentValue(Long currentValue) { } /** - * Get the limit value. + * Get the resource limit. * * @return the limit value */ @@ -116,7 +116,7 @@ public Long limit() { } /** - * Set the limit value. + * Set the resource limit. * * @param limit the limit value to set * @return the CsmUsageQuotaInner object itself. @@ -127,7 +127,7 @@ public CsmUsageQuotaInner withLimit(Long limit) { } /** - * Get the name value. + * Get quota name. * * @return the name value */ @@ -136,7 +136,7 @@ public LocalizableString name() { } /** - * Set the name value. + * Set quota name. * * @param name the name value to set * @return the CsmUsageQuotaInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultImpl.java index be476e0aeefd2..791c7f3bc31ed 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.DnsVerificationTestResult; class CustomHostnameAnalysisResultImpl extends WrapperImpl implements CustomHostnameAnalysisResult { - private final AppServiceManager manager; - CustomHostnameAnalysisResultImpl(CustomHostnameAnalysisResultInner inner, AppServiceManager manager) { + private final WebManager manager; + CustomHostnameAnalysisResultImpl(CustomHostnameAnalysisResultInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultInner.java index 009497222f08b..aad5c2e0735d9 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultInner.java @@ -92,7 +92,7 @@ public class CustomHostnameAnalysisResultInner extends ProxyOnlyResource { private List alternateTxtRecords; /** - * Get the isHostnameAlreadyVerified value. + * Get <code>true</code> if hostname is already verified; otherwise, <code>false</code>. * * @return the isHostnameAlreadyVerified value */ @@ -101,7 +101,7 @@ public Boolean isHostnameAlreadyVerified() { } /** - * Get the customDomainVerificationTest value. + * Get dNS verification test result. Possible values include: 'Passed', 'Failed', 'Skipped'. * * @return the customDomainVerificationTest value */ @@ -110,7 +110,7 @@ public DnsVerificationTestResult customDomainVerificationTest() { } /** - * Get the customDomainVerificationFailureInfo value. + * Get raw failure information if DNS verification fails. * * @return the customDomainVerificationFailureInfo value */ @@ -119,7 +119,7 @@ public ErrorEntity customDomainVerificationFailureInfo() { } /** - * Get the hasConflictOnScaleUnit value. + * Get <code>true</code> if there is a conflict on a scale unit; otherwise, <code>false</code>. * * @return the hasConflictOnScaleUnit value */ @@ -128,7 +128,7 @@ public Boolean hasConflictOnScaleUnit() { } /** - * Get the hasConflictAcrossSubscription value. + * Get <code>true</code> if htere is a conflict across subscriptions; otherwise, <code>false</code>. * * @return the hasConflictAcrossSubscription value */ @@ -137,7 +137,7 @@ public Boolean hasConflictAcrossSubscription() { } /** - * Get the conflictingAppResourceId value. + * Get name of the conflicting app on scale unit if it's within the same subscription. * * @return the conflictingAppResourceId value */ @@ -146,7 +146,7 @@ public String conflictingAppResourceId() { } /** - * Get the cNameRecords value. + * Get cName records controller can see for this hostname. * * @return the cNameRecords value */ @@ -155,7 +155,7 @@ public List cNameRecords() { } /** - * Set the cNameRecords value. + * Set cName records controller can see for this hostname. * * @param cNameRecords the cNameRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. @@ -166,7 +166,7 @@ public CustomHostnameAnalysisResultInner withCNameRecords(List cNameReco } /** - * Get the txtRecords value. + * Get tXT records controller can see for this hostname. * * @return the txtRecords value */ @@ -175,7 +175,7 @@ public List txtRecords() { } /** - * Set the txtRecords value. + * Set tXT records controller can see for this hostname. * * @param txtRecords the txtRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. @@ -186,7 +186,7 @@ public CustomHostnameAnalysisResultInner withTxtRecords(List txtRecords) } /** - * Get the aRecords value. + * Get a records controller can see for this hostname. * * @return the aRecords value */ @@ -195,7 +195,7 @@ public List aRecords() { } /** - * Set the aRecords value. + * Set a records controller can see for this hostname. * * @param aRecords the aRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. @@ -206,7 +206,7 @@ public CustomHostnameAnalysisResultInner withARecords(List aRecords) { } /** - * Get the alternateCNameRecords value. + * Get alternate CName records controller can see for this hostname. * * @return the alternateCNameRecords value */ @@ -215,7 +215,7 @@ public List alternateCNameRecords() { } /** - * Set the alternateCNameRecords value. + * Set alternate CName records controller can see for this hostname. * * @param alternateCNameRecords the alternateCNameRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. @@ -226,7 +226,7 @@ public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List } /** - * Get the alternateTxtRecords value. + * Get alternate TXT records controller can see for this hostname. * * @return the alternateTxtRecords value */ @@ -235,7 +235,7 @@ public List alternateTxtRecords() { } /** - * Set the alternateTxtRecords value. + * Set alternate TXT records controller can see for this hostname. * * @param alternateTxtRecords the alternateTxtRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/DeploymentImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/DeploymentImpl.java index 180ff7775d0bb..c899f6fdd5ed6 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/DeploymentImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; private String resourceGroupName; private String name; private String id; - DeploymentImpl(String name, AppServiceManager manager) { + DeploymentImpl(String name, WebManager manager) { super(name, new DeploymentInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class DeploymentImpl extends CreatableUpdatableImpl implements FunctionEnvelope, FunctionEnvelope.Definition, FunctionEnvelope.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String functionName; - FunctionEnvelopeImpl(String name, AppServiceManager manager) { + FunctionEnvelopeImpl(String name, WebManager manager) { super(name, new FunctionEnvelopeInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class FunctionEnvelopeImpl extends CreatableUpdatableImpl files() { } /** - * Set the files value. + * Set file list. * * @param files the files value to set * @return the FunctionEnvelopeInner object itself. @@ -237,7 +237,7 @@ public FunctionEnvelopeInner withFiles(Map files) { } /** - * Get the testData value. + * Get test data used when testing via the Azure Portal. * * @return the testData value */ @@ -246,7 +246,7 @@ public String testData() { } /** - * Set the testData value. + * Set test data used when testing via the Azure Portal. * * @param testData the testData value to set * @return the FunctionEnvelopeInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/FunctionSecretsImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/FunctionSecretsImpl.java index 297170311411d..416ac0919ad72 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/FunctionSecretsImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/FunctionSecretsImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class FunctionSecretsImpl extends WrapperImpl implements FunctionSecrets { - private final AppServiceManager manager; - FunctionSecretsImpl(FunctionSecretsInner inner, AppServiceManager manager) { + private final WebManager manager; + FunctionSecretsImpl(FunctionSecretsInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/FunctionSecretsInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/FunctionSecretsInner.java index 027075fb0e2ce..b2fd996eb2f93 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/FunctionSecretsInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/FunctionSecretsInner.java @@ -30,7 +30,7 @@ public class FunctionSecretsInner extends ProxyOnlyResource { private String triggerUrl; /** - * Get the key value. + * Get secret key. * * @return the key value */ @@ -39,7 +39,7 @@ public String key() { } /** - * Set the key value. + * Set secret key. * * @param key the key value to set * @return the FunctionSecretsInner object itself. @@ -50,7 +50,7 @@ public FunctionSecretsInner withKey(String key) { } /** - * Get the triggerUrl value. + * Get trigger URL. * * @return the triggerUrl value */ @@ -59,7 +59,7 @@ public String triggerUrl() { } /** - * Set the triggerUrl value. + * Set trigger URL. * * @param triggerUrl the triggerUrl value to set * @return the FunctionSecretsInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/HostNameBindingImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/HostNameBindingImpl.java index 536de0d98e7e0..c3b060ebe2e0b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/HostNameBindingImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/HostNameBindingImpl.java @@ -17,12 +17,12 @@ import com.microsoft.azure.management.appservice.v2016_08_01.SslState; class HostNameBindingImpl extends CreatableUpdatableImpl implements HostNameBinding, HostNameBinding.Definition, HostNameBinding.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String hostName; - HostNameBindingImpl(String name, AppServiceManager manager) { + HostNameBindingImpl(String name, WebManager manager) { super(name, new HostNameBindingInner()); this.manager = manager; // Set resource name @@ -30,7 +30,7 @@ class HostNameBindingImpl extends CreatableUpdatableImpl implements HybridConnection, HybridConnection.Definition, HybridConnection.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String namespaceName; private String relayName; - HybridConnectionImpl(String name, AppServiceManager manager) { + HybridConnectionImpl(String name, WebManager manager) { super(name, new HybridConnectionInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class HybridConnectionImpl extends CreatableUpdatableImpl implements HybridConnectionKey { - private final AppServiceManager manager; - HybridConnectionKeyImpl(HybridConnectionKeyInner inner, AppServiceManager manager) { + private final WebManager manager; + HybridConnectionKeyImpl(HybridConnectionKeyInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/HybridConnectionKeyInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/HybridConnectionKeyInner.java index 3c6e78d8e3845..9c50b8508d729 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/HybridConnectionKeyInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/HybridConnectionKeyInner.java @@ -31,7 +31,7 @@ public class HybridConnectionKeyInner extends ProxyOnlyResource { private String sendKeyValue; /** - * Get the sendKeyName value. + * Get the name of the send key. * * @return the sendKeyName value */ @@ -40,7 +40,7 @@ public String sendKeyName() { } /** - * Get the sendKeyValue value. + * Get the value of the send key. * * @return the sendKeyValue value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/IdentifierImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/IdentifierImpl.java index 4e52bbdf960d0..cd1ed96c8b34d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/IdentifierImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; private String resourceGroupName; private String name; private String domainOwnershipIdentifierName; - IdentifierImpl(String name, AppServiceManager manager) { + IdentifierImpl(String name, WebManager manager) { super(name, new IdentifierInner()); this.manager = manager; // Set resource name @@ -26,7 +26,7 @@ class IdentifierImpl extends CreatableUpdatableImpl implements MSDeployLog { - private final AppServiceManager manager; - MSDeployLogImpl(MSDeployLogInner inner, AppServiceManager manager) { + private final WebManager manager; + MSDeployLogImpl(MSDeployLogInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployLogInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployLogInner.java index b1b4a55a93abb..20541e68e5a64 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployLogInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployLogInner.java @@ -26,7 +26,7 @@ public class MSDeployLogInner extends ProxyOnlyResource { private List entries; /** - * Get the entries value. + * Get list of log entry messages. * * @return the entries value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployStatusImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployStatusImpl.java index 1c74e84f3af89..c1f6b6e08f731 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployStatusImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployStatusImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.MSDeployProvisioningState; class MSDeployStatusImpl extends WrapperImpl implements MSDeployStatus { - private final AppServiceManager manager; - MSDeployStatusImpl(MSDeployStatusInner inner, AppServiceManager manager) { + private final WebManager manager; + MSDeployStatusImpl(MSDeployStatusInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployStatusInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployStatusInner.java index e26e9bc98f193..a90e6ef0ec6d7 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployStatusInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MSDeployStatusInner.java @@ -51,7 +51,7 @@ public class MSDeployStatusInner extends ProxyOnlyResource { private Boolean complete; /** - * Get the deployer value. + * Get username of deployer. * * @return the deployer value */ @@ -60,7 +60,7 @@ public String deployer() { } /** - * Get the provisioningState value. + * Get provisioning state. Possible values include: 'accepted', 'running', 'succeeded', 'failed', 'canceled'. * * @return the provisioningState value */ @@ -69,7 +69,7 @@ public MSDeployProvisioningState provisioningState() { } /** - * Get the startTime value. + * Get start time of deploy operation. * * @return the startTime value */ @@ -78,7 +78,7 @@ public DateTime startTime() { } /** - * Get the endTime value. + * Get end time of deploy operation. * * @return the endTime value */ @@ -87,7 +87,7 @@ public DateTime endTime() { } /** - * Get the complete value. + * Get whether the deployment operation has completed. * * @return the complete value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MigrateMySqlStatusImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MigrateMySqlStatusImpl.java index 1f26e4c7486a1..63cceea8d4225 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MigrateMySqlStatusImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MigrateMySqlStatusImpl.java @@ -13,14 +13,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.OperationStatus; class MigrateMySqlStatusImpl extends WrapperImpl implements MigrateMySqlStatus { - private final AppServiceManager manager; - MigrateMySqlStatusImpl(MigrateMySqlStatusInner inner, AppServiceManager manager) { + private final WebManager manager; + MigrateMySqlStatusImpl(MigrateMySqlStatusInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MigrateMySqlStatusInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MigrateMySqlStatusInner.java index 535928c12b73a..bf95db637cf6f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MigrateMySqlStatusInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/MigrateMySqlStatusInner.java @@ -38,7 +38,7 @@ public class MigrateMySqlStatusInner extends ProxyOnlyResource { private Boolean localMySqlEnabled; /** - * Get the migrationOperationStatus value. + * Get status of the migration task. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @return the migrationOperationStatus value */ @@ -47,7 +47,7 @@ public OperationStatus migrationOperationStatus() { } /** - * Get the operationId value. + * Get operation ID for the migration task. * * @return the operationId value */ @@ -56,7 +56,7 @@ public String operationId() { } /** - * Get the localMySqlEnabled value. + * Get true if the web app has in app MySql enabled. * * @return the localMySqlEnabled value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/NetworkFeaturesImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/NetworkFeaturesImpl.java index c772338567ee5..7fe261435241c 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/NetworkFeaturesImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/NetworkFeaturesImpl.java @@ -18,12 +18,12 @@ import com.microsoft.azure.management.appservice.v2016_08_01.VnetInfo; class NetworkFeaturesImpl extends IndexableRefreshableWrapperImpl implements NetworkFeatures { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String view; - NetworkFeaturesImpl(NetworkFeaturesInner inner, AppServiceManager manager) { + NetworkFeaturesImpl(NetworkFeaturesInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -32,7 +32,7 @@ class NetworkFeaturesImpl extends IndexableRefreshableWrapperImpl hybridConnectionsV2; /** - * Get the virtualNetworkName value. + * Get the Virtual Network name. * * @return the virtualNetworkName value */ @@ -53,7 +53,7 @@ public String virtualNetworkName() { } /** - * Get the virtualNetworkConnection value. + * Get the Virtual Network summary view. * * @return the virtualNetworkConnection value */ @@ -62,7 +62,7 @@ public VnetInfoInner virtualNetworkConnection() { } /** - * Get the hybridConnections value. + * Get the Hybrid Connections summary view. * * @return the hybridConnections value */ @@ -71,7 +71,7 @@ public List hybridConnections() { } /** - * Get the hybridConnectionsV2 value. + * Get the Hybrid Connection V2 (Service Bus) view. * * @return the hybridConnectionsV2 value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/OperationImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/OperationImpl.java index fd08492da094e..ecaaa869ebd42 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/OperationImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/OperationImpl.java @@ -17,14 +17,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.OperationStatus; class OperationImpl extends WrapperImpl implements Operation { - private final AppServiceManager manager; - OperationImpl(OperationInner inner, AppServiceManager manager) { + private final WebManager manager; + OperationImpl(OperationInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/OperationInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/OperationInner.java index 2ba1b3765cadd..fefac04e2210b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/OperationInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/OperationInner.java @@ -69,7 +69,7 @@ public class OperationInner { private UUID geoMasterOperationId; /** - * Get the id value. + * Get operation ID. * * @return the id value */ @@ -78,7 +78,7 @@ public String id() { } /** - * Set the id value. + * Set operation ID. * * @param id the id value to set * @return the OperationInner object itself. @@ -89,7 +89,7 @@ public OperationInner withId(String id) { } /** - * Get the name value. + * Get operation name. * * @return the name value */ @@ -98,7 +98,7 @@ public String name() { } /** - * Set the name value. + * Set operation name. * * @param name the name value to set * @return the OperationInner object itself. @@ -109,7 +109,7 @@ public OperationInner withName(String name) { } /** - * Get the status value. + * Get the current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @return the status value */ @@ -118,7 +118,7 @@ public OperationStatus status() { } /** - * Set the status value. + * Set the current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @param status the status value to set * @return the OperationInner object itself. @@ -129,7 +129,7 @@ public OperationInner withStatus(OperationStatus status) { } /** - * Get the errors value. + * Get any errors associate with the operation. * * @return the errors value */ @@ -138,7 +138,7 @@ public List errors() { } /** - * Set the errors value. + * Set any errors associate with the operation. * * @param errors the errors value to set * @return the OperationInner object itself. @@ -149,7 +149,7 @@ public OperationInner withErrors(List errors) { } /** - * Get the createdTime value. + * Get time when operation has started. * * @return the createdTime value */ @@ -158,7 +158,7 @@ public DateTime createdTime() { } /** - * Set the createdTime value. + * Set time when operation has started. * * @param createdTime the createdTime value to set * @return the OperationInner object itself. @@ -169,7 +169,7 @@ public OperationInner withCreatedTime(DateTime createdTime) { } /** - * Get the modifiedTime value. + * Get time when operation has been updated. * * @return the modifiedTime value */ @@ -178,7 +178,7 @@ public DateTime modifiedTime() { } /** - * Set the modifiedTime value. + * Set time when operation has been updated. * * @param modifiedTime the modifiedTime value to set * @return the OperationInner object itself. @@ -189,7 +189,7 @@ public OperationInner withModifiedTime(DateTime modifiedTime) { } /** - * Get the expirationTime value. + * Get time when operation will expire. * * @return the expirationTime value */ @@ -198,7 +198,7 @@ public DateTime expirationTime() { } /** - * Set the expirationTime value. + * Set time when operation will expire. * * @param expirationTime the expirationTime value to set * @return the OperationInner object itself. @@ -209,7 +209,7 @@ public OperationInner withExpirationTime(DateTime expirationTime) { } /** - * Get the geoMasterOperationId value. + * Get applicable only for stamp operation ids. * * @return the geoMasterOperationId value */ @@ -218,7 +218,7 @@ public UUID geoMasterOperationId() { } /** - * Set the geoMasterOperationId value. + * Set applicable only for stamp operation ids. * * @param geoMasterOperationId the geoMasterOperationId value to set * @return the OperationInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PerfMonResponseImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PerfMonResponseImpl.java index bf4a805db3cf4..5e7cc987c1340 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PerfMonResponseImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PerfMonResponseImpl.java @@ -14,15 +14,15 @@ import com.microsoft.azure.management.appservice.v2016_08_01.PerfMonSet; class PerfMonResponseImpl extends WrapperImpl implements PerfMonResponse { - private final AppServiceManager manager; + private final WebManager manager; - PerfMonResponseImpl(PerfMonResponseInner inner, AppServiceManager manager) { + PerfMonResponseImpl(PerfMonResponseInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PerfMonResponseInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PerfMonResponseInner.java index 31fdf2982a146..e9ff8fc92d4c8 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PerfMonResponseInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PerfMonResponseInner.java @@ -34,7 +34,7 @@ public class PerfMonResponseInner { private PerfMonSet data; /** - * Get the code value. + * Get the response code. * * @return the code value */ @@ -43,7 +43,7 @@ public String code() { } /** - * Set the code value. + * Set the response code. * * @param code the code value to set * @return the PerfMonResponseInner object itself. @@ -54,7 +54,7 @@ public PerfMonResponseInner withCode(String code) { } /** - * Get the message value. + * Get the message. * * @return the message value */ @@ -63,7 +63,7 @@ public String message() { } /** - * Set the message value. + * Set the message. * * @param message the message value to set * @return the PerfMonResponseInner object itself. @@ -74,7 +74,7 @@ public PerfMonResponseInner withMessage(String message) { } /** - * Get the data value. + * Get the performance monitor counters. * * @return the data value */ @@ -83,7 +83,7 @@ public PerfMonSet data() { } /** - * Set the data value. + * Set the performance monitor counters. * * @param data the data value to set * @return the PerfMonResponseInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PremierAddOnImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PremierAddOnImpl.java index c753c83f69ec3..916179a9bf11e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PremierAddOnImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PremierAddOnImpl.java @@ -14,12 +14,12 @@ import java.util.Map; class PremierAddOnImpl extends CreatableUpdatableImpl implements PremierAddOn, PremierAddOn.Definition, PremierAddOn.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String premierAddOnName; - PremierAddOnImpl(String name, AppServiceManager manager) { + PremierAddOnImpl(String name, WebManager manager) { super(name, new PremierAddOnInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class PremierAddOnImpl extends CreatableUpdatableImpl premierAddOnTags() { } /** - * Set the premierAddOnTags value. + * Set premier add on Tags. * * @param premierAddOnTags the premierAddOnTags value to set * @return the PremierAddOnInner object itself. @@ -193,7 +193,7 @@ public PremierAddOnInner withPremierAddOnTags(Map premierAddOnTa } /** - * Get the marketplacePublisher value. + * Get premier add on Marketplace publisher. * * @return the marketplacePublisher value */ @@ -202,7 +202,7 @@ public String marketplacePublisher() { } /** - * Set the marketplacePublisher value. + * Set premier add on Marketplace publisher. * * @param marketplacePublisher the marketplacePublisher value to set * @return the PremierAddOnInner object itself. @@ -213,7 +213,7 @@ public PremierAddOnInner withMarketplacePublisher(String marketplacePublisher) { } /** - * Get the marketplaceOffer value. + * Get premier add on Marketplace offer. * * @return the marketplaceOffer value */ @@ -222,7 +222,7 @@ public String marketplaceOffer() { } /** - * Set the marketplaceOffer value. + * Set premier add on Marketplace offer. * * @param marketplaceOffer the marketplaceOffer value to set * @return the PremierAddOnInner object itself. @@ -233,7 +233,7 @@ public PremierAddOnInner withMarketplaceOffer(String marketplaceOffer) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -242,7 +242,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the PremierAddOnInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessInfoImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessInfoImpl.java index 4c74d2c1d64c7..396ca6616baad 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessInfoImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessInfoImpl.java @@ -19,13 +19,13 @@ import com.microsoft.azure.management.appservice.v2016_08_01.ProcessThreadInfo; class ProcessInfoImpl extends IndexableRefreshableWrapperImpl implements ProcessInfo { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String processId; private String instanceId; - ProcessInfoImpl(ProcessInfoInner inner, AppServiceManager manager) { + ProcessInfoImpl(ProcessInfoInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -35,7 +35,7 @@ class ProcessInfoImpl extends IndexableRefreshableWrapperImpl children() { } /** - * Set the children value. + * Set child process list. * * @param children the children value to set * @return the ProcessInfoInner object itself. @@ -417,7 +417,7 @@ public ProcessInfoInner withChildren(List children) { } /** - * Get the threads value. + * Get thread list. * * @return the threads value */ @@ -426,7 +426,7 @@ public List threads() { } /** - * Set the threads value. + * Set thread list. * * @param threads the threads value to set * @return the ProcessInfoInner object itself. @@ -437,7 +437,7 @@ public ProcessInfoInner withThreads(List threads) { } /** - * Get the openFileHandles value. + * Get list of open files. * * @return the openFileHandles value */ @@ -446,7 +446,7 @@ public List openFileHandles() { } /** - * Set the openFileHandles value. + * Set list of open files. * * @param openFileHandles the openFileHandles value to set * @return the ProcessInfoInner object itself. @@ -457,7 +457,7 @@ public ProcessInfoInner withOpenFileHandles(List openFileHandles) { } /** - * Get the modules value. + * Get list of modules. * * @return the modules value */ @@ -466,7 +466,7 @@ public List modules() { } /** - * Set the modules value. + * Set list of modules. * * @param modules the modules value to set * @return the ProcessInfoInner object itself. @@ -477,7 +477,7 @@ public ProcessInfoInner withModules(List modules) { } /** - * Get the fileName value. + * Get file name of this process. * * @return the fileName value */ @@ -486,7 +486,7 @@ public String fileName() { } /** - * Set the fileName value. + * Set file name of this process. * * @param fileName the fileName value to set * @return the ProcessInfoInner object itself. @@ -497,7 +497,7 @@ public ProcessInfoInner withFileName(String fileName) { } /** - * Get the commandLine value. + * Get command line. * * @return the commandLine value */ @@ -506,7 +506,7 @@ public String commandLine() { } /** - * Set the commandLine value. + * Set command line. * * @param commandLine the commandLine value to set * @return the ProcessInfoInner object itself. @@ -517,7 +517,7 @@ public ProcessInfoInner withCommandLine(String commandLine) { } /** - * Get the userName value. + * Get user name. * * @return the userName value */ @@ -526,7 +526,7 @@ public String userName() { } /** - * Set the userName value. + * Set user name. * * @param userName the userName value to set * @return the ProcessInfoInner object itself. @@ -537,7 +537,7 @@ public ProcessInfoInner withUserName(String userName) { } /** - * Get the handleCount value. + * Get handle count. * * @return the handleCount value */ @@ -546,7 +546,7 @@ public Integer handleCount() { } /** - * Set the handleCount value. + * Set handle count. * * @param handleCount the handleCount value to set * @return the ProcessInfoInner object itself. @@ -557,7 +557,7 @@ public ProcessInfoInner withHandleCount(Integer handleCount) { } /** - * Get the moduleCount value. + * Get module count. * * @return the moduleCount value */ @@ -566,7 +566,7 @@ public Integer moduleCount() { } /** - * Set the moduleCount value. + * Set module count. * * @param moduleCount the moduleCount value to set * @return the ProcessInfoInner object itself. @@ -577,7 +577,7 @@ public ProcessInfoInner withModuleCount(Integer moduleCount) { } /** - * Get the threadCount value. + * Get thread count. * * @return the threadCount value */ @@ -586,7 +586,7 @@ public Integer threadCount() { } /** - * Set the threadCount value. + * Set thread count. * * @param threadCount the threadCount value to set * @return the ProcessInfoInner object itself. @@ -597,7 +597,7 @@ public ProcessInfoInner withThreadCount(Integer threadCount) { } /** - * Get the startTime value. + * Get start time. * * @return the startTime value */ @@ -606,7 +606,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time. * * @param startTime the startTime value to set * @return the ProcessInfoInner object itself. @@ -617,7 +617,7 @@ public ProcessInfoInner withStartTime(DateTime startTime) { } /** - * Get the totalProcessorTime value. + * Get total CPU time. * * @return the totalProcessorTime value */ @@ -626,7 +626,7 @@ public String totalProcessorTime() { } /** - * Set the totalProcessorTime value. + * Set total CPU time. * * @param totalProcessorTime the totalProcessorTime value to set * @return the ProcessInfoInner object itself. @@ -637,7 +637,7 @@ public ProcessInfoInner withTotalProcessorTime(String totalProcessorTime) { } /** - * Get the userProcessorTime value. + * Get user CPU time. * * @return the userProcessorTime value */ @@ -646,7 +646,7 @@ public String userProcessorTime() { } /** - * Set the userProcessorTime value. + * Set user CPU time. * * @param userProcessorTime the userProcessorTime value to set * @return the ProcessInfoInner object itself. @@ -657,7 +657,7 @@ public ProcessInfoInner withUserProcessorTime(String userProcessorTime) { } /** - * Get the privilegedProcessorTime value. + * Get privileged CPU time. * * @return the privilegedProcessorTime value */ @@ -666,7 +666,7 @@ public String privilegedProcessorTime() { } /** - * Set the privilegedProcessorTime value. + * Set privileged CPU time. * * @param privilegedProcessorTime the privilegedProcessorTime value to set * @return the ProcessInfoInner object itself. @@ -677,7 +677,7 @@ public ProcessInfoInner withPrivilegedProcessorTime(String privilegedProcessorTi } /** - * Get the workingSet64 value. + * Get working set. * * @return the workingSet64 value */ @@ -686,7 +686,7 @@ public Long workingSet64() { } /** - * Set the workingSet64 value. + * Set working set. * * @param workingSet64 the workingSet64 value to set * @return the ProcessInfoInner object itself. @@ -697,7 +697,7 @@ public ProcessInfoInner withWorkingSet64(Long workingSet64) { } /** - * Get the peakWorkingSet64 value. + * Get peak working set. * * @return the peakWorkingSet64 value */ @@ -706,7 +706,7 @@ public Long peakWorkingSet64() { } /** - * Set the peakWorkingSet64 value. + * Set peak working set. * * @param peakWorkingSet64 the peakWorkingSet64 value to set * @return the ProcessInfoInner object itself. @@ -717,7 +717,7 @@ public ProcessInfoInner withPeakWorkingSet64(Long peakWorkingSet64) { } /** - * Get the privateMemorySize64 value. + * Get private memory size. * * @return the privateMemorySize64 value */ @@ -726,7 +726,7 @@ public Long privateMemorySize64() { } /** - * Set the privateMemorySize64 value. + * Set private memory size. * * @param privateMemorySize64 the privateMemorySize64 value to set * @return the ProcessInfoInner object itself. @@ -737,7 +737,7 @@ public ProcessInfoInner withPrivateMemorySize64(Long privateMemorySize64) { } /** - * Get the virtualMemorySize64 value. + * Get virtual memory size. * * @return the virtualMemorySize64 value */ @@ -746,7 +746,7 @@ public Long virtualMemorySize64() { } /** - * Set the virtualMemorySize64 value. + * Set virtual memory size. * * @param virtualMemorySize64 the virtualMemorySize64 value to set * @return the ProcessInfoInner object itself. @@ -757,7 +757,7 @@ public ProcessInfoInner withVirtualMemorySize64(Long virtualMemorySize64) { } /** - * Get the peakVirtualMemorySize64 value. + * Get peak virtual memory usage. * * @return the peakVirtualMemorySize64 value */ @@ -766,7 +766,7 @@ public Long peakVirtualMemorySize64() { } /** - * Set the peakVirtualMemorySize64 value. + * Set peak virtual memory usage. * * @param peakVirtualMemorySize64 the peakVirtualMemorySize64 value to set * @return the ProcessInfoInner object itself. @@ -777,7 +777,7 @@ public ProcessInfoInner withPeakVirtualMemorySize64(Long peakVirtualMemorySize64 } /** - * Get the pagedSystemMemorySize64 value. + * Get paged system memory. * * @return the pagedSystemMemorySize64 value */ @@ -786,7 +786,7 @@ public Long pagedSystemMemorySize64() { } /** - * Set the pagedSystemMemorySize64 value. + * Set paged system memory. * * @param pagedSystemMemorySize64 the pagedSystemMemorySize64 value to set * @return the ProcessInfoInner object itself. @@ -797,7 +797,7 @@ public ProcessInfoInner withPagedSystemMemorySize64(Long pagedSystemMemorySize64 } /** - * Get the nonpagedSystemMemorySize64 value. + * Get non-paged system memory. * * @return the nonpagedSystemMemorySize64 value */ @@ -806,7 +806,7 @@ public Long nonpagedSystemMemorySize64() { } /** - * Set the nonpagedSystemMemorySize64 value. + * Set non-paged system memory. * * @param nonpagedSystemMemorySize64 the nonpagedSystemMemorySize64 value to set * @return the ProcessInfoInner object itself. @@ -817,7 +817,7 @@ public ProcessInfoInner withNonpagedSystemMemorySize64(Long nonpagedSystemMemory } /** - * Get the pagedMemorySize64 value. + * Get paged memory. * * @return the pagedMemorySize64 value */ @@ -826,7 +826,7 @@ public Long pagedMemorySize64() { } /** - * Set the pagedMemorySize64 value. + * Set paged memory. * * @param pagedMemorySize64 the pagedMemorySize64 value to set * @return the ProcessInfoInner object itself. @@ -837,7 +837,7 @@ public ProcessInfoInner withPagedMemorySize64(Long pagedMemorySize64) { } /** - * Get the peakPagedMemorySize64 value. + * Get peak paged memory. * * @return the peakPagedMemorySize64 value */ @@ -846,7 +846,7 @@ public Long peakPagedMemorySize64() { } /** - * Set the peakPagedMemorySize64 value. + * Set peak paged memory. * * @param peakPagedMemorySize64 the peakPagedMemorySize64 value to set * @return the ProcessInfoInner object itself. @@ -857,7 +857,7 @@ public ProcessInfoInner withPeakPagedMemorySize64(Long peakPagedMemorySize64) { } /** - * Get the timeStamp value. + * Get time stamp. * * @return the timeStamp value */ @@ -866,7 +866,7 @@ public DateTime timeStamp() { } /** - * Set the timeStamp value. + * Set time stamp. * * @param timeStamp the timeStamp value to set * @return the ProcessInfoInner object itself. @@ -877,7 +877,7 @@ public ProcessInfoInner withTimeStamp(DateTime timeStamp) { } /** - * Get the environmentVariables value. + * Get list of environment variables. * * @return the environmentVariables value */ @@ -886,7 +886,7 @@ public Map environmentVariables() { } /** - * Set the environmentVariables value. + * Set list of environment variables. * * @param environmentVariables the environmentVariables value to set * @return the ProcessInfoInner object itself. @@ -897,7 +897,7 @@ public ProcessInfoInner withEnvironmentVariables(Map environment } /** - * Get the isScmSite value. + * Get is this the SCM site?. * * @return the isScmSite value */ @@ -906,7 +906,7 @@ public Boolean isScmSite() { } /** - * Set the isScmSite value. + * Set is this the SCM site?. * * @param isScmSite the isScmSite value to set * @return the ProcessInfoInner object itself. @@ -917,7 +917,7 @@ public ProcessInfoInner withIsScmSite(Boolean isScmSite) { } /** - * Get the isWebJob value. + * Get is this a Web Job?. * * @return the isWebJob value */ @@ -926,7 +926,7 @@ public Boolean isWebJob() { } /** - * Set the isWebJob value. + * Set is this a Web Job?. * * @param isWebJob the isWebJob value to set * @return the ProcessInfoInner object itself. @@ -937,7 +937,7 @@ public ProcessInfoInner withIsWebJob(Boolean isWebJob) { } /** - * Get the description value. + * Get description of process. * * @return the description value */ @@ -946,7 +946,7 @@ public String description() { } /** - * Set the description value. + * Set description of process. * * @param description the description value to set * @return the ProcessInfoInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessModuleInfoImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessModuleInfoImpl.java index b64da7e2fdd7f..8d8f1f5acf7a7 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessModuleInfoImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessModuleInfoImpl.java @@ -13,14 +13,14 @@ import rx.Observable; class ProcessModuleInfoImpl extends IndexableRefreshableWrapperImpl implements ProcessModuleInfo { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String processId; private String baseAddress; private String instanceId; - ProcessModuleInfoImpl(ProcessModuleInfoInner inner, AppServiceManager manager) { + ProcessModuleInfoImpl(ProcessModuleInfoInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -31,7 +31,7 @@ class ProcessModuleInfoImpl extends IndexableRefreshableWrapperImpl implements ProcessThreadInfo { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String processId; private String threadId; private String instanceId; - ProcessThreadInfoImpl(ProcessThreadInfoInner inner, AppServiceManager manager) { + ProcessThreadInfoImpl(ProcessThreadInfoInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -32,7 +32,7 @@ class ProcessThreadInfoImpl extends IndexableRefreshableWrapperImpl implements PublicCertificate, PublicCertificate.Definition, PublicCertificate.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String publicCertificateName; - PublicCertificateImpl(String name, AppServiceManager manager) { + PublicCertificateImpl(String name, WebManager 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 WebManager manager; + PushSettingsImpl(PushSettingsInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PushSettingsInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PushSettingsInner.java index 25303d242d82f..e9a68459d0657 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PushSettingsInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/PushSettingsInner.java @@ -48,7 +48,7 @@ public class PushSettingsInner extends ProxyOnlyResource { private String dynamicTagsJson; /** - * Get the isPushEnabled value. + * Get gets or sets a flag indicating whether the Push endpoint is enabled. * * @return the isPushEnabled value */ @@ -57,7 +57,7 @@ public boolean isPushEnabled() { } /** - * Set the isPushEnabled value. + * Set gets or sets a flag indicating whether the Push endpoint is enabled. * * @param isPushEnabled the isPushEnabled value to set * @return the PushSettingsInner object itself. @@ -68,7 +68,7 @@ public PushSettingsInner withIsPushEnabled(boolean isPushEnabled) { } /** - * Get the tagWhitelistJson value. + * Get gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. * * @return the tagWhitelistJson value */ @@ -77,7 +77,7 @@ public String tagWhitelistJson() { } /** - * Set the tagWhitelistJson value. + * Set gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. * * @param tagWhitelistJson the tagWhitelistJson value to set * @return the PushSettingsInner object itself. @@ -88,7 +88,10 @@ public PushSettingsInner withTagWhitelistJson(String tagWhitelistJson) { } /** - * Get the tagsRequiringAuth value. + * Get gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. * * @return the tagsRequiringAuth value */ @@ -97,7 +100,10 @@ public String tagsRequiringAuth() { } /** - * Set the tagsRequiringAuth value. + * Set gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. * * @param tagsRequiringAuth the tagsRequiringAuth value to set * @return the PushSettingsInner object itself. @@ -108,7 +114,7 @@ public PushSettingsInner withTagsRequiringAuth(String tagsRequiringAuth) { } /** - * Get the dynamicTagsJson value. + * Get gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. * * @return the dynamicTagsJson value */ @@ -117,7 +123,7 @@ public String dynamicTagsJson() { } /** - * Set the dynamicTagsJson value. + * Set gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. * * @param dynamicTagsJson the dynamicTagsJson value to set * @return the PushSettingsInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RelayServiceConnectionEntityImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RelayServiceConnectionEntityImpl.java index 26beb5a7f0111..c3c03b64218d8 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RelayServiceConnectionEntityImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; + RelayServiceConnectionEntityImpl(RelayServiceConnectionEntityInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricDefinitionImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricDefinitionImpl.java index 5f123f5131b6b..c875ea59f6fcc 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricDefinitionImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricDefinitionImpl.java @@ -17,15 +17,15 @@ import com.microsoft.azure.management.appservice.v2016_08_01.ResourceMetricName; class ResourceMetricDefinitionImpl extends WrapperImpl implements ResourceMetricDefinition { - private final AppServiceManager manager; + private final WebManager manager; - ResourceMetricDefinitionImpl(ResourceMetricDefinitionInner inner, AppServiceManager manager) { + ResourceMetricDefinitionImpl(ResourceMetricDefinitionInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricDefinitionInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricDefinitionInner.java index 504feefa0f5a1..c93a6071b3cb8 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricDefinitionInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricDefinitionInner.java @@ -65,7 +65,7 @@ public class ResourceMetricDefinitionInner extends ProxyOnlyResource { private Map properties; /** - * Get the resourceMetricDefinitionName value. + * Get name of the metric. * * @return the resourceMetricDefinitionName value */ @@ -74,7 +74,7 @@ public ResourceMetricName resourceMetricDefinitionName() { } /** - * Get the unit value. + * Get unit of the metric. * * @return the unit value */ @@ -83,7 +83,7 @@ public String unit() { } /** - * Get the primaryAggregationType value. + * Get primary aggregation type. * * @return the primaryAggregationType value */ @@ -92,7 +92,7 @@ public String primaryAggregationType() { } /** - * Get the metricAvailabilities value. + * Get list of time grains supported for the metric together with retention period. * * @return the metricAvailabilities value */ @@ -101,7 +101,7 @@ public List metricAvailabilities() { } /** - * Get the resourceUri value. + * Get resource URI. * * @return the resourceUri value */ @@ -110,7 +110,7 @@ public String resourceUri() { } /** - * Get the resourceMetricDefinitionId value. + * Get resource ID. * * @return the resourceMetricDefinitionId value */ @@ -119,7 +119,7 @@ public String resourceMetricDefinitionId() { } /** - * Get the properties value. + * Get resource metric definition properties. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricImpl.java index 9b02f8bb691ad..aa2aa9577a172 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricImpl.java @@ -18,15 +18,15 @@ import com.microsoft.azure.management.appservice.v2016_08_01.ResourceMetricProperty; class ResourceMetricImpl extends WrapperImpl implements ResourceMetric { - private final AppServiceManager manager; + private final WebManager manager; - ResourceMetricImpl(ResourceMetricInner inner, AppServiceManager manager) { + ResourceMetricImpl(ResourceMetricInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricInner.java index 0b9b207fb1a4e..e4655612f95b7 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ResourceMetricInner.java @@ -74,7 +74,7 @@ public class ResourceMetricInner { private List properties; /** - * Get the name value. + * Get name of metric. * * @return the name value */ @@ -83,7 +83,7 @@ public ResourceMetricName name() { } /** - * Get the unit value. + * Get metric unit. * * @return the unit value */ @@ -92,7 +92,7 @@ public String unit() { } /** - * Get the timeGrain value. + * Get metric granularity. E.g PT1H, PT5M, P1D. * * @return the timeGrain value */ @@ -101,7 +101,7 @@ public String timeGrain() { } /** - * Get the startTime value. + * Get metric start time. * * @return the startTime value */ @@ -110,7 +110,7 @@ public DateTime startTime() { } /** - * Get the endTime value. + * Get metric end time. * * @return the endTime value */ @@ -119,7 +119,7 @@ public DateTime endTime() { } /** - * Get the resourceId value. + * Get metric resource Id. * * @return the resourceId value */ @@ -128,7 +128,7 @@ public String resourceId() { } /** - * Get the id value. + * Get resource Id. * * @return the id value */ @@ -137,7 +137,7 @@ public String id() { } /** - * Get the metricValues value. + * Get metric values. * * @return the metricValues value */ @@ -146,7 +146,7 @@ public List metricValues() { } /** - * Get the properties value. + * Get resource metric properties collection. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreRequestImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreRequestImpl.java index 4910eeff0d890..62f426fdab358 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreRequestImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreRequestImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.BackupRestoreOperationType; class RestoreRequestImpl extends WrapperImpl implements RestoreRequest { - private final AppServiceManager manager; - RestoreRequestImpl(RestoreRequestInner inner, AppServiceManager manager) { + private final WebManager manager; + RestoreRequestImpl(RestoreRequestInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreRequestInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreRequestInner.java index a1a5e2de1ce63..2c3e89d11dfd7 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreRequestInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreRequestInner.java @@ -98,7 +98,7 @@ public class RestoreRequestInner extends ProxyOnlyResource { private String hostingEnvironment; /** - * Get the storageAccountUrl value. + * Get sAS URL to the container. * * @return the storageAccountUrl value */ @@ -107,7 +107,7 @@ public String storageAccountUrl() { } /** - * Set the storageAccountUrl value. + * Set sAS URL to the container. * * @param storageAccountUrl the storageAccountUrl value to set * @return the RestoreRequestInner object itself. @@ -118,7 +118,7 @@ public RestoreRequestInner withStorageAccountUrl(String storageAccountUrl) { } /** - * Get the blobName value. + * Get name of a blob which contains the backup. * * @return the blobName value */ @@ -127,7 +127,7 @@ public String blobName() { } /** - * Set the blobName value. + * Set name of a blob which contains the backup. * * @param blobName the blobName value to set * @return the RestoreRequestInner object itself. @@ -138,7 +138,7 @@ public RestoreRequestInner withBlobName(String blobName) { } /** - * Get the overwrite value. + * Get <code>true</code> if the restore operation can overwrite target app; otherwise, <code>false</code>. <code>true</code> is needed if trying to restore over an existing app. * * @return the overwrite value */ @@ -147,7 +147,7 @@ public boolean overwrite() { } /** - * Set the overwrite value. + * Set <code>true</code> if the restore operation can overwrite target app; otherwise, <code>false</code>. <code>true</code> is needed if trying to restore over an existing app. * * @param overwrite the overwrite value to set * @return the RestoreRequestInner object itself. @@ -158,7 +158,7 @@ public RestoreRequestInner withOverwrite(boolean overwrite) { } /** - * Get the siteName value. + * Get name of an app. * * @return the siteName value */ @@ -167,7 +167,7 @@ public String siteName() { } /** - * Set the siteName value. + * Set name of an app. * * @param siteName the siteName value to set * @return the RestoreRequestInner object itself. @@ -178,7 +178,7 @@ public RestoreRequestInner withSiteName(String siteName) { } /** - * Get the databases value. + * Get collection of databases which should be restored. This list has to match the list of databases included in the backup. * * @return the databases value */ @@ -187,7 +187,7 @@ public List databases() { } /** - * Set the databases value. + * Set collection of databases which should be restored. This list has to match the list of databases included in the backup. * * @param databases the databases value to set * @return the RestoreRequestInner object itself. @@ -198,7 +198,8 @@ public RestoreRequestInner withDatabases(List databases) } /** - * Get the ignoreConflictingHostNames value. + * Get changes a logic when restoring an app with custom domains. <code>true</code> to remove custom domains automatically. If <code>false</code>, custom domains are added to + the app's object when it is being restored, but that might fail due to conflicts during the operation. * * @return the ignoreConflictingHostNames value */ @@ -207,7 +208,8 @@ public Boolean ignoreConflictingHostNames() { } /** - * Set the ignoreConflictingHostNames value. + * Set changes a logic when restoring an app with custom domains. <code>true</code> to remove custom domains automatically. If <code>false</code>, custom domains are added to + the app's object when it is being restored, but that might fail due to conflicts during the operation. * * @param ignoreConflictingHostNames the ignoreConflictingHostNames value to set * @return the RestoreRequestInner object itself. @@ -218,7 +220,7 @@ public RestoreRequestInner withIgnoreConflictingHostNames(Boolean ignoreConflict } /** - * Get the ignoreDatabases value. + * Get ignore the databases and only restore the site content. * * @return the ignoreDatabases value */ @@ -227,7 +229,7 @@ public Boolean ignoreDatabases() { } /** - * Set the ignoreDatabases value. + * Set ignore the databases and only restore the site content. * * @param ignoreDatabases the ignoreDatabases value to set * @return the RestoreRequestInner object itself. @@ -238,7 +240,7 @@ public RestoreRequestInner withIgnoreDatabases(Boolean ignoreDatabases) { } /** - * Get the appServicePlan value. + * Get specify app service plan that will own restored site. * * @return the appServicePlan value */ @@ -247,7 +249,7 @@ public String appServicePlan() { } /** - * Set the appServicePlan value. + * Set specify app service plan that will own restored site. * * @param appServicePlan the appServicePlan value to set * @return the RestoreRequestInner object itself. @@ -258,7 +260,7 @@ public RestoreRequestInner withAppServicePlan(String appServicePlan) { } /** - * Get the operationType value. + * Get operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot'. * * @return the operationType value */ @@ -267,7 +269,7 @@ public BackupRestoreOperationType operationType() { } /** - * Set the operationType value. + * Set operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot'. * * @param operationType the operationType value to set * @return the RestoreRequestInner object itself. @@ -278,7 +280,7 @@ public RestoreRequestInner withOperationType(BackupRestoreOperationType operatio } /** - * Get the adjustConnectionStrings value. + * Get <code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. * * @return the adjustConnectionStrings value */ @@ -287,7 +289,7 @@ public Boolean adjustConnectionStrings() { } /** - * Set the adjustConnectionStrings value. + * Set <code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. * * @param adjustConnectionStrings the adjustConnectionStrings value to set * @return the RestoreRequestInner object itself. @@ -298,7 +300,7 @@ public RestoreRequestInner withAdjustConnectionStrings(Boolean adjustConnectionS } /** - * Get the hostingEnvironment value. + * Get app Service Environment name, if needed (only when restoring an app to an App Service Environment). * * @return the hostingEnvironment value */ @@ -307,7 +309,7 @@ public String hostingEnvironment() { } /** - * Set the hostingEnvironment value. + * Set app Service Environment name, if needed (only when restoring an app to an App Service Environment). * * @param hostingEnvironment the hostingEnvironment value to set * @return the RestoreRequestInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreResponseImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreResponseImpl.java index c29d81ad57c4b..4db2303d238c7 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreResponseImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreResponseImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class RestoreResponseImpl extends WrapperImpl implements RestoreResponse { - private final AppServiceManager manager; - RestoreResponseImpl(RestoreResponseInner inner, AppServiceManager manager) { + private final WebManager manager; + RestoreResponseImpl(RestoreResponseInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreResponseInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreResponseInner.java index 799b6ffa7a480..2c0c0466b69f2 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreResponseInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/RestoreResponseInner.java @@ -25,7 +25,7 @@ public class RestoreResponseInner extends ProxyOnlyResource { private String operationId; /** - * Get the operationId value. + * Get when server starts the restore process, it will return an operation ID identifying that particular restore operation. * * @return the operationId value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteAuthSettingsImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteAuthSettingsImpl.java index 96eea08a88c64..458fbbbb50a5e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteAuthSettingsImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteAuthSettingsImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.UnauthenticatedClientAction; class SiteAuthSettingsImpl extends WrapperImpl implements SiteAuthSettings { - private final AppServiceManager manager; - SiteAuthSettingsImpl(SiteAuthSettingsInner inner, AppServiceManager manager) { + private final WebManager manager; + SiteAuthSettingsImpl(SiteAuthSettingsInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteAuthSettingsInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteAuthSettingsInner.java index 3dc3383fd23cf..f231de0644bd4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteAuthSettingsInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteAuthSettingsInner.java @@ -243,7 +243,7 @@ public class SiteAuthSettingsInner extends ProxyOnlyResource { private List microsoftAccountOAuthScopes; /** - * Get the enabled value. + * Get <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>. * * @return the enabled value */ @@ -252,7 +252,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>. * * @param enabled the enabled value to set * @return the SiteAuthSettingsInner object itself. @@ -263,7 +263,8 @@ public SiteAuthSettingsInner withEnabled(Boolean enabled) { } /** - * Get the runtimeVersion value. + * Get the RuntimeVersion of the Authentication / Authorization feature in use for the current app. + The setting in this value can control the behavior of certain features in the Authentication / Authorization module. * * @return the runtimeVersion value */ @@ -272,7 +273,8 @@ public String runtimeVersion() { } /** - * Set the runtimeVersion value. + * Set the RuntimeVersion of the Authentication / Authorization feature in use for the current app. + The setting in this value can control the behavior of certain features in the Authentication / Authorization module. * * @param runtimeVersion the runtimeVersion value to set * @return the SiteAuthSettingsInner object itself. @@ -283,7 +285,7 @@ public SiteAuthSettingsInner withRuntimeVersion(String runtimeVersion) { } /** - * Get the unauthenticatedClientAction value. + * Get the action to take when an unauthenticated client attempts to access the app. Possible values include: 'RedirectToLoginPage', 'AllowAnonymous'. * * @return the unauthenticatedClientAction value */ @@ -292,7 +294,7 @@ public UnauthenticatedClientAction unauthenticatedClientAction() { } /** - * Set the unauthenticatedClientAction value. + * Set the action to take when an unauthenticated client attempts to access the app. Possible values include: 'RedirectToLoginPage', 'AllowAnonymous'. * * @param unauthenticatedClientAction the unauthenticatedClientAction value to set * @return the SiteAuthSettingsInner object itself. @@ -303,7 +305,8 @@ public SiteAuthSettingsInner withUnauthenticatedClientAction(UnauthenticatedClie } /** - * Get the tokenStoreEnabled value. + * Get <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>. + The default is <code>false</code>. * * @return the tokenStoreEnabled value */ @@ -312,7 +315,8 @@ public Boolean tokenStoreEnabled() { } /** - * Set the tokenStoreEnabled value. + * Set <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>. + The default is <code>false</code>. * * @param tokenStoreEnabled the tokenStoreEnabled value to set * @return the SiteAuthSettingsInner object itself. @@ -323,7 +327,9 @@ public SiteAuthSettingsInner withTokenStoreEnabled(Boolean tokenStoreEnabled) { } /** - * Get the allowedExternalRedirectUrls value. + * Get external URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. + This is an advanced setting typically only needed by Windows Store application backends. + Note that URLs within the current domain are always implicitly allowed. * * @return the allowedExternalRedirectUrls value */ @@ -332,7 +338,9 @@ public List allowedExternalRedirectUrls() { } /** - * Set the allowedExternalRedirectUrls value. + * Set external URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. + This is an advanced setting typically only needed by Windows Store application backends. + Note that URLs within the current domain are always implicitly allowed. * * @param allowedExternalRedirectUrls the allowedExternalRedirectUrls value to set * @return the SiteAuthSettingsInner object itself. @@ -343,7 +351,9 @@ public SiteAuthSettingsInner withAllowedExternalRedirectUrls(List allowe } /** - * Get the defaultProvider value. + * Get the default authentication provider to use when multiple providers are configured. + This setting is only needed if multiple providers are configured and the unauthenticated client + action is set to "RedirectToLoginPage". Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', 'Twitter'. * * @return the defaultProvider value */ @@ -352,7 +362,9 @@ public BuiltInAuthenticationProvider defaultProvider() { } /** - * Set the defaultProvider value. + * Set the default authentication provider to use when multiple providers are configured. + This setting is only needed if multiple providers are configured and the unauthenticated client + action is set to "RedirectToLoginPage". Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', 'Twitter'. * * @param defaultProvider the defaultProvider value to set * @return the SiteAuthSettingsInner object itself. @@ -363,7 +375,8 @@ public SiteAuthSettingsInner withDefaultProvider(BuiltInAuthenticationProvider d } /** - * Get the tokenRefreshExtensionHours value. + * Get the number of hours after session token expiration that a session token can be used to + call the token refresh API. The default is 72 hours. * * @return the tokenRefreshExtensionHours value */ @@ -372,7 +385,8 @@ public Double tokenRefreshExtensionHours() { } /** - * Set the tokenRefreshExtensionHours value. + * Set the number of hours after session token expiration that a session token can be used to + call the token refresh API. The default is 72 hours. * * @param tokenRefreshExtensionHours the tokenRefreshExtensionHours value to set * @return the SiteAuthSettingsInner object itself. @@ -383,7 +397,10 @@ public SiteAuthSettingsInner withTokenRefreshExtensionHours(Double tokenRefreshE } /** - * Get the clientId value. + * Get the Client ID of this relying party application, known as the client_id. + This setting is required for enabling OpenID Connection authentication with Azure Active Directory or + other 3rd party OpenID Connect providers. + More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. * * @return the clientId value */ @@ -392,7 +409,10 @@ public String clientId() { } /** - * Set the clientId value. + * Set the Client ID of this relying party application, known as the client_id. + This setting is required for enabling OpenID Connection authentication with Azure Active Directory or + other 3rd party OpenID Connect providers. + More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. * * @param clientId the clientId value to set * @return the SiteAuthSettingsInner object itself. @@ -403,7 +423,10 @@ public SiteAuthSettingsInner withClientId(String clientId) { } /** - * Get the clientSecret value. + * Get the Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). + This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. + Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. + More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. * * @return the clientSecret value */ @@ -412,7 +435,10 @@ public String clientSecret() { } /** - * Set the clientSecret value. + * Set the Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). + This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. + Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. + More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. * * @param clientSecret the clientSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -423,7 +449,10 @@ public SiteAuthSettingsInner withClientSecret(String clientSecret) { } /** - * Get the issuer value. + * Get the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. + When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. + This URI is a case-sensitive identifier for the token issuer. + More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html. * * @return the issuer value */ @@ -432,7 +461,10 @@ public String issuer() { } /** - * Set the issuer value. + * Set the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. + When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. + This URI is a case-sensitive identifier for the token issuer. + More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html. * * @param issuer the issuer value to set * @return the SiteAuthSettingsInner object itself. @@ -443,7 +475,9 @@ public SiteAuthSettingsInner withIssuer(String issuer) { } /** - * Get the allowedAudiences value. + * Get allowed audience values to consider when validating JWTs issued by + Azure Active Directory. Note that the <code>ClientID</code> value is always considered an + allowed audience, regardless of this setting. * * @return the allowedAudiences value */ @@ -452,7 +486,9 @@ public List allowedAudiences() { } /** - * Set the allowedAudiences value. + * Set allowed audience values to consider when validating JWTs issued by + Azure Active Directory. Note that the <code>ClientID</code> value is always considered an + allowed audience, regardless of this setting. * * @param allowedAudiences the allowedAudiences value to set * @return the SiteAuthSettingsInner object itself. @@ -463,7 +499,8 @@ public SiteAuthSettingsInner withAllowedAudiences(List allowedAudiences) } /** - * Get the additionalLoginParams value. + * Get login parameters to send to the OpenID Connect authorization endpoint when + a user logs in. Each parameter must be in the form "key=value". * * @return the additionalLoginParams value */ @@ -472,7 +509,8 @@ public List additionalLoginParams() { } /** - * Set the additionalLoginParams value. + * Set login parameters to send to the OpenID Connect authorization endpoint when + a user logs in. Each parameter must be in the form "key=value". * * @param additionalLoginParams the additionalLoginParams value to set * @return the SiteAuthSettingsInner object itself. @@ -483,7 +521,9 @@ public SiteAuthSettingsInner withAdditionalLoginParams(List additionalLo } /** - * Get the googleClientId value. + * Get the OpenID Connect Client ID for the Google web application. + This setting is required for enabling Google Sign-In. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @return the googleClientId value */ @@ -492,7 +532,9 @@ public String googleClientId() { } /** - * Set the googleClientId value. + * Set the OpenID Connect Client ID for the Google web application. + This setting is required for enabling Google Sign-In. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @param googleClientId the googleClientId value to set * @return the SiteAuthSettingsInner object itself. @@ -503,7 +545,9 @@ public SiteAuthSettingsInner withGoogleClientId(String googleClientId) { } /** - * Get the googleClientSecret value. + * Get the client secret associated with the Google web application. + This setting is required for enabling Google Sign-In. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @return the googleClientSecret value */ @@ -512,7 +556,9 @@ public String googleClientSecret() { } /** - * Set the googleClientSecret value. + * Set the client secret associated with the Google web application. + This setting is required for enabling Google Sign-In. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @param googleClientSecret the googleClientSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -523,7 +569,9 @@ public SiteAuthSettingsInner withGoogleClientSecret(String googleClientSecret) { } /** - * Get the googleOAuthScopes value. + * Get the OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. + This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @return the googleOAuthScopes value */ @@ -532,7 +580,9 @@ public List googleOAuthScopes() { } /** - * Set the googleOAuthScopes value. + * Set the OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. + This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @param googleOAuthScopes the googleOAuthScopes value to set * @return the SiteAuthSettingsInner object itself. @@ -543,7 +593,9 @@ public SiteAuthSettingsInner withGoogleOAuthScopes(List googleOAuthScope } /** - * Get the facebookAppId value. + * Get the App ID of the Facebook app used for login. + This setting is required for enabling Facebook Login. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @return the facebookAppId value */ @@ -552,7 +604,9 @@ public String facebookAppId() { } /** - * Set the facebookAppId value. + * Set the App ID of the Facebook app used for login. + This setting is required for enabling Facebook Login. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @param facebookAppId the facebookAppId value to set * @return the SiteAuthSettingsInner object itself. @@ -563,7 +617,9 @@ public SiteAuthSettingsInner withFacebookAppId(String facebookAppId) { } /** - * Get the facebookAppSecret value. + * Get the App Secret of the Facebook app used for Facebook Login. + This setting is required for enabling Facebook Login. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @return the facebookAppSecret value */ @@ -572,7 +628,9 @@ public String facebookAppSecret() { } /** - * Set the facebookAppSecret value. + * Set the App Secret of the Facebook app used for Facebook Login. + This setting is required for enabling Facebook Login. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @param facebookAppSecret the facebookAppSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -583,7 +641,9 @@ public SiteAuthSettingsInner withFacebookAppSecret(String facebookAppSecret) { } /** - * Get the facebookOAuthScopes value. + * Get the OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. + This setting is optional. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @return the facebookOAuthScopes value */ @@ -592,7 +652,9 @@ public List facebookOAuthScopes() { } /** - * Set the facebookOAuthScopes value. + * Set the OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. + This setting is optional. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @param facebookOAuthScopes the facebookOAuthScopes value to set * @return the SiteAuthSettingsInner object itself. @@ -603,7 +665,9 @@ public SiteAuthSettingsInner withFacebookOAuthScopes(List facebookOAuthS } /** - * Get the twitterConsumerKey value. + * Get the OAuth 1.0a consumer key of the Twitter application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. * * @return the twitterConsumerKey value */ @@ -612,7 +676,9 @@ public String twitterConsumerKey() { } /** - * Set the twitterConsumerKey value. + * Set the OAuth 1.0a consumer key of the Twitter application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. * * @param twitterConsumerKey the twitterConsumerKey value to set * @return the SiteAuthSettingsInner object itself. @@ -623,7 +689,9 @@ public SiteAuthSettingsInner withTwitterConsumerKey(String twitterConsumerKey) { } /** - * Get the twitterConsumerSecret value. + * Get the OAuth 1.0a consumer secret of the Twitter application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. * * @return the twitterConsumerSecret value */ @@ -632,7 +700,9 @@ public String twitterConsumerSecret() { } /** - * Set the twitterConsumerSecret value. + * Set the OAuth 1.0a consumer secret of the Twitter application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. * * @param twitterConsumerSecret the twitterConsumerSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -643,7 +713,9 @@ public SiteAuthSettingsInner withTwitterConsumerSecret(String twitterConsumerSec } /** - * Get the microsoftAccountClientId value. + * Get the OAuth 2.0 client ID that was created for the app used for authentication. + This setting is required for enabling Microsoft Account authentication. + Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm. * * @return the microsoftAccountClientId value */ @@ -652,7 +724,9 @@ public String microsoftAccountClientId() { } /** - * Set the microsoftAccountClientId value. + * Set the OAuth 2.0 client ID that was created for the app used for authentication. + This setting is required for enabling Microsoft Account authentication. + Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm. * * @param microsoftAccountClientId the microsoftAccountClientId value to set * @return the SiteAuthSettingsInner object itself. @@ -663,7 +737,9 @@ public SiteAuthSettingsInner withMicrosoftAccountClientId(String microsoftAccoun } /** - * Get the microsoftAccountClientSecret value. + * Get the OAuth 2.0 client secret that was created for the app used for authentication. + This setting is required for enabling Microsoft Account authentication. + Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm. * * @return the microsoftAccountClientSecret value */ @@ -672,7 +748,9 @@ public String microsoftAccountClientSecret() { } /** - * Set the microsoftAccountClientSecret value. + * Set the OAuth 2.0 client secret that was created for the app used for authentication. + This setting is required for enabling Microsoft Account authentication. + Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm. * * @param microsoftAccountClientSecret the microsoftAccountClientSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -683,7 +761,9 @@ public SiteAuthSettingsInner withMicrosoftAccountClientSecret(String microsoftAc } /** - * Get the microsoftAccountOAuthScopes value. + * Get the OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. + This setting is optional. If not specified, "wl.basic" is used as the default scope. + Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx. * * @return the microsoftAccountOAuthScopes value */ @@ -692,7 +772,9 @@ public List microsoftAccountOAuthScopes() { } /** - * Set the microsoftAccountOAuthScopes value. + * Set the OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. + This setting is optional. If not specified, "wl.basic" is used as the default scope. + Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx. * * @param microsoftAccountOAuthScopes the microsoftAccountOAuthScopes value to set * @return the SiteAuthSettingsInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteCloneabilityImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteCloneabilityImpl.java index f5c69e2c57cc3..08540054cfc80 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteCloneabilityImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteCloneabilityImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.CloneAbilityResult; class SiteCloneabilityImpl extends WrapperImpl implements SiteCloneability { - private final AppServiceManager manager; - SiteCloneabilityImpl(SiteCloneabilityInner inner, AppServiceManager manager) { + private final WebManager manager; + SiteCloneabilityImpl(SiteCloneabilityInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteCloneabilityInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteCloneabilityInner.java index 4eb33fe0ece88..febf1699aa2a5 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteCloneabilityInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteCloneabilityInner.java @@ -45,7 +45,7 @@ public class SiteCloneabilityInner { private List blockingCharacteristics; /** - * Get the result value. + * Get name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'. * * @return the result value */ @@ -54,7 +54,7 @@ public CloneAbilityResult result() { } /** - * Set the result value. + * Set name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'. * * @param result the result value to set * @return the SiteCloneabilityInner object itself. @@ -65,7 +65,7 @@ public SiteCloneabilityInner withResult(CloneAbilityResult result) { } /** - * Get the blockingFeatures value. + * Get list of features enabled on app that prevent cloning. * * @return the blockingFeatures value */ @@ -74,7 +74,7 @@ public List blockingFeatures() { } /** - * Set the blockingFeatures value. + * Set list of features enabled on app that prevent cloning. * * @param blockingFeatures the blockingFeatures value to set * @return the SiteCloneabilityInner object itself. @@ -85,7 +85,8 @@ public SiteCloneabilityInner withBlockingFeatures(List unsupportedFeatures() { } /** - * Set the unsupportedFeatures value. + * Set list of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned + but the features in this list will not be set up on cloned app. * * @param unsupportedFeatures the unsupportedFeatures value to set * @return the SiteCloneabilityInner object itself. @@ -105,7 +107,7 @@ public SiteCloneabilityInner withUnsupportedFeatures(List blockingCharacteristics() { } /** - * Set the blockingCharacteristics value. + * Set list of blocking application characteristics. * * @param blockingCharacteristics the blockingCharacteristics value to set * @return the SiteCloneabilityInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceImpl.java index 95023a99482b9..71a443c23f977 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceImpl.java @@ -29,14 +29,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.VirtualApplication; class SiteConfigResourceImpl extends WrapperImpl implements SiteConfigResource { - private final AppServiceManager manager; - SiteConfigResourceImpl(SiteConfigResourceInner inner, AppServiceManager manager) { + private final WebManager manager; + SiteConfigResourceImpl(SiteConfigResourceInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceInner.java index 222ff5d21b303..71b3c83436abc 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceInner.java @@ -320,7 +320,7 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { private SupportedTlsVersions minTlsVersion; /** - * Get the numberOfWorkers value. + * Get number of workers. * * @return the numberOfWorkers value */ @@ -329,7 +329,7 @@ public Integer numberOfWorkers() { } /** - * Set the numberOfWorkers value. + * Set number of workers. * * @param numberOfWorkers the numberOfWorkers value to set * @return the SiteConfigResourceInner object itself. @@ -340,7 +340,7 @@ public SiteConfigResourceInner withNumberOfWorkers(Integer numberOfWorkers) { } /** - * Get the defaultDocuments value. + * Get default documents. * * @return the defaultDocuments value */ @@ -349,7 +349,7 @@ public List defaultDocuments() { } /** - * Set the defaultDocuments value. + * Set default documents. * * @param defaultDocuments the defaultDocuments value to set * @return the SiteConfigResourceInner object itself. @@ -360,7 +360,7 @@ public SiteConfigResourceInner withDefaultDocuments(List defaultDocument } /** - * Get the netFrameworkVersion value. + * Get .NET Framework version. * * @return the netFrameworkVersion value */ @@ -369,7 +369,7 @@ public String netFrameworkVersion() { } /** - * Set the netFrameworkVersion value. + * Set .NET Framework version. * * @param netFrameworkVersion the netFrameworkVersion value to set * @return the SiteConfigResourceInner object itself. @@ -380,7 +380,7 @@ public SiteConfigResourceInner withNetFrameworkVersion(String netFrameworkVersio } /** - * Get the phpVersion value. + * Get version of PHP. * * @return the phpVersion value */ @@ -389,7 +389,7 @@ public String phpVersion() { } /** - * Set the phpVersion value. + * Set version of PHP. * * @param phpVersion the phpVersion value to set * @return the SiteConfigResourceInner object itself. @@ -400,7 +400,7 @@ public SiteConfigResourceInner withPhpVersion(String phpVersion) { } /** - * Get the pythonVersion value. + * Get version of Python. * * @return the pythonVersion value */ @@ -409,7 +409,7 @@ public String pythonVersion() { } /** - * Set the pythonVersion value. + * Set version of Python. * * @param pythonVersion the pythonVersion value to set * @return the SiteConfigResourceInner object itself. @@ -420,7 +420,7 @@ public SiteConfigResourceInner withPythonVersion(String pythonVersion) { } /** - * Get the nodeVersion value. + * Get version of Node.js. * * @return the nodeVersion value */ @@ -429,7 +429,7 @@ public String nodeVersion() { } /** - * Set the nodeVersion value. + * Set version of Node.js. * * @param nodeVersion the nodeVersion value to set * @return the SiteConfigResourceInner object itself. @@ -440,7 +440,7 @@ public SiteConfigResourceInner withNodeVersion(String nodeVersion) { } /** - * Get the linuxFxVersion value. + * Get linux App Framework and version. * * @return the linuxFxVersion value */ @@ -449,7 +449,7 @@ public String linuxFxVersion() { } /** - * Set the linuxFxVersion value. + * Set linux App Framework and version. * * @param linuxFxVersion the linuxFxVersion value to set * @return the SiteConfigResourceInner object itself. @@ -460,7 +460,7 @@ public SiteConfigResourceInner withLinuxFxVersion(String linuxFxVersion) { } /** - * Get the requestTracingEnabled value. + * Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @return the requestTracingEnabled value */ @@ -469,7 +469,7 @@ public Boolean requestTracingEnabled() { } /** - * Set the requestTracingEnabled value. + * Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @param requestTracingEnabled the requestTracingEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -480,7 +480,7 @@ public SiteConfigResourceInner withRequestTracingEnabled(Boolean requestTracingE } /** - * Get the requestTracingExpirationTime value. + * Get request tracing expiration time. * * @return the requestTracingExpirationTime value */ @@ -489,7 +489,7 @@ public DateTime requestTracingExpirationTime() { } /** - * Set the requestTracingExpirationTime value. + * Set request tracing expiration time. * * @param requestTracingExpirationTime the requestTracingExpirationTime value to set * @return the SiteConfigResourceInner object itself. @@ -500,7 +500,7 @@ public SiteConfigResourceInner withRequestTracingExpirationTime(DateTime request } /** - * Get the remoteDebuggingEnabled value. + * Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @return the remoteDebuggingEnabled value */ @@ -509,7 +509,7 @@ public Boolean remoteDebuggingEnabled() { } /** - * Set the remoteDebuggingEnabled value. + * Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @param remoteDebuggingEnabled the remoteDebuggingEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -520,7 +520,7 @@ public SiteConfigResourceInner withRemoteDebuggingEnabled(Boolean remoteDebuggin } /** - * Get the remoteDebuggingVersion value. + * Get remote debugging version. * * @return the remoteDebuggingVersion value */ @@ -529,7 +529,7 @@ public String remoteDebuggingVersion() { } /** - * Set the remoteDebuggingVersion value. + * Set remote debugging version. * * @param remoteDebuggingVersion the remoteDebuggingVersion value to set * @return the SiteConfigResourceInner object itself. @@ -540,7 +540,7 @@ public SiteConfigResourceInner withRemoteDebuggingVersion(String remoteDebugging } /** - * Get the httpLoggingEnabled value. + * Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @return the httpLoggingEnabled value */ @@ -549,7 +549,7 @@ public Boolean httpLoggingEnabled() { } /** - * Set the httpLoggingEnabled value. + * Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @param httpLoggingEnabled the httpLoggingEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -560,7 +560,7 @@ public SiteConfigResourceInner withHttpLoggingEnabled(Boolean httpLoggingEnabled } /** - * Get the logsDirectorySizeLimit value. + * Get hTTP logs directory size limit. * * @return the logsDirectorySizeLimit value */ @@ -569,7 +569,7 @@ public Integer logsDirectorySizeLimit() { } /** - * Set the logsDirectorySizeLimit value. + * Set hTTP logs directory size limit. * * @param logsDirectorySizeLimit the logsDirectorySizeLimit value to set * @return the SiteConfigResourceInner object itself. @@ -580,7 +580,7 @@ public SiteConfigResourceInner withLogsDirectorySizeLimit(Integer logsDirectoryS } /** - * Get the detailedErrorLoggingEnabled value. + * Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @return the detailedErrorLoggingEnabled value */ @@ -589,7 +589,7 @@ public Boolean detailedErrorLoggingEnabled() { } /** - * Set the detailedErrorLoggingEnabled value. + * Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @param detailedErrorLoggingEnabled the detailedErrorLoggingEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -600,7 +600,7 @@ public SiteConfigResourceInner withDetailedErrorLoggingEnabled(Boolean detailedE } /** - * Get the publishingUsername value. + * Get publishing user name. * * @return the publishingUsername value */ @@ -609,7 +609,7 @@ public String publishingUsername() { } /** - * Set the publishingUsername value. + * Set publishing user name. * * @param publishingUsername the publishingUsername value to set * @return the SiteConfigResourceInner object itself. @@ -620,7 +620,7 @@ public SiteConfigResourceInner withPublishingUsername(String publishingUsername) } /** - * Get the appSettings value. + * Get application settings. * * @return the appSettings value */ @@ -629,7 +629,7 @@ public List appSettings() { } /** - * Set the appSettings value. + * Set application settings. * * @param appSettings the appSettings value to set * @return the SiteConfigResourceInner object itself. @@ -640,7 +640,7 @@ public SiteConfigResourceInner withAppSettings(List appSettings) } /** - * Get the connectionStrings value. + * Get connection strings. * * @return the connectionStrings value */ @@ -649,7 +649,7 @@ public List connectionStrings() { } /** - * Set the connectionStrings value. + * Set connection strings. * * @param connectionStrings the connectionStrings value to set * @return the SiteConfigResourceInner object itself. @@ -660,7 +660,7 @@ public SiteConfigResourceInner withConnectionStrings(List connec } /** - * Get the machineKey value. + * Get site MachineKey. * * @return the machineKey value */ @@ -669,7 +669,7 @@ public SiteMachineKey machineKey() { } /** - * Get the handlerMappings value. + * Get handler mappings. * * @return the handlerMappings value */ @@ -678,7 +678,7 @@ public List handlerMappings() { } /** - * Set the handlerMappings value. + * Set handler mappings. * * @param handlerMappings the handlerMappings value to set * @return the SiteConfigResourceInner object itself. @@ -689,7 +689,7 @@ public SiteConfigResourceInner withHandlerMappings(List handlerM } /** - * Get the documentRoot value. + * Get document root. * * @return the documentRoot value */ @@ -698,7 +698,7 @@ public String documentRoot() { } /** - * Set the documentRoot value. + * Set document root. * * @param documentRoot the documentRoot value to set * @return the SiteConfigResourceInner object itself. @@ -709,7 +709,7 @@ public SiteConfigResourceInner withDocumentRoot(String documentRoot) { } /** - * Get the scmType value. + * Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @return the scmType value */ @@ -718,7 +718,7 @@ public ScmType scmType() { } /** - * Set the scmType value. + * Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @param scmType the scmType value to set * @return the SiteConfigResourceInner object itself. @@ -729,7 +729,7 @@ public SiteConfigResourceInner withScmType(ScmType scmType) { } /** - * Get the use32BitWorkerProcess value. + * Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @return the use32BitWorkerProcess value */ @@ -738,7 +738,7 @@ public Boolean use32BitWorkerProcess() { } /** - * Set the use32BitWorkerProcess value. + * Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @param use32BitWorkerProcess the use32BitWorkerProcess value to set * @return the SiteConfigResourceInner object itself. @@ -749,7 +749,7 @@ public SiteConfigResourceInner withUse32BitWorkerProcess(Boolean use32BitWorkerP } /** - * Get the webSocketsEnabled value. + * Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @return the webSocketsEnabled value */ @@ -758,7 +758,7 @@ public Boolean webSocketsEnabled() { } /** - * Set the webSocketsEnabled value. + * Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @param webSocketsEnabled the webSocketsEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -769,7 +769,7 @@ public SiteConfigResourceInner withWebSocketsEnabled(Boolean webSocketsEnabled) } /** - * Get the alwaysOn value. + * Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @return the alwaysOn value */ @@ -778,7 +778,7 @@ public Boolean alwaysOn() { } /** - * Set the alwaysOn value. + * Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @param alwaysOn the alwaysOn value to set * @return the SiteConfigResourceInner object itself. @@ -789,7 +789,7 @@ public SiteConfigResourceInner withAlwaysOn(Boolean alwaysOn) { } /** - * Get the javaVersion value. + * Get java version. * * @return the javaVersion value */ @@ -798,7 +798,7 @@ public String javaVersion() { } /** - * Set the javaVersion value. + * Set java version. * * @param javaVersion the javaVersion value to set * @return the SiteConfigResourceInner object itself. @@ -809,7 +809,7 @@ public SiteConfigResourceInner withJavaVersion(String javaVersion) { } /** - * Get the javaContainer value. + * Get java container. * * @return the javaContainer value */ @@ -818,7 +818,7 @@ public String javaContainer() { } /** - * Set the javaContainer value. + * Set java container. * * @param javaContainer the javaContainer value to set * @return the SiteConfigResourceInner object itself. @@ -829,7 +829,7 @@ public SiteConfigResourceInner withJavaContainer(String javaContainer) { } /** - * Get the javaContainerVersion value. + * Get java container version. * * @return the javaContainerVersion value */ @@ -838,7 +838,7 @@ public String javaContainerVersion() { } /** - * Set the javaContainerVersion value. + * Set java container version. * * @param javaContainerVersion the javaContainerVersion value to set * @return the SiteConfigResourceInner object itself. @@ -849,7 +849,7 @@ public SiteConfigResourceInner withJavaContainerVersion(String javaContainerVers } /** - * Get the appCommandLine value. + * Get app command line to launch. * * @return the appCommandLine value */ @@ -858,7 +858,7 @@ public String appCommandLine() { } /** - * Set the appCommandLine value. + * Set app command line to launch. * * @param appCommandLine the appCommandLine value to set * @return the SiteConfigResourceInner object itself. @@ -869,7 +869,7 @@ public SiteConfigResourceInner withAppCommandLine(String appCommandLine) { } /** - * Get the managedPipelineMode value. + * Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @return the managedPipelineMode value */ @@ -878,7 +878,7 @@ public ManagedPipelineMode managedPipelineMode() { } /** - * Set the managedPipelineMode value. + * Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @param managedPipelineMode the managedPipelineMode value to set * @return the SiteConfigResourceInner object itself. @@ -889,7 +889,7 @@ public SiteConfigResourceInner withManagedPipelineMode(ManagedPipelineMode manag } /** - * Get the virtualApplications value. + * Get virtual applications. * * @return the virtualApplications value */ @@ -898,7 +898,7 @@ public List virtualApplications() { } /** - * Set the virtualApplications value. + * Set virtual applications. * * @param virtualApplications the virtualApplications value to set * @return the SiteConfigResourceInner object itself. @@ -909,7 +909,7 @@ public SiteConfigResourceInner withVirtualApplications(List } /** - * Get the loadBalancing value. + * Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @return the loadBalancing value */ @@ -918,7 +918,7 @@ public SiteLoadBalancing loadBalancing() { } /** - * Set the loadBalancing value. + * Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @param loadBalancing the loadBalancing value to set * @return the SiteConfigResourceInner object itself. @@ -929,7 +929,7 @@ public SiteConfigResourceInner withLoadBalancing(SiteLoadBalancing loadBalancing } /** - * Get the experiments value. + * Get this is work around for polymophic types. * * @return the experiments value */ @@ -938,7 +938,7 @@ public Experiments experiments() { } /** - * Set the experiments value. + * Set this is work around for polymophic types. * * @param experiments the experiments value to set * @return the SiteConfigResourceInner object itself. @@ -949,7 +949,7 @@ public SiteConfigResourceInner withExperiments(Experiments experiments) { } /** - * Get the limits value. + * Get site limits. * * @return the limits value */ @@ -958,7 +958,7 @@ public SiteLimits limits() { } /** - * Set the limits value. + * Set site limits. * * @param limits the limits value to set * @return the SiteConfigResourceInner object itself. @@ -969,7 +969,7 @@ public SiteConfigResourceInner withLimits(SiteLimits limits) { } /** - * Get the autoHealEnabled value. + * Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @return the autoHealEnabled value */ @@ -978,7 +978,7 @@ public Boolean autoHealEnabled() { } /** - * Set the autoHealEnabled value. + * Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @param autoHealEnabled the autoHealEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -989,7 +989,7 @@ public SiteConfigResourceInner withAutoHealEnabled(Boolean autoHealEnabled) { } /** - * Get the autoHealRules value. + * Get auto Heal rules. * * @return the autoHealRules value */ @@ -998,7 +998,7 @@ public AutoHealRules autoHealRules() { } /** - * Set the autoHealRules value. + * Set auto Heal rules. * * @param autoHealRules the autoHealRules value to set * @return the SiteConfigResourceInner object itself. @@ -1009,7 +1009,7 @@ public SiteConfigResourceInner withAutoHealRules(AutoHealRules autoHealRules) { } /** - * Get the tracingOptions value. + * Get tracing options. * * @return the tracingOptions value */ @@ -1018,7 +1018,7 @@ public String tracingOptions() { } /** - * Set the tracingOptions value. + * Set tracing options. * * @param tracingOptions the tracingOptions value to set * @return the SiteConfigResourceInner object itself. @@ -1029,7 +1029,7 @@ public SiteConfigResourceInner withTracingOptions(String tracingOptions) { } /** - * Get the vnetName value. + * Get virtual Network name. * * @return the vnetName value */ @@ -1038,7 +1038,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set virtual Network name. * * @param vnetName the vnetName value to set * @return the SiteConfigResourceInner object itself. @@ -1049,7 +1049,7 @@ public SiteConfigResourceInner withVnetName(String vnetName) { } /** - * Get the cors value. + * Get cross-Origin Resource Sharing (CORS) settings. * * @return the cors value */ @@ -1058,7 +1058,7 @@ public CorsSettings cors() { } /** - * Set the cors value. + * Set cross-Origin Resource Sharing (CORS) settings. * * @param cors the cors value to set * @return the SiteConfigResourceInner object itself. @@ -1069,7 +1069,7 @@ public SiteConfigResourceInner withCors(CorsSettings cors) { } /** - * Get the push value. + * Get push endpoint settings. * * @return the push value */ @@ -1078,7 +1078,7 @@ public PushSettingsInner push() { } /** - * Set the push value. + * Set push endpoint settings. * * @param push the push value to set * @return the SiteConfigResourceInner object itself. @@ -1089,7 +1089,7 @@ public SiteConfigResourceInner withPush(PushSettingsInner push) { } /** - * Get the apiDefinition value. + * Get information about the formal API definition for the app. * * @return the apiDefinition value */ @@ -1098,7 +1098,7 @@ public ApiDefinitionInfo apiDefinition() { } /** - * Set the apiDefinition value. + * Set information about the formal API definition for the app. * * @param apiDefinition the apiDefinition value to set * @return the SiteConfigResourceInner object itself. @@ -1109,7 +1109,7 @@ public SiteConfigResourceInner withApiDefinition(ApiDefinitionInfo apiDefinition } /** - * Get the autoSwapSlotName value. + * Get auto-swap slot name. * * @return the autoSwapSlotName value */ @@ -1118,7 +1118,7 @@ public String autoSwapSlotName() { } /** - * Set the autoSwapSlotName value. + * Set auto-swap slot name. * * @param autoSwapSlotName the autoSwapSlotName value to set * @return the SiteConfigResourceInner object itself. @@ -1129,7 +1129,7 @@ public SiteConfigResourceInner withAutoSwapSlotName(String autoSwapSlotName) { } /** - * Get the localMySqlEnabled value. + * Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @return the localMySqlEnabled value */ @@ -1138,7 +1138,7 @@ public Boolean localMySqlEnabled() { } /** - * Set the localMySqlEnabled value. + * Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @param localMySqlEnabled the localMySqlEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -1149,7 +1149,7 @@ public SiteConfigResourceInner withLocalMySqlEnabled(Boolean localMySqlEnabled) } /** - * Get the ipSecurityRestrictions value. + * Get iP security restrictions. * * @return the ipSecurityRestrictions value */ @@ -1158,7 +1158,7 @@ public List ipSecurityRestrictions() { } /** - * Set the ipSecurityRestrictions value. + * Set iP security restrictions. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfigResourceInner object itself. @@ -1169,7 +1169,7 @@ public SiteConfigResourceInner withIpSecurityRestrictions(List implements SiteConfigurationSnapshotInfo { - private final AppServiceManager manager; - SiteConfigurationSnapshotInfoImpl(SiteConfigurationSnapshotInfoInner inner, AppServiceManager manager) { + private final WebManager manager; + SiteConfigurationSnapshotInfoImpl(SiteConfigurationSnapshotInfoInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigurationSnapshotInfoInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigurationSnapshotInfoInner.java index ae83f05b88fb5..0757d151b56f4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigurationSnapshotInfoInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigurationSnapshotInfoInner.java @@ -31,7 +31,7 @@ public class SiteConfigurationSnapshotInfoInner extends ProxyOnlyResource { private Integer siteConfigurationSnapshotInfoId; /** - * Get the time value. + * Get the time the snapshot was taken. * * @return the time value */ @@ -40,7 +40,7 @@ public DateTime time() { } /** - * Get the siteConfigurationSnapshotInfoId value. + * Get the id of the snapshot. * * @return the siteConfigurationSnapshotInfoId value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteExtensionInfoImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteExtensionInfoImpl.java index 6b4fbfc36955d..9038bfb26c52f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteExtensionInfoImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteExtensionInfoImpl.java @@ -16,12 +16,12 @@ import com.microsoft.azure.management.appservice.v2016_08_01.SiteExtensionType; class SiteExtensionInfoImpl extends CreatableUpdatableImpl implements SiteExtensionInfo, SiteExtensionInfo.Definition, SiteExtensionInfo.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String siteExtensionId; - SiteExtensionInfoImpl(String name, AppServiceManager manager) { + SiteExtensionInfoImpl(String name, WebManager manager) { super(name, new SiteExtensionInfoInner()); this.manager = manager; // Set resource name @@ -29,7 +29,7 @@ class SiteExtensionInfoImpl extends CreatableUpdatableImpl authors() { } /** - * Set the authors value. + * Set list of authors. * * @param authors the authors value to set * @return the SiteExtensionInfoInner object itself. @@ -382,7 +382,7 @@ public SiteExtensionInfoInner withAuthors(List authors) { } /** - * Get the installationArgs value. + * Get installer command line parameters. * * @return the installationArgs value */ @@ -391,7 +391,7 @@ public String installationArgs() { } /** - * Set the installationArgs value. + * Set installer command line parameters. * * @param installationArgs the installationArgs value to set * @return the SiteExtensionInfoInner object itself. @@ -402,7 +402,7 @@ public SiteExtensionInfoInner withInstallationArgs(String installationArgs) { } /** - * Get the publishedDateTime value. + * Get published timestamp. * * @return the publishedDateTime value */ @@ -411,7 +411,7 @@ public DateTime publishedDateTime() { } /** - * Set the publishedDateTime value. + * Set published timestamp. * * @param publishedDateTime the publishedDateTime value to set * @return the SiteExtensionInfoInner object itself. @@ -422,7 +422,7 @@ public SiteExtensionInfoInner withPublishedDateTime(DateTime publishedDateTime) } /** - * Get the downloadCount value. + * Get count of downloads. * * @return the downloadCount value */ @@ -431,7 +431,7 @@ public Integer downloadCount() { } /** - * Set the downloadCount value. + * Set count of downloads. * * @param downloadCount the downloadCount value to set * @return the SiteExtensionInfoInner object itself. @@ -442,7 +442,7 @@ public SiteExtensionInfoInner withDownloadCount(Integer downloadCount) { } /** - * Get the localIsLatestVersion value. + * Get <code>true</code> if the local version is the latest version; <code>false</code> otherwise. * * @return the localIsLatestVersion value */ @@ -451,7 +451,7 @@ public Boolean localIsLatestVersion() { } /** - * Set the localIsLatestVersion value. + * Set <code>true</code> if the local version is the latest version; <code>false</code> otherwise. * * @param localIsLatestVersion the localIsLatestVersion value to set * @return the SiteExtensionInfoInner object itself. @@ -462,7 +462,7 @@ public SiteExtensionInfoInner withLocalIsLatestVersion(Boolean localIsLatestVers } /** - * Get the localPath value. + * Get local path. * * @return the localPath value */ @@ -471,7 +471,7 @@ public String localPath() { } /** - * Set the localPath value. + * Set local path. * * @param localPath the localPath value to set * @return the SiteExtensionInfoInner object itself. @@ -482,7 +482,7 @@ public SiteExtensionInfoInner withLocalPath(String localPath) { } /** - * Get the installedDateTime value. + * Get installed timestamp. * * @return the installedDateTime value */ @@ -491,7 +491,7 @@ public DateTime installedDateTime() { } /** - * Set the installedDateTime value. + * Set installed timestamp. * * @param installedDateTime the installedDateTime value to set * @return the SiteExtensionInfoInner object itself. @@ -502,7 +502,7 @@ public SiteExtensionInfoInner withInstalledDateTime(DateTime installedDateTime) } /** - * Get the provisioningState value. + * Get provisioning state. * * @return the provisioningState value */ @@ -511,7 +511,7 @@ public String provisioningState() { } /** - * Set the provisioningState value. + * Set provisioning state. * * @param provisioningState the provisioningState value to set * @return the SiteExtensionInfoInner object itself. @@ -522,7 +522,7 @@ public SiteExtensionInfoInner withProvisioningState(String provisioningState) { } /** - * Get the comment value. + * Get site Extension comment. * * @return the comment value */ @@ -531,7 +531,7 @@ public String comment() { } /** - * Set the comment value. + * Set site Extension comment. * * @param comment the comment value to set * @return the SiteExtensionInfoInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInner.java index b11c69a36d50f..accb8f760eeba 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInner.java @@ -262,7 +262,7 @@ public class SiteInner extends Resource { private String kind; /** - * Get the state value. + * Get current state of the app. * * @return the state value */ @@ -271,7 +271,7 @@ public String state() { } /** - * Get the hostNames value. + * Get hostnames associated with the app. * * @return the hostNames value */ @@ -280,7 +280,7 @@ public List hostNames() { } /** - * Get the repositorySiteName value. + * Get name of the repository site. * * @return the repositorySiteName value */ @@ -289,7 +289,7 @@ public String repositorySiteName() { } /** - * Get the usageState value. + * Get state indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'. * * @return the usageState value */ @@ -298,7 +298,7 @@ public UsageState usageState() { } /** - * Get the enabled value. + * Get <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @return the enabled value */ @@ -307,7 +307,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @param enabled the enabled value to set * @return the SiteInner object itself. @@ -318,7 +318,8 @@ public SiteInner withEnabled(Boolean enabled) { } /** - * Get the enabledHostNames value. + * Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, + the app is not served on those hostnames. * * @return the enabledHostNames value */ @@ -327,7 +328,7 @@ public List enabledHostNames() { } /** - * Get the availabilityState value. + * Get management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'. * * @return the availabilityState value */ @@ -336,7 +337,7 @@ public SiteAvailabilityState availabilityState() { } /** - * Get the hostNameSslStates value. + * Get hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @return the hostNameSslStates value */ @@ -345,7 +346,7 @@ public List hostNameSslStates() { } /** - * Set the hostNameSslStates value. + * Set hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @param hostNameSslStates the hostNameSslStates value to set * @return the SiteInner object itself. @@ -356,7 +357,7 @@ public SiteInner withHostNameSslStates(List hostNameSslStates) } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -365,7 +366,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the SiteInner object itself. @@ -376,7 +377,7 @@ public SiteInner withServerFarmId(String serverFarmId) { } /** - * Get the reserved value. + * Get <code>true</code> if reserved; otherwise, <code>false</code>. * * @return the reserved value */ @@ -385,7 +386,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set <code>true</code> if reserved; otherwise, <code>false</code>. * * @param reserved the reserved value to set * @return the SiteInner object itself. @@ -396,7 +397,7 @@ public SiteInner withReserved(Boolean reserved) { } /** - * Get the lastModifiedTimeUtc value. + * Get last time the app was modified, in UTC. Read-only. * * @return the lastModifiedTimeUtc value */ @@ -405,7 +406,7 @@ public DateTime lastModifiedTimeUtc() { } /** - * Get the siteConfig value. + * Get configuration of the app. * * @return the siteConfig value */ @@ -414,7 +415,7 @@ public SiteConfig siteConfig() { } /** - * Set the siteConfig value. + * Set configuration of the app. * * @param siteConfig the siteConfig value to set * @return the SiteInner object itself. @@ -425,7 +426,7 @@ public SiteInner withSiteConfig(SiteConfig siteConfig) { } /** - * Get the trafficManagerHostNames value. + * Get azure Traffic Manager hostnames associated with the app. Read-only. * * @return the trafficManagerHostNames value */ @@ -434,7 +435,7 @@ public List trafficManagerHostNames() { } /** - * Get the scmSiteAlsoStopped value. + * Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @return the scmSiteAlsoStopped value */ @@ -443,7 +444,7 @@ public Boolean scmSiteAlsoStopped() { } /** - * Set the scmSiteAlsoStopped value. + * Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @param scmSiteAlsoStopped the scmSiteAlsoStopped value to set * @return the SiteInner object itself. @@ -454,7 +455,7 @@ public SiteInner withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped) { } /** - * Get the targetSwapSlot value. + * Get specifies which deployment slot this app will swap into. Read-only. * * @return the targetSwapSlot value */ @@ -463,7 +464,7 @@ public String targetSwapSlot() { } /** - * Get the hostingEnvironmentProfile value. + * Get app Service Environment to use for the app. * * @return the hostingEnvironmentProfile value */ @@ -472,7 +473,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set app Service Environment to use for the app. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the SiteInner object itself. @@ -483,7 +484,7 @@ public SiteInner withHostingEnvironmentProfile(HostingEnvironmentProfile hosting } /** - * Get the clientAffinityEnabled value. + * Get <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @return the clientAffinityEnabled value */ @@ -492,7 +493,7 @@ public Boolean clientAffinityEnabled() { } /** - * Set the clientAffinityEnabled value. + * Set <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @param clientAffinityEnabled the clientAffinityEnabled value to set * @return the SiteInner object itself. @@ -503,7 +504,7 @@ public SiteInner withClientAffinityEnabled(Boolean clientAffinityEnabled) { } /** - * Get the clientCertEnabled value. + * Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @return the clientCertEnabled value */ @@ -512,7 +513,7 @@ public Boolean clientCertEnabled() { } /** - * Set the clientCertEnabled value. + * Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @param clientCertEnabled the clientCertEnabled value to set * @return the SiteInner object itself. @@ -523,7 +524,8 @@ public SiteInner withClientCertEnabled(Boolean clientCertEnabled) { } /** - * Get the hostNamesDisabled value. + * Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @return the hostNamesDisabled value */ @@ -532,7 +534,8 @@ public Boolean hostNamesDisabled() { } /** - * Set the hostNamesDisabled value. + * Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @param hostNamesDisabled the hostNamesDisabled value to set * @return the SiteInner object itself. @@ -543,7 +546,7 @@ public SiteInner withHostNamesDisabled(Boolean hostNamesDisabled) { } /** - * Get the outboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. * * @return the outboundIpAddresses value */ @@ -552,7 +555,7 @@ public String outboundIpAddresses() { } /** - * Get the possibleOutboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. * * @return the possibleOutboundIpAddresses value */ @@ -561,7 +564,7 @@ public String possibleOutboundIpAddresses() { } /** - * Get the containerSize value. + * Get size of the function container. * * @return the containerSize value */ @@ -570,7 +573,7 @@ public Integer containerSize() { } /** - * Set the containerSize value. + * Set size of the function container. * * @param containerSize the containerSize value to set * @return the SiteInner object itself. @@ -581,7 +584,7 @@ public SiteInner withContainerSize(Integer containerSize) { } /** - * Get the dailyMemoryTimeQuota value. + * Get maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @return the dailyMemoryTimeQuota value */ @@ -590,7 +593,7 @@ public Integer dailyMemoryTimeQuota() { } /** - * Set the dailyMemoryTimeQuota value. + * Set maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @param dailyMemoryTimeQuota the dailyMemoryTimeQuota value to set * @return the SiteInner object itself. @@ -601,7 +604,7 @@ public SiteInner withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota) { } /** - * Get the suspendedTill value. + * Get app suspended till in case memory-time quota is exceeded. * * @return the suspendedTill value */ @@ -610,7 +613,8 @@ public DateTime suspendedTill() { } /** - * Get the maxNumberOfWorkers value. + * Get maximum number of workers. + This only applies to Functions container. * * @return the maxNumberOfWorkers value */ @@ -619,7 +623,7 @@ public Integer maxNumberOfWorkers() { } /** - * Get the cloningInfo value. + * Get if specified during app creation, the app is cloned from a source app. * * @return the cloningInfo value */ @@ -628,7 +632,7 @@ public CloningInfo cloningInfo() { } /** - * Set the cloningInfo value. + * Set if specified during app creation, the app is cloned from a source app. * * @param cloningInfo the cloningInfo value to set * @return the SiteInner object itself. @@ -639,7 +643,7 @@ public SiteInner withCloningInfo(CloningInfo cloningInfo) { } /** - * Get the snapshotInfo value. + * Get if specified during app creation, the app is created from a previous snapshot. * * @return the snapshotInfo value */ @@ -648,7 +652,7 @@ public SnapshotRecoveryRequest snapshotInfo() { } /** - * Set the snapshotInfo value. + * Set if specified during app creation, the app is created from a previous snapshot. * * @param snapshotInfo the snapshotInfo value to set * @return the SiteInner object itself. @@ -659,7 +663,7 @@ public SiteInner withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { } /** - * Get the resourceGroup value. + * Get name of the resource group the app belongs to. Read-only. * * @return the resourceGroup value */ @@ -668,7 +672,7 @@ public String resourceGroup() { } /** - * Get the isDefaultContainer value. + * Get <code>true</code> if the app is a default container; otherwise, <code>false</code>. * * @return the isDefaultContainer value */ @@ -677,7 +681,7 @@ public Boolean isDefaultContainer() { } /** - * Get the defaultHostName value. + * Get default hostname of the app. Read-only. * * @return the defaultHostName value */ @@ -686,7 +690,7 @@ public String defaultHostName() { } /** - * Get the slotSwapStatus value. + * Get status of the last deployment slot swap operation. * * @return the slotSwapStatus value */ @@ -695,7 +699,8 @@ public SlotSwapStatus slotSwapStatus() { } /** - * Get the httpsOnly value. + * Get httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @return the httpsOnly value */ @@ -704,7 +709,8 @@ public Boolean httpsOnly() { } /** - * Set the httpsOnly value. + * Set httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @param httpsOnly the httpsOnly value to set * @return the SiteInner object itself. @@ -735,7 +741,7 @@ public SiteInner withIdentity(ManagedServiceIdentity identity) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -744,7 +750,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the SiteInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInstanceImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInstanceImpl.java index c86f28cb27a69..c33f3097b3b46 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInstanceImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInstanceImpl.java @@ -13,15 +13,15 @@ import rx.Observable; class SiteInstanceImpl extends WrapperImpl implements SiteInstance { - private final AppServiceManager manager; + private final WebManager manager; - SiteInstanceImpl(SiteInstanceInner inner, AppServiceManager manager) { + SiteInstanceImpl(SiteInstanceInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInstanceInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInstanceInner.java index e827cd1eaf22f..d87a8c7d0f20b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInstanceInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteInstanceInner.java @@ -24,7 +24,7 @@ public class SiteInstanceInner extends ProxyOnlyResource { private String siteInstanceName; /** - * Get the siteInstanceName value. + * Get name of instance. * * @return the siteInstanceName value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteLogsConfigImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteLogsConfigImpl.java index 49ee3b80b8888..7d2318793dfb7 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteLogsConfigImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteLogsConfigImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.HttpLogsConfig; class SiteLogsConfigImpl extends WrapperImpl implements SiteLogsConfig { - private final AppServiceManager manager; - SiteLogsConfigImpl(SiteLogsConfigInner inner, AppServiceManager manager) { + private final WebManager manager; + SiteLogsConfigImpl(SiteLogsConfigInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteLogsConfigInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteLogsConfigInner.java index 1cee24347feaf..fab2b5b6b06b4 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteLogsConfigInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteLogsConfigInner.java @@ -45,7 +45,7 @@ public class SiteLogsConfigInner extends ProxyOnlyResource { private EnabledConfig detailedErrorMessages; /** - * Get the applicationLogs value. + * Get application logs configuration. * * @return the applicationLogs value */ @@ -54,7 +54,7 @@ public ApplicationLogsConfig applicationLogs() { } /** - * Set the applicationLogs value. + * Set application logs configuration. * * @param applicationLogs the applicationLogs value to set * @return the SiteLogsConfigInner object itself. @@ -65,7 +65,7 @@ public SiteLogsConfigInner withApplicationLogs(ApplicationLogsConfig application } /** - * Get the httpLogs value. + * Get hTTP logs configuration. * * @return the httpLogs value */ @@ -74,7 +74,7 @@ public HttpLogsConfig httpLogs() { } /** - * Set the httpLogs value. + * Set hTTP logs configuration. * * @param httpLogs the httpLogs value to set * @return the SiteLogsConfigInner object itself. @@ -85,7 +85,7 @@ public SiteLogsConfigInner withHttpLogs(HttpLogsConfig httpLogs) { } /** - * Get the failedRequestsTracing value. + * Get failed requests tracing configuration. * * @return the failedRequestsTracing value */ @@ -94,7 +94,7 @@ public EnabledConfig failedRequestsTracing() { } /** - * Set the failedRequestsTracing value. + * Set failed requests tracing configuration. * * @param failedRequestsTracing the failedRequestsTracing value to set * @return the SiteLogsConfigInner object itself. @@ -105,7 +105,7 @@ public SiteLogsConfigInner withFailedRequestsTracing(EnabledConfig failedRequest } /** - * Get the detailedErrorMessages value. + * Get detailed error messages configuration. * * @return the detailedErrorMessages value */ @@ -114,7 +114,7 @@ public EnabledConfig detailedErrorMessages() { } /** - * Set the detailedErrorMessages value. + * Set detailed error messages configuration. * * @param detailedErrorMessages the detailedErrorMessages value to set * @return the SiteLogsConfigInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitePhpErrorLogFlagImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitePhpErrorLogFlagImpl.java index 53468659f37e6..070179381ff2f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitePhpErrorLogFlagImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; + SitePhpErrorLogFlagImpl(SitePhpErrorLogFlagInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitePhpErrorLogFlagInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitePhpErrorLogFlagInner.java index 77947e8f286c6..0b97bb265c93d 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitePhpErrorLogFlagInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitePhpErrorLogFlagInner.java @@ -42,7 +42,7 @@ public class SitePhpErrorLogFlagInner extends ProxyOnlyResource { private String masterLogErrorsMaxLength; /** - * Get the localLogErrors value. + * Get local log_errors setting. * * @return the localLogErrors value */ @@ -51,7 +51,7 @@ public String localLogErrors() { } /** - * Set the localLogErrors value. + * Set local log_errors setting. * * @param localLogErrors the localLogErrors value to set * @return the SitePhpErrorLogFlagInner object itself. @@ -62,7 +62,7 @@ public SitePhpErrorLogFlagInner withLocalLogErrors(String localLogErrors) { } /** - * Get the masterLogErrors value. + * Get master log_errors setting. * * @return the masterLogErrors value */ @@ -71,7 +71,7 @@ public String masterLogErrors() { } /** - * Set the masterLogErrors value. + * Set master log_errors setting. * * @param masterLogErrors the masterLogErrors value to set * @return the SitePhpErrorLogFlagInner object itself. @@ -82,7 +82,7 @@ public SitePhpErrorLogFlagInner withMasterLogErrors(String masterLogErrors) { } /** - * Get the localLogErrorsMaxLength value. + * Get local log_errors_max_len setting. * * @return the localLogErrorsMaxLength value */ @@ -91,7 +91,7 @@ public String localLogErrorsMaxLength() { } /** - * Set the localLogErrorsMaxLength value. + * Set local log_errors_max_len setting. * * @param localLogErrorsMaxLength the localLogErrorsMaxLength value to set * @return the SitePhpErrorLogFlagInner object itself. @@ -102,7 +102,7 @@ public SitePhpErrorLogFlagInner withLocalLogErrorsMaxLength(String localLogError } /** - * Get the masterLogErrorsMaxLength value. + * Get master log_errors_max_len setting. * * @return the masterLogErrorsMaxLength value */ @@ -111,7 +111,7 @@ public String masterLogErrorsMaxLength() { } /** - * Set the masterLogErrorsMaxLength value. + * Set master log_errors_max_len setting. * * @param masterLogErrorsMaxLength the masterLogErrorsMaxLength value to set * @return the SitePhpErrorLogFlagInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteSourceControlImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteSourceControlImpl.java index 1e97280b58980..c5d8a48c05120 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteSourceControlImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; + SiteSourceControlImpl(SiteSourceControlInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteSourceControlInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteSourceControlInner.java index b15ac0af69fb4..f8e3b277c93d8 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteSourceControlInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteSourceControlInner.java @@ -52,7 +52,7 @@ public class SiteSourceControlInner extends ProxyOnlyResource { private Boolean isMercurial; /** - * Get the repoUrl value. + * Get repository or source control URL. * * @return the repoUrl value */ @@ -61,7 +61,7 @@ public String repoUrl() { } /** - * Set the repoUrl value. + * Set repository or source control URL. * * @param repoUrl the repoUrl value to set * @return the SiteSourceControlInner object itself. @@ -72,7 +72,7 @@ public SiteSourceControlInner withRepoUrl(String repoUrl) { } /** - * Get the branch value. + * Get name of branch to use for deployment. * * @return the branch value */ @@ -81,7 +81,7 @@ public String branch() { } /** - * Set the branch value. + * Set name of branch to use for deployment. * * @param branch the branch value to set * @return the SiteSourceControlInner object itself. @@ -92,7 +92,7 @@ public SiteSourceControlInner withBranch(String branch) { } /** - * Get the isManualIntegration value. + * Get <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). * * @return the isManualIntegration value */ @@ -101,7 +101,7 @@ public Boolean isManualIntegration() { } /** - * Set the isManualIntegration value. + * Set <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). * * @param isManualIntegration the isManualIntegration value to set * @return the SiteSourceControlInner object itself. @@ -112,7 +112,7 @@ public SiteSourceControlInner withIsManualIntegration(Boolean isManualIntegratio } /** - * Get the deploymentRollbackEnabled value. + * Get <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. * * @return the deploymentRollbackEnabled value */ @@ -121,7 +121,7 @@ public Boolean deploymentRollbackEnabled() { } /** - * Set the deploymentRollbackEnabled value. + * Set <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. * * @param deploymentRollbackEnabled the deploymentRollbackEnabled value to set * @return the SiteSourceControlInner object itself. @@ -132,7 +132,7 @@ public SiteSourceControlInner withDeploymentRollbackEnabled(Boolean deploymentRo } /** - * Get the isMercurial value. + * Get <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. * * @return the isMercurial value */ @@ -141,7 +141,7 @@ public Boolean isMercurial() { } /** - * Set the isMercurial value. + * Set <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. * * @param isMercurial the isMercurial value to set * @return the SiteSourceControlInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitesImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitesImpl.java index 30f291d0d8ecb..fa36cc12998a6 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitesImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SitesImpl.java @@ -25,9 +25,9 @@ import com.microsoft.azure.management.appservice.v2016_08_01.ManagedServiceIdentity; import rx.functions.Func1; -class SitesImpl extends GroupableResourceCoreImpl 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, WebManager manager) { super(name, inner, manager); this.updateParameter = new SitePatchResource(); } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotConfigNamesResourceImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotConfigNamesResourceImpl.java index d16706a3503c8..4eb5866ce743a 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotConfigNamesResourceImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; + SlotConfigNamesResourceImpl(SlotConfigNamesResourceInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotConfigNamesResourceInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotConfigNamesResourceInner.java index e64155ced7879..94f7e66c39913 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotConfigNamesResourceInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotConfigNamesResourceInner.java @@ -31,7 +31,7 @@ public class SlotConfigNamesResourceInner extends ProxyOnlyResource { private List appSettingNames; /** - * Get the connectionStringNames value. + * Get list of connection string names. * * @return the connectionStringNames value */ @@ -40,7 +40,7 @@ public List connectionStringNames() { } /** - * Set the connectionStringNames value. + * Set list of connection string names. * * @param connectionStringNames the connectionStringNames value to set * @return the SlotConfigNamesResourceInner object itself. @@ -51,7 +51,7 @@ public SlotConfigNamesResourceInner withConnectionStringNames(List conne } /** - * Get the appSettingNames value. + * Get list of application settings names. * * @return the appSettingNames value */ @@ -60,7 +60,7 @@ public List appSettingNames() { } /** - * Set the appSettingNames value. + * Set list of application settings names. * * @param appSettingNames the appSettingNames value to set * @return the SlotConfigNamesResourceInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotDifferenceImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotDifferenceImpl.java index 89dad41abe28b..64719b9bf0d1f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotDifferenceImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; + SlotDifferenceImpl(SlotDifferenceInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotDifferenceInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotDifferenceInner.java index 295d9780a5ff6..f5ec449f45f77 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotDifferenceInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotDifferenceInner.java @@ -61,7 +61,7 @@ public class SlotDifferenceInner extends ProxyOnlyResource { private String description; /** - * Get the slotDifferenceType value. + * Get type of the difference: Information, Warning or Error. * * @return the slotDifferenceType value */ @@ -70,7 +70,7 @@ public String slotDifferenceType() { } /** - * Get the settingType value. + * Get the type of the setting: General, AppSetting or ConnectionString. * * @return the settingType value */ @@ -79,7 +79,7 @@ public String settingType() { } /** - * Get the diffRule value. + * Get rule that describes how to process the setting difference during a slot swap. * * @return the diffRule value */ @@ -88,7 +88,7 @@ public String diffRule() { } /** - * Get the settingName value. + * Get name of the setting. * * @return the settingName value */ @@ -97,7 +97,7 @@ public String settingName() { } /** - * Get the valueInCurrentSlot value. + * Get value of the setting in the current slot. * * @return the valueInCurrentSlot value */ @@ -106,7 +106,7 @@ public String valueInCurrentSlot() { } /** - * Get the valueInTargetSlot value. + * Get value of the setting in the target slot. * * @return the valueInTargetSlot value */ @@ -115,7 +115,7 @@ public String valueInTargetSlot() { } /** - * Get the description value. + * Get description of the setting difference. * * @return the description value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotsImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotsImpl.java index 6a5c70afa424a..cb45c9085d597 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotsImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SlotsImpl.java @@ -27,13 +27,13 @@ import rx.functions.Func1; class SlotsImpl extends CreatableUpdatableImpl implements Slots, Slots.Definition, Slots.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String slot; private SitePatchResource updateParameter; - SlotsImpl(String name, AppServiceManager manager) { + SlotsImpl(String name, WebManager manager) { super(name, new SiteInner()); this.manager = manager; // Set resource name @@ -42,7 +42,7 @@ class SlotsImpl extends CreatableUpdatableImpl impl this.updateParameter = new SitePatchResource(); } - SlotsImpl(SiteInner inner, AppServiceManager manager) { + SlotsImpl(SiteInner inner, WebManager manager) { super(inner.name(), inner); this.manager = manager; // Set resource name @@ -56,7 +56,7 @@ class SlotsImpl extends CreatableUpdatableImpl impl } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SnapshotImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SnapshotImpl.java index 7deb2c5df46a3..cdd08f284937f 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SnapshotImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SnapshotImpl.java @@ -13,15 +13,15 @@ import rx.Observable; class SnapshotImpl extends WrapperImpl implements Snapshot { - private final AppServiceManager manager; + private final WebManager manager; - SnapshotImpl(SnapshotInner inner, AppServiceManager manager) { + SnapshotImpl(SnapshotInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SnapshotInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SnapshotInner.java index 3ce09b71387ae..ed890218d0cd9 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SnapshotInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SnapshotInner.java @@ -24,7 +24,7 @@ public class SnapshotInner extends ProxyOnlyResource { private String time; /** - * Get the time value. + * Get the time the snapshot was taken. * * @return the time value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StorageMigrationResponseImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StorageMigrationResponseImpl.java index 3e1696b08bb60..e885f5400a9bc 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StorageMigrationResponseImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; + StorageMigrationResponseImpl(StorageMigrationResponseInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StorageMigrationResponseInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StorageMigrationResponseInner.java index 4eb9027559783..7ab17d97ddbef 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StorageMigrationResponseInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StorageMigrationResponseInner.java @@ -25,7 +25,7 @@ public class StorageMigrationResponseInner extends ProxyOnlyResource { private String operationId; /** - * Get the operationId value. + * Get when server starts the migration process, it will return an operation ID identifying that particular migration operation. * * @return the operationId value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StringDictionaryImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StringDictionaryImpl.java index a1725dbd1b16a..e112b4db73eb1 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StringDictionaryImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; + StringDictionaryImpl(StringDictionaryInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StringDictionaryInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StringDictionaryInner.java index 79189b1bcb75d..d1c2ce390d22a 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StringDictionaryInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/StringDictionaryInner.java @@ -23,7 +23,7 @@ public class StringDictionaryInner extends ProxyOnlyResource { private Map properties; /** - * Get the properties value. + * Get settings. * * @return the properties value */ @@ -32,7 +32,7 @@ public Map properties() { } /** - * Set the properties value. + * Set settings. * * @param properties the properties value to set * @return the StringDictionaryInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredJobHistoryImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredJobHistoryImpl.java index 85a0a5073347a..6ed80496d7b01 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredJobHistoryImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredJobHistoryImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.TriggeredJobRun; class TriggeredJobHistoryImpl extends WrapperImpl implements TriggeredJobHistory { - private final AppServiceManager manager; - TriggeredJobHistoryImpl(TriggeredJobHistoryInner inner, AppServiceManager manager) { + private final WebManager manager; + TriggeredJobHistoryImpl(TriggeredJobHistoryInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredJobHistoryInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredJobHistoryInner.java index 6c84d65936060..ef1d152045226 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredJobHistoryInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredJobHistoryInner.java @@ -27,7 +27,7 @@ public class TriggeredJobHistoryInner extends ProxyOnlyResource { private List triggeredJobRuns; /** - * Get the triggeredJobRuns value. + * Get list of triggered web job runs. * * @return the triggeredJobRuns value */ @@ -36,7 +36,7 @@ public List triggeredJobRuns() { } /** - * Set the triggeredJobRuns value. + * Set list of triggered web job runs. * * @param triggeredJobRuns the triggeredJobRuns value to set * @return the TriggeredJobHistoryInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredWebJobImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredWebJobImpl.java index f1de8c8ef4ddd..0b8dc445a82b3 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredWebJobImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/TriggeredWebJobImpl.java @@ -16,13 +16,13 @@ import java.util.Map; class TriggeredWebJobImpl extends IndexableRefreshableWrapperImpl implements TriggeredWebJob { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String webJobName; private String slot; - TriggeredWebJobImpl(TriggeredWebJobInner inner, AppServiceManager manager) { + TriggeredWebJobImpl(TriggeredWebJobInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -32,7 +32,7 @@ class TriggeredWebJobImpl extends IndexableRefreshableWrapperImpl settings; /** - * Get the latestRun value. + * Get latest job run information. * * @return the latestRun value */ @@ -96,7 +96,7 @@ public TriggeredJobRun latestRun() { } /** - * Set the latestRun value. + * Set latest job run information. * * @param latestRun the latestRun value to set * @return the TriggeredWebJobInner object itself. @@ -107,7 +107,7 @@ public TriggeredWebJobInner withLatestRun(TriggeredJobRun latestRun) { } /** - * Get the historyUrl value. + * Get history URL. * * @return the historyUrl value */ @@ -116,7 +116,7 @@ public String historyUrl() { } /** - * Set the historyUrl value. + * Set history URL. * * @param historyUrl the historyUrl value to set * @return the TriggeredWebJobInner object itself. @@ -127,7 +127,7 @@ public TriggeredWebJobInner withHistoryUrl(String historyUrl) { } /** - * Get the schedulerLogsUrl value. + * Get scheduler Logs URL. * * @return the schedulerLogsUrl value */ @@ -136,7 +136,7 @@ public String schedulerLogsUrl() { } /** - * Set the schedulerLogsUrl value. + * Set scheduler Logs URL. * * @param schedulerLogsUrl the schedulerLogsUrl value to set * @return the TriggeredWebJobInner object itself. @@ -147,7 +147,7 @@ public TriggeredWebJobInner withSchedulerLogsUrl(String schedulerLogsUrl) { } /** - * Get the triggeredWebJobName value. + * Get job name. Used as job identifier in ARM resource URI. * * @return the triggeredWebJobName value */ @@ -156,7 +156,7 @@ public String triggeredWebJobName() { } /** - * Get the runCommand value. + * Get run command. * * @return the runCommand value */ @@ -165,7 +165,7 @@ public String runCommand() { } /** - * Set the runCommand value. + * Set run command. * * @param runCommand the runCommand value to set * @return the TriggeredWebJobInner object itself. @@ -176,7 +176,7 @@ public TriggeredWebJobInner withRunCommand(String runCommand) { } /** - * Get the url value. + * Get job URL. * * @return the url value */ @@ -185,7 +185,7 @@ public String url() { } /** - * Set the url value. + * Set job URL. * * @param url the url value to set * @return the TriggeredWebJobInner object itself. @@ -196,7 +196,7 @@ public TriggeredWebJobInner withUrl(String url) { } /** - * Get the extraInfoUrl value. + * Get extra Info URL. * * @return the extraInfoUrl value */ @@ -205,7 +205,7 @@ public String extraInfoUrl() { } /** - * Set the extraInfoUrl value. + * Set extra Info URL. * * @param extraInfoUrl the extraInfoUrl value to set * @return the TriggeredWebJobInner object itself. @@ -216,7 +216,7 @@ public TriggeredWebJobInner withExtraInfoUrl(String extraInfoUrl) { } /** - * Get the jobType value. + * Get job type. Possible values include: 'Continuous', 'Triggered'. * * @return the jobType value */ @@ -225,7 +225,7 @@ public WebJobType jobType() { } /** - * Set the jobType value. + * Set job type. Possible values include: 'Continuous', 'Triggered'. * * @param jobType the jobType value to set * @return the TriggeredWebJobInner object itself. @@ -236,7 +236,7 @@ public TriggeredWebJobInner withJobType(WebJobType jobType) { } /** - * Get the error value. + * Get error information. * * @return the error value */ @@ -245,7 +245,7 @@ public String error() { } /** - * Set the error value. + * Set error information. * * @param error the error value to set * @return the TriggeredWebJobInner object itself. @@ -256,7 +256,7 @@ public TriggeredWebJobInner withError(String error) { } /** - * Get the usingSdk value. + * Get using SDK?. * * @return the usingSdk value */ @@ -265,7 +265,7 @@ public Boolean usingSdk() { } /** - * Set the usingSdk value. + * Set using SDK?. * * @param usingSdk the usingSdk value to set * @return the TriggeredWebJobInner object itself. @@ -276,7 +276,7 @@ public TriggeredWebJobInner withUsingSdk(Boolean usingSdk) { } /** - * Get the settings value. + * Get job settings. * * @return the settings value */ @@ -285,7 +285,7 @@ public Map settings() { } /** - * Set the settings value. + * Set job settings. * * @param settings the settings value to set * @return the TriggeredWebJobInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserImpl.java index 219f4261bfedf..923203f585df9 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_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 WebManager manager; + UserImpl(UserInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserInner.java index 5cd80abc54c39..d07bc0af1c211 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserInner.java @@ -48,7 +48,7 @@ public class UserInner extends ProxyOnlyResource { private String publishingPasswordHashSalt; /** - * Get the userName value. + * Get username. * * @return the userName value */ @@ -57,7 +57,7 @@ public String userName() { } /** - * Set the userName value. + * Set username. * * @param userName the userName value to set * @return the UserInner object itself. @@ -68,7 +68,7 @@ public UserInner withUserName(String userName) { } /** - * Get the publishingUserName value. + * Get username used for publishing. * * @return the publishingUserName value */ @@ -77,7 +77,7 @@ public String publishingUserName() { } /** - * Set the publishingUserName value. + * Set username used for publishing. * * @param publishingUserName the publishingUserName value to set * @return the UserInner object itself. @@ -88,7 +88,7 @@ public UserInner withPublishingUserName(String publishingUserName) { } /** - * Get the publishingPassword value. + * Get password used for publishing. * * @return the publishingPassword value */ @@ -97,7 +97,7 @@ public String publishingPassword() { } /** - * Set the publishingPassword value. + * Set password used for publishing. * * @param publishingPassword the publishingPassword value to set * @return the UserInner object itself. @@ -108,7 +108,7 @@ public UserInner withPublishingPassword(String publishingPassword) { } /** - * Get the publishingPasswordHash value. + * Get password hash used for publishing. * * @return the publishingPasswordHash value */ @@ -117,7 +117,7 @@ public String publishingPasswordHash() { } /** - * Set the publishingPasswordHash value. + * Set password hash used for publishing. * * @param publishingPasswordHash the publishingPasswordHash value to set * @return the UserInner object itself. @@ -128,7 +128,7 @@ public UserInner withPublishingPasswordHash(String publishingPasswordHash) { } /** - * Get the publishingPasswordHashSalt value. + * Get password hash salt used for publishing. * * @return the publishingPasswordHashSalt value */ @@ -137,7 +137,7 @@ public String publishingPasswordHashSalt() { } /** - * Set the publishingPasswordHashSalt value. + * Set password hash salt used for publishing. * * @param publishingPasswordHashSalt the publishingPasswordHashSalt value to set * @return the UserInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/VnetGatewayImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/VnetGatewayImpl.java index 31f1fe16a829c..aac3b88bdc9ac 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/VnetGatewayImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/VnetGatewayImpl.java @@ -13,14 +13,14 @@ import rx.Observable; class VnetGatewayImpl extends CreatableUpdatableImpl implements VnetGateway, VnetGateway.Definition, VnetGateway.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String vnetName; private String gatewayName; private String slot; - VnetGatewayImpl(String name, AppServiceManager manager) { + VnetGatewayImpl(String name, WebManager manager) { super(name, new VnetGatewayInner()); this.manager = manager; // Set resource name @@ -28,7 +28,7 @@ class VnetGatewayImpl extends CreatableUpdatableImpl implements VnetInfo, VnetInfo.Definition, VnetInfo.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String vnetName; private String slot; - VnetInfoImpl(String name, AppServiceManager manager) { + VnetInfoImpl(String name, WebManager manager) { super(name, new VnetInfoInner()); this.manager = manager; // Set resource name @@ -29,7 +29,7 @@ class VnetInfoImpl extends CreatableUpdatableImpl routes() { } /** - * Get the resyncRequired value. + * Get <code>true</code> if a resync is required; otherwise, <code>false</code>. * * @return the resyncRequired value */ @@ -127,7 +129,7 @@ public Boolean resyncRequired() { } /** - * Get the dnsServers value. + * Get dNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. * * @return the dnsServers value */ @@ -136,7 +138,7 @@ public String dnsServers() { } /** - * Set the dnsServers value. + * Set dNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. * * @param dnsServers the dnsServers value to set * @return the VnetInfoInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebAppsImpl.java index 85ddc93630902..68922afbd0684 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebAppsImpl.java @@ -75,14 +75,14 @@ import com.microsoft.azure.management.appservice.v2016_08_01.WebJob; class WebAppsImpl extends WrapperImpl implements WebApps { - private final AppServiceManager manager; + private final WebManager manager; - WebAppsImpl(AppServiceManager manager) { + WebAppsImpl(WebManager manager) { super(manager.inner().webApps()); this.manager = manager; } - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } @@ -322,9 +322,9 @@ private Observable getContinuousWebJobInnerUsingWebAppsIn private Observable getDeploymentInnerUsingWebAppsInnerAsync(String id) { String resourceGroupName = IdParsingUtils.getValueFromIdByName(id, "resourceGroups"); String name = IdParsingUtils.getValueFromIdByName(id, "sites"); - String deployment = IdParsingUtils.getValueFromIdByName(id, "deployments"); + String idParameter = IdParsingUtils.getValueFromIdByName(id, "deployments"); WebAppsInner client = this.inner(); - return client.getDeploymentAsync(resourceGroupName, name, deployment); + return client.getDeploymentAsync(resourceGroupName, name, id); } private Observable getIdentifierInnerUsingWebAppsInnerAsync(String id) { @@ -556,7 +556,8 @@ public Observable listConfigurationsAsync(final String resou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteConfigResource call(SiteConfigResourceInner inner) { return new SiteConfigResourceImpl(inner, manager()); @@ -837,7 +838,8 @@ public Observable listSlotDifferencesFromProductionAsync(final S public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SlotDifference call(SlotDifferenceInner inner) { return new SlotDifferenceImpl(inner, manager()); @@ -956,7 +958,8 @@ public Observable listBackupsSlotAsync(final String resourceGroupNam public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public BackupItem call(BackupItemInner inner) { return new BackupItemImpl(inner, manager()); @@ -1333,7 +1336,8 @@ public Observable listConfigurationSnapshotInfoAs public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteConfigurationSnapshotInfo call(SiteConfigurationSnapshotInfoInner inner) { return new SiteConfigurationSnapshotInfoImpl(inner, manager()); @@ -1368,7 +1372,8 @@ public Observable listConfigurationSnapshotInfoSl public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteConfigurationSnapshotInfo call(SiteConfigurationSnapshotInfoInner inner) { return new SiteConfigurationSnapshotInfoImpl(inner, manager()); @@ -1403,7 +1408,8 @@ public Observable listSnapshotsSlotAsync(final String resourceGroupNam public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Snapshot call(SnapshotInner inner) { return new SnapshotImpl(inner, manager()); @@ -1480,7 +1486,8 @@ public Observable listContinuousWebJobsSlotAsync(final String public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ContinuousWebJob call(ContinuousWebJobInner inner) { return new ContinuousWebJobImpl(inner, manager()); @@ -1575,7 +1582,8 @@ public Observable listDeploymentsSlotAsync(final String resourceGrou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Deployment call(DeploymentInner inner) { return new DeploymentImpl(inner, manager()); @@ -1670,7 +1678,8 @@ public Observable listDomainOwnershipIdentifiersSlotAsync(final Stri public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Identifier call(IdentifierInner inner) { return new IdentifierImpl(inner, manager()); @@ -1921,7 +1930,8 @@ public Observable listInstanceFunctionsSlotAsync(final String public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public FunctionEnvelope call(FunctionEnvelopeInner inner) { return new FunctionEnvelopeImpl(inner, manager()); @@ -2016,7 +2026,8 @@ public Observable listHostNameBindingsSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public HostNameBinding call(HostNameBindingInner inner) { return new HostNameBindingImpl(inner, manager()); @@ -2195,7 +2206,8 @@ public Observable listInstanceIdentifiersSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteInstance call(SiteInstanceInner inner) { return new SiteInstanceImpl(inner, manager()); @@ -2254,7 +2266,8 @@ public Observable listProcessesAsync(final String resourceGroupName public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessInfo call(ProcessInfoInner inner) { return new ProcessInfoImpl(inner, manager()); @@ -2289,7 +2302,8 @@ public Observable listInstanceProcessesSlotAsync(final String resou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessInfo call(ProcessInfoInner inner) { return new ProcessInfoImpl(inner, manager()); @@ -2324,7 +2338,8 @@ public Observable listProcessesSlotAsync(final String resourceGroup public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessInfo call(ProcessInfoInner inner) { return new ProcessInfoImpl(inner, manager()); @@ -2389,7 +2404,8 @@ public Observable listProcessModulesAsync(final String resour public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessModuleInfo call(ProcessModuleInfoInner inner) { return new ProcessModuleInfoImpl(inner, manager()); @@ -2418,7 +2434,8 @@ public Observable listInstanceProcessModulesSlotAsync(final S public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessModuleInfo call(ProcessModuleInfoInner inner) { return new ProcessModuleInfoImpl(inner, manager()); @@ -2447,7 +2464,8 @@ public Observable listProcessModulesSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessModuleInfo call(ProcessModuleInfoInner inner) { return new ProcessModuleInfoImpl(inner, manager()); @@ -2506,7 +2524,8 @@ public Observable listProcessThreadsAsync(final String resour public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessThreadInfo call(ProcessThreadInfoInner inner) { return new ProcessThreadInfoImpl(inner, manager()); @@ -2535,7 +2554,8 @@ public Observable listInstanceProcessThreadsSlotAsync(final S public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessThreadInfo call(ProcessThreadInfoInner inner) { return new ProcessThreadInfoImpl(inner, manager()); @@ -2564,7 +2584,8 @@ public Observable listProcessThreadsSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessThreadInfo call(ProcessThreadInfoInner inner) { return new ProcessThreadInfoImpl(inner, manager()); @@ -2611,7 +2632,8 @@ public Observable listMetricDefinitionsSlotAsync(final public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new ResourceMetricDefinitionImpl(inner, manager()); @@ -2646,7 +2668,8 @@ public Observable listMetricsSlotAsync(final String resourceGrou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceMetric call(ResourceMetricInner inner) { return new ResourceMetricImpl(inner, manager()); @@ -2729,7 +2752,8 @@ public Observable listPerfMonCountersSlotAsync(final String res public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public PerfMonResponse call(PerfMonResponseInner inner) { return new PerfMonResponseImpl(inner, manager()); @@ -2854,7 +2878,8 @@ public Observable listPublicCertificatesSlotAsync(final Strin public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public PublicCertificate call(PublicCertificateInner inner) { return new PublicCertificateImpl(inner, manager()); @@ -2937,7 +2962,8 @@ public Observable listSiteExtensionsSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteExtensionInfo call(SiteExtensionInfoInner inner) { return new SiteExtensionInfoImpl(inner, manager()); @@ -3050,7 +3076,8 @@ public Observable listConfigurationsSlotAsync(final String r public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteConfigResource call(SiteConfigResourceInner inner) { return new SiteConfigResourceImpl(inner, manager()); @@ -3307,7 +3334,8 @@ public Observable listSlotDifferencesSlotAsync(final String reso public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SlotDifference call(SlotDifferenceInner inner) { return new SlotDifferenceImpl(inner, manager()); @@ -3474,7 +3502,8 @@ public Observable listTriggeredWebJobHistorySlotAsync(final public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public TriggeredJobHistory call(TriggeredJobHistoryInner inner) { return new TriggeredJobHistoryImpl(inner, manager()); @@ -3509,7 +3538,8 @@ public Observable listTriggeredWebJobsAsync(final String resour public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public TriggeredWebJob call(TriggeredWebJobInner inner) { return new TriggeredWebJobImpl(inner, manager()); @@ -3544,7 +3574,8 @@ public Observable listTriggeredWebJobHistoryAsync(final Str public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public TriggeredJobHistory call(TriggeredJobHistoryInner inner) { return new TriggeredJobHistoryImpl(inner, manager()); @@ -3597,7 +3628,8 @@ public Observable listUsagesAsync(final String resourceGroupName, public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public CsmUsageQuota call(CsmUsageQuotaInner inner) { return new CsmUsageQuotaImpl(inner, manager()); @@ -3650,7 +3682,8 @@ public Observable listVnetConnectionsAsync(String resourceGroupName, S public Observable call(List innerList) { return Observable.from(innerList); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public VnetInfo call(VnetInfoInner inner) { return new VnetInfoImpl(inner, manager()); @@ -3787,7 +3820,8 @@ public Observable listWebJobsAsync(final String resourceGroupName, final public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public WebJob call(WebJobInner inner) { return new WebJobImpl(inner, manager()); diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebJobImpl.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebJobImpl.java index ed73c12b1e4ea..b112a6f115998 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebJobImpl.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebJobImpl.java @@ -15,13 +15,13 @@ import java.util.Map; class WebJobImpl extends IndexableRefreshableWrapperImpl implements WebJob { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String webJobName; private String slot; - WebJobImpl(WebJobInner inner, AppServiceManager manager) { + WebJobImpl(WebJobInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -31,7 +31,7 @@ class WebJobImpl extends IndexableRefreshableWrapperImpl im } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebJobInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebJobInner.java index 14dd90c8c2df2..f20ed9982bc3e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebJobInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebJobInner.java @@ -68,7 +68,7 @@ public class WebJobInner extends ProxyOnlyResource { private Map settings; /** - * Get the webJobName value. + * Get job name. Used as job identifier in ARM resource URI. * * @return the webJobName value */ @@ -77,7 +77,7 @@ public String webJobName() { } /** - * Get the runCommand value. + * Get run command. * * @return the runCommand value */ @@ -86,7 +86,7 @@ public String runCommand() { } /** - * Set the runCommand value. + * Set run command. * * @param runCommand the runCommand value to set * @return the WebJobInner object itself. @@ -97,7 +97,7 @@ public WebJobInner withRunCommand(String runCommand) { } /** - * Get the url value. + * Get job URL. * * @return the url value */ @@ -106,7 +106,7 @@ public String url() { } /** - * Set the url value. + * Set job URL. * * @param url the url value to set * @return the WebJobInner object itself. @@ -117,7 +117,7 @@ public WebJobInner withUrl(String url) { } /** - * Get the extraInfoUrl value. + * Get extra Info URL. * * @return the extraInfoUrl value */ @@ -126,7 +126,7 @@ public String extraInfoUrl() { } /** - * Set the extraInfoUrl value. + * Set extra Info URL. * * @param extraInfoUrl the extraInfoUrl value to set * @return the WebJobInner object itself. @@ -137,7 +137,7 @@ public WebJobInner withExtraInfoUrl(String extraInfoUrl) { } /** - * Get the jobType value. + * Get job type. Possible values include: 'Continuous', 'Triggered'. * * @return the jobType value */ @@ -146,7 +146,7 @@ public WebJobType jobType() { } /** - * Set the jobType value. + * Set job type. Possible values include: 'Continuous', 'Triggered'. * * @param jobType the jobType value to set * @return the WebJobInner object itself. @@ -157,7 +157,7 @@ public WebJobInner withJobType(WebJobType jobType) { } /** - * Get the error value. + * Get error information. * * @return the error value */ @@ -166,7 +166,7 @@ public String error() { } /** - * Set the error value. + * Set error information. * * @param error the error value to set * @return the WebJobInner object itself. @@ -177,7 +177,7 @@ public WebJobInner withError(String error) { } /** - * Get the usingSdk value. + * Get using SDK?. * * @return the usingSdk value */ @@ -186,7 +186,7 @@ public Boolean usingSdk() { } /** - * Set the usingSdk value. + * Set using SDK?. * * @param usingSdk the usingSdk value to set * @return the WebJobInner object itself. @@ -197,7 +197,7 @@ public WebJobInner withUsingSdk(Boolean usingSdk) { } /** - * Get the settings value. + * Get job settings. * * @return the settings value */ @@ -206,7 +206,7 @@ public Map settings() { } /** - * Set the settings value. + * Set job settings. * * @param settings the settings value to set * @return the WebJobInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebManager.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebManager.java new file mode 100644 index 0000000000000..6f03dcd18aa32 --- /dev/null +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebManager.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.v2016_08_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.v2016_08_01.WebApps; +import com.microsoft.azure.arm.resources.implementation.AzureConfigurableCoreImpl; +import com.microsoft.azure.arm.resources.implementation.ManagerCore; + +/** + * Entry point to Azure Web resource management. + */ +public final class WebManager extends ManagerCore { + private WebApps webApps; + /** + * Get a Configurable instance that can be used to create WebManager with optional configuration. + * + * @return the instance allowing configurations + */ + public static Configurable configure() { + return new WebManager.ConfigurableImpl(); + } + /** + * Creates an instance of WebManager that exposes Web resource management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the WebManager + */ + public static WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return new WebManager(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 WebManager that exposes Web resource management API entry points. + * + * @param restClient the RestClient to be used for API calls. + * @param subscriptionId the subscription UUID + * @return the WebManager + */ + public static WebManager authenticate(RestClient restClient, String subscriptionId) { + return new WebManager(restClient, subscriptionId); + } + /** + * The interface allowing configurations to be set. + */ + public interface Configurable extends AzureConfigurable { + /** + * Creates an instance of WebManager that exposes Web management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the interface exposing Web management API entry points that work across subscriptions + */ + WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId); + } + + /** + * @return Entry point to manage WebApps. + */ + public WebApps webApps() { + if (this.webApps == null) { + this.webApps = new WebAppsImpl(this); + } + return this.webApps; + } + + /** + * The implementation for Configurable interface. + */ + private static final class ConfigurableImpl extends AzureConfigurableCoreImpl implements Configurable { + public WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return WebManager.authenticate(buildRestClient(credentials), subscriptionId); + } + } + private WebManager(RestClient restClient, String subscriptionId) { + super( + restClient, + subscriptionId, + new WebSiteManagementClientImpl(restClient).withSubscriptionId(subscriptionId)); + } +} diff --git a/appservice/resource-manager/v2016_09_01/pom.xml b/appservice/resource-manager/v2016_09_01/pom.xml index 54b2ee6f315e5..56305e8a1e1cd 100644 --- a/appservice/resource-manager/v2016_09_01/pom.xml +++ b/appservice/resource-manager/v2016_09_01/pom.xml @@ -1,133 +1,133 @@ - - - 4.0.0 - com.microsoft.azure.appservice.v2016_09_01 - - com.microsoft.azure - azure-arm-parent - 0.0.2-beta - ../../../pom.xml - - azure-mgmt-appservice - 1.0.0-beta - jar - Microsoft Azure SDK for Web Management - This package contains Microsoft Web Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.appservice.v2016_09_01 + + com.microsoft.azure + azure-arm-parent + 0.0.2-beta + ../../../pom.xml + + azure-mgmt-web + 1.0.0-beta + jar + Microsoft Azure SDK for Web Management + This package contains Microsoft Web Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AddressResponse.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AddressResponse.java index a3b899f9307fc..6adba3580330a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AddressResponse.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_09_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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ApiDefinitionInfo.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ApiDefinitionInfo.java index 08cdc597f216e..3fcc882744c84 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ApiDefinitionInfo.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ApiDefinitionInfo.java @@ -21,7 +21,7 @@ public class ApiDefinitionInfo { private String url; /** - * Get the url value. + * Get the URL of the API definition. * * @return the url value */ @@ -30,7 +30,7 @@ public String url() { } /** - * Set the url value. + * Set the URL of the API definition. * * @param url the url value to set * @return the ApiDefinitionInfo object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentPatchResource.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentPatchResource.java index 4a4b038875b04..7aec6fadb8a2f 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentPatchResource.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentPatchResource.java @@ -254,7 +254,7 @@ public class AppServiceEnvironmentPatchResource extends ProxyOnlyResource { private List userWhitelistedIpRanges; /** - * Get the appServiceEnvironmentPatchResourceName value. + * Get name of the App Service Environment. * * @return the appServiceEnvironmentPatchResourceName value */ @@ -263,7 +263,7 @@ public String appServiceEnvironmentPatchResourceName() { } /** - * Set the appServiceEnvironmentPatchResourceName value. + * Set name of the App Service Environment. * * @param appServiceEnvironmentPatchResourceName the appServiceEnvironmentPatchResourceName value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -274,7 +274,7 @@ public AppServiceEnvironmentPatchResource withAppServiceEnvironmentPatchResource } /** - * Get the location value. + * Get location of the App Service Environment, e.g. "West US". * * @return the location value */ @@ -283,7 +283,7 @@ public String location() { } /** - * Set the location value. + * Set location of the App Service Environment, e.g. "West US". * * @param location the location value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -294,7 +294,7 @@ public AppServiceEnvironmentPatchResource withLocation(String location) { } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -303,7 +303,7 @@ public ProvisioningState provisioningState() { } /** - * Get the status value. + * Get current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'. * * @return the status value */ @@ -312,7 +312,7 @@ public HostingEnvironmentStatus status() { } /** - * Get the vnetName value. + * Get name of the Virtual Network for the App Service Environment. * * @return the vnetName value */ @@ -321,7 +321,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set name of the Virtual Network for the App Service Environment. * * @param vnetName the vnetName value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -332,7 +332,7 @@ public AppServiceEnvironmentPatchResource withVnetName(String vnetName) { } /** - * Get the vnetResourceGroupName value. + * Get resource group of the Virtual Network. * * @return the vnetResourceGroupName value */ @@ -341,7 +341,7 @@ public String vnetResourceGroupName() { } /** - * Set the vnetResourceGroupName value. + * Set resource group of the Virtual Network. * * @param vnetResourceGroupName the vnetResourceGroupName value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -352,7 +352,7 @@ public AppServiceEnvironmentPatchResource withVnetResourceGroupName(String vnetR } /** - * Get the vnetSubnetName value. + * Get subnet of the Virtual Network. * * @return the vnetSubnetName value */ @@ -361,7 +361,7 @@ public String vnetSubnetName() { } /** - * Set the vnetSubnetName value. + * Set subnet of the Virtual Network. * * @param vnetSubnetName the vnetSubnetName value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -372,7 +372,7 @@ public AppServiceEnvironmentPatchResource withVnetSubnetName(String vnetSubnetNa } /** - * Get the virtualNetwork value. + * Get description of the Virtual Network. * * @return the virtualNetwork value */ @@ -381,7 +381,7 @@ public VirtualNetworkProfile virtualNetwork() { } /** - * Set the virtualNetwork value. + * Set description of the Virtual Network. * * @param virtualNetwork the virtualNetwork value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -392,7 +392,7 @@ public AppServiceEnvironmentPatchResource withVirtualNetwork(VirtualNetworkProfi } /** - * Get the internalLoadBalancingMode value. + * Get specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @return the internalLoadBalancingMode value */ @@ -401,7 +401,7 @@ public InternalLoadBalancingMode internalLoadBalancingMode() { } /** - * Set the internalLoadBalancingMode value. + * Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @param internalLoadBalancingMode the internalLoadBalancingMode value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -412,7 +412,7 @@ public AppServiceEnvironmentPatchResource withInternalLoadBalancingMode(Internal } /** - * Get the multiSize value. + * Get front-end VM size, e.g. "Medium", "Large". * * @return the multiSize value */ @@ -421,7 +421,7 @@ public String multiSize() { } /** - * Set the multiSize value. + * Set front-end VM size, e.g. "Medium", "Large". * * @param multiSize the multiSize value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -432,7 +432,7 @@ public AppServiceEnvironmentPatchResource withMultiSize(String multiSize) { } /** - * Get the multiRoleCount value. + * Get number of front-end instances. * * @return the multiRoleCount value */ @@ -441,7 +441,7 @@ public Integer multiRoleCount() { } /** - * Set the multiRoleCount value. + * Set number of front-end instances. * * @param multiRoleCount the multiRoleCount value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -452,7 +452,7 @@ public AppServiceEnvironmentPatchResource withMultiRoleCount(Integer multiRoleCo } /** - * Get the workerPools value. + * Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @return the workerPools value */ @@ -461,7 +461,7 @@ public List workerPools() { } /** - * Set the workerPools value. + * Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @param workerPools the workerPools value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -472,7 +472,7 @@ public AppServiceEnvironmentPatchResource withWorkerPools(List worke } /** - * Get the ipsslAddressCount value. + * Get number of IP SSL addresses reserved for the App Service Environment. * * @return the ipsslAddressCount value */ @@ -481,7 +481,7 @@ public Integer ipsslAddressCount() { } /** - * Set the ipsslAddressCount value. + * Set number of IP SSL addresses reserved for the App Service Environment. * * @param ipsslAddressCount the ipsslAddressCount value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -492,7 +492,7 @@ public AppServiceEnvironmentPatchResource withIpsslAddressCount(Integer ipsslAdd } /** - * Get the databaseEdition value. + * Get edition of the metadata database for the App Service Environment, e.g. "Standard". * * @return the databaseEdition value */ @@ -501,7 +501,7 @@ public String databaseEdition() { } /** - * Get the databaseServiceObjective value. + * Get service objective of the metadata database for the App Service Environment, e.g. "S0". * * @return the databaseServiceObjective value */ @@ -510,7 +510,7 @@ public String databaseServiceObjective() { } /** - * Get the upgradeDomains value. + * Get number of upgrade domains of the App Service Environment. * * @return the upgradeDomains value */ @@ -519,7 +519,7 @@ public Integer upgradeDomains() { } /** - * Get the subscriptionId value. + * Get subscription of the App Service Environment. * * @return the subscriptionId value */ @@ -528,7 +528,7 @@ public String subscriptionId() { } /** - * Get the dnsSuffix value. + * Get dNS suffix of the App Service Environment. * * @return the dnsSuffix value */ @@ -537,7 +537,7 @@ public String dnsSuffix() { } /** - * Set the dnsSuffix value. + * Set dNS suffix of the App Service Environment. * * @param dnsSuffix the dnsSuffix value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -548,7 +548,7 @@ public AppServiceEnvironmentPatchResource withDnsSuffix(String dnsSuffix) { } /** - * Get the lastAction value. + * Get last deployment action on the App Service Environment. * * @return the lastAction value */ @@ -557,7 +557,7 @@ public String lastAction() { } /** - * Get the lastActionResult value. + * Get result of the last deployment action on the App Service Environment. * * @return the lastActionResult value */ @@ -566,7 +566,7 @@ public String lastActionResult() { } /** - * Get the allowedMultiSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for front-ends. * * @return the allowedMultiSizes value */ @@ -575,7 +575,7 @@ public String allowedMultiSizes() { } /** - * Get the allowedWorkerSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for workers. * * @return the allowedWorkerSizes value */ @@ -584,7 +584,7 @@ public String allowedWorkerSizes() { } /** - * Get the maximumNumberOfMachines value. + * Get maximum number of VMs in the App Service Environment. * * @return the maximumNumberOfMachines value */ @@ -593,7 +593,7 @@ public Integer maximumNumberOfMachines() { } /** - * Get the vipMappings value. + * Get description of IP SSL mapping for the App Service Environment. * * @return the vipMappings value */ @@ -602,7 +602,7 @@ public List vipMappings() { } /** - * Get the environmentCapacities value. + * Get current total, used, and available worker capacities. * * @return the environmentCapacities value */ @@ -611,7 +611,7 @@ public List environmentCapacities() { } /** - * Get the networkAccessControlList value. + * Get access control list for controlling traffic to the App Service Environment. * * @return the networkAccessControlList value */ @@ -620,7 +620,7 @@ public List networkAccessControlList() { } /** - * Set the networkAccessControlList value. + * Set access control list for controlling traffic to the App Service Environment. * * @param networkAccessControlList the networkAccessControlList value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -631,7 +631,7 @@ public AppServiceEnvironmentPatchResource withNetworkAccessControlList(List clusterSettings() { } /** - * Set the clusterSettings value. + * Set custom settings for changing the behavior of the App Service Environment. * * @param clusterSettings the clusterSettings value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -767,7 +771,7 @@ public AppServiceEnvironmentPatchResource withClusterSettings(List userWhitelistedIpRanges() { } /** - * Set the userWhitelistedIpRanges value. + * Set user added ip ranges to whitelist on ASE db. * * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set * @return the AppServiceEnvironmentPatchResource object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentResource.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentResource.java index 96be83d7e53dd..7a2d5c2174c89 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentResource.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentResource.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import java.util.List; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.StampCapacityInner; import com.microsoft.azure.management.appservice.v2016_09_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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironments.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironments.java index a916a2ad15093..813903a43ee5a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironments.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironments.java @@ -24,8 +24,18 @@ * Type representing AppServiceEnvironments. */ public interface AppServiceEnvironments { + /** + * Begins definition for a new HostingEnvironment resource. + * @param name resource name. + * @return the first stage of the new HostingEnvironment definition. + */ AppServiceEnvironmentResource.DefinitionStages.Blank defineHostingEnvironment(String name); + /** + * Begins definition for a new WorkerPool resource. + * @param name resource name. + * @return the first stage of the new WorkerPool definition. + */ WorkerPools.DefinitionStages.Blank defineWorkerPool(String name); /** diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlan.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlan.java index 003fc1d01c485..3462b61dc6ea9 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlan.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlan.java @@ -10,21 +10,21 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2016_09_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 adminSiteName value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlanPatchResource.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlanPatchResource.java index bc504c161114f..9536791892ae1 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlanPatchResource.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlanPatchResource.java @@ -130,7 +130,7 @@ public class AppServicePlanPatchResource extends ProxyOnlyResource { private ProvisioningState provisioningState; /** - * Get the appServicePlanPatchResourceName value. + * Get name for the App Service plan. * * @return the appServicePlanPatchResourceName value */ @@ -139,7 +139,7 @@ public String appServicePlanPatchResourceName() { } /** - * Set the appServicePlanPatchResourceName value. + * Set name for the App Service plan. * * @param appServicePlanPatchResourceName the appServicePlanPatchResourceName value to set * @return the AppServicePlanPatchResource object itself. @@ -150,7 +150,7 @@ public AppServicePlanPatchResource withAppServicePlanPatchResourceName(String ap } /** - * Get the workerTierName value. + * Get target worker tier assigned to the App Service plan. * * @return the workerTierName value */ @@ -159,7 +159,7 @@ public String workerTierName() { } /** - * Set the workerTierName value. + * Set target worker tier assigned to the App Service plan. * * @param workerTierName the workerTierName value to set * @return the AppServicePlanPatchResource object itself. @@ -170,7 +170,7 @@ public AppServicePlanPatchResource withWorkerTierName(String workerTierName) { } /** - * Get the status value. + * Get app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'. * * @return the status value */ @@ -179,7 +179,7 @@ public StatusOptions status() { } /** - * Get the subscription value. + * Get app Service plan subscription. * * @return the subscription value */ @@ -188,7 +188,7 @@ public String subscription() { } /** - * Get the adminSiteName value. + * Get app Service plan administration site. * * @return the adminSiteName value */ @@ -197,7 +197,7 @@ public String adminSiteName() { } /** - * Set the adminSiteName value. + * Set app Service plan administration site. * * @param adminSiteName the adminSiteName value to set * @return the AppServicePlanPatchResource object itself. @@ -208,7 +208,7 @@ public AppServicePlanPatchResource withAdminSiteName(String adminSiteName) { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the App Service plan. * * @return the hostingEnvironmentProfile value */ @@ -217,7 +217,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set specification for the App Service Environment to use for the App Service plan. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the AppServicePlanPatchResource object itself. @@ -228,7 +228,7 @@ public AppServicePlanPatchResource withHostingEnvironmentProfile(HostingEnvironm } /** - * Get the maximumNumberOfWorkers value. + * Get maximum number of instances that can be assigned to this App Service plan. * * @return the maximumNumberOfWorkers value */ @@ -237,7 +237,7 @@ public Integer maximumNumberOfWorkers() { } /** - * Get the geoRegion value. + * Get geographical location for the App Service plan. * * @return the geoRegion value */ @@ -246,7 +246,8 @@ public String geoRegion() { } /** - * Get the perSiteScaling value. + * Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @return the perSiteScaling value */ @@ -255,7 +256,8 @@ public Boolean perSiteScaling() { } /** - * Set the perSiteScaling value. + * Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @param perSiteScaling the perSiteScaling value to set * @return the AppServicePlanPatchResource object itself. @@ -266,7 +268,7 @@ public AppServicePlanPatchResource withPerSiteScaling(Boolean perSiteScaling) { } /** - * Get the numberOfSites value. + * Get number of apps assigned to this App Service plan. * * @return the numberOfSites value */ @@ -275,7 +277,7 @@ public Integer numberOfSites() { } /** - * Get the isSpot value. + * Get if <code>true</code>, this App Service Plan owns spot instances. * * @return the isSpot value */ @@ -284,7 +286,7 @@ public Boolean isSpot() { } /** - * Set the isSpot value. + * Set if <code>true</code>, this App Service Plan owns spot instances. * * @param isSpot the isSpot value to set * @return the AppServicePlanPatchResource object itself. @@ -295,7 +297,7 @@ public AppServicePlanPatchResource withIsSpot(Boolean isSpot) { } /** - * Get the spotExpirationTime value. + * Get the time when the server farm expires. Valid only if it is a spot server farm. * * @return the spotExpirationTime value */ @@ -304,7 +306,7 @@ public DateTime spotExpirationTime() { } /** - * Set the spotExpirationTime value. + * Set the time when the server farm expires. Valid only if it is a spot server farm. * * @param spotExpirationTime the spotExpirationTime value to set * @return the AppServicePlanPatchResource object itself. @@ -315,7 +317,7 @@ public AppServicePlanPatchResource withSpotExpirationTime(DateTime spotExpiratio } /** - * Get the resourceGroup value. + * Get resource group of the App Service plan. * * @return the resourceGroup value */ @@ -324,7 +326,7 @@ public String resourceGroup() { } /** - * Get the reserved value. + * Get if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @return the reserved value */ @@ -333,7 +335,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @param reserved the reserved value to set * @return the AppServicePlanPatchResource object itself. @@ -344,7 +346,7 @@ public AppServicePlanPatchResource withReserved(Boolean reserved) { } /** - * Get the targetWorkerCount value. + * Get scaling worker count. * * @return the targetWorkerCount value */ @@ -353,7 +355,7 @@ public Integer targetWorkerCount() { } /** - * Set the targetWorkerCount value. + * Set scaling worker count. * * @param targetWorkerCount the targetWorkerCount value to set * @return the AppServicePlanPatchResource object itself. @@ -364,7 +366,7 @@ public AppServicePlanPatchResource withTargetWorkerCount(Integer targetWorkerCou } /** - * Get the targetWorkerSizeId value. + * Get scaling worker size ID. * * @return the targetWorkerSizeId value */ @@ -373,7 +375,7 @@ public Integer targetWorkerSizeId() { } /** - * Set the targetWorkerSizeId value. + * Set scaling worker size ID. * * @param targetWorkerSizeId the targetWorkerSizeId value to set * @return the AppServicePlanPatchResource object itself. @@ -384,7 +386,7 @@ public AppServicePlanPatchResource withTargetWorkerSizeId(Integer targetWorkerSi } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlans.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlans.java index 05021a78cf1f7..95c3ec35ab877 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlans.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlans.java @@ -24,8 +24,18 @@ * Type representing AppServicePlans. */ public interface AppServicePlans { + /** + * Begins definition for a new Serverfarm resource. + * @param name resource name. + * @return the first stage of the new Serverfarm definition. + */ AppServicePlan.DefinitionStages.Blank defineServerfarm(String name); + /** + * Begins definition for a new Route resource. + * @param name resource name. + * @return the first stage of the new Route definition. + */ VnetRoute.DefinitionStages.Blank defineRoute(String name); /** diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealActions.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealActions.java index fcce336dde46d..1b26b37b29a50 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealActions.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealActions.java @@ -35,7 +35,7 @@ public class AutoHealActions { private String minProcessExecutionTime; /** - * Get the actionType value. + * Get predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'. * * @return the actionType value */ @@ -44,7 +44,7 @@ public AutoHealActionType actionType() { } /** - * Set the actionType value. + * Set predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'. * * @param actionType the actionType value to set * @return the AutoHealActions object itself. @@ -55,7 +55,7 @@ public AutoHealActions withActionType(AutoHealActionType actionType) { } /** - * Get the customAction value. + * Get custom action to be taken. * * @return the customAction value */ @@ -64,7 +64,7 @@ public AutoHealCustomAction customAction() { } /** - * Set the customAction value. + * Set custom action to be taken. * * @param customAction the customAction value to set * @return the AutoHealActions object itself. @@ -75,7 +75,8 @@ public AutoHealActions withCustomAction(AutoHealCustomAction customAction) { } /** - * Get the minProcessExecutionTime value. + * Get minimum time the process must execute + before taking the action. * * @return the minProcessExecutionTime value */ @@ -84,7 +85,8 @@ public String minProcessExecutionTime() { } /** - * Set the minProcessExecutionTime value. + * Set minimum time the process must execute + before taking the action. * * @param minProcessExecutionTime the minProcessExecutionTime value to set * @return the AutoHealActions object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealCustomAction.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealCustomAction.java index b72dad183ed95..a04736ebd4872 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealCustomAction.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealCustomAction.java @@ -28,7 +28,7 @@ public class AutoHealCustomAction { private String parameters; /** - * Get the exe value. + * Get executable to be run. * * @return the exe value */ @@ -37,7 +37,7 @@ public String exe() { } /** - * Set the exe value. + * Set executable to be run. * * @param exe the exe value to set * @return the AutoHealCustomAction object itself. @@ -48,7 +48,7 @@ public AutoHealCustomAction withExe(String exe) { } /** - * Get the parameters value. + * Get parameters for the executable. * * @return the parameters value */ @@ -57,7 +57,7 @@ public String parameters() { } /** - * Set the parameters value. + * Set parameters for the executable. * * @param parameters the parameters value to set * @return the AutoHealCustomAction object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealRules.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealRules.java index bb01c6122aa59..2a4b9efc286c2 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealRules.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealRules.java @@ -27,7 +27,7 @@ public class AutoHealRules { private AutoHealActions actions; /** - * Get the triggers value. + * Get conditions that describe when to execute the auto-heal actions. * * @return the triggers value */ @@ -36,7 +36,7 @@ public AutoHealTriggers triggers() { } /** - * Set the triggers value. + * Set conditions that describe when to execute the auto-heal actions. * * @param triggers the triggers value to set * @return the AutoHealRules object itself. @@ -47,7 +47,7 @@ public AutoHealRules withTriggers(AutoHealTriggers triggers) { } /** - * Get the actions value. + * Get actions to be executed when a rule is triggered. * * @return the actions value */ @@ -56,7 +56,7 @@ public AutoHealActions actions() { } /** - * Set the actions value. + * Set actions to be executed when a rule is triggered. * * @param actions the actions value to set * @return the AutoHealRules object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealTriggers.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealTriggers.java index 968b23576210c..f4a068d7b3a41 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealTriggers.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AutoHealTriggers.java @@ -40,7 +40,7 @@ public class AutoHealTriggers { private SlowRequestsBasedTrigger slowRequests; /** - * Get the requests value. + * Get a rule based on total requests. * * @return the requests value */ @@ -49,7 +49,7 @@ public RequestsBasedTrigger requests() { } /** - * Set the requests value. + * Set a rule based on total requests. * * @param requests the requests value to set * @return the AutoHealTriggers object itself. @@ -60,7 +60,7 @@ public AutoHealTriggers withRequests(RequestsBasedTrigger requests) { } /** - * Get the privateBytesInKB value. + * Get a rule based on private bytes. * * @return the privateBytesInKB value */ @@ -69,7 +69,7 @@ public Integer privateBytesInKB() { } /** - * Set the privateBytesInKB value. + * Set a rule based on private bytes. * * @param privateBytesInKB the privateBytesInKB value to set * @return the AutoHealTriggers object itself. @@ -80,7 +80,7 @@ public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB) { } /** - * Get the statusCodes value. + * Get a rule based on status codes. * * @return the statusCodes value */ @@ -89,7 +89,7 @@ public List statusCodes() { } /** - * Set the statusCodes value. + * Set a rule based on status codes. * * @param statusCodes the statusCodes value to set * @return the AutoHealTriggers object itself. @@ -100,7 +100,7 @@ public AutoHealTriggers withStatusCodes(List statusCode } /** - * Get the slowRequests value. + * Get a rule based on request execution time. * * @return the slowRequests value */ @@ -109,7 +109,7 @@ public SlowRequestsBasedTrigger slowRequests() { } /** - * Set the slowRequests value. + * Set a rule based on request execution time. * * @param slowRequests the slowRequests value to set * @return the AutoHealTriggers object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Capability.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Capability.java index 3d03130217be9..45ae6f1c2a6a2 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Capability.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Capability.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.CapabilityInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; /** * Type representing Capability. */ -public interface Capability extends HasInner, HasManager { +public interface Capability extends HasInner, HasManager { /** * @return the name value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CloningInfo.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CloningInfo.java index 4233e0fd9294b..d294f03a892a9 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CloningInfo.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CloningInfo.java @@ -100,7 +100,8 @@ public class CloningInfo { private Boolean ignoreQuotas; /** - * Get the correlationId value. + * Get correlation ID of cloning operation. This ID ties multiple cloning operations + together to use the same snapshot. * * @return the correlationId value */ @@ -109,7 +110,8 @@ public UUID correlationId() { } /** - * Set the correlationId value. + * Set correlation ID of cloning operation. This ID ties multiple cloning operations + together to use the same snapshot. * * @param correlationId the correlationId value to set * @return the CloningInfo object itself. @@ -120,7 +122,7 @@ public CloningInfo withCorrelationId(UUID correlationId) { } /** - * Get the overwrite value. + * Get <code>true</code> to overwrite destination app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -129,7 +131,7 @@ public Boolean overwrite() { } /** - * Set the overwrite value. + * Set <code>true</code> to overwrite destination app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the CloningInfo object itself. @@ -140,7 +142,7 @@ public CloningInfo withOverwrite(Boolean overwrite) { } /** - * Get the cloneCustomHostNames value. + * Get <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. * * @return the cloneCustomHostNames value */ @@ -149,7 +151,7 @@ public Boolean cloneCustomHostNames() { } /** - * Set the cloneCustomHostNames value. + * Set <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. * * @param cloneCustomHostNames the cloneCustomHostNames value to set * @return the CloningInfo object itself. @@ -160,7 +162,7 @@ public CloningInfo withCloneCustomHostNames(Boolean cloneCustomHostNames) { } /** - * Get the cloneSourceControl value. + * Get <code>true</code> to clone source control from source app; otherwise, <code>false</code>. * * @return the cloneSourceControl value */ @@ -169,7 +171,7 @@ public Boolean cloneSourceControl() { } /** - * Set the cloneSourceControl value. + * Set <code>true</code> to clone source control from source app; otherwise, <code>false</code>. * * @param cloneSourceControl the cloneSourceControl value to set * @return the CloningInfo object itself. @@ -180,7 +182,9 @@ public CloningInfo withCloneSourceControl(Boolean cloneSourceControl) { } /** - * Get the sourceWebAppId value. + * Get aRM resource ID of the source app. App resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the sourceWebAppId value */ @@ -189,7 +193,9 @@ public String sourceWebAppId() { } /** - * Set the sourceWebAppId value. + * Set aRM resource ID of the source app. App resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param sourceWebAppId the sourceWebAppId value to set * @return the CloningInfo object itself. @@ -200,7 +206,7 @@ public CloningInfo withSourceWebAppId(String sourceWebAppId) { } /** - * Get the hostingEnvironment value. + * Get app Service Environment. * * @return the hostingEnvironment value */ @@ -209,7 +215,7 @@ public String hostingEnvironment() { } /** - * Set the hostingEnvironment value. + * Set app Service Environment. * * @param hostingEnvironment the hostingEnvironment value to set * @return the CloningInfo object itself. @@ -220,7 +226,8 @@ public CloningInfo withHostingEnvironment(String hostingEnvironment) { } /** - * Get the appSettingsOverrides value. + * Get application setting overrides for cloned app. If specified, these settings override the settings cloned + from source app. Otherwise, application settings from source app are retained. * * @return the appSettingsOverrides value */ @@ -229,7 +236,8 @@ public Map appSettingsOverrides() { } /** - * Set the appSettingsOverrides value. + * Set application setting overrides for cloned app. If specified, these settings override the settings cloned + from source app. Otherwise, application settings from source app are retained. * * @param appSettingsOverrides the appSettingsOverrides value to set * @return the CloningInfo object itself. @@ -240,7 +248,7 @@ public CloningInfo withAppSettingsOverrides(Map appSettingsOverr } /** - * Get the configureLoadBalancing value. + * Get <code>true</code> to configure load balancing for source and destination app. * * @return the configureLoadBalancing value */ @@ -249,7 +257,7 @@ public Boolean configureLoadBalancing() { } /** - * Set the configureLoadBalancing value. + * Set <code>true</code> to configure load balancing for source and destination app. * * @param configureLoadBalancing the configureLoadBalancing value to set * @return the CloningInfo object itself. @@ -260,7 +268,8 @@ public CloningInfo withConfigureLoadBalancing(Boolean configureLoadBalancing) { } /** - * Get the trafficManagerProfileId value. + * Get aRM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. * * @return the trafficManagerProfileId value */ @@ -269,7 +278,8 @@ public String trafficManagerProfileId() { } /** - * Set the trafficManagerProfileId value. + * Set aRM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. * * @param trafficManagerProfileId the trafficManagerProfileId value to set * @return the CloningInfo object itself. @@ -280,7 +290,7 @@ public CloningInfo withTrafficManagerProfileId(String trafficManagerProfileId) { } /** - * Get the trafficManagerProfileName value. + * Get name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. * * @return the trafficManagerProfileName value */ @@ -289,7 +299,7 @@ public String trafficManagerProfileName() { } /** - * Set the trafficManagerProfileName value. + * Set name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. * * @param trafficManagerProfileName the trafficManagerProfileName value to set * @return the CloningInfo object itself. @@ -300,7 +310,7 @@ public CloningInfo withTrafficManagerProfileName(String trafficManagerProfileNam } /** - * Get the ignoreQuotas value. + * Get <code>true</code> if quotas should be ignored; otherwise, <code>false</code>. * * @return the ignoreQuotas value */ @@ -309,7 +319,7 @@ public Boolean ignoreQuotas() { } /** - * Set the ignoreQuotas value. + * Set <code>true</code> if quotas should be ignored; otherwise, <code>false</code>. * * @param ignoreQuotas the ignoreQuotas value to set * @return the CloningInfo object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ConnStringInfo.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ConnStringInfo.java index acdd1329ef312..3e8b5ea121c44 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ConnStringInfo.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ConnStringInfo.java @@ -35,7 +35,7 @@ public class ConnStringInfo { private ConnectionStringType type; /** - * Get the name value. + * Get name of connection string. * * @return the name value */ @@ -44,7 +44,7 @@ public String name() { } /** - * Set the name value. + * Set name of connection string. * * @param name the name value to set * @return the ConnStringInfo object itself. @@ -55,7 +55,7 @@ public ConnStringInfo withName(String name) { } /** - * Get the connectionString value. + * Get connection string value. * * @return the connectionString value */ @@ -64,7 +64,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set connection string value. * * @param connectionString the connectionString value to set * @return the ConnStringInfo object itself. @@ -75,7 +75,7 @@ public ConnStringInfo withConnectionString(String connectionString) { } /** - * Get the type value. + * Get type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @return the type value */ @@ -84,7 +84,7 @@ public ConnectionStringType type() { } /** - * Set the type value. + * Set type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @param type the type value to set * @return the ConnStringInfo object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CorsSettings.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CorsSettings.java index f9b199288a05b..06f76e9a80af3 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CorsSettings.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CorsSettings.java @@ -24,7 +24,8 @@ public class CorsSettings { private List allowedOrigins; /** - * Get the allowedOrigins value. + * Get gets or sets the list of origins that should be allowed to make cross-origin + calls (for example: http://example.com:12345). Use "*" to allow all. * * @return the allowedOrigins value */ @@ -33,7 +34,8 @@ public List allowedOrigins() { } /** - * Set the allowedOrigins value. + * Set gets or sets the list of origins that should be allowed to make cross-origin + calls (for example: http://example.com:12345). Use "*" to allow all. * * @param allowedOrigins the allowedOrigins value to set * @return the CorsSettings object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CsmUsageQuota.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CsmUsageQuota.java index 2786e2cea8165..781dc9552466d 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CsmUsageQuota.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/CsmUsageQuota.java @@ -11,13 +11,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.CsmUsageQuotaInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import org.joda.time.DateTime; /** * Type representing CsmUsageQuota. */ -public interface CsmUsageQuota extends HasInner, HasManager { +public interface CsmUsageQuota extends HasInner, HasManager { /** * @return the currentValue value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ErrorEntity.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ErrorEntity.java index 2260950fd1c61..0d53db1a98cc2 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ErrorEntity.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ErrorEntity.java @@ -52,7 +52,7 @@ public class ErrorEntity { private String message; /** - * Get the extendedCode value. + * Get type of error. * * @return the extendedCode value */ @@ -61,7 +61,7 @@ public String extendedCode() { } /** - * Set the extendedCode value. + * Set type of error. * * @param extendedCode the extendedCode value to set * @return the ErrorEntity object itself. @@ -72,7 +72,7 @@ public ErrorEntity withExtendedCode(String extendedCode) { } /** - * Get the messageTemplate value. + * Get message template. * * @return the messageTemplate value */ @@ -81,7 +81,7 @@ public String messageTemplate() { } /** - * Set the messageTemplate value. + * Set message template. * * @param messageTemplate the messageTemplate value to set * @return the ErrorEntity object itself. @@ -92,7 +92,7 @@ public ErrorEntity withMessageTemplate(String messageTemplate) { } /** - * Get the parameters value. + * Get parameters for the template. * * @return the parameters value */ @@ -101,7 +101,7 @@ public List parameters() { } /** - * Set the parameters value. + * Set parameters for the template. * * @param parameters the parameters value to set * @return the ErrorEntity object itself. @@ -112,7 +112,7 @@ public ErrorEntity withParameters(List parameters) { } /** - * Get the innerErrors value. + * Get inner errors. * * @return the innerErrors value */ @@ -121,7 +121,7 @@ public List innerErrors() { } /** - * Set the innerErrors value. + * Set inner errors. * * @param innerErrors the innerErrors value to set * @return the ErrorEntity object itself. @@ -132,7 +132,7 @@ public ErrorEntity withInnerErrors(List innerErrors) { } /** - * Get the code value. + * Get basic error code. * * @return the code value */ @@ -141,7 +141,7 @@ public String code() { } /** - * Set the code value. + * Set basic error code. * * @param code the code value to set * @return the ErrorEntity object itself. @@ -152,7 +152,7 @@ public ErrorEntity withCode(String code) { } /** - * Get the message value. + * Get any details of the error. * * @return the message value */ @@ -161,7 +161,7 @@ public String message() { } /** - * Set the message value. + * Set any details of the error. * * @param message the message value to set * @return the ErrorEntity object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Experiments.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Experiments.java index 91a62100262e9..c9e6072780b0a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Experiments.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Experiments.java @@ -22,7 +22,7 @@ public class Experiments { private List rampUpRules; /** - * Get the rampUpRules value. + * Get list of ramp-up rules. * * @return the rampUpRules value */ @@ -31,7 +31,7 @@ public List rampUpRules() { } /** - * Set the rampUpRules value. + * Set list of ramp-up rules. * * @param rampUpRules the rampUpRules value to set * @return the Experiments object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HandlerMapping.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HandlerMapping.java index 1d89c26c478cb..5f559403ef36d 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HandlerMapping.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HandlerMapping.java @@ -37,7 +37,7 @@ public class HandlerMapping { private String arguments; /** - * Get the extension value. + * Get requests with this extension will be handled using the specified FastCGI application. * * @return the extension value */ @@ -46,7 +46,7 @@ public String extension() { } /** - * Set the extension value. + * Set requests with this extension will be handled using the specified FastCGI application. * * @param extension the extension value to set * @return the HandlerMapping object itself. @@ -57,7 +57,7 @@ public HandlerMapping withExtension(String extension) { } /** - * Get the scriptProcessor value. + * Get the absolute path to the FastCGI application. * * @return the scriptProcessor value */ @@ -66,7 +66,7 @@ public String scriptProcessor() { } /** - * Set the scriptProcessor value. + * Set the absolute path to the FastCGI application. * * @param scriptProcessor the scriptProcessor value to set * @return the HandlerMapping object itself. @@ -77,7 +77,7 @@ public HandlerMapping withScriptProcessor(String scriptProcessor) { } /** - * Get the arguments value. + * Get command-line arguments to be passed to the script processor. * * @return the arguments value */ @@ -86,7 +86,7 @@ public String arguments() { } /** - * Set the arguments value. + * Set command-line arguments to be passed to the script processor. * * @param arguments the arguments value to set * @return the HandlerMapping object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostNameSslState.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostNameSslState.java index af7e2bfdf5317..de394b5229a2c 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostNameSslState.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostNameSslState.java @@ -53,7 +53,7 @@ public class HostNameSslState { private HostType hostType; /** - * Get the name value. + * Get hostname. * * @return the name value */ @@ -62,7 +62,7 @@ public String name() { } /** - * Set the name value. + * Set hostname. * * @param name the name value to set * @return the HostNameSslState object itself. @@ -73,7 +73,7 @@ public HostNameSslState withName(String name) { } /** - * Get the sslState value. + * Get sSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'. * * @return the sslState value */ @@ -82,7 +82,7 @@ public SslState sslState() { } /** - * Set the sslState value. + * Set sSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'. * * @param sslState the sslState value to set * @return the HostNameSslState object itself. @@ -93,7 +93,7 @@ public HostNameSslState withSslState(SslState sslState) { } /** - * Get the virtualIP value. + * Get virtual IP address assigned to the hostname if IP based SSL is enabled. * * @return the virtualIP value */ @@ -102,7 +102,7 @@ public String virtualIP() { } /** - * Set the virtualIP value. + * Set virtual IP address assigned to the hostname if IP based SSL is enabled. * * @param virtualIP the virtualIP value to set * @return the HostNameSslState object itself. @@ -113,7 +113,7 @@ public HostNameSslState withVirtualIP(String virtualIP) { } /** - * Get the thumbprint value. + * Get sSL certificate thumbprint. * * @return the thumbprint value */ @@ -122,7 +122,7 @@ public String thumbprint() { } /** - * Set the thumbprint value. + * Set sSL certificate thumbprint. * * @param thumbprint the thumbprint value to set * @return the HostNameSslState object itself. @@ -133,7 +133,7 @@ public HostNameSslState withThumbprint(String thumbprint) { } /** - * Get the toUpdate value. + * Get set to <code>true</code> to update existing hostname. * * @return the toUpdate value */ @@ -142,7 +142,7 @@ public Boolean toUpdate() { } /** - * Set the toUpdate value. + * Set set to <code>true</code> to update existing hostname. * * @param toUpdate the toUpdate value to set * @return the HostNameSslState object itself. @@ -153,7 +153,7 @@ public HostNameSslState withToUpdate(Boolean toUpdate) { } /** - * Get the hostType value. + * Get indicates whether the hostname is a standard or repository hostname. Possible values include: 'Standard', 'Repository'. * * @return the hostType value */ @@ -162,7 +162,7 @@ public HostType hostType() { } /** - * Set the hostType value. + * Set indicates whether the hostname is a standard or repository hostname. Possible values include: 'Standard', 'Repository'. * * @param hostType the hostType value to set * @return the HostNameSslState object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentAppServicePlan.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentAppServicePlan.java index ab93f003b4571..0e22beaab1ad7 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentAppServicePlan.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentAppServicePlan.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServicePlanInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; 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 adminSiteName value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentDiagnostics.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentDiagnostics.java index 838dde951199d..6c020868de385 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentDiagnostics.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentDiagnostics.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.HostingEnvironmentDiagnosticsInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; /** * Type representing HostingEnvironmentDiagnostics. */ -public interface HostingEnvironmentDiagnostics extends HasInner, HasManager { +public interface HostingEnvironmentDiagnostics extends HasInner, HasManager { /** * @return the diagnosicsOutput value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentProfile.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentProfile.java index 57b702a5b019a..205f4cebb4a26 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentProfile.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentProfile.java @@ -33,7 +33,7 @@ public class HostingEnvironmentProfile { private String type; /** - * Get the id value. + * Get resource ID of the App Service Environment. * * @return the id value */ @@ -42,7 +42,7 @@ public String id() { } /** - * Set the id value. + * Set resource ID of the App Service Environment. * * @param id the id value to set * @return the HostingEnvironmentProfile object itself. @@ -53,7 +53,7 @@ public HostingEnvironmentProfile withId(String id) { } /** - * Get the name value. + * Get name of the App Service Environment. * * @return the name value */ @@ -62,7 +62,7 @@ public String name() { } /** - * Get the type value. + * Get resource type of the App Service Environment. * * @return the type value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentResourceMetric.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentResourceMetric.java index f97997a4134c7..84161822be04c 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentResourceMetric.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentResourceMetric.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.ResourceMetricInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; 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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentSite.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentSite.java index 01271f85d8d0d..256f08cdc1edd 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentSite.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HostingEnvironmentSite.java @@ -11,7 +11,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.SiteInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import java.util.List; import org.joda.time.DateTime; import java.util.Map; @@ -19,7 +19,7 @@ /** * Type representing HostingEnvironmentSite. */ -public interface HostingEnvironmentSite extends HasInner, HasManager { +public interface HostingEnvironmentSite extends HasInner, HasManager { /** * @return the availabilityState value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnection.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnection.java index c7aae0ebbc04c..1ff9f9f8ecb58 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnection.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnection.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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; /** * Type representing HybridConnection. */ -public interface HybridConnection extends HasInner, Indexable, Refreshable, HasManager { +public interface HybridConnection extends HasInner, Indexable, Refreshable, HasManager { /** * @return the hostname value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnectionKey.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnectionKey.java index 479b51f7d5258..32553b0ea0f3a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnectionKey.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_09_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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnectionLimits.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnectionLimits.java index 1c6fc58b4ee11..b7f1dd9c92865 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/HybridConnectionLimits.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_09_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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Identifier.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Identifier.java index 46916f977911d..3237a6e467946 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Identifier.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Identifier.java @@ -23,7 +23,7 @@ public class Identifier extends ProxyOnlyResource { private String identifierId; /** - * Get the identifierId value. + * Get string representation of the identity. * * @return the identifierId value */ @@ -32,7 +32,7 @@ public String identifierId() { } /** - * Set the identifierId value. + * Set string representation of the identity. * * @param identifierId the identifierId value to set * @return the Identifier object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/IpSecurityRestriction.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/IpSecurityRestriction.java index 65a226a52b7a5..51a91c5b5e6bb 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/IpSecurityRestriction.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/IpSecurityRestriction.java @@ -27,7 +27,7 @@ public class IpSecurityRestriction { private String subnetMask; /** - * Get the ipAddress value. + * Get iP address the security restriction is valid for. * * @return the ipAddress value */ @@ -36,7 +36,7 @@ public String ipAddress() { } /** - * Set the ipAddress value. + * Set iP address the security restriction is valid for. * * @param ipAddress the ipAddress value to set * @return the IpSecurityRestriction object itself. @@ -47,7 +47,7 @@ public IpSecurityRestriction withIpAddress(String ipAddress) { } /** - * Get the subnetMask value. + * Get subnet mask for the range of IP addresses the restriction is valid for. * * @return the subnetMask value */ @@ -56,7 +56,7 @@ public String subnetMask() { } /** - * Set the subnetMask value. + * Set subnet mask for the range of IP addresses the restriction is valid for. * * @param subnetMask the subnetMask value to set * @return the IpSecurityRestriction object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/LocalizableString.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/LocalizableString.java index 4f22c05da74f2..0ea3fa5c70158 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/LocalizableString.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/LocalizableString.java @@ -27,7 +27,7 @@ public class LocalizableString { private String localizedValue; /** - * Get the value value. + * Get non-localized name. * * @return the value value */ @@ -36,7 +36,7 @@ public String value() { } /** - * Set the value value. + * Set non-localized name. * * @param value the value value to set * @return the LocalizableString object itself. @@ -47,7 +47,7 @@ public LocalizableString withValue(String value) { } /** - * Get the localizedValue value. + * Get localized name. * * @return the localizedValue value */ @@ -56,7 +56,7 @@ public String localizedValue() { } /** - * Set the localizedValue value. + * Set localized name. * * @param localizedValue the localizedValue value to set * @return the LocalizableString object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ManagedServiceIdentity.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ManagedServiceIdentity.java index 7755733f21064..36283ef361821 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ManagedServiceIdentity.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ManagedServiceIdentity.java @@ -34,7 +34,7 @@ public class ManagedServiceIdentity { private String principalId; /** - * Get the type value. + * Get type of managed service identity. Possible values include: 'SystemAssigned'. * * @return the type value */ @@ -43,7 +43,7 @@ public ManagedServiceIdentityType type() { } /** - * Set the type value. + * Set type of managed service identity. Possible values include: 'SystemAssigned'. * * @param type the type value to set * @return the ManagedServiceIdentity object itself. @@ -54,7 +54,7 @@ public ManagedServiceIdentity withType(ManagedServiceIdentityType type) { } /** - * Get the tenantId value. + * Get tenant of managed service identity. * * @return the tenantId value */ @@ -63,7 +63,7 @@ public String tenantId() { } /** - * Get the principalId value. + * Get principal Id of managed service identity. * * @return the principalId value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MetricAvailabilily.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MetricAvailabilily.java index 1ed49cb433db4..00c422614323b 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MetricAvailabilily.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MetricAvailabilily.java @@ -27,7 +27,7 @@ public class MetricAvailabilily { private String retention; /** - * Get the timeGrain value. + * Get time grain. * * @return the timeGrain value */ @@ -36,7 +36,7 @@ public String timeGrain() { } /** - * Set the timeGrain value. + * Set time grain. * * @param timeGrain the timeGrain value to set * @return the MetricAvailabilily object itself. @@ -47,7 +47,7 @@ public MetricAvailabilily withTimeGrain(String timeGrain) { } /** - * Get the retention value. + * Get retention period for the current time grain. * * @return the retention value */ @@ -56,7 +56,7 @@ public String retention() { } /** - * Set the retention value. + * Set retention period for the current time grain. * * @param retention the retention value to set * @return the MetricAvailabilily object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MetricDefinition.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MetricDefinition.java index 9b4a4f9c7c145..14527a149592a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MetricDefinition.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_09_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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MultiRolePools.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MultiRolePools.java index 949a29a6abef4..af423269447ed 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MultiRolePools.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/MultiRolePools.java @@ -11,13 +11,13 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WorkerPoolResourceInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; 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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/NameValuePair.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/NameValuePair.java index 1a9fa57da0f11..5a4174d296055 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/NameValuePair.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/NameValuePair.java @@ -27,7 +27,7 @@ public class NameValuePair { private String value; /** - * Get the name value. + * Get pair name. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set pair name. * * @param name the name value to set * @return the NameValuePair object itself. @@ -47,7 +47,7 @@ public NameValuePair withName(String name) { } /** - * Get the value value. + * Get pair value. * * @return the value value */ @@ -56,7 +56,7 @@ public String value() { } /** - * Set the value value. + * Set pair value. * * @param value the value value to set * @return the NameValuePair object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/NetworkAccessControlEntry.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/NetworkAccessControlEntry.java index 7638ecfa22e5c..bec5a95856547 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/NetworkAccessControlEntry.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/NetworkAccessControlEntry.java @@ -39,7 +39,7 @@ public class NetworkAccessControlEntry { private String remoteSubnet; /** - * Get the action value. + * Get action object. Possible values include: 'Permit', 'Deny'. * * @return the action value */ @@ -48,7 +48,7 @@ public AccessControlEntryAction action() { } /** - * Set the action value. + * Set action object. Possible values include: 'Permit', 'Deny'. * * @param action the action value to set * @return the NetworkAccessControlEntry object itself. @@ -59,7 +59,7 @@ public NetworkAccessControlEntry withAction(AccessControlEntryAction action) { } /** - * Get the description value. + * Get description of network access control entry. * * @return the description value */ @@ -68,7 +68,7 @@ public String description() { } /** - * Set the description value. + * Set description of network access control entry. * * @param description the description value to set * @return the NetworkAccessControlEntry object itself. @@ -79,7 +79,7 @@ public NetworkAccessControlEntry withDescription(String description) { } /** - * Get the order value. + * Get order of precedence. * * @return the order value */ @@ -88,7 +88,7 @@ public Integer order() { } /** - * Set the order value. + * Set order of precedence. * * @param order the order value to set * @return the NetworkAccessControlEntry object itself. @@ -99,7 +99,7 @@ public NetworkAccessControlEntry withOrder(Integer order) { } /** - * Get the remoteSubnet value. + * Get remote subnet. * * @return the remoteSubnet value */ @@ -108,7 +108,7 @@ public String remoteSubnet() { } /** - * Set the remoteSubnet value. + * Set remote subnet. * * @param remoteSubnet the remoteSubnet value to set * @return the NetworkAccessControlEntry object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Operation.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Operation.java index df34fce5fd093..94238d89e0664 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Operation.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Operation.java @@ -11,7 +11,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.OperationInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; 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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ProxyOnlyResource.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ProxyOnlyResource.java index 7883993e514b1..1bca15691ef7d 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ProxyOnlyResource.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ProxyOnlyResource.java @@ -23,7 +23,7 @@ public class ProxyOnlyResource extends ProxyResource { private String kind; /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -32,7 +32,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the ProxyOnlyResource object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/PushSettings.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/PushSettings.java index c5de933c1940a..a226f886384eb 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/PushSettings.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/PushSettings.java @@ -47,7 +47,7 @@ public class PushSettings extends ProxyOnlyResource { private String dynamicTagsJson; /** - * Get the isPushEnabled value. + * Get gets or sets a flag indicating whether the Push endpoint is enabled. * * @return the isPushEnabled value */ @@ -56,7 +56,7 @@ public boolean isPushEnabled() { } /** - * Set the isPushEnabled value. + * Set gets or sets a flag indicating whether the Push endpoint is enabled. * * @param isPushEnabled the isPushEnabled value to set * @return the PushSettings object itself. @@ -67,7 +67,7 @@ public PushSettings withIsPushEnabled(boolean isPushEnabled) { } /** - * Get the tagWhitelistJson value. + * Get gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. * * @return the tagWhitelistJson value */ @@ -76,7 +76,7 @@ public String tagWhitelistJson() { } /** - * Set the tagWhitelistJson value. + * Set gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. * * @param tagWhitelistJson the tagWhitelistJson value to set * @return the PushSettings object itself. @@ -87,7 +87,10 @@ public PushSettings withTagWhitelistJson(String tagWhitelistJson) { } /** - * Get the tagsRequiringAuth value. + * Get gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. * * @return the tagsRequiringAuth value */ @@ -96,7 +99,10 @@ public String tagsRequiringAuth() { } /** - * Set the tagsRequiringAuth value. + * Set gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. * * @param tagsRequiringAuth the tagsRequiringAuth value to set * @return the PushSettings object itself. @@ -107,7 +113,7 @@ public PushSettings withTagsRequiringAuth(String tagsRequiringAuth) { } /** - * Get the dynamicTagsJson value. + * Get gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. * * @return the dynamicTagsJson value */ @@ -116,7 +122,7 @@ public String dynamicTagsJson() { } /** - * Set the dynamicTagsJson value. + * Set gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. * * @param dynamicTagsJson the dynamicTagsJson value to set * @return the PushSettings object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RampUpRule.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RampUpRule.java index fab15cb109bc0..f57b6a5e7630a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RampUpRule.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RampUpRule.java @@ -78,7 +78,7 @@ public class RampUpRule { private String name; /** - * Get the actionHostName value. + * Get hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. * * @return the actionHostName value */ @@ -87,7 +87,7 @@ public String actionHostName() { } /** - * Set the actionHostName value. + * Set hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. * * @param actionHostName the actionHostName value to set * @return the RampUpRule object itself. @@ -98,7 +98,7 @@ public RampUpRule withActionHostName(String actionHostName) { } /** - * Get the reroutePercentage value. + * Get percentage of the traffic which will be redirected to <code>ActionHostName</code>. * * @return the reroutePercentage value */ @@ -107,7 +107,7 @@ public Double reroutePercentage() { } /** - * Set the reroutePercentage value. + * Set percentage of the traffic which will be redirected to <code>ActionHostName</code>. * * @param reroutePercentage the reroutePercentage value to set * @return the RampUpRule object itself. @@ -118,7 +118,9 @@ public RampUpRule withReroutePercentage(Double reroutePercentage) { } /** - * Get the changeStep value. + * Get in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @return the changeStep value */ @@ -127,7 +129,9 @@ public Double changeStep() { } /** - * Set the changeStep value. + * Set in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @param changeStep the changeStep value to set * @return the RampUpRule object itself. @@ -138,7 +142,7 @@ public RampUpRule withChangeStep(Double changeStep) { } /** - * Get the changeIntervalInMinutes value. + * Get specifies interval in mimuntes to reevaluate ReroutePercentage. * * @return the changeIntervalInMinutes value */ @@ -147,7 +151,7 @@ public Integer changeIntervalInMinutes() { } /** - * Set the changeIntervalInMinutes value. + * Set specifies interval in mimuntes to reevaluate ReroutePercentage. * * @param changeIntervalInMinutes the changeIntervalInMinutes value to set * @return the RampUpRule object itself. @@ -158,7 +162,7 @@ public RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes) { } /** - * Get the minReroutePercentage value. + * Get specifies lower boundary above which ReroutePercentage will stay. * * @return the minReroutePercentage value */ @@ -167,7 +171,7 @@ public Double minReroutePercentage() { } /** - * Set the minReroutePercentage value. + * Set specifies lower boundary above which ReroutePercentage will stay. * * @param minReroutePercentage the minReroutePercentage value to set * @return the RampUpRule object itself. @@ -178,7 +182,7 @@ public RampUpRule withMinReroutePercentage(Double minReroutePercentage) { } /** - * Get the maxReroutePercentage value. + * Get specifies upper boundary below which ReroutePercentage will stay. * * @return the maxReroutePercentage value */ @@ -187,7 +191,7 @@ public Double maxReroutePercentage() { } /** - * Set the maxReroutePercentage value. + * Set specifies upper boundary below which ReroutePercentage will stay. * * @param maxReroutePercentage the maxReroutePercentage value to set * @return the RampUpRule object itself. @@ -198,7 +202,8 @@ public RampUpRule withMaxReroutePercentage(Double maxReroutePercentage) { } /** - * Get the changeDecisionCallbackUrl value. + * Get custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. + https://www.siteextensions.net/packages/TiPCallback/. * * @return the changeDecisionCallbackUrl value */ @@ -207,7 +212,8 @@ public String changeDecisionCallbackUrl() { } /** - * Set the changeDecisionCallbackUrl value. + * Set custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. + https://www.siteextensions.net/packages/TiPCallback/. * * @param changeDecisionCallbackUrl the changeDecisionCallbackUrl value to set * @return the RampUpRule object itself. @@ -218,7 +224,7 @@ public RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl } /** - * Get the name value. + * Get name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. * * @return the name value */ @@ -227,7 +233,7 @@ public String name() { } /** - * Set the name value. + * Set name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. * * @param name the name value to set * @return the RampUpRule object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RequestsBasedTrigger.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RequestsBasedTrigger.java index 6d08e341061f3..e63500b24e174 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RequestsBasedTrigger.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RequestsBasedTrigger.java @@ -27,7 +27,7 @@ public class RequestsBasedTrigger { private String timeInterval; /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -36,7 +36,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the RequestsBasedTrigger object itself. @@ -47,7 +47,7 @@ public RequestsBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -56,7 +56,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the RequestsBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricAvailability.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricAvailability.java index b26cbc8faf360..b992f5da4b315 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricAvailability.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricAvailability.java @@ -27,7 +27,7 @@ public class ResourceMetricAvailability { private String retention; /** - * Get the timeGrain value. + * Get time grain . * * @return the timeGrain value */ @@ -36,7 +36,7 @@ public String timeGrain() { } /** - * Get the retention value. + * Get retention period for the current time grain. * * @return the retention value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricDefinition.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricDefinition.java index ef05a3c9c83e4..5587183559a63 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricDefinition.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricDefinition.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.ResourceMetricDefinitionInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import java.util.List; import java.util.Map; /** * Type representing ResourceMetricDefinition. */ -public interface ResourceMetricDefinition extends HasInner, HasManager { +public interface ResourceMetricDefinition extends HasInner, HasManager { /** * @return the id value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricName.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricName.java index b1d8bc20f0753..de34f3d2e4e7a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricName.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricName.java @@ -27,7 +27,7 @@ public class ResourceMetricName { private String localizedValue; /** - * Get the value value. + * Get metric name value. * * @return the value value */ @@ -36,7 +36,7 @@ public String value() { } /** - * Get the localizedValue value. + * Get localized metric name value. * * @return the localizedValue value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricProperty.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricProperty.java index d41e8e25ad01b..6991afe805599 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricProperty.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricProperty.java @@ -27,7 +27,7 @@ public class ResourceMetricProperty { private String value; /** - * Get the key value. + * Get key for resource metric property. * * @return the key value */ @@ -36,7 +36,7 @@ public String key() { } /** - * Set the key value. + * Set key for resource metric property. * * @param key the key value to set * @return the ResourceMetricProperty object itself. @@ -47,7 +47,7 @@ public ResourceMetricProperty withKey(String key) { } /** - * Get the value value. + * Get value of pair. * * @return the value value */ @@ -56,7 +56,7 @@ public String value() { } /** - * Set the value value. + * Set value of pair. * * @param value the value value to set * @return the ResourceMetricProperty object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricValue.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricValue.java index bc3e633cb700b..fa686073b5fda 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricValue.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ResourceMetricValue.java @@ -58,7 +58,7 @@ public class ResourceMetricValue { private List properties; /** - * Get the timestamp value. + * Get value timestamp. * * @return the timestamp value */ @@ -67,7 +67,7 @@ public String timestamp() { } /** - * Get the average value. + * Get value average. * * @return the average value */ @@ -76,7 +76,7 @@ public Double average() { } /** - * Get the minimum value. + * Get value minimum. * * @return the minimum value */ @@ -85,7 +85,7 @@ public Double minimum() { } /** - * Get the maximum value. + * Get value maximum. * * @return the maximum value */ @@ -94,7 +94,7 @@ public Double maximum() { } /** - * Get the total value. + * Get value total. * * @return the total value */ @@ -103,7 +103,7 @@ public Double total() { } /** - * Get the count value. + * Get value count. * * @return the count value */ @@ -112,7 +112,7 @@ public Double count() { } /** - * Get the properties value. + * Get resource metric properties collection. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ServerfarmResourceMetric.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ServerfarmResourceMetric.java index 03b0c26419966..632e64b7a5023 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ServerfarmResourceMetric.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ServerfarmResourceMetric.java @@ -11,14 +11,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.ResourceMetricInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; 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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ServerfarmSite.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ServerfarmSite.java index 2d8012b52146c..ba7ca8921f3bd 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ServerfarmSite.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/ServerfarmSite.java @@ -11,7 +11,7 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2016_09_01.implementation.SiteInner; import com.microsoft.azure.arm.resources.models.HasManager; -import com.microsoft.azure.management.appservice.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import java.util.List; import org.joda.time.DateTime; import java.util.Map; @@ -19,7 +19,7 @@ /** * Type representing ServerfarmSite. */ -public interface ServerfarmSite extends HasInner, HasManager { +public interface ServerfarmSite extends HasInner, HasManager { /** * @return the availabilityState value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteConfig.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteConfig.java index 278c2523fadfb..c35a0f6a70309 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteConfig.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteConfig.java @@ -302,7 +302,7 @@ public class SiteConfig { private SupportedTlsVersions minTlsVersion; /** - * Get the numberOfWorkers value. + * Get number of workers. * * @return the numberOfWorkers value */ @@ -311,7 +311,7 @@ public Integer numberOfWorkers() { } /** - * Set the numberOfWorkers value. + * Set number of workers. * * @param numberOfWorkers the numberOfWorkers value to set * @return the SiteConfig object itself. @@ -322,7 +322,7 @@ public SiteConfig withNumberOfWorkers(Integer numberOfWorkers) { } /** - * Get the defaultDocuments value. + * Get default documents. * * @return the defaultDocuments value */ @@ -331,7 +331,7 @@ public List defaultDocuments() { } /** - * Set the defaultDocuments value. + * Set default documents. * * @param defaultDocuments the defaultDocuments value to set * @return the SiteConfig object itself. @@ -342,7 +342,7 @@ public SiteConfig withDefaultDocuments(List defaultDocuments) { } /** - * Get the netFrameworkVersion value. + * Get .NET Framework version. * * @return the netFrameworkVersion value */ @@ -351,7 +351,7 @@ public String netFrameworkVersion() { } /** - * Set the netFrameworkVersion value. + * Set .NET Framework version. * * @param netFrameworkVersion the netFrameworkVersion value to set * @return the SiteConfig object itself. @@ -362,7 +362,7 @@ public SiteConfig withNetFrameworkVersion(String netFrameworkVersion) { } /** - * Get the phpVersion value. + * Get version of PHP. * * @return the phpVersion value */ @@ -371,7 +371,7 @@ public String phpVersion() { } /** - * Set the phpVersion value. + * Set version of PHP. * * @param phpVersion the phpVersion value to set * @return the SiteConfig object itself. @@ -382,7 +382,7 @@ public SiteConfig withPhpVersion(String phpVersion) { } /** - * Get the pythonVersion value. + * Get version of Python. * * @return the pythonVersion value */ @@ -391,7 +391,7 @@ public String pythonVersion() { } /** - * Set the pythonVersion value. + * Set version of Python. * * @param pythonVersion the pythonVersion value to set * @return the SiteConfig object itself. @@ -402,7 +402,7 @@ public SiteConfig withPythonVersion(String pythonVersion) { } /** - * Get the nodeVersion value. + * Get version of Node.js. * * @return the nodeVersion value */ @@ -411,7 +411,7 @@ public String nodeVersion() { } /** - * Set the nodeVersion value. + * Set version of Node.js. * * @param nodeVersion the nodeVersion value to set * @return the SiteConfig object itself. @@ -422,7 +422,7 @@ public SiteConfig withNodeVersion(String nodeVersion) { } /** - * Get the linuxFxVersion value. + * Get linux App Framework and version. * * @return the linuxFxVersion value */ @@ -431,7 +431,7 @@ public String linuxFxVersion() { } /** - * Set the linuxFxVersion value. + * Set linux App Framework and version. * * @param linuxFxVersion the linuxFxVersion value to set * @return the SiteConfig object itself. @@ -442,7 +442,7 @@ public SiteConfig withLinuxFxVersion(String linuxFxVersion) { } /** - * Get the requestTracingEnabled value. + * Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @return the requestTracingEnabled value */ @@ -451,7 +451,7 @@ public Boolean requestTracingEnabled() { } /** - * Set the requestTracingEnabled value. + * Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @param requestTracingEnabled the requestTracingEnabled value to set * @return the SiteConfig object itself. @@ -462,7 +462,7 @@ public SiteConfig withRequestTracingEnabled(Boolean requestTracingEnabled) { } /** - * Get the requestTracingExpirationTime value. + * Get request tracing expiration time. * * @return the requestTracingExpirationTime value */ @@ -471,7 +471,7 @@ public DateTime requestTracingExpirationTime() { } /** - * Set the requestTracingExpirationTime value. + * Set request tracing expiration time. * * @param requestTracingExpirationTime the requestTracingExpirationTime value to set * @return the SiteConfig object itself. @@ -482,7 +482,7 @@ public SiteConfig withRequestTracingExpirationTime(DateTime requestTracingExpira } /** - * Get the remoteDebuggingEnabled value. + * Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @return the remoteDebuggingEnabled value */ @@ -491,7 +491,7 @@ public Boolean remoteDebuggingEnabled() { } /** - * Set the remoteDebuggingEnabled value. + * Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @param remoteDebuggingEnabled the remoteDebuggingEnabled value to set * @return the SiteConfig object itself. @@ -502,7 +502,7 @@ public SiteConfig withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled) { } /** - * Get the remoteDebuggingVersion value. + * Get remote debugging version. * * @return the remoteDebuggingVersion value */ @@ -511,7 +511,7 @@ public String remoteDebuggingVersion() { } /** - * Set the remoteDebuggingVersion value. + * Set remote debugging version. * * @param remoteDebuggingVersion the remoteDebuggingVersion value to set * @return the SiteConfig object itself. @@ -522,7 +522,7 @@ public SiteConfig withRemoteDebuggingVersion(String remoteDebuggingVersion) { } /** - * Get the httpLoggingEnabled value. + * Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @return the httpLoggingEnabled value */ @@ -531,7 +531,7 @@ public Boolean httpLoggingEnabled() { } /** - * Set the httpLoggingEnabled value. + * Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @param httpLoggingEnabled the httpLoggingEnabled value to set * @return the SiteConfig object itself. @@ -542,7 +542,7 @@ public SiteConfig withHttpLoggingEnabled(Boolean httpLoggingEnabled) { } /** - * Get the logsDirectorySizeLimit value. + * Get hTTP logs directory size limit. * * @return the logsDirectorySizeLimit value */ @@ -551,7 +551,7 @@ public Integer logsDirectorySizeLimit() { } /** - * Set the logsDirectorySizeLimit value. + * Set hTTP logs directory size limit. * * @param logsDirectorySizeLimit the logsDirectorySizeLimit value to set * @return the SiteConfig object itself. @@ -562,7 +562,7 @@ public SiteConfig withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit) { } /** - * Get the detailedErrorLoggingEnabled value. + * Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @return the detailedErrorLoggingEnabled value */ @@ -571,7 +571,7 @@ public Boolean detailedErrorLoggingEnabled() { } /** - * Set the detailedErrorLoggingEnabled value. + * Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @param detailedErrorLoggingEnabled the detailedErrorLoggingEnabled value to set * @return the SiteConfig object itself. @@ -582,7 +582,7 @@ public SiteConfig withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEn } /** - * Get the publishingUsername value. + * Get publishing user name. * * @return the publishingUsername value */ @@ -591,7 +591,7 @@ public String publishingUsername() { } /** - * Set the publishingUsername value. + * Set publishing user name. * * @param publishingUsername the publishingUsername value to set * @return the SiteConfig object itself. @@ -602,7 +602,7 @@ public SiteConfig withPublishingUsername(String publishingUsername) { } /** - * Get the appSettings value. + * Get application settings. * * @return the appSettings value */ @@ -611,7 +611,7 @@ public List appSettings() { } /** - * Set the appSettings value. + * Set application settings. * * @param appSettings the appSettings value to set * @return the SiteConfig object itself. @@ -622,7 +622,7 @@ public SiteConfig withAppSettings(List appSettings) { } /** - * Get the connectionStrings value. + * Get connection strings. * * @return the connectionStrings value */ @@ -631,7 +631,7 @@ public List connectionStrings() { } /** - * Set the connectionStrings value. + * Set connection strings. * * @param connectionStrings the connectionStrings value to set * @return the SiteConfig object itself. @@ -642,7 +642,7 @@ public SiteConfig withConnectionStrings(List connectionStrings) } /** - * Get the machineKey value. + * Get site MachineKey. * * @return the machineKey value */ @@ -651,7 +651,7 @@ public SiteMachineKey machineKey() { } /** - * Get the handlerMappings value. + * Get handler mappings. * * @return the handlerMappings value */ @@ -660,7 +660,7 @@ public List handlerMappings() { } /** - * Set the handlerMappings value. + * Set handler mappings. * * @param handlerMappings the handlerMappings value to set * @return the SiteConfig object itself. @@ -671,7 +671,7 @@ public SiteConfig withHandlerMappings(List handlerMappings) { } /** - * Get the documentRoot value. + * Get document root. * * @return the documentRoot value */ @@ -680,7 +680,7 @@ public String documentRoot() { } /** - * Set the documentRoot value. + * Set document root. * * @param documentRoot the documentRoot value to set * @return the SiteConfig object itself. @@ -691,7 +691,7 @@ public SiteConfig withDocumentRoot(String documentRoot) { } /** - * Get the scmType value. + * Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @return the scmType value */ @@ -700,7 +700,7 @@ public ScmType scmType() { } /** - * Set the scmType value. + * Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @param scmType the scmType value to set * @return the SiteConfig object itself. @@ -711,7 +711,7 @@ public SiteConfig withScmType(ScmType scmType) { } /** - * Get the use32BitWorkerProcess value. + * Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @return the use32BitWorkerProcess value */ @@ -720,7 +720,7 @@ public Boolean use32BitWorkerProcess() { } /** - * Set the use32BitWorkerProcess value. + * Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @param use32BitWorkerProcess the use32BitWorkerProcess value to set * @return the SiteConfig object itself. @@ -731,7 +731,7 @@ public SiteConfig withUse32BitWorkerProcess(Boolean use32BitWorkerProcess) { } /** - * Get the webSocketsEnabled value. + * Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @return the webSocketsEnabled value */ @@ -740,7 +740,7 @@ public Boolean webSocketsEnabled() { } /** - * Set the webSocketsEnabled value. + * Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @param webSocketsEnabled the webSocketsEnabled value to set * @return the SiteConfig object itself. @@ -751,7 +751,7 @@ public SiteConfig withWebSocketsEnabled(Boolean webSocketsEnabled) { } /** - * Get the alwaysOn value. + * Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @return the alwaysOn value */ @@ -760,7 +760,7 @@ public Boolean alwaysOn() { } /** - * Set the alwaysOn value. + * Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @param alwaysOn the alwaysOn value to set * @return the SiteConfig object itself. @@ -771,7 +771,7 @@ public SiteConfig withAlwaysOn(Boolean alwaysOn) { } /** - * Get the javaVersion value. + * Get java version. * * @return the javaVersion value */ @@ -780,7 +780,7 @@ public String javaVersion() { } /** - * Set the javaVersion value. + * Set java version. * * @param javaVersion the javaVersion value to set * @return the SiteConfig object itself. @@ -791,7 +791,7 @@ public SiteConfig withJavaVersion(String javaVersion) { } /** - * Get the javaContainer value. + * Get java container. * * @return the javaContainer value */ @@ -800,7 +800,7 @@ public String javaContainer() { } /** - * Set the javaContainer value. + * Set java container. * * @param javaContainer the javaContainer value to set * @return the SiteConfig object itself. @@ -811,7 +811,7 @@ public SiteConfig withJavaContainer(String javaContainer) { } /** - * Get the javaContainerVersion value. + * Get java container version. * * @return the javaContainerVersion value */ @@ -820,7 +820,7 @@ public String javaContainerVersion() { } /** - * Set the javaContainerVersion value. + * Set java container version. * * @param javaContainerVersion the javaContainerVersion value to set * @return the SiteConfig object itself. @@ -831,7 +831,7 @@ public SiteConfig withJavaContainerVersion(String javaContainerVersion) { } /** - * Get the appCommandLine value. + * Get app command line to launch. * * @return the appCommandLine value */ @@ -840,7 +840,7 @@ public String appCommandLine() { } /** - * Set the appCommandLine value. + * Set app command line to launch. * * @param appCommandLine the appCommandLine value to set * @return the SiteConfig object itself. @@ -851,7 +851,7 @@ public SiteConfig withAppCommandLine(String appCommandLine) { } /** - * Get the managedPipelineMode value. + * Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @return the managedPipelineMode value */ @@ -860,7 +860,7 @@ public ManagedPipelineMode managedPipelineMode() { } /** - * Set the managedPipelineMode value. + * Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @param managedPipelineMode the managedPipelineMode value to set * @return the SiteConfig object itself. @@ -871,7 +871,7 @@ public SiteConfig withManagedPipelineMode(ManagedPipelineMode managedPipelineMod } /** - * Get the virtualApplications value. + * Get virtual applications. * * @return the virtualApplications value */ @@ -880,7 +880,7 @@ public List virtualApplications() { } /** - * Set the virtualApplications value. + * Set virtual applications. * * @param virtualApplications the virtualApplications value to set * @return the SiteConfig object itself. @@ -891,7 +891,7 @@ public SiteConfig withVirtualApplications(List virtualApplic } /** - * Get the loadBalancing value. + * Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @return the loadBalancing value */ @@ -900,7 +900,7 @@ public SiteLoadBalancing loadBalancing() { } /** - * Set the loadBalancing value. + * Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @param loadBalancing the loadBalancing value to set * @return the SiteConfig object itself. @@ -911,7 +911,7 @@ public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { } /** - * Get the experiments value. + * Get this is work around for polymophic types. * * @return the experiments value */ @@ -920,7 +920,7 @@ public Experiments experiments() { } /** - * Set the experiments value. + * Set this is work around for polymophic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. @@ -931,7 +931,7 @@ public SiteConfig withExperiments(Experiments experiments) { } /** - * Get the limits value. + * Get site limits. * * @return the limits value */ @@ -940,7 +940,7 @@ public SiteLimits limits() { } /** - * Set the limits value. + * Set site limits. * * @param limits the limits value to set * @return the SiteConfig object itself. @@ -951,7 +951,7 @@ public SiteConfig withLimits(SiteLimits limits) { } /** - * Get the autoHealEnabled value. + * Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @return the autoHealEnabled value */ @@ -960,7 +960,7 @@ public Boolean autoHealEnabled() { } /** - * Set the autoHealEnabled value. + * Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @param autoHealEnabled the autoHealEnabled value to set * @return the SiteConfig object itself. @@ -971,7 +971,7 @@ public SiteConfig withAutoHealEnabled(Boolean autoHealEnabled) { } /** - * Get the autoHealRules value. + * Get auto Heal rules. * * @return the autoHealRules value */ @@ -980,7 +980,7 @@ public AutoHealRules autoHealRules() { } /** - * Set the autoHealRules value. + * Set auto Heal rules. * * @param autoHealRules the autoHealRules value to set * @return the SiteConfig object itself. @@ -991,7 +991,7 @@ public SiteConfig withAutoHealRules(AutoHealRules autoHealRules) { } /** - * Get the tracingOptions value. + * Get tracing options. * * @return the tracingOptions value */ @@ -1000,7 +1000,7 @@ public String tracingOptions() { } /** - * Set the tracingOptions value. + * Set tracing options. * * @param tracingOptions the tracingOptions value to set * @return the SiteConfig object itself. @@ -1011,7 +1011,7 @@ public SiteConfig withTracingOptions(String tracingOptions) { } /** - * Get the vnetName value. + * Get virtual Network name. * * @return the vnetName value */ @@ -1020,7 +1020,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set virtual Network name. * * @param vnetName the vnetName value to set * @return the SiteConfig object itself. @@ -1031,7 +1031,7 @@ public SiteConfig withVnetName(String vnetName) { } /** - * Get the cors value. + * Get cross-Origin Resource Sharing (CORS) settings. * * @return the cors value */ @@ -1040,7 +1040,7 @@ public CorsSettings cors() { } /** - * Set the cors value. + * Set cross-Origin Resource Sharing (CORS) settings. * * @param cors the cors value to set * @return the SiteConfig object itself. @@ -1051,7 +1051,7 @@ public SiteConfig withCors(CorsSettings cors) { } /** - * Get the push value. + * Get push endpoint settings. * * @return the push value */ @@ -1060,7 +1060,7 @@ public PushSettings push() { } /** - * Set the push value. + * Set push endpoint settings. * * @param push the push value to set * @return the SiteConfig object itself. @@ -1071,7 +1071,7 @@ public SiteConfig withPush(PushSettings push) { } /** - * Get the apiDefinition value. + * Get information about the formal API definition for the app. * * @return the apiDefinition value */ @@ -1080,7 +1080,7 @@ public ApiDefinitionInfo apiDefinition() { } /** - * Set the apiDefinition value. + * Set information about the formal API definition for the app. * * @param apiDefinition the apiDefinition value to set * @return the SiteConfig object itself. @@ -1091,7 +1091,7 @@ public SiteConfig withApiDefinition(ApiDefinitionInfo apiDefinition) { } /** - * Get the autoSwapSlotName value. + * Get auto-swap slot name. * * @return the autoSwapSlotName value */ @@ -1100,7 +1100,7 @@ public String autoSwapSlotName() { } /** - * Set the autoSwapSlotName value. + * Set auto-swap slot name. * * @param autoSwapSlotName the autoSwapSlotName value to set * @return the SiteConfig object itself. @@ -1111,7 +1111,7 @@ public SiteConfig withAutoSwapSlotName(String autoSwapSlotName) { } /** - * Get the localMySqlEnabled value. + * Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @return the localMySqlEnabled value */ @@ -1120,7 +1120,7 @@ public Boolean localMySqlEnabled() { } /** - * Set the localMySqlEnabled value. + * Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @param localMySqlEnabled the localMySqlEnabled value to set * @return the SiteConfig object itself. @@ -1131,7 +1131,7 @@ public SiteConfig withLocalMySqlEnabled(Boolean localMySqlEnabled) { } /** - * Get the ipSecurityRestrictions value. + * Get iP security restrictions. * * @return the ipSecurityRestrictions value */ @@ -1140,7 +1140,7 @@ public List ipSecurityRestrictions() { } /** - * Set the ipSecurityRestrictions value. + * Set iP security restrictions. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfig object itself. @@ -1151,7 +1151,7 @@ public SiteConfig withIpSecurityRestrictions(List ipSecur } /** - * Get the http20Enabled value. + * Get http20Enabled: configures a web site to allow clients to connect over http2.0. * * @return the http20Enabled value */ @@ -1160,7 +1160,7 @@ public Boolean http20Enabled() { } /** - * Set the http20Enabled value. + * Set http20Enabled: configures a web site to allow clients to connect over http2.0. * * @param http20Enabled the http20Enabled value to set * @return the SiteConfig object itself. @@ -1171,7 +1171,7 @@ public SiteConfig withHttp20Enabled(Boolean http20Enabled) { } /** - * Get the minTlsVersion value. + * Get minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @return the minTlsVersion value */ @@ -1180,7 +1180,7 @@ public SupportedTlsVersions minTlsVersion() { } /** - * Set the minTlsVersion value. + * Set minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @param minTlsVersion the minTlsVersion value to set * @return the SiteConfig object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteLimits.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteLimits.java index ea4c8873becd3..448feec065429 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteLimits.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteLimits.java @@ -33,7 +33,7 @@ public class SiteLimits { private Long maxDiskSizeInMb; /** - * Get the maxPercentageCpu value. + * Get maximum allowed CPU usage percentage. * * @return the maxPercentageCpu value */ @@ -42,7 +42,7 @@ public Double maxPercentageCpu() { } /** - * Set the maxPercentageCpu value. + * Set maximum allowed CPU usage percentage. * * @param maxPercentageCpu the maxPercentageCpu value to set * @return the SiteLimits object itself. @@ -53,7 +53,7 @@ public SiteLimits withMaxPercentageCpu(Double maxPercentageCpu) { } /** - * Get the maxMemoryInMb value. + * Get maximum allowed memory usage in MB. * * @return the maxMemoryInMb value */ @@ -62,7 +62,7 @@ public Long maxMemoryInMb() { } /** - * Set the maxMemoryInMb value. + * Set maximum allowed memory usage in MB. * * @param maxMemoryInMb the maxMemoryInMb value to set * @return the SiteLimits object itself. @@ -73,7 +73,7 @@ public SiteLimits withMaxMemoryInMb(Long maxMemoryInMb) { } /** - * Get the maxDiskSizeInMb value. + * Get maximum allowed disk size usage in MB. * * @return the maxDiskSizeInMb value */ @@ -82,7 +82,7 @@ public Long maxDiskSizeInMb() { } /** - * Set the maxDiskSizeInMb value. + * Set maximum allowed disk size usage in MB. * * @param maxDiskSizeInMb the maxDiskSizeInMb value to set * @return the SiteLimits object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteMachineKey.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteMachineKey.java index aec4d1cc8c722..5240db1d8922e 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteMachineKey.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteMachineKey.java @@ -39,7 +39,7 @@ public class SiteMachineKey { private String decryptionKey; /** - * Get the validation value. + * Get machineKey validation. * * @return the validation value */ @@ -48,7 +48,7 @@ public String validation() { } /** - * Set the validation value. + * Set machineKey validation. * * @param validation the validation value to set * @return the SiteMachineKey object itself. @@ -59,7 +59,7 @@ public SiteMachineKey withValidation(String validation) { } /** - * Get the validationKey value. + * Get validation key. * * @return the validationKey value */ @@ -68,7 +68,7 @@ public String validationKey() { } /** - * Set the validationKey value. + * Set validation key. * * @param validationKey the validationKey value to set * @return the SiteMachineKey object itself. @@ -79,7 +79,7 @@ public SiteMachineKey withValidationKey(String validationKey) { } /** - * Get the decryption value. + * Get algorithm used for decryption. * * @return the decryption value */ @@ -88,7 +88,7 @@ public String decryption() { } /** - * Set the decryption value. + * Set algorithm used for decryption. * * @param decryption the decryption value to set * @return the SiteMachineKey object itself. @@ -99,7 +99,7 @@ public SiteMachineKey withDecryption(String decryption) { } /** - * Get the decryptionKey value. + * Get decryption key. * * @return the decryptionKey value */ @@ -108,7 +108,7 @@ public String decryptionKey() { } /** - * Set the decryptionKey value. + * Set decryption key. * * @param decryptionKey the decryptionKey value to set * @return the SiteMachineKey object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuCapacity.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuCapacity.java index 6473ad1659b1c..8276649e01330 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuCapacity.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuCapacity.java @@ -39,7 +39,7 @@ public class SkuCapacity { private String scaleType; /** - * Get the minimum value. + * Get minimum number of workers for this App Service plan SKU. * * @return the minimum value */ @@ -48,7 +48,7 @@ public Integer minimum() { } /** - * Set the minimum value. + * Set minimum number of workers for this App Service plan SKU. * * @param minimum the minimum value to set * @return the SkuCapacity object itself. @@ -59,7 +59,7 @@ public SkuCapacity withMinimum(Integer minimum) { } /** - * Get the maximum value. + * Get maximum number of workers for this App Service plan SKU. * * @return the maximum value */ @@ -68,7 +68,7 @@ public Integer maximum() { } /** - * Set the maximum value. + * Set maximum number of workers for this App Service plan SKU. * * @param maximum the maximum value to set * @return the SkuCapacity object itself. @@ -79,7 +79,7 @@ public SkuCapacity withMaximum(Integer maximum) { } /** - * Get the defaultProperty value. + * Get default number of workers for this App Service plan SKU. * * @return the defaultProperty value */ @@ -88,7 +88,7 @@ public Integer defaultProperty() { } /** - * Set the defaultProperty value. + * Set default number of workers for this App Service plan SKU. * * @param defaultProperty the defaultProperty value to set * @return the SkuCapacity object itself. @@ -99,7 +99,7 @@ public SkuCapacity withDefaultProperty(Integer defaultProperty) { } /** - * Get the scaleType value. + * Get available scale configurations for an App Service plan. * * @return the scaleType value */ @@ -108,7 +108,7 @@ public String scaleType() { } /** - * Set the scaleType value. + * Set available scale configurations for an App Service plan. * * @param scaleType the scaleType value to set * @return the SkuCapacity object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuDescription.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuDescription.java index 874115e59f346..b39dfb7bb2d39 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuDescription.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuDescription.java @@ -65,7 +65,7 @@ public class SkuDescription { private List capabilities; /** - * Get the name value. + * Get name of the resource SKU. * * @return the name value */ @@ -74,7 +74,7 @@ public String name() { } /** - * Set the name value. + * Set name of the resource SKU. * * @param name the name value to set * @return the SkuDescription object itself. @@ -85,7 +85,7 @@ public SkuDescription withName(String name) { } /** - * Get the tier value. + * Get service tier of the resource SKU. * * @return the tier value */ @@ -94,7 +94,7 @@ public String tier() { } /** - * Set the tier value. + * Set service tier of the resource SKU. * * @param tier the tier value to set * @return the SkuDescription object itself. @@ -105,7 +105,7 @@ public SkuDescription withTier(String tier) { } /** - * Get the size value. + * Get size specifier of the resource SKU. * * @return the size value */ @@ -114,7 +114,7 @@ public String size() { } /** - * Set the size value. + * Set size specifier of the resource SKU. * * @param size the size value to set * @return the SkuDescription object itself. @@ -125,7 +125,7 @@ public SkuDescription withSize(String size) { } /** - * Get the family value. + * Get family code of the resource SKU. * * @return the family value */ @@ -134,7 +134,7 @@ public String family() { } /** - * Set the family value. + * Set family code of the resource SKU. * * @param family the family value to set * @return the SkuDescription object itself. @@ -145,7 +145,7 @@ public SkuDescription withFamily(String family) { } /** - * Get the capacity value. + * Get current number of instances assigned to the resource. * * @return the capacity value */ @@ -154,7 +154,7 @@ public Integer capacity() { } /** - * Set the capacity value. + * Set current number of instances assigned to the resource. * * @param capacity the capacity value to set * @return the SkuDescription object itself. @@ -165,7 +165,7 @@ public SkuDescription withCapacity(Integer capacity) { } /** - * Get the skuCapacity value. + * Get min, max, and default scale values of the SKU. * * @return the skuCapacity value */ @@ -174,7 +174,7 @@ public SkuCapacity skuCapacity() { } /** - * Set the skuCapacity value. + * Set min, max, and default scale values of the SKU. * * @param skuCapacity the skuCapacity value to set * @return the SkuDescription object itself. @@ -185,7 +185,7 @@ public SkuDescription withSkuCapacity(SkuCapacity skuCapacity) { } /** - * Get the locations value. + * Get locations of the SKU. * * @return the locations value */ @@ -194,7 +194,7 @@ public List locations() { } /** - * Set the locations value. + * Set locations of the SKU. * * @param locations the locations value to set * @return the SkuDescription object itself. @@ -205,7 +205,7 @@ public SkuDescription withLocations(List locations) { } /** - * Get the capabilities value. + * Get capabilities of the SKU, e.g., is traffic manager enabled?. * * @return the capabilities value */ @@ -214,7 +214,7 @@ public List capabilities() { } /** - * Set the capabilities value. + * Set capabilities of the SKU, e.g., is traffic manager enabled?. * * @param capabilities the capabilities value to set * @return the SkuDescription object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuInfo.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuInfo.java index 03d09da310994..42d3bdf5c7e43 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SkuInfo.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_09_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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlotSwapStatus.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlotSwapStatus.java index 49a425ed9813a..a1d26d87f8b75 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlotSwapStatus.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlotSwapStatus.java @@ -34,7 +34,7 @@ public class SlotSwapStatus { private String destinationSlotName; /** - * Get the timestampUtc value. + * Get the time the last successful slot swap completed. * * @return the timestampUtc value */ @@ -43,7 +43,7 @@ public DateTime timestampUtc() { } /** - * Get the sourceSlotName value. + * Get the source slot of the last swap operation. * * @return the sourceSlotName value */ @@ -52,7 +52,7 @@ public String sourceSlotName() { } /** - * Get the destinationSlotName value. + * Get the destination slot of the last swap operation. * * @return the destinationSlotName value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlowRequestsBasedTrigger.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlowRequestsBasedTrigger.java index 8148aab4617d9..e3340b57ac5a7 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlowRequestsBasedTrigger.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlowRequestsBasedTrigger.java @@ -33,7 +33,7 @@ public class SlowRequestsBasedTrigger { private String timeInterval; /** - * Get the timeTaken value. + * Get time taken. * * @return the timeTaken value */ @@ -42,7 +42,7 @@ public String timeTaken() { } /** - * Set the timeTaken value. + * Set time taken. * * @param timeTaken the timeTaken value to set * @return the SlowRequestsBasedTrigger object itself. @@ -53,7 +53,7 @@ public SlowRequestsBasedTrigger withTimeTaken(String timeTaken) { } /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -62,7 +62,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the SlowRequestsBasedTrigger object itself. @@ -73,7 +73,7 @@ public SlowRequestsBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -82,7 +82,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the SlowRequestsBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SnapshotRecoveryRequest.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SnapshotRecoveryRequest.java index 2327acba700fd..bc26f43082cbd 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SnapshotRecoveryRequest.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SnapshotRecoveryRequest.java @@ -51,7 +51,7 @@ public class SnapshotRecoveryRequest extends ProxyOnlyResource { private Boolean ignoreConflictingHostNames; /** - * Get the snapshotTime value. + * Get point in time in which the app recovery should be attempted, formatted as a DateTime string. * * @return the snapshotTime value */ @@ -60,7 +60,7 @@ public String snapshotTime() { } /** - * Set the snapshotTime value. + * Set point in time in which the app recovery should be attempted, formatted as a DateTime string. * * @param snapshotTime the snapshotTime value to set * @return the SnapshotRecoveryRequest object itself. @@ -71,7 +71,7 @@ public SnapshotRecoveryRequest withSnapshotTime(String snapshotTime) { } /** - * Get the recoveryTarget value. + * Get specifies the web app that snapshot contents will be written to. * * @return the recoveryTarget value */ @@ -80,7 +80,7 @@ public SnapshotRecoveryTarget recoveryTarget() { } /** - * Set the recoveryTarget value. + * Set specifies the web app that snapshot contents will be written to. * * @param recoveryTarget the recoveryTarget value to set * @return the SnapshotRecoveryRequest object itself. @@ -91,7 +91,7 @@ public SnapshotRecoveryRequest withRecoveryTarget(SnapshotRecoveryTarget recover } /** - * Get the overwrite value. + * Get if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -100,7 +100,7 @@ public boolean overwrite() { } /** - * Set the overwrite value. + * Set if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the SnapshotRecoveryRequest object itself. @@ -111,7 +111,7 @@ public SnapshotRecoveryRequest withOverwrite(boolean overwrite) { } /** - * Get the recoverConfiguration value. + * Get if true, site configuration, in addition to content, will be reverted. * * @return the recoverConfiguration value */ @@ -120,7 +120,7 @@ public Boolean recoverConfiguration() { } /** - * Set the recoverConfiguration value. + * Set if true, site configuration, in addition to content, will be reverted. * * @param recoverConfiguration the recoverConfiguration value to set * @return the SnapshotRecoveryRequest object itself. @@ -131,7 +131,8 @@ public SnapshotRecoveryRequest withRecoverConfiguration(Boolean recoverConfigura } /** - * Get the ignoreConflictingHostNames value. + * Get if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @return the ignoreConflictingHostNames value */ @@ -140,7 +141,8 @@ public Boolean ignoreConflictingHostNames() { } /** - * Set the ignoreConflictingHostNames value. + * Set if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @param ignoreConflictingHostNames the ignoreConflictingHostNames value to set * @return the SnapshotRecoveryRequest object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SnapshotRecoveryTarget.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SnapshotRecoveryTarget.java index 4e66632368b5c..8db3993194082 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SnapshotRecoveryTarget.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SnapshotRecoveryTarget.java @@ -32,7 +32,7 @@ public class SnapshotRecoveryTarget { private String id; /** - * Get the location value. + * Get geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS. * * @return the location value */ @@ -41,7 +41,7 @@ public String location() { } /** - * Set the location value. + * Set geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS. * * @param location the location value to set * @return the SnapshotRecoveryTarget object itself. @@ -52,7 +52,9 @@ public SnapshotRecoveryTarget withLocation(String location) { } /** - * Get the id value. + * Get aRM resource ID of the target app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the id value */ @@ -61,7 +63,9 @@ public String id() { } /** - * Set the id value. + * Set aRM resource ID of the target app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param id the id value to set * @return the SnapshotRecoveryTarget object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/StampCapacity.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/StampCapacity.java index f4895a139b3cf..dfe3487a88bf8 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/StampCapacity.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_09_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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/StatusCodesBasedTrigger.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/StatusCodesBasedTrigger.java index 42161192d2d81..4747e85d9bb3a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/StatusCodesBasedTrigger.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/StatusCodesBasedTrigger.java @@ -45,7 +45,7 @@ public class StatusCodesBasedTrigger { private String timeInterval; /** - * Get the status value. + * Get hTTP status code. * * @return the status value */ @@ -54,7 +54,7 @@ public Integer status() { } /** - * Set the status value. + * Set hTTP status code. * * @param status the status value to set * @return the StatusCodesBasedTrigger object itself. @@ -65,7 +65,7 @@ public StatusCodesBasedTrigger withStatus(Integer status) { } /** - * Get the subStatus value. + * Get request Sub Status. * * @return the subStatus value */ @@ -74,7 +74,7 @@ public Integer subStatus() { } /** - * Set the subStatus value. + * Set request Sub Status. * * @param subStatus the subStatus value to set * @return the StatusCodesBasedTrigger object itself. @@ -85,7 +85,7 @@ public StatusCodesBasedTrigger withSubStatus(Integer subStatus) { } /** - * Get the win32Status value. + * Get win32 error code. * * @return the win32Status value */ @@ -94,7 +94,7 @@ public Integer win32Status() { } /** - * Set the win32Status value. + * Set win32 error code. * * @param win32Status the win32Status value to set * @return the StatusCodesBasedTrigger object itself. @@ -105,7 +105,7 @@ public StatusCodesBasedTrigger withWin32Status(Integer win32Status) { } /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -114,7 +114,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the StatusCodesBasedTrigger object itself. @@ -125,7 +125,7 @@ public StatusCodesBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -134,7 +134,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the StatusCodesBasedTrigger object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Usage.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Usage.java index 84e3a66cbd30a..feebd222d2841 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/Usage.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import com.microsoft.azure.management.appservice.v2016_09_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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/User.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/User.java index d2cb240975aba..d408a0647cbb5 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/User.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/User.java @@ -47,7 +47,7 @@ public class User extends ProxyOnlyResource { private String publishingPasswordHashSalt; /** - * Get the userName value. + * Get username. * * @return the userName value */ @@ -56,7 +56,7 @@ public String userName() { } /** - * Set the userName value. + * Set username. * * @param userName the userName value to set * @return the User object itself. @@ -67,7 +67,7 @@ public User withUserName(String userName) { } /** - * Get the publishingUserName value. + * Get username used for publishing. * * @return the publishingUserName value */ @@ -76,7 +76,7 @@ public String publishingUserName() { } /** - * Set the publishingUserName value. + * Set username used for publishing. * * @param publishingUserName the publishingUserName value to set * @return the User object itself. @@ -87,7 +87,7 @@ public User withPublishingUserName(String publishingUserName) { } /** - * Get the publishingPassword value. + * Get password used for publishing. * * @return the publishingPassword value */ @@ -96,7 +96,7 @@ public String publishingPassword() { } /** - * Set the publishingPassword value. + * Set password used for publishing. * * @param publishingPassword the publishingPassword value to set * @return the User object itself. @@ -107,7 +107,7 @@ public User withPublishingPassword(String publishingPassword) { } /** - * Get the publishingPasswordHash value. + * Get password hash used for publishing. * * @return the publishingPasswordHash value */ @@ -116,7 +116,7 @@ public String publishingPasswordHash() { } /** - * Set the publishingPasswordHash value. + * Set password hash used for publishing. * * @param publishingPasswordHash the publishingPasswordHash value to set * @return the User object itself. @@ -127,7 +127,7 @@ public User withPublishingPasswordHash(String publishingPasswordHash) { } /** - * Get the publishingPasswordHashSalt value. + * Get password hash salt used for publishing. * * @return the publishingPasswordHashSalt value */ @@ -136,7 +136,7 @@ public String publishingPasswordHashSalt() { } /** - * Set the publishingPasswordHashSalt value. + * Set password hash salt used for publishing. * * @param publishingPasswordHashSalt the publishingPasswordHashSalt value to set * @return the User object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualApplication.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualApplication.java index 1315a2b8d5b78..fd1b80cf82993 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualApplication.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualApplication.java @@ -41,7 +41,7 @@ public class VirtualApplication { private List virtualDirectories; /** - * Get the virtualPath value. + * Get virtual path. * * @return the virtualPath value */ @@ -50,7 +50,7 @@ public String virtualPath() { } /** - * Set the virtualPath value. + * Set virtual path. * * @param virtualPath the virtualPath value to set * @return the VirtualApplication object itself. @@ -61,7 +61,7 @@ public VirtualApplication withVirtualPath(String virtualPath) { } /** - * Get the physicalPath value. + * Get physical path. * * @return the physicalPath value */ @@ -70,7 +70,7 @@ public String physicalPath() { } /** - * Set the physicalPath value. + * Set physical path. * * @param physicalPath the physicalPath value to set * @return the VirtualApplication object itself. @@ -81,7 +81,7 @@ public VirtualApplication withPhysicalPath(String physicalPath) { } /** - * Get the preloadEnabled value. + * Get <code>true</code> if preloading is enabled; otherwise, <code>false</code>. * * @return the preloadEnabled value */ @@ -90,7 +90,7 @@ public Boolean preloadEnabled() { } /** - * Set the preloadEnabled value. + * Set <code>true</code> if preloading is enabled; otherwise, <code>false</code>. * * @param preloadEnabled the preloadEnabled value to set * @return the VirtualApplication object itself. @@ -101,7 +101,7 @@ public VirtualApplication withPreloadEnabled(Boolean preloadEnabled) { } /** - * Get the virtualDirectories value. + * Get virtual directories for virtual application. * * @return the virtualDirectories value */ @@ -110,7 +110,7 @@ public List virtualDirectories() { } /** - * Set the virtualDirectories value. + * Set virtual directories for virtual application. * * @param virtualDirectories the virtualDirectories value to set * @return the VirtualApplication object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualDirectory.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualDirectory.java index f5cdffa016f88..e60a55da02fe1 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualDirectory.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualDirectory.java @@ -27,7 +27,7 @@ public class VirtualDirectory { private String physicalPath; /** - * Get the virtualPath value. + * Get path to virtual application. * * @return the virtualPath value */ @@ -36,7 +36,7 @@ public String virtualPath() { } /** - * Set the virtualPath value. + * Set path to virtual application. * * @param virtualPath the virtualPath value to set * @return the VirtualDirectory object itself. @@ -47,7 +47,7 @@ public VirtualDirectory withVirtualPath(String virtualPath) { } /** - * Get the physicalPath value. + * Get physical path. * * @return the physicalPath value */ @@ -56,7 +56,7 @@ public String physicalPath() { } /** - * Set the physicalPath value. + * Set physical path. * * @param physicalPath the physicalPath value to set * @return the VirtualDirectory object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualIPMapping.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualIPMapping.java index 0a7dff7ae51fd..c487c2f965c73 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualIPMapping.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualIPMapping.java @@ -39,7 +39,7 @@ public class VirtualIPMapping { private Boolean inUse; /** - * Get the virtualIP value. + * Get virtual IP address. * * @return the virtualIP value */ @@ -48,7 +48,7 @@ public String virtualIP() { } /** - * Set the virtualIP value. + * Set virtual IP address. * * @param virtualIP the virtualIP value to set * @return the VirtualIPMapping object itself. @@ -59,7 +59,7 @@ public VirtualIPMapping withVirtualIP(String virtualIP) { } /** - * Get the internalHttpPort value. + * Get internal HTTP port. * * @return the internalHttpPort value */ @@ -68,7 +68,7 @@ public Integer internalHttpPort() { } /** - * Set the internalHttpPort value. + * Set internal HTTP port. * * @param internalHttpPort the internalHttpPort value to set * @return the VirtualIPMapping object itself. @@ -79,7 +79,7 @@ public VirtualIPMapping withInternalHttpPort(Integer internalHttpPort) { } /** - * Get the internalHttpsPort value. + * Get internal HTTPS port. * * @return the internalHttpsPort value */ @@ -88,7 +88,7 @@ public Integer internalHttpsPort() { } /** - * Set the internalHttpsPort value. + * Set internal HTTPS port. * * @param internalHttpsPort the internalHttpsPort value to set * @return the VirtualIPMapping object itself. @@ -99,7 +99,7 @@ public VirtualIPMapping withInternalHttpsPort(Integer internalHttpsPort) { } /** - * Get the inUse value. + * Get is virtual IP mapping in use. * * @return the inUse value */ @@ -108,7 +108,7 @@ public Boolean inUse() { } /** - * Set the inUse value. + * Set is virtual IP mapping in use. * * @param inUse the inUse value to set * @return the VirtualIPMapping object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualNetworkProfile.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualNetworkProfile.java index 4b4d909ad2de6..bf2d51d6c52d1 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualNetworkProfile.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VirtualNetworkProfile.java @@ -39,7 +39,7 @@ public class VirtualNetworkProfile { private String subnet; /** - * Get the id value. + * Get resource id of the Virtual Network. * * @return the id value */ @@ -48,7 +48,7 @@ public String id() { } /** - * Set the id value. + * Set resource id of the Virtual Network. * * @param id the id value to set * @return the VirtualNetworkProfile object itself. @@ -59,7 +59,7 @@ public VirtualNetworkProfile withId(String id) { } /** - * Get the name value. + * Get name of the Virtual Network (read-only). * * @return the name value */ @@ -68,7 +68,7 @@ public String name() { } /** - * Get the type value. + * Get resource type of the Virtual Network (read-only). * * @return the type value */ @@ -77,7 +77,7 @@ public String type() { } /** - * Get the subnet value. + * Get subnet within the Virtual Network. * * @return the subnet value */ @@ -86,7 +86,7 @@ public String subnet() { } /** - * Set the subnet value. + * Set subnet within the Virtual Network. * * @param subnet the subnet value to set * @return the VirtualNetworkProfile object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetGateway.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetGateway.java index 2ab55ea42b261..059749513ad98 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetGateway.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetGateway.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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; /** * Type representing VnetGateway. */ -public interface VnetGateway extends HasInner, Indexable, Refreshable, Updatable, HasManager { +public interface VnetGateway extends HasInner, Indexable, Refreshable, Updatable, HasManager { /** * @return the id value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetInfo.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetInfo.java index 8b77af99590ad..87d9d6106f5f6 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetInfo.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetInfo.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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; import java.util.List; /** * Type representing VnetInfo. */ -public interface VnetInfo extends HasInner, Indexable, Refreshable, HasManager { +public interface VnetInfo extends HasInner, Indexable, Refreshable, HasManager { /** * @return the certBlob value. */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetRoute.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetRoute.java index 507ff43376a5f..4200004aece24 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/VnetRoute.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; /** * 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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/WorkerPool.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/WorkerPool.java index e3200cdc303a5..e7e7634ab1599 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/WorkerPool.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/WorkerPool.java @@ -47,7 +47,7 @@ public class WorkerPool { private List instanceNames; /** - * Get the workerSizeId value. + * Get worker size ID for referencing this worker pool. * * @return the workerSizeId value */ @@ -56,7 +56,7 @@ public Integer workerSizeId() { } /** - * Set the workerSizeId value. + * Set worker size ID for referencing this worker pool. * * @param workerSizeId the workerSizeId value to set * @return the WorkerPool object itself. @@ -67,7 +67,7 @@ public WorkerPool withWorkerSizeId(Integer workerSizeId) { } /** - * Get the computeMode value. + * Get shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -76,7 +76,7 @@ public ComputeModeOptions computeMode() { } /** - * Set the computeMode value. + * Set shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @param computeMode the computeMode value to set * @return the WorkerPool object itself. @@ -87,7 +87,7 @@ public WorkerPool withComputeMode(ComputeModeOptions computeMode) { } /** - * Get the workerSize value. + * Get vM size of the worker pool instances. * * @return the workerSize value */ @@ -96,7 +96,7 @@ public String workerSize() { } /** - * Set the workerSize value. + * Set vM size of the worker pool instances. * * @param workerSize the workerSize value to set * @return the WorkerPool object itself. @@ -107,7 +107,7 @@ public WorkerPool withWorkerSize(String workerSize) { } /** - * Get the workerCount value. + * Get number of instances in the worker pool. * * @return the workerCount value */ @@ -116,7 +116,7 @@ public Integer workerCount() { } /** - * Set the workerCount value. + * Set number of instances in the worker pool. * * @param workerCount the workerCount value to set * @return the WorkerPool object itself. @@ -127,7 +127,7 @@ public WorkerPool withWorkerCount(Integer workerCount) { } /** - * Get the instanceNames value. + * Get names of all instances in the worker pool (read only). * * @return the instanceNames value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/WorkerPools.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/WorkerPools.java index 94c2364b79869..143df3cd044d6 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/WorkerPools.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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.v2016_09_01.implementation.AppServiceManager; +import com.microsoft.azure.management.appservice.v2016_09_01.implementation.WebManager; 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/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AddressResponseImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AddressResponseImpl.java index 1fcdbd1f29abd..c939729c2118a 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AddressResponseImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AddressResponseImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_09_01.VirtualIPMapping; class AddressResponseImpl extends WrapperImpl implements AddressResponse { - private final AppServiceManager manager; - AddressResponseImpl(AddressResponseInner inner, AppServiceManager manager) { + private final WebManager manager; + AddressResponseImpl(AddressResponseInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AddressResponseInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AddressResponseInner.java index 48789660d2724..f8edc864c8725 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AddressResponseInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AddressResponseInner.java @@ -42,7 +42,7 @@ public class AddressResponseInner { private List vipMappings; /** - * Get the serviceIpAddress value. + * Get main public virtual IP. * * @return the serviceIpAddress value */ @@ -51,7 +51,7 @@ public String serviceIpAddress() { } /** - * Set the serviceIpAddress value. + * Set main public virtual IP. * * @param serviceIpAddress the serviceIpAddress value to set * @return the AddressResponseInner object itself. @@ -62,7 +62,7 @@ public AddressResponseInner withServiceIpAddress(String serviceIpAddress) { } /** - * Get the internalIpAddress value. + * Get virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode. * * @return the internalIpAddress value */ @@ -71,7 +71,7 @@ public String internalIpAddress() { } /** - * Set the internalIpAddress value. + * Set virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode. * * @param internalIpAddress the internalIpAddress value to set * @return the AddressResponseInner object itself. @@ -82,7 +82,7 @@ public AddressResponseInner withInternalIpAddress(String internalIpAddress) { } /** - * Get the outboundIpAddresses value. + * Get iP addresses appearing on outbound connections. * * @return the outboundIpAddresses value */ @@ -91,7 +91,7 @@ public List outboundIpAddresses() { } /** - * Set the outboundIpAddresses value. + * Set iP addresses appearing on outbound connections. * * @param outboundIpAddresses the outboundIpAddresses value to set * @return the AddressResponseInner object itself. @@ -102,7 +102,7 @@ public AddressResponseInner withOutboundIpAddresses(List outboundIpAddre } /** - * Get the vipMappings value. + * Get additional virtual IPs. * * @return the vipMappings value */ @@ -111,7 +111,7 @@ public List vipMappings() { } /** - * Set the vipMappings value. + * Set additional virtual IPs. * * @param vipMappings the vipMappings value to set * @return the AddressResponseInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServiceEnvironmentResourceImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServiceEnvironmentResourceImpl.java index 3d6612bfb3146..7ce339da9142c 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServiceEnvironmentResourceImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServiceEnvironmentResourceImpl.java @@ -25,9 +25,9 @@ import com.microsoft.azure.management.appservice.v2016_09_01.StampCapacity; import rx.functions.Func1; -class AppServiceEnvironmentResourceImpl extends GroupableResourceCoreImpl 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, WebManager manager) { super(name, inner, manager); this.updateParameter = new AppServiceEnvironmentPatchResource(); } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServiceEnvironmentResourceInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServiceEnvironmentResourceInner.java index fa5f3dd9e72cb..96e29ff466fc0 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServiceEnvironmentResourceInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServiceEnvironmentResourceInner.java @@ -268,7 +268,7 @@ public class AppServiceEnvironmentResourceInner extends Resource { private String kind; /** - * Get the appServiceEnvironmentResourceName value. + * Get name of the App Service Environment. * * @return the appServiceEnvironmentResourceName value */ @@ -277,7 +277,7 @@ public String appServiceEnvironmentResourceName() { } /** - * Set the appServiceEnvironmentResourceName value. + * Set name of the App Service Environment. * * @param appServiceEnvironmentResourceName the appServiceEnvironmentResourceName value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -288,7 +288,7 @@ public AppServiceEnvironmentResourceInner withAppServiceEnvironmentResourceName( } /** - * Get the appServiceEnvironmentResourceLocation value. + * Get location of the App Service Environment, e.g. "West US". * * @return the appServiceEnvironmentResourceLocation value */ @@ -297,7 +297,7 @@ public String appServiceEnvironmentResourceLocation() { } /** - * Set the appServiceEnvironmentResourceLocation value. + * Set location of the App Service Environment, e.g. "West US". * * @param appServiceEnvironmentResourceLocation the appServiceEnvironmentResourceLocation value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -308,7 +308,7 @@ public AppServiceEnvironmentResourceInner withAppServiceEnvironmentResourceLocat } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -317,7 +317,7 @@ public ProvisioningState provisioningState() { } /** - * Get the status value. + * Get current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'. * * @return the status value */ @@ -326,7 +326,7 @@ public HostingEnvironmentStatus status() { } /** - * Get the vnetName value. + * Get name of the Virtual Network for the App Service Environment. * * @return the vnetName value */ @@ -335,7 +335,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set name of the Virtual Network for the App Service Environment. * * @param vnetName the vnetName value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -346,7 +346,7 @@ public AppServiceEnvironmentResourceInner withVnetName(String vnetName) { } /** - * Get the vnetResourceGroupName value. + * Get resource group of the Virtual Network. * * @return the vnetResourceGroupName value */ @@ -355,7 +355,7 @@ public String vnetResourceGroupName() { } /** - * Set the vnetResourceGroupName value. + * Set resource group of the Virtual Network. * * @param vnetResourceGroupName the vnetResourceGroupName value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -366,7 +366,7 @@ public AppServiceEnvironmentResourceInner withVnetResourceGroupName(String vnetR } /** - * Get the vnetSubnetName value. + * Get subnet of the Virtual Network. * * @return the vnetSubnetName value */ @@ -375,7 +375,7 @@ public String vnetSubnetName() { } /** - * Set the vnetSubnetName value. + * Set subnet of the Virtual Network. * * @param vnetSubnetName the vnetSubnetName value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -386,7 +386,7 @@ public AppServiceEnvironmentResourceInner withVnetSubnetName(String vnetSubnetNa } /** - * Get the virtualNetwork value. + * Get description of the Virtual Network. * * @return the virtualNetwork value */ @@ -395,7 +395,7 @@ public VirtualNetworkProfile virtualNetwork() { } /** - * Set the virtualNetwork value. + * Set description of the Virtual Network. * * @param virtualNetwork the virtualNetwork value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -406,7 +406,7 @@ public AppServiceEnvironmentResourceInner withVirtualNetwork(VirtualNetworkProfi } /** - * Get the internalLoadBalancingMode value. + * Get specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @return the internalLoadBalancingMode value */ @@ -415,7 +415,7 @@ public InternalLoadBalancingMode internalLoadBalancingMode() { } /** - * Set the internalLoadBalancingMode value. + * Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @param internalLoadBalancingMode the internalLoadBalancingMode value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -426,7 +426,7 @@ public AppServiceEnvironmentResourceInner withInternalLoadBalancingMode(Internal } /** - * Get the multiSize value. + * Get front-end VM size, e.g. "Medium", "Large". * * @return the multiSize value */ @@ -435,7 +435,7 @@ public String multiSize() { } /** - * Set the multiSize value. + * Set front-end VM size, e.g. "Medium", "Large". * * @param multiSize the multiSize value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -446,7 +446,7 @@ public AppServiceEnvironmentResourceInner withMultiSize(String multiSize) { } /** - * Get the multiRoleCount value. + * Get number of front-end instances. * * @return the multiRoleCount value */ @@ -455,7 +455,7 @@ public Integer multiRoleCount() { } /** - * Set the multiRoleCount value. + * Set number of front-end instances. * * @param multiRoleCount the multiRoleCount value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -466,7 +466,7 @@ public AppServiceEnvironmentResourceInner withMultiRoleCount(Integer multiRoleCo } /** - * Get the workerPools value. + * Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @return the workerPools value */ @@ -475,7 +475,7 @@ public List workerPools() { } /** - * Set the workerPools value. + * Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @param workerPools the workerPools value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -486,7 +486,7 @@ public AppServiceEnvironmentResourceInner withWorkerPools(List worke } /** - * Get the ipsslAddressCount value. + * Get number of IP SSL addresses reserved for the App Service Environment. * * @return the ipsslAddressCount value */ @@ -495,7 +495,7 @@ public Integer ipsslAddressCount() { } /** - * Set the ipsslAddressCount value. + * Set number of IP SSL addresses reserved for the App Service Environment. * * @param ipsslAddressCount the ipsslAddressCount value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -506,7 +506,7 @@ public AppServiceEnvironmentResourceInner withIpsslAddressCount(Integer ipsslAdd } /** - * Get the databaseEdition value. + * Get edition of the metadata database for the App Service Environment, e.g. "Standard". * * @return the databaseEdition value */ @@ -515,7 +515,7 @@ public String databaseEdition() { } /** - * Get the databaseServiceObjective value. + * Get service objective of the metadata database for the App Service Environment, e.g. "S0". * * @return the databaseServiceObjective value */ @@ -524,7 +524,7 @@ public String databaseServiceObjective() { } /** - * Get the upgradeDomains value. + * Get number of upgrade domains of the App Service Environment. * * @return the upgradeDomains value */ @@ -533,7 +533,7 @@ public Integer upgradeDomains() { } /** - * Get the subscriptionId value. + * Get subscription of the App Service Environment. * * @return the subscriptionId value */ @@ -542,7 +542,7 @@ public String subscriptionId() { } /** - * Get the dnsSuffix value. + * Get dNS suffix of the App Service Environment. * * @return the dnsSuffix value */ @@ -551,7 +551,7 @@ public String dnsSuffix() { } /** - * Set the dnsSuffix value. + * Set dNS suffix of the App Service Environment. * * @param dnsSuffix the dnsSuffix value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -562,7 +562,7 @@ public AppServiceEnvironmentResourceInner withDnsSuffix(String dnsSuffix) { } /** - * Get the lastAction value. + * Get last deployment action on the App Service Environment. * * @return the lastAction value */ @@ -571,7 +571,7 @@ public String lastAction() { } /** - * Get the lastActionResult value. + * Get result of the last deployment action on the App Service Environment. * * @return the lastActionResult value */ @@ -580,7 +580,7 @@ public String lastActionResult() { } /** - * Get the allowedMultiSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for front-ends. * * @return the allowedMultiSizes value */ @@ -589,7 +589,7 @@ public String allowedMultiSizes() { } /** - * Get the allowedWorkerSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for workers. * * @return the allowedWorkerSizes value */ @@ -598,7 +598,7 @@ public String allowedWorkerSizes() { } /** - * Get the maximumNumberOfMachines value. + * Get maximum number of VMs in the App Service Environment. * * @return the maximumNumberOfMachines value */ @@ -607,7 +607,7 @@ public Integer maximumNumberOfMachines() { } /** - * Get the vipMappings value. + * Get description of IP SSL mapping for the App Service Environment. * * @return the vipMappings value */ @@ -616,7 +616,7 @@ public List vipMappings() { } /** - * Get the environmentCapacities value. + * Get current total, used, and available worker capacities. * * @return the environmentCapacities value */ @@ -625,7 +625,7 @@ public List environmentCapacities() { } /** - * Get the networkAccessControlList value. + * Get access control list for controlling traffic to the App Service Environment. * * @return the networkAccessControlList value */ @@ -634,7 +634,7 @@ public List networkAccessControlList() { } /** - * Set the networkAccessControlList value. + * Set access control list for controlling traffic to the App Service Environment. * * @param networkAccessControlList the networkAccessControlList value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -645,7 +645,7 @@ public AppServiceEnvironmentResourceInner withNetworkAccessControlList(List clusterSettings() { } /** - * Set the clusterSettings value. + * Set custom settings for changing the behavior of the App Service Environment. * * @param clusterSettings the clusterSettings value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -781,7 +785,7 @@ public AppServiceEnvironmentResourceInner withClusterSettings(List userWhitelistedIpRanges() { } /** - * Set the userWhitelistedIpRanges value. + * Set user added ip ranges to whitelist on ASE db. * * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -801,7 +805,7 @@ public AppServiceEnvironmentResourceInner withUserWhitelistedIpRanges(List implements AppServiceEnvironments { - private final AppServiceManager manager; + private final WebManager manager; - AppServiceEnvironmentsImpl(AppServiceManager manager) { + AppServiceEnvironmentsImpl(WebManager manager) { super(manager.inner().appServiceEnvironments()); this.manager = manager; } - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } @@ -181,7 +181,8 @@ public Observable resumeAsync(final String resourceGroup public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public HostingEnvironmentSite call(SiteInner inner) { return new HostingEnvironmentSiteImpl(inner, manager()); @@ -198,7 +199,8 @@ public Observable suspendAsync(final String resourceGrou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public HostingEnvironmentSite call(SiteInner inner) { return new HostingEnvironmentSiteImpl(inner, manager()); @@ -215,7 +217,8 @@ public Observable listCapacitiesAsync(final String resourceGroupN public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public StampCapacity call(StampCapacityInner inner) { return new StampCapacityImpl(inner, manager()); @@ -286,7 +289,8 @@ public Observable listMultiRolePoolInstanceMetricDefin public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new ResourceMetricDefinitionImpl(inner, manager()); @@ -303,7 +307,8 @@ public Observable listMultiRoleMetricDefinitionsAsync( public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new ResourceMetricDefinitionImpl(inner, manager()); @@ -320,7 +325,8 @@ public Observable listWorkerPoolInstanceMetricDefiniti public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new ResourceMetricDefinitionImpl(inner, manager()); @@ -337,7 +343,8 @@ public Observable listWebWorkerMetricDefinitionsAsync( public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new ResourceMetricDefinitionImpl(inner, manager()); @@ -372,7 +379,8 @@ public Observable listMultiRolePoolInstanceMet public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public HostingEnvironmentResourceMetric call(ResourceMetricInner inner) { return new HostingEnvironmentResourceMetricImpl(inner, manager()); @@ -389,7 +397,8 @@ public Observable listMultiRoleMetricsAsync(fi public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public HostingEnvironmentResourceMetric call(ResourceMetricInner inner) { return new HostingEnvironmentResourceMetricImpl(inner, manager()); @@ -406,7 +415,8 @@ public Observable listWorkerPoolInstanceMetric public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public HostingEnvironmentResourceMetric call(ResourceMetricInner inner) { return new HostingEnvironmentResourceMetricImpl(inner, manager()); @@ -423,7 +433,8 @@ public Observable listWebWorkerMetricsAsync(fi public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public HostingEnvironmentResourceMetric call(ResourceMetricInner inner) { return new HostingEnvironmentResourceMetricImpl(inner, manager()); @@ -494,7 +505,8 @@ public Observable listMultiRolePoolSkusAsync(final String resourceGroup public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SkuInfo call(SkuInfoInner inner) { return new SkuInfoImpl(inner, manager()); @@ -511,7 +523,8 @@ public Observable listWorkerPoolSkusAsync(final String resourceGroupNam public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SkuInfo call(SkuInfoInner inner) { return new SkuInfoImpl(inner, manager()); @@ -528,7 +541,8 @@ public Observable listMultiRoleUsagesAsync(final String resourceGroupName public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Usage call(UsageInner inner) { return new UsageImpl(inner, manager()); @@ -545,7 +559,8 @@ public Observable listUsagesAsync(final String resourceGroupName, public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public CsmUsageQuota call(CsmUsageQuotaInner inner) { return new CsmUsageQuotaImpl(inner, manager()); @@ -562,7 +577,8 @@ public Observable listWebWorkerUsagesAsync(final String resourceGroupName public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Usage call(UsageInner inner) { return new UsageImpl(inner, manager()); diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlanImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlanImpl.java index e35a555c759ff..5940fceb9a290 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlanImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlanImpl.java @@ -19,9 +19,9 @@ import com.microsoft.azure.management.appservice.v2016_09_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, WebManager manager) { super(name, inner, manager); this.updateParameter = new AppServicePlanPatchResource(); } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlanInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlanInner.java index a4dc956014a67..65f047dba29c4 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlanInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlanInner.java @@ -147,7 +147,7 @@ public class AppServicePlanInner extends Resource { private String kind; /** - * Get the appServicePlanName value. + * Get name for the App Service plan. * * @return the appServicePlanName value */ @@ -156,7 +156,7 @@ public String appServicePlanName() { } /** - * Set the appServicePlanName value. + * Set name for the App Service plan. * * @param appServicePlanName the appServicePlanName value to set * @return the AppServicePlanInner object itself. @@ -167,7 +167,7 @@ public AppServicePlanInner withAppServicePlanName(String appServicePlanName) { } /** - * Get the workerTierName value. + * Get target worker tier assigned to the App Service plan. * * @return the workerTierName value */ @@ -176,7 +176,7 @@ public String workerTierName() { } /** - * Set the workerTierName value. + * Set target worker tier assigned to the App Service plan. * * @param workerTierName the workerTierName value to set * @return the AppServicePlanInner object itself. @@ -187,7 +187,7 @@ public AppServicePlanInner withWorkerTierName(String workerTierName) { } /** - * Get the status value. + * Get app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'. * * @return the status value */ @@ -196,7 +196,7 @@ public StatusOptions status() { } /** - * Get the subscription value. + * Get app Service plan subscription. * * @return the subscription value */ @@ -205,7 +205,7 @@ public String subscription() { } /** - * Get the adminSiteName value. + * Get app Service plan administration site. * * @return the adminSiteName value */ @@ -214,7 +214,7 @@ public String adminSiteName() { } /** - * Set the adminSiteName value. + * Set app Service plan administration site. * * @param adminSiteName the adminSiteName value to set * @return the AppServicePlanInner object itself. @@ -225,7 +225,7 @@ public AppServicePlanInner withAdminSiteName(String adminSiteName) { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the App Service plan. * * @return the hostingEnvironmentProfile value */ @@ -234,7 +234,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set specification for the App Service Environment to use for the App Service plan. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the AppServicePlanInner object itself. @@ -245,7 +245,7 @@ public AppServicePlanInner withHostingEnvironmentProfile(HostingEnvironmentProfi } /** - * Get the maximumNumberOfWorkers value. + * Get maximum number of instances that can be assigned to this App Service plan. * * @return the maximumNumberOfWorkers value */ @@ -254,7 +254,7 @@ public Integer maximumNumberOfWorkers() { } /** - * Get the geoRegion value. + * Get geographical location for the App Service plan. * * @return the geoRegion value */ @@ -263,7 +263,8 @@ public String geoRegion() { } /** - * Get the perSiteScaling value. + * Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @return the perSiteScaling value */ @@ -272,7 +273,8 @@ public Boolean perSiteScaling() { } /** - * Set the perSiteScaling value. + * Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @param perSiteScaling the perSiteScaling value to set * @return the AppServicePlanInner object itself. @@ -283,7 +285,7 @@ public AppServicePlanInner withPerSiteScaling(Boolean perSiteScaling) { } /** - * Get the numberOfSites value. + * Get number of apps assigned to this App Service plan. * * @return the numberOfSites value */ @@ -292,7 +294,7 @@ public Integer numberOfSites() { } /** - * Get the isSpot value. + * Get if <code>true</code>, this App Service Plan owns spot instances. * * @return the isSpot value */ @@ -301,7 +303,7 @@ public Boolean isSpot() { } /** - * Set the isSpot value. + * Set if <code>true</code>, this App Service Plan owns spot instances. * * @param isSpot the isSpot value to set * @return the AppServicePlanInner object itself. @@ -312,7 +314,7 @@ public AppServicePlanInner withIsSpot(Boolean isSpot) { } /** - * Get the spotExpirationTime value. + * Get the time when the server farm expires. Valid only if it is a spot server farm. * * @return the spotExpirationTime value */ @@ -321,7 +323,7 @@ public DateTime spotExpirationTime() { } /** - * Set the spotExpirationTime value. + * Set the time when the server farm expires. Valid only if it is a spot server farm. * * @param spotExpirationTime the spotExpirationTime value to set * @return the AppServicePlanInner object itself. @@ -332,7 +334,7 @@ public AppServicePlanInner withSpotExpirationTime(DateTime spotExpirationTime) { } /** - * Get the resourceGroup value. + * Get resource group of the App Service plan. * * @return the resourceGroup value */ @@ -341,7 +343,7 @@ public String resourceGroup() { } /** - * Get the reserved value. + * Get if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @return the reserved value */ @@ -350,7 +352,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @param reserved the reserved value to set * @return the AppServicePlanInner object itself. @@ -361,7 +363,7 @@ public AppServicePlanInner withReserved(Boolean reserved) { } /** - * Get the targetWorkerCount value. + * Get scaling worker count. * * @return the targetWorkerCount value */ @@ -370,7 +372,7 @@ public Integer targetWorkerCount() { } /** - * Set the targetWorkerCount value. + * Set scaling worker count. * * @param targetWorkerCount the targetWorkerCount value to set * @return the AppServicePlanInner object itself. @@ -381,7 +383,7 @@ public AppServicePlanInner withTargetWorkerCount(Integer targetWorkerCount) { } /** - * Get the targetWorkerSizeId value. + * Get scaling worker size ID. * * @return the targetWorkerSizeId value */ @@ -390,7 +392,7 @@ public Integer targetWorkerSizeId() { } /** - * Set the targetWorkerSizeId value. + * Set scaling worker size ID. * * @param targetWorkerSizeId the targetWorkerSizeId value to set * @return the AppServicePlanInner object itself. @@ -401,7 +403,7 @@ public AppServicePlanInner withTargetWorkerSizeId(Integer targetWorkerSizeId) { } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -430,7 +432,7 @@ public AppServicePlanInner withSku(SkuDescription sku) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -439,7 +441,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the AppServicePlanInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlansImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlansImpl.java index 3add709ce9980..522de611ede9b 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlansImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlansImpl.java @@ -30,14 +30,14 @@ import com.microsoft.azure.management.appservice.v2016_09_01.VnetRoute; class AppServicePlansImpl extends WrapperImpl implements AppServicePlans { - private final AppServiceManager manager; + private final WebManager manager; - AppServicePlansImpl(AppServiceManager manager) { + AppServicePlansImpl(WebManager manager) { super(manager.inner().appServicePlans()); this.manager = manager; } - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } @@ -424,7 +424,8 @@ public Observable getRouteForVnetAsync(String resourceGroupName, Stri public Observable call(List innerList) { return Observable.from(innerList); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public VnetRoute call(VnetRouteInner inner) { return new VnetRouteImpl(inner, manager()); diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CapabilityImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CapabilityImpl.java index ef1bb45579abb..b245634922419 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CapabilityImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CapabilityImpl.java @@ -13,15 +13,15 @@ import rx.Observable; class CapabilityImpl extends WrapperImpl implements Capability { - private final AppServiceManager manager; + private final WebManager manager; - CapabilityImpl(CapabilityInner inner, AppServiceManager manager) { + CapabilityImpl(CapabilityInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CapabilityInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CapabilityInner.java index 79d0a0d492494..a3a4130ba8ef6 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CapabilityInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CapabilityInner.java @@ -33,7 +33,7 @@ public class CapabilityInner { private String reason; /** - * Get the name value. + * Get name of the SKU capability. * * @return the name value */ @@ -42,7 +42,7 @@ public String name() { } /** - * Set the name value. + * Set name of the SKU capability. * * @param name the name value to set * @return the CapabilityInner object itself. @@ -53,7 +53,7 @@ public CapabilityInner withName(String name) { } /** - * Get the value value. + * Get value of the SKU capability. * * @return the value value */ @@ -62,7 +62,7 @@ public String value() { } /** - * Set the value value. + * Set value of the SKU capability. * * @param value the value value to set * @return the CapabilityInner object itself. @@ -73,7 +73,7 @@ public CapabilityInner withValue(String value) { } /** - * Get the reason value. + * Get reason of the SKU capability. * * @return the reason value */ @@ -82,7 +82,7 @@ public String reason() { } /** - * Set the reason value. + * Set reason of the SKU capability. * * @param reason the reason value to set * @return the CapabilityInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaImpl.java index fd4b2a5de490a..c9db724608229 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaImpl.java @@ -15,15 +15,15 @@ import org.joda.time.DateTime; class CsmUsageQuotaImpl extends WrapperImpl implements CsmUsageQuota { - private final AppServiceManager manager; + private final WebManager manager; - CsmUsageQuotaImpl(CsmUsageQuotaInner inner, AppServiceManager manager) { + CsmUsageQuotaImpl(CsmUsageQuotaInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaInner.java index adaf6fc625e9a..f9bda94dec8bb 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaInner.java @@ -47,7 +47,7 @@ public class CsmUsageQuotaInner { private LocalizableString name; /** - * Get the unit value. + * Get units of measurement for the quota resourse. * * @return the unit value */ @@ -56,7 +56,7 @@ public String unit() { } /** - * Set the unit value. + * Set units of measurement for the quota resourse. * * @param unit the unit value to set * @return the CsmUsageQuotaInner object itself. @@ -67,7 +67,7 @@ public CsmUsageQuotaInner withUnit(String unit) { } /** - * Get the nextResetTime value. + * Get next reset time for the resource counter. * * @return the nextResetTime value */ @@ -76,7 +76,7 @@ public DateTime nextResetTime() { } /** - * Set the nextResetTime value. + * Set next reset time for the resource counter. * * @param nextResetTime the nextResetTime value to set * @return the CsmUsageQuotaInner object itself. @@ -87,7 +87,7 @@ public CsmUsageQuotaInner withNextResetTime(DateTime nextResetTime) { } /** - * Get the currentValue value. + * Get the current value of the resource counter. * * @return the currentValue value */ @@ -96,7 +96,7 @@ public Long currentValue() { } /** - * Set the currentValue value. + * Set the current value of the resource counter. * * @param currentValue the currentValue value to set * @return the CsmUsageQuotaInner object itself. @@ -107,7 +107,7 @@ public CsmUsageQuotaInner withCurrentValue(Long currentValue) { } /** - * Get the limit value. + * Get the resource limit. * * @return the limit value */ @@ -116,7 +116,7 @@ public Long limit() { } /** - * Set the limit value. + * Set the resource limit. * * @param limit the limit value to set * @return the CsmUsageQuotaInner object itself. @@ -127,7 +127,7 @@ public CsmUsageQuotaInner withLimit(Long limit) { } /** - * Get the name value. + * Get quota name. * * @return the name value */ @@ -136,7 +136,7 @@ public LocalizableString name() { } /** - * Set the name value. + * Set quota name. * * @param name the name value to set * @return the CsmUsageQuotaInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentAppServicePlanImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentAppServicePlanImpl.java index 369afd29d9df0..5d56b7ea9a497 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentAppServicePlanImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentAppServicePlanImpl.java @@ -19,15 +19,15 @@ import java.util.Map; class HostingEnvironmentAppServicePlanImpl extends WrapperImpl implements HostingEnvironmentAppServicePlan { - private final AppServiceManager manager; + private final WebManager manager; - HostingEnvironmentAppServicePlanImpl(AppServicePlanInner inner, AppServiceManager manager) { + HostingEnvironmentAppServicePlanImpl(AppServicePlanInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentDiagnosticsImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentDiagnosticsImpl.java index 4e76760c665de..d9ad3354980a4 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentDiagnosticsImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentDiagnosticsImpl.java @@ -13,18 +13,18 @@ import rx.Observable; class HostingEnvironmentDiagnosticsImpl extends WrapperImpl implements HostingEnvironmentDiagnostics { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String diagnosticsName; - HostingEnvironmentDiagnosticsImpl(HostingEnvironmentDiagnosticsInner inner, AppServiceManager manager) { + HostingEnvironmentDiagnosticsImpl(HostingEnvironmentDiagnosticsInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentDiagnosticsInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentDiagnosticsInner.java index 75cef00c9059a..6d7c57a634c30 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentDiagnosticsInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentDiagnosticsInner.java @@ -27,7 +27,7 @@ public class HostingEnvironmentDiagnosticsInner { private String diagnosicsOutput; /** - * Get the name value. + * Get name/identifier of the diagnostics. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set name/identifier of the diagnostics. * * @param name the name value to set * @return the HostingEnvironmentDiagnosticsInner object itself. @@ -47,7 +47,7 @@ public HostingEnvironmentDiagnosticsInner withName(String name) { } /** - * Get the diagnosicsOutput value. + * Get diagnostics output. * * @return the diagnosicsOutput value */ @@ -56,7 +56,7 @@ public String diagnosicsOutput() { } /** - * Set the diagnosicsOutput value. + * Set diagnostics output. * * @param diagnosicsOutput the diagnosicsOutput value to set * @return the HostingEnvironmentDiagnosticsInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentResourceMetricImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentResourceMetricImpl.java index 41f28f5b41579..f431d61215ea8 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentResourceMetricImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentResourceMetricImpl.java @@ -18,15 +18,15 @@ import com.microsoft.azure.management.appservice.v2016_09_01.ResourceMetricProperty; class HostingEnvironmentResourceMetricImpl extends WrapperImpl implements HostingEnvironmentResourceMetric { - private final AppServiceManager manager; + private final WebManager manager; - HostingEnvironmentResourceMetricImpl(ResourceMetricInner inner, AppServiceManager manager) { + HostingEnvironmentResourceMetricImpl(ResourceMetricInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentSiteImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentSiteImpl.java index 996d3351ca49a..cda1916273881 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentSiteImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HostingEnvironmentSiteImpl.java @@ -25,15 +25,15 @@ import com.microsoft.azure.management.appservice.v2016_09_01.UsageState; class HostingEnvironmentSiteImpl extends WrapperImpl implements HostingEnvironmentSite { - private final AppServiceManager manager; + private final WebManager manager; - HostingEnvironmentSiteImpl(SiteInner inner, AppServiceManager manager) { + HostingEnvironmentSiteImpl(SiteInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionImpl.java index 5c5653f275ed8..5e4e934f52f8d 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionImpl.java @@ -13,13 +13,13 @@ import rx.Observable; class HybridConnectionImpl extends IndexableRefreshableWrapperImpl implements HybridConnection { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String namespaceName; private String relayName; - HybridConnectionImpl(HybridConnectionInner inner, AppServiceManager manager) { + HybridConnectionImpl(HybridConnectionInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -29,7 +29,7 @@ class HybridConnectionImpl extends IndexableRefreshableWrapperImpl implements HybridConnectionKey { - private final AppServiceManager manager; - HybridConnectionKeyImpl(HybridConnectionKeyInner inner, AppServiceManager manager) { + private final WebManager manager; + HybridConnectionKeyImpl(HybridConnectionKeyInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionKeyInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionKeyInner.java index cb5c83826a582..bcf03003e9c6e 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionKeyInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionKeyInner.java @@ -31,7 +31,7 @@ public class HybridConnectionKeyInner extends ProxyOnlyResource { private String sendKeyValue; /** - * Get the sendKeyName value. + * Get the name of the send key. * * @return the sendKeyName value */ @@ -40,7 +40,7 @@ public String sendKeyName() { } /** - * Get the sendKeyValue value. + * Get the value of the send key. * * @return the sendKeyValue value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionLimitsImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionLimitsImpl.java index 4c830257c9a4c..a02839a566c63 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionLimitsImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_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 WebManager manager; + HybridConnectionLimitsImpl(HybridConnectionLimitsInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionLimitsInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionLimitsInner.java index 3f35425706ac1..94d5461ecfe6d 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionLimitsInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/HybridConnectionLimitsInner.java @@ -31,7 +31,7 @@ public class HybridConnectionLimitsInner extends ProxyOnlyResource { private Integer maximum; /** - * Get the current value. + * Get the current number of Hybrid Connections. * * @return the current value */ @@ -40,7 +40,7 @@ public Integer current() { } /** - * Get the maximum value. + * Get the maximum number of Hybrid Connections allowed. * * @return the maximum value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MetricDefinitionImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MetricDefinitionImpl.java index ac7ea7a99a5ed..4b7a19f222d26 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MetricDefinitionImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MetricDefinitionImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_09_01.MetricAvailabilily; class MetricDefinitionImpl extends WrapperImpl implements MetricDefinition { - private final AppServiceManager manager; - MetricDefinitionImpl(MetricDefinitionInner inner, AppServiceManager manager) { + private final WebManager manager; + MetricDefinitionImpl(MetricDefinitionInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MetricDefinitionInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MetricDefinitionInner.java index 037ab77f396b3..05278d52e687d 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MetricDefinitionInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MetricDefinitionInner.java @@ -51,7 +51,7 @@ public class MetricDefinitionInner extends ProxyOnlyResource { private String displayName; /** - * Get the metricDefinitionName value. + * Get name of the metric. * * @return the metricDefinitionName value */ @@ -60,7 +60,7 @@ public String metricDefinitionName() { } /** - * Get the unit value. + * Get unit of the metric. * * @return the unit value */ @@ -69,7 +69,7 @@ public String unit() { } /** - * Get the primaryAggregationType value. + * Get primary aggregation type. * * @return the primaryAggregationType value */ @@ -78,7 +78,7 @@ public String primaryAggregationType() { } /** - * Get the metricAvailabilities value. + * Get list of time grains supported for the metric together with retention period. * * @return the metricAvailabilities value */ @@ -87,7 +87,7 @@ public List metricAvailabilities() { } /** - * Get the displayName value. + * Get friendly name shown in the UI. * * @return the displayName value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MultiRolePoolsImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MultiRolePoolsImpl.java index d2bec7cb4435e..21dcdd970e565 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MultiRolePoolsImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/MultiRolePoolsImpl.java @@ -16,15 +16,15 @@ import com.microsoft.azure.management.appservice.v2016_09_01.SkuDescription; class MultiRolePoolsImpl extends WrapperImpl implements MultiRolePools { - private final AppServiceManager manager; + private final WebManager manager; - MultiRolePoolsImpl(WorkerPoolResourceInner inner, AppServiceManager manager) { + MultiRolePoolsImpl(WorkerPoolResourceInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/OperationImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/OperationImpl.java index 462a90e209384..df05b45e39440 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/OperationImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/OperationImpl.java @@ -18,15 +18,15 @@ import com.microsoft.azure.management.appservice.v2016_09_01.OperationStatus; class OperationImpl extends WrapperImpl implements Operation { - private final AppServiceManager manager; + private final WebManager manager; - OperationImpl(OperationInner inner, AppServiceManager manager) { + OperationImpl(OperationInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/OperationInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/OperationInner.java index 3fc8bc05eeed0..94dd800cb42fd 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/OperationInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/OperationInner.java @@ -69,7 +69,7 @@ public class OperationInner { private UUID geoMasterOperationId; /** - * Get the id value. + * Get operation ID. * * @return the id value */ @@ -78,7 +78,7 @@ public String id() { } /** - * Set the id value. + * Set operation ID. * * @param id the id value to set * @return the OperationInner object itself. @@ -89,7 +89,7 @@ public OperationInner withId(String id) { } /** - * Get the name value. + * Get operation name. * * @return the name value */ @@ -98,7 +98,7 @@ public String name() { } /** - * Set the name value. + * Set operation name. * * @param name the name value to set * @return the OperationInner object itself. @@ -109,7 +109,7 @@ public OperationInner withName(String name) { } /** - * Get the status value. + * Get the current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @return the status value */ @@ -118,7 +118,7 @@ public OperationStatus status() { } /** - * Set the status value. + * Set the current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @param status the status value to set * @return the OperationInner object itself. @@ -129,7 +129,7 @@ public OperationInner withStatus(OperationStatus status) { } /** - * Get the errors value. + * Get any errors associate with the operation. * * @return the errors value */ @@ -138,7 +138,7 @@ public List errors() { } /** - * Set the errors value. + * Set any errors associate with the operation. * * @param errors the errors value to set * @return the OperationInner object itself. @@ -149,7 +149,7 @@ public OperationInner withErrors(List errors) { } /** - * Get the createdTime value. + * Get time when operation has started. * * @return the createdTime value */ @@ -158,7 +158,7 @@ public DateTime createdTime() { } /** - * Set the createdTime value. + * Set time when operation has started. * * @param createdTime the createdTime value to set * @return the OperationInner object itself. @@ -169,7 +169,7 @@ public OperationInner withCreatedTime(DateTime createdTime) { } /** - * Get the modifiedTime value. + * Get time when operation has been updated. * * @return the modifiedTime value */ @@ -178,7 +178,7 @@ public DateTime modifiedTime() { } /** - * Set the modifiedTime value. + * Set time when operation has been updated. * * @param modifiedTime the modifiedTime value to set * @return the OperationInner object itself. @@ -189,7 +189,7 @@ public OperationInner withModifiedTime(DateTime modifiedTime) { } /** - * Get the expirationTime value. + * Get time when operation will expire. * * @return the expirationTime value */ @@ -198,7 +198,7 @@ public DateTime expirationTime() { } /** - * Set the expirationTime value. + * Set time when operation will expire. * * @param expirationTime the expirationTime value to set * @return the OperationInner object itself. @@ -209,7 +209,7 @@ public OperationInner withExpirationTime(DateTime expirationTime) { } /** - * Get the geoMasterOperationId value. + * Get applicable only for stamp operation ids. * * @return the geoMasterOperationId value */ @@ -218,7 +218,7 @@ public UUID geoMasterOperationId() { } /** - * Set the geoMasterOperationId value. + * Set applicable only for stamp operation ids. * * @param geoMasterOperationId the geoMasterOperationId value to set * @return the OperationInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricDefinitionImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricDefinitionImpl.java index 1643835c5ab77..d7749d4761919 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricDefinitionImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricDefinitionImpl.java @@ -17,15 +17,15 @@ import com.microsoft.azure.management.appservice.v2016_09_01.ResourceMetricName; class ResourceMetricDefinitionImpl extends WrapperImpl implements ResourceMetricDefinition { - private final AppServiceManager manager; + private final WebManager manager; - ResourceMetricDefinitionImpl(ResourceMetricDefinitionInner inner, AppServiceManager manager) { + ResourceMetricDefinitionImpl(ResourceMetricDefinitionInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricDefinitionInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricDefinitionInner.java index 0dc48e8eef390..b172e47a999d5 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricDefinitionInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricDefinitionInner.java @@ -65,7 +65,7 @@ public class ResourceMetricDefinitionInner extends ProxyOnlyResource { private Map properties; /** - * Get the resourceMetricDefinitionName value. + * Get name of the metric. * * @return the resourceMetricDefinitionName value */ @@ -74,7 +74,7 @@ public ResourceMetricName resourceMetricDefinitionName() { } /** - * Get the unit value. + * Get unit of the metric. * * @return the unit value */ @@ -83,7 +83,7 @@ public String unit() { } /** - * Get the primaryAggregationType value. + * Get primary aggregation type. * * @return the primaryAggregationType value */ @@ -92,7 +92,7 @@ public String primaryAggregationType() { } /** - * Get the metricAvailabilities value. + * Get list of time grains supported for the metric together with retention period. * * @return the metricAvailabilities value */ @@ -101,7 +101,7 @@ public List metricAvailabilities() { } /** - * Get the resourceUri value. + * Get resource URI. * * @return the resourceUri value */ @@ -110,7 +110,7 @@ public String resourceUri() { } /** - * Get the resourceMetricDefinitionId value. + * Get resource ID. * * @return the resourceMetricDefinitionId value */ @@ -119,7 +119,7 @@ public String resourceMetricDefinitionId() { } /** - * Get the properties value. + * Get resource metric definition properties. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricInner.java index 619c156829a92..9082ac5a8c5df 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ResourceMetricInner.java @@ -74,7 +74,7 @@ public class ResourceMetricInner { private List properties; /** - * Get the name value. + * Get name of metric. * * @return the name value */ @@ -83,7 +83,7 @@ public ResourceMetricName name() { } /** - * Get the unit value. + * Get metric unit. * * @return the unit value */ @@ -92,7 +92,7 @@ public String unit() { } /** - * Get the timeGrain value. + * Get metric granularity. E.g PT1H, PT5M, P1D. * * @return the timeGrain value */ @@ -101,7 +101,7 @@ public String timeGrain() { } /** - * Get the startTime value. + * Get metric start time. * * @return the startTime value */ @@ -110,7 +110,7 @@ public DateTime startTime() { } /** - * Get the endTime value. + * Get metric end time. * * @return the endTime value */ @@ -119,7 +119,7 @@ public DateTime endTime() { } /** - * Get the resourceId value. + * Get metric resource Id. * * @return the resourceId value */ @@ -128,7 +128,7 @@ public String resourceId() { } /** - * Get the id value. + * Get resource Id. * * @return the id value */ @@ -137,7 +137,7 @@ public String id() { } /** - * Get the metricValues value. + * Get metric values. * * @return the metricValues value */ @@ -146,7 +146,7 @@ public List metricValues() { } /** - * Get the properties value. + * Get resource metric properties collection. * * @return the properties value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ServerfarmResourceMetricImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ServerfarmResourceMetricImpl.java index 38a8aa4fe55c1..924c3ee6e2c28 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ServerfarmResourceMetricImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ServerfarmResourceMetricImpl.java @@ -18,15 +18,15 @@ import com.microsoft.azure.management.appservice.v2016_09_01.ResourceMetricProperty; class ServerfarmResourceMetricImpl extends WrapperImpl implements ServerfarmResourceMetric { - private final AppServiceManager manager; + private final WebManager manager; - ServerfarmResourceMetricImpl(ResourceMetricInner inner, AppServiceManager manager) { + ServerfarmResourceMetricImpl(ResourceMetricInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ServerfarmSiteImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ServerfarmSiteImpl.java index 5a11e921cb9d3..90ccfeab0739e 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ServerfarmSiteImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/ServerfarmSiteImpl.java @@ -25,15 +25,15 @@ import com.microsoft.azure.management.appservice.v2016_09_01.UsageState; class ServerfarmSiteImpl extends WrapperImpl implements ServerfarmSite { - private final AppServiceManager manager; + private final WebManager manager; - ServerfarmSiteImpl(SiteInner inner, AppServiceManager manager) { + ServerfarmSiteImpl(SiteInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SiteInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SiteInner.java index a4ea7c2cfd03e..fc68eb313ac67 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SiteInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SiteInner.java @@ -262,7 +262,7 @@ public class SiteInner extends Resource { private String kind; /** - * Get the state value. + * Get current state of the app. * * @return the state value */ @@ -271,7 +271,7 @@ public String state() { } /** - * Get the hostNames value. + * Get hostnames associated with the app. * * @return the hostNames value */ @@ -280,7 +280,7 @@ public List hostNames() { } /** - * Get the repositorySiteName value. + * Get name of the repository site. * * @return the repositorySiteName value */ @@ -289,7 +289,7 @@ public String repositorySiteName() { } /** - * Get the usageState value. + * Get state indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'. * * @return the usageState value */ @@ -298,7 +298,7 @@ public UsageState usageState() { } /** - * Get the enabled value. + * Get <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @return the enabled value */ @@ -307,7 +307,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @param enabled the enabled value to set * @return the SiteInner object itself. @@ -318,7 +318,8 @@ public SiteInner withEnabled(Boolean enabled) { } /** - * Get the enabledHostNames value. + * Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, + the app is not served on those hostnames. * * @return the enabledHostNames value */ @@ -327,7 +328,7 @@ public List enabledHostNames() { } /** - * Get the availabilityState value. + * Get management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'. * * @return the availabilityState value */ @@ -336,7 +337,7 @@ public SiteAvailabilityState availabilityState() { } /** - * Get the hostNameSslStates value. + * Get hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @return the hostNameSslStates value */ @@ -345,7 +346,7 @@ public List hostNameSslStates() { } /** - * Set the hostNameSslStates value. + * Set hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @param hostNameSslStates the hostNameSslStates value to set * @return the SiteInner object itself. @@ -356,7 +357,7 @@ public SiteInner withHostNameSslStates(List hostNameSslStates) } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -365,7 +366,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the SiteInner object itself. @@ -376,7 +377,7 @@ public SiteInner withServerFarmId(String serverFarmId) { } /** - * Get the reserved value. + * Get <code>true</code> if reserved; otherwise, <code>false</code>. * * @return the reserved value */ @@ -385,7 +386,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set <code>true</code> if reserved; otherwise, <code>false</code>. * * @param reserved the reserved value to set * @return the SiteInner object itself. @@ -396,7 +397,7 @@ public SiteInner withReserved(Boolean reserved) { } /** - * Get the lastModifiedTimeUtc value. + * Get last time the app was modified, in UTC. Read-only. * * @return the lastModifiedTimeUtc value */ @@ -405,7 +406,7 @@ public DateTime lastModifiedTimeUtc() { } /** - * Get the siteConfig value. + * Get configuration of the app. * * @return the siteConfig value */ @@ -414,7 +415,7 @@ public SiteConfig siteConfig() { } /** - * Set the siteConfig value. + * Set configuration of the app. * * @param siteConfig the siteConfig value to set * @return the SiteInner object itself. @@ -425,7 +426,7 @@ public SiteInner withSiteConfig(SiteConfig siteConfig) { } /** - * Get the trafficManagerHostNames value. + * Get azure Traffic Manager hostnames associated with the app. Read-only. * * @return the trafficManagerHostNames value */ @@ -434,7 +435,7 @@ public List trafficManagerHostNames() { } /** - * Get the scmSiteAlsoStopped value. + * Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @return the scmSiteAlsoStopped value */ @@ -443,7 +444,7 @@ public Boolean scmSiteAlsoStopped() { } /** - * Set the scmSiteAlsoStopped value. + * Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @param scmSiteAlsoStopped the scmSiteAlsoStopped value to set * @return the SiteInner object itself. @@ -454,7 +455,7 @@ public SiteInner withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped) { } /** - * Get the targetSwapSlot value. + * Get specifies which deployment slot this app will swap into. Read-only. * * @return the targetSwapSlot value */ @@ -463,7 +464,7 @@ public String targetSwapSlot() { } /** - * Get the hostingEnvironmentProfile value. + * Get app Service Environment to use for the app. * * @return the hostingEnvironmentProfile value */ @@ -472,7 +473,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set app Service Environment to use for the app. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the SiteInner object itself. @@ -483,7 +484,7 @@ public SiteInner withHostingEnvironmentProfile(HostingEnvironmentProfile hosting } /** - * Get the clientAffinityEnabled value. + * Get <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @return the clientAffinityEnabled value */ @@ -492,7 +493,7 @@ public Boolean clientAffinityEnabled() { } /** - * Set the clientAffinityEnabled value. + * Set <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @param clientAffinityEnabled the clientAffinityEnabled value to set * @return the SiteInner object itself. @@ -503,7 +504,7 @@ public SiteInner withClientAffinityEnabled(Boolean clientAffinityEnabled) { } /** - * Get the clientCertEnabled value. + * Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @return the clientCertEnabled value */ @@ -512,7 +513,7 @@ public Boolean clientCertEnabled() { } /** - * Set the clientCertEnabled value. + * Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @param clientCertEnabled the clientCertEnabled value to set * @return the SiteInner object itself. @@ -523,7 +524,8 @@ public SiteInner withClientCertEnabled(Boolean clientCertEnabled) { } /** - * Get the hostNamesDisabled value. + * Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @return the hostNamesDisabled value */ @@ -532,7 +534,8 @@ public Boolean hostNamesDisabled() { } /** - * Set the hostNamesDisabled value. + * Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @param hostNamesDisabled the hostNamesDisabled value to set * @return the SiteInner object itself. @@ -543,7 +546,7 @@ public SiteInner withHostNamesDisabled(Boolean hostNamesDisabled) { } /** - * Get the outboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. * * @return the outboundIpAddresses value */ @@ -552,7 +555,7 @@ public String outboundIpAddresses() { } /** - * Get the possibleOutboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. * * @return the possibleOutboundIpAddresses value */ @@ -561,7 +564,7 @@ public String possibleOutboundIpAddresses() { } /** - * Get the containerSize value. + * Get size of the function container. * * @return the containerSize value */ @@ -570,7 +573,7 @@ public Integer containerSize() { } /** - * Set the containerSize value. + * Set size of the function container. * * @param containerSize the containerSize value to set * @return the SiteInner object itself. @@ -581,7 +584,7 @@ public SiteInner withContainerSize(Integer containerSize) { } /** - * Get the dailyMemoryTimeQuota value. + * Get maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @return the dailyMemoryTimeQuota value */ @@ -590,7 +593,7 @@ public Integer dailyMemoryTimeQuota() { } /** - * Set the dailyMemoryTimeQuota value. + * Set maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @param dailyMemoryTimeQuota the dailyMemoryTimeQuota value to set * @return the SiteInner object itself. @@ -601,7 +604,7 @@ public SiteInner withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota) { } /** - * Get the suspendedTill value. + * Get app suspended till in case memory-time quota is exceeded. * * @return the suspendedTill value */ @@ -610,7 +613,8 @@ public DateTime suspendedTill() { } /** - * Get the maxNumberOfWorkers value. + * Get maximum number of workers. + This only applies to Functions container. * * @return the maxNumberOfWorkers value */ @@ -619,7 +623,7 @@ public Integer maxNumberOfWorkers() { } /** - * Get the cloningInfo value. + * Get if specified during app creation, the app is cloned from a source app. * * @return the cloningInfo value */ @@ -628,7 +632,7 @@ public CloningInfo cloningInfo() { } /** - * Set the cloningInfo value. + * Set if specified during app creation, the app is cloned from a source app. * * @param cloningInfo the cloningInfo value to set * @return the SiteInner object itself. @@ -639,7 +643,7 @@ public SiteInner withCloningInfo(CloningInfo cloningInfo) { } /** - * Get the snapshotInfo value. + * Get if specified during app creation, the app is created from a previous snapshot. * * @return the snapshotInfo value */ @@ -648,7 +652,7 @@ public SnapshotRecoveryRequest snapshotInfo() { } /** - * Set the snapshotInfo value. + * Set if specified during app creation, the app is created from a previous snapshot. * * @param snapshotInfo the snapshotInfo value to set * @return the SiteInner object itself. @@ -659,7 +663,7 @@ public SiteInner withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { } /** - * Get the resourceGroup value. + * Get name of the resource group the app belongs to. Read-only. * * @return the resourceGroup value */ @@ -668,7 +672,7 @@ public String resourceGroup() { } /** - * Get the isDefaultContainer value. + * Get <code>true</code> if the app is a default container; otherwise, <code>false</code>. * * @return the isDefaultContainer value */ @@ -677,7 +681,7 @@ public Boolean isDefaultContainer() { } /** - * Get the defaultHostName value. + * Get default hostname of the app. Read-only. * * @return the defaultHostName value */ @@ -686,7 +690,7 @@ public String defaultHostName() { } /** - * Get the slotSwapStatus value. + * Get status of the last deployment slot swap operation. * * @return the slotSwapStatus value */ @@ -695,7 +699,8 @@ public SlotSwapStatus slotSwapStatus() { } /** - * Get the httpsOnly value. + * Get httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @return the httpsOnly value */ @@ -704,7 +709,8 @@ public Boolean httpsOnly() { } /** - * Set the httpsOnly value. + * Set httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @param httpsOnly the httpsOnly value to set * @return the SiteInner object itself. @@ -735,7 +741,7 @@ public SiteInner withIdentity(ManagedServiceIdentity identity) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -744,7 +750,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the SiteInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SkuInfoImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SkuInfoImpl.java index 1d9a13c5993d3..79649b0a1a345 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SkuInfoImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SkuInfoImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_09_01.SkuDescription; class SkuInfoImpl extends WrapperImpl implements SkuInfo { - private final AppServiceManager manager; - SkuInfoImpl(SkuInfoInner inner, AppServiceManager manager) { + private final WebManager manager; + SkuInfoImpl(SkuInfoInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SkuInfoInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SkuInfoInner.java index 22e6069a15b07..20af06bf0a283 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SkuInfoInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/SkuInfoInner.java @@ -35,7 +35,7 @@ public class SkuInfoInner { private SkuCapacity capacity; /** - * Get the resourceType value. + * Get resource type that this SKU applies to. * * @return the resourceType value */ @@ -44,7 +44,7 @@ public String resourceType() { } /** - * Set the resourceType value. + * Set resource type that this SKU applies to. * * @param resourceType the resourceType value to set * @return the SkuInfoInner object itself. @@ -55,7 +55,7 @@ public SkuInfoInner withResourceType(String resourceType) { } /** - * Get the sku value. + * Get name and tier of the SKU. * * @return the sku value */ @@ -64,7 +64,7 @@ public SkuDescription sku() { } /** - * Set the sku value. + * Set name and tier of the SKU. * * @param sku the sku value to set * @return the SkuInfoInner object itself. @@ -75,7 +75,7 @@ public SkuInfoInner withSku(SkuDescription sku) { } /** - * Get the capacity value. + * Get min, max, and default scale values of the SKU. * * @return the capacity value */ @@ -84,7 +84,7 @@ public SkuCapacity capacity() { } /** - * Set the capacity value. + * Set min, max, and default scale values of the SKU. * * @param capacity the capacity value to set * @return the SkuInfoInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/StampCapacityImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/StampCapacityImpl.java index 14492a1a6854a..f6eef41d04548 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/StampCapacityImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/StampCapacityImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2016_09_01.WorkerSizeOptions; class StampCapacityImpl extends WrapperImpl implements StampCapacity { - private final AppServiceManager manager; - StampCapacityImpl(StampCapacityInner inner, AppServiceManager manager) { + private final WebManager manager; + StampCapacityImpl(StampCapacityInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/StampCapacityInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/StampCapacityInner.java index c063fbcd89654..e14c327ad3323 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/StampCapacityInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/StampCapacityInner.java @@ -84,7 +84,7 @@ public class StampCapacityInner { private String siteMode; /** - * Get the name value. + * Get name of the stamp. * * @return the name value */ @@ -93,7 +93,7 @@ public String name() { } /** - * Set the name value. + * Set name of the stamp. * * @param name the name value to set * @return the StampCapacityInner object itself. @@ -104,7 +104,7 @@ public StampCapacityInner withName(String name) { } /** - * Get the availableCapacity value. + * Get available capacity (# of machines, bytes of storage etc...). * * @return the availableCapacity value */ @@ -113,7 +113,7 @@ public Long availableCapacity() { } /** - * Set the availableCapacity value. + * Set available capacity (# of machines, bytes of storage etc...). * * @param availableCapacity the availableCapacity value to set * @return the StampCapacityInner object itself. @@ -124,7 +124,7 @@ public StampCapacityInner withAvailableCapacity(Long availableCapacity) { } /** - * Get the totalCapacity value. + * Get total capacity (# of machines, bytes of storage etc...). * * @return the totalCapacity value */ @@ -133,7 +133,7 @@ public Long totalCapacity() { } /** - * Set the totalCapacity value. + * Set total capacity (# of machines, bytes of storage etc...). * * @param totalCapacity the totalCapacity value to set * @return the StampCapacityInner object itself. @@ -144,7 +144,7 @@ public StampCapacityInner withTotalCapacity(Long totalCapacity) { } /** - * Get the unit value. + * Get name of the unit. * * @return the unit value */ @@ -153,7 +153,7 @@ public String unit() { } /** - * Set the unit value. + * Set name of the unit. * * @param unit the unit value to set * @return the StampCapacityInner object itself. @@ -164,7 +164,7 @@ public StampCapacityInner withUnit(String unit) { } /** - * Get the computeMode value. + * Get shared/dedicated workers. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -173,7 +173,7 @@ public ComputeModeOptions computeMode() { } /** - * Set the computeMode value. + * Set shared/dedicated workers. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @param computeMode the computeMode value to set * @return the StampCapacityInner object itself. @@ -184,7 +184,7 @@ public StampCapacityInner withComputeMode(ComputeModeOptions computeMode) { } /** - * Get the workerSize value. + * Get size of the machines. Possible values include: 'Default', 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3'. * * @return the workerSize value */ @@ -193,7 +193,7 @@ public WorkerSizeOptions workerSize() { } /** - * Set the workerSize value. + * Set size of the machines. Possible values include: 'Default', 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3'. * * @param workerSize the workerSize value to set * @return the StampCapacityInner object itself. @@ -204,7 +204,10 @@ public StampCapacityInner withWorkerSize(WorkerSizeOptions workerSize) { } /** - * Get the workerSizeId value. + * Get size ID of machines: + 0 - Small + 1 - Medium + 2 - Large. * * @return the workerSizeId value */ @@ -213,7 +216,10 @@ public Integer workerSizeId() { } /** - * Set the workerSizeId value. + * Set size ID of machines: + 0 - Small + 1 - Medium + 2 - Large. * * @param workerSizeId the workerSizeId value to set * @return the StampCapacityInner object itself. @@ -224,7 +230,8 @@ public StampCapacityInner withWorkerSizeId(Integer workerSizeId) { } /** - * Get the excludeFromCapacityAllocation value. + * Get if <code>true</code>, it includes basic apps. + Basic apps are not used for capacity allocation. * * @return the excludeFromCapacityAllocation value */ @@ -233,7 +240,8 @@ public Boolean excludeFromCapacityAllocation() { } /** - * Set the excludeFromCapacityAllocation value. + * Set if <code>true</code>, it includes basic apps. + Basic apps are not used for capacity allocation. * * @param excludeFromCapacityAllocation the excludeFromCapacityAllocation value to set * @return the StampCapacityInner object itself. @@ -244,7 +252,7 @@ public StampCapacityInner withExcludeFromCapacityAllocation(Boolean excludeFromC } /** - * Get the isApplicableForAllComputeModes value. + * Get <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>. * * @return the isApplicableForAllComputeModes value */ @@ -253,7 +261,7 @@ public Boolean isApplicableForAllComputeModes() { } /** - * Set the isApplicableForAllComputeModes value. + * Set <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>. * * @param isApplicableForAllComputeModes the isApplicableForAllComputeModes value to set * @return the StampCapacityInner object itself. @@ -264,7 +272,7 @@ public StampCapacityInner withIsApplicableForAllComputeModes(Boolean isApplicabl } /** - * Get the siteMode value. + * Get shared or Dedicated. * * @return the siteMode value */ @@ -273,7 +281,7 @@ public String siteMode() { } /** - * Set the siteMode value. + * Set shared or Dedicated. * * @param siteMode the siteMode value to set * @return the StampCapacityInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/UsageImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/UsageImpl.java index e49610b917333..0407cdaec09bb 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/UsageImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/UsageImpl.java @@ -14,14 +14,14 @@ import org.joda.time.DateTime; class UsageImpl extends WrapperImpl implements Usage { - private final AppServiceManager manager; - UsageImpl(UsageInner inner, AppServiceManager manager) { + private final WebManager manager; + UsageImpl(UsageInner inner, WebManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public WebManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/UsageInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/UsageInner.java index 0e1c25a71c5c7..98e4d9709e85f 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/UsageInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/UsageInner.java @@ -75,7 +75,7 @@ public class UsageInner extends ProxyOnlyResource { private String siteMode; /** - * Get the displayName value. + * Get friendly name shown in the UI. * * @return the displayName value */ @@ -84,7 +84,7 @@ public String displayName() { } /** - * Get the usageName value. + * Get name of the quota. * * @return the usageName value */ @@ -93,7 +93,7 @@ public String usageName() { } /** - * Get the resourceName value. + * Get name of the quota resource. * * @return the resourceName value */ @@ -102,7 +102,7 @@ public String resourceName() { } /** - * Get the unit value. + * Get units of measurement for the quota resource. * * @return the unit value */ @@ -111,7 +111,7 @@ public String unit() { } /** - * Get the currentValue value. + * Get the current value of the resource counter. * * @return the currentValue value */ @@ -120,7 +120,7 @@ public Long currentValue() { } /** - * Get the limit value. + * Get the resource limit. * * @return the limit value */ @@ -129,7 +129,7 @@ public Long limit() { } /** - * Get the nextResetTime value. + * Get next reset time for the resource counter. * * @return the nextResetTime value */ @@ -138,7 +138,7 @@ public DateTime nextResetTime() { } /** - * Get the computeMode value. + * Get compute mode used for this usage. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -147,7 +147,7 @@ public ComputeModeOptions computeMode() { } /** - * Get the siteMode value. + * Get site mode used for this usage. * * @return the siteMode value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/VnetGatewayImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/VnetGatewayImpl.java index d4282b739f378..b7ec25d836b0c 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/VnetGatewayImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/VnetGatewayImpl.java @@ -13,13 +13,13 @@ import rx.Observable; class VnetGatewayImpl extends CreatableUpdatableImpl implements VnetGateway, VnetGateway.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String vnetName; private String gatewayName; - VnetGatewayImpl(String name, AppServiceManager manager) { + VnetGatewayImpl(String name, WebManager manager) { super(name, new VnetGatewayInner()); this.manager = manager; // Set resource name @@ -27,7 +27,7 @@ class VnetGatewayImpl extends CreatableUpdatableImpl implements VnetInfo { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String vnetName; - VnetInfoImpl(VnetInfoInner inner, AppServiceManager manager) { + VnetInfoImpl(VnetInfoInner inner, WebManager manager) { super(null, inner); this.manager = manager; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -30,7 +30,7 @@ class VnetInfoImpl extends IndexableRefreshableWrapperImpl routes() { } /** - * Get the resyncRequired value. + * Get <code>true</code> if a resync is required; otherwise, <code>false</code>. * * @return the resyncRequired value */ @@ -126,7 +128,7 @@ public Boolean resyncRequired() { } /** - * Get the dnsServers value. + * Get dNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. * * @return the dnsServers value */ @@ -135,7 +137,7 @@ public String dnsServers() { } /** - * Set the dnsServers value. + * Set dNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. * * @param dnsServers the dnsServers value to set * @return the VnetInfoInner object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/VnetRouteImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/VnetRouteImpl.java index b12e0dfccea0e..686958cbb364c 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/VnetRouteImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/VnetRouteImpl.java @@ -14,13 +14,13 @@ import com.microsoft.azure.management.appservice.v2016_09_01.RouteType; class VnetRouteImpl extends CreatableUpdatableImpl implements VnetRoute, VnetRoute.Definition, VnetRoute.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String vnetName; private String routeName; - VnetRouteImpl(String name, AppServiceManager manager) { + VnetRouteImpl(String name, WebManager manager) { super(name, new VnetRouteInner()); this.manager = manager; // Set resource name @@ -28,7 +28,7 @@ class VnetRouteImpl extends CreatableUpdatableImpl { + private AppServiceEnvironments appServiceEnvironments; + private AppServicePlans appServicePlans; + /** + * Get a Configurable instance that can be used to create WebManager with optional configuration. + * + * @return the instance allowing configurations + */ + public static Configurable configure() { + return new WebManager.ConfigurableImpl(); + } + /** + * Creates an instance of WebManager that exposes Web resource management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the WebManager + */ + public static WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return new WebManager(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 WebManager that exposes Web resource management API entry points. + * + * @param restClient the RestClient to be used for API calls. + * @param subscriptionId the subscription UUID + * @return the WebManager + */ + public static WebManager authenticate(RestClient restClient, String subscriptionId) { + return new WebManager(restClient, subscriptionId); + } + /** + * The interface allowing configurations to be set. + */ + public interface Configurable extends AzureConfigurable { + /** + * Creates an instance of WebManager that exposes Web management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the interface exposing Web management API entry points that work across subscriptions + */ + WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId); + } + + /** + * @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; + } + + /** + * The implementation for Configurable interface. + */ + private static final class ConfigurableImpl extends AzureConfigurableCoreImpl implements Configurable { + public WebManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return WebManager.authenticate(buildRestClient(credentials), subscriptionId); + } + } + private WebManager(RestClient restClient, String subscriptionId) { + super( + restClient, + subscriptionId, + new WebSiteManagementClientImpl(restClient).withSubscriptionId(subscriptionId)); + } +} diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WorkerPoolResourceInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WorkerPoolResourceInner.java index 6f9519fad5127..1a01b834396a4 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WorkerPoolResourceInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WorkerPoolResourceInner.java @@ -58,7 +58,7 @@ public class WorkerPoolResourceInner extends ProxyOnlyResource { private SkuDescription sku; /** - * Get the workerSizeId value. + * Get worker size ID for referencing this worker pool. * * @return the workerSizeId value */ @@ -67,7 +67,7 @@ public Integer workerSizeId() { } /** - * Set the workerSizeId value. + * Set worker size ID for referencing this worker pool. * * @param workerSizeId the workerSizeId value to set * @return the WorkerPoolResourceInner object itself. @@ -78,7 +78,7 @@ public WorkerPoolResourceInner withWorkerSizeId(Integer workerSizeId) { } /** - * Get the computeMode value. + * Get shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -87,7 +87,7 @@ public ComputeModeOptions computeMode() { } /** - * Set the computeMode value. + * Set shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @param computeMode the computeMode value to set * @return the WorkerPoolResourceInner object itself. @@ -98,7 +98,7 @@ public WorkerPoolResourceInner withComputeMode(ComputeModeOptions computeMode) { } /** - * Get the workerSize value. + * Get vM size of the worker pool instances. * * @return the workerSize value */ @@ -107,7 +107,7 @@ public String workerSize() { } /** - * Set the workerSize value. + * Set vM size of the worker pool instances. * * @param workerSize the workerSize value to set * @return the WorkerPoolResourceInner object itself. @@ -118,7 +118,7 @@ public WorkerPoolResourceInner withWorkerSize(String workerSize) { } /** - * Get the workerCount value. + * Get number of instances in the worker pool. * * @return the workerCount value */ @@ -127,7 +127,7 @@ public Integer workerCount() { } /** - * Set the workerCount value. + * Set number of instances in the worker pool. * * @param workerCount the workerCount value to set * @return the WorkerPoolResourceInner object itself. @@ -138,7 +138,7 @@ public WorkerPoolResourceInner withWorkerCount(Integer workerCount) { } /** - * Get the instanceNames value. + * Get names of all instances in the worker pool (read only). * * @return the instanceNames value */ diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WorkerPoolsImpl.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WorkerPoolsImpl.java index abf4e6b339914..83bdfd2081e00 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WorkerPoolsImpl.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/WorkerPoolsImpl.java @@ -16,12 +16,12 @@ import com.microsoft.azure.management.appservice.v2016_09_01.SkuDescription; class WorkerPoolsImpl extends CreatableUpdatableImpl implements WorkerPools, WorkerPools.Definition, WorkerPools.Update { - private final AppServiceManager manager; + private final WebManager manager; private String resourceGroupName; private String name; private String workerPoolName; - WorkerPoolsImpl(String name, AppServiceManager manager) { + WorkerPoolsImpl(String name, WebManager manager) { super(name, new WorkerPoolResourceInner()); this.manager = manager; // Set resource name @@ -29,7 +29,7 @@ class WorkerPoolsImpl extends CreatableUpdatableImpl - - 4.0.0 - com.microsoft.azure.appservice.v2018_02_01 - - com.microsoft.azure - azure-arm-parent - 0.0.2-beta - ../../../pom.xml - - azure-mgmt-appservice - 1.0.0-beta - jar - Microsoft Azure SDK for CertificateRegistration Management - This package contains Microsoft CertificateRegistration Management SDK. - https://github.com/Azure/azure-libraries-for-java - - - The MIT License (MIT) - http://opensource.org/licenses/MIT - repo - - - - scm:git:https://github.com/Azure/azure-libraries-for-java - scm:git:git@github.com:Azure/azure-libraries-for-java.git - HEAD - - - UTF-8 - - - - - microsoft - Microsoft - - - - - com.microsoft.azure - azure-client-runtime - - - com.microsoft.azure - azure-arm-client-runtime - - - junit - junit - test - - - com.microsoft.azure - azure-client-authentication - test - - - com.microsoft.azure - azure-mgmt-resources - test - - - com.microsoft.azure - azure-arm-client-runtime - test-jar - test - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - - true - true - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - 1.7 - 1.7 - - - com.microsoft.azure.management.apigeneration.LangDefinitionProcessor - - - true - true - - true - true - - - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.8 - - *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search - - - /** -
* Copyright (c) Microsoft Corporation. All rights reserved. -
* Licensed under the MIT License. See License.txt in the project root for -
* license information. -
*/ - ]]> -
-
-
-
-
-
+ + + 4.0.0 + com.microsoft.azure.appservice.v2018_02_01 + + com.microsoft.azure + azure-arm-parent + 0.0.2-beta + ../../../pom.xml + + azure-mgmt-certificateregistration + 1.0.0-beta + jar + Microsoft Azure SDK for CertificateRegistration Management + This package contains Microsoft CertificateRegistration Management SDK. + https://github.com/Azure/azure-libraries-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-libraries-for-java + scm:git:git@github.com:Azure/azure-libraries-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AbnormalTimePeriod.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AbnormalTimePeriod.java index 88dc8be99621c..23341bd4aa449 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AbnormalTimePeriod.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AbnormalTimePeriod.java @@ -41,7 +41,7 @@ public class AbnormalTimePeriod { private List solutions; /** - * Get the startTime value. + * Get start time of the downtime. * * @return the startTime value */ @@ -50,7 +50,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the downtime. * * @param startTime the startTime value to set * @return the AbnormalTimePeriod object itself. @@ -61,7 +61,7 @@ public AbnormalTimePeriod withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the downtime. * * @return the endTime value */ @@ -70,7 +70,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the downtime. * * @param endTime the endTime value to set * @return the AbnormalTimePeriod object itself. @@ -81,7 +81,7 @@ public AbnormalTimePeriod withEndTime(DateTime endTime) { } /** - * Get the events value. + * Get list of Possible Cause of downtime. * * @return the events value */ @@ -90,7 +90,7 @@ public List events() { } /** - * Set the events value. + * Set list of Possible Cause of downtime. * * @param events the events value to set * @return the AbnormalTimePeriod object itself. @@ -101,7 +101,7 @@ public AbnormalTimePeriod withEvents(List events) { } /** - * Get the solutions value. + * Get list of proposed solutions. * * @return the solutions value */ @@ -110,7 +110,7 @@ public List solutions() { } /** - * Set the solutions value. + * Set list of proposed solutions. * * @param solutions the solutions value to set * @return the AbnormalTimePeriod object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Address.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Address.java index f0a0b8580abd2..5459f336564bf 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Address.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Address.java @@ -51,7 +51,7 @@ public class Address { private String state; /** - * Get the address1 value. + * Get first line of an Address. * * @return the address1 value */ @@ -60,7 +60,7 @@ public String address1() { } /** - * Set the address1 value. + * Set first line of an Address. * * @param address1 the address1 value to set * @return the Address object itself. @@ -71,7 +71,7 @@ public Address withAddress1(String address1) { } /** - * Get the address2 value. + * Get the second line of the Address. Optional. * * @return the address2 value */ @@ -80,7 +80,7 @@ public String address2() { } /** - * Set the address2 value. + * Set the second line of the Address. Optional. * * @param address2 the address2 value to set * @return the Address object itself. @@ -91,7 +91,7 @@ public Address withAddress2(String address2) { } /** - * Get the city value. + * Get the city for the address. * * @return the city value */ @@ -100,7 +100,7 @@ public String city() { } /** - * Set the city value. + * Set the city for the address. * * @param city the city value to set * @return the Address object itself. @@ -111,7 +111,7 @@ public Address withCity(String city) { } /** - * Get the country value. + * Get the country for the address. * * @return the country value */ @@ -120,7 +120,7 @@ public String country() { } /** - * Set the country value. + * Set the country for the address. * * @param country the country value to set * @return the Address object itself. @@ -131,7 +131,7 @@ public Address withCountry(String country) { } /** - * Get the postalCode value. + * Get the postal code for the address. * * @return the postalCode value */ @@ -140,7 +140,7 @@ public String postalCode() { } /** - * Set the postalCode value. + * Set the postal code for the address. * * @param postalCode the postalCode value to set * @return the Address object itself. @@ -151,7 +151,7 @@ public Address withPostalCode(String postalCode) { } /** - * Get the state value. + * Get the state or province for the address. * * @return the state value */ @@ -160,7 +160,7 @@ public String state() { } /** - * Set the state value. + * Set the state or province for the address. * * @param state the state value to set * @return the Address object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AddressResponse.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AddressResponse.java index 485fc53406280..3efba1b64ced7 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AddressResponse.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisData.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisData.java index ccc030885baa1..0afda7350386d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisData.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisData.java @@ -47,7 +47,7 @@ public class AnalysisData { private ResponseMetaData detectorMetaData; /** - * Get the source value. + * Get name of the Detector. * * @return the source value */ @@ -56,7 +56,7 @@ public String source() { } /** - * Set the source value. + * Set name of the Detector. * * @param source the source value to set * @return the AnalysisData object itself. @@ -67,7 +67,7 @@ public AnalysisData withSource(String source) { } /** - * Get the detectorDefinition value. + * Get detector Definition. * * @return the detectorDefinition value */ @@ -76,7 +76,7 @@ public DetectorDefinitionInner detectorDefinition() { } /** - * Set the detectorDefinition value. + * Set detector Definition. * * @param detectorDefinition the detectorDefinition value to set * @return the AnalysisData object itself. @@ -87,7 +87,7 @@ public AnalysisData withDetectorDefinition(DetectorDefinitionInner detectorDefin } /** - * Get the metrics value. + * Get source Metrics. * * @return the metrics value */ @@ -96,7 +96,7 @@ public List metrics() { } /** - * Set the metrics value. + * Set source Metrics. * * @param metrics the metrics value to set * @return the AnalysisData object itself. @@ -107,7 +107,7 @@ public AnalysisData withMetrics(List metrics) { } /** - * Get the data value. + * Get additional Source Data. * * @return the data value */ @@ -116,7 +116,7 @@ public List> data() { } /** - * Set the data value. + * Set additional Source Data. * * @param data the data value to set * @return the AnalysisData object itself. @@ -127,7 +127,7 @@ public AnalysisData withData(List> data) { } /** - * Get the detectorMetaData value. + * Get detector Meta Data. * * @return the detectorMetaData value */ @@ -136,7 +136,7 @@ public ResponseMetaData detectorMetaData() { } /** - * Set the detectorMetaData value. + * Set detector Meta Data. * * @param detectorMetaData the detectorMetaData value to set * @return the AnalysisData object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisDefinition.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisDefinition.java index 5dca9b069cae8..13c1bc9081cbb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AnalysisDefinition.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApiDefinitionInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApiDefinitionInfo.java index 8c23d19cbd0cd..3e5114c1fd259 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApiDefinitionInfo.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApiDefinitionInfo.java @@ -21,7 +21,7 @@ public class ApiDefinitionInfo { private String url; /** - * Get the url value. + * Get the URL of the API definition. * * @return the url value */ @@ -30,7 +30,7 @@ public String url() { } /** - * Set the url value. + * Set the URL of the API definition. * * @param url the url value to set * @return the ApiDefinitionInfo object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificate.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificate.java index 6009a656d4381..0cbf344c78e24 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificate.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificate.java @@ -38,7 +38,7 @@ public class AppServiceCertificate { private KeyVaultSecretStatus provisioningState; /** - * Get the keyVaultId value. + * Get key Vault resource Id. * * @return the keyVaultId value */ @@ -47,7 +47,7 @@ public String keyVaultId() { } /** - * Set the keyVaultId value. + * Set key Vault resource Id. * * @param keyVaultId the keyVaultId value to set * @return the AppServiceCertificate object itself. @@ -58,7 +58,7 @@ public AppServiceCertificate withKeyVaultId(String keyVaultId) { } /** - * Get the keyVaultSecretName value. + * Get key Vault secret name. * * @return the keyVaultSecretName value */ @@ -67,7 +67,7 @@ public String keyVaultSecretName() { } /** - * Set the keyVaultSecretName value. + * Set key Vault secret name. * * @param keyVaultSecretName the keyVaultSecretName value to set * @return the AppServiceCertificate object itself. @@ -78,7 +78,7 @@ public AppServiceCertificate withKeyVaultSecretName(String keyVaultSecretName) { } /** - * Get the provisioningState value. + * Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'. * * @return the provisioningState value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java index 811d1d33d0def..f79ef4774fe15 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrder.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrderPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrderPatchResource.java index 57be9f459cefa..9cc14ee4cbc07 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrderPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrderPatchResource.java @@ -141,7 +141,7 @@ public class AppServiceCertificateOrderPatchResource extends ProxyOnlyResource { private DateTime nextAutoRenewalTimeStamp; /** - * Get the certificates value. + * Get state of the Key Vault secret. * * @return the certificates value */ @@ -150,7 +150,7 @@ public Map certificates() { } /** - * Set the certificates value. + * Set state of the Key Vault secret. * * @param certificates the certificates value to set * @return the AppServiceCertificateOrderPatchResource object itself. @@ -161,7 +161,7 @@ public AppServiceCertificateOrderPatchResource withCertificates(Map appServiceCertificateNotRenewableReasons() { } /** - * Get the nextAutoRenewalTimeStamp value. + * Get time stamp when the certificate would be auto renewed next. * * @return the nextAutoRenewalTimeStamp value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrders.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrders.java index f5c37bfe23291..32df8b01b3ad1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrders.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateOrders.java @@ -18,8 +18,18 @@ * Type representing AppServiceCertificateOrders. */ public interface AppServiceCertificateOrders { + /** + * Begins definition for a new CertificateOrder resource. + * @param name resource name. + * @return the first stage of the new CertificateOrder definition. + */ AppServiceCertificateOrder.DefinitionStages.Blank defineCertificateOrder(String name); + /** + * Begins definition for a new Certificate resource. + * @param name resource name. + * @return the first stage of the new Certificate definition. + */ AppServiceCertificateResource.DefinitionStages.Blank defineCertificate(String name); /** diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificatePatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificatePatchResource.java index 8c2c20ecf44f4..1d61dde92f5dd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificatePatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificatePatchResource.java @@ -41,7 +41,7 @@ public class AppServiceCertificatePatchResource extends ProxyOnlyResource { private KeyVaultSecretStatus provisioningState; /** - * Get the keyVaultId value. + * Get key Vault resource Id. * * @return the keyVaultId value */ @@ -50,7 +50,7 @@ public String keyVaultId() { } /** - * Set the keyVaultId value. + * Set key Vault resource Id. * * @param keyVaultId the keyVaultId value to set * @return the AppServiceCertificatePatchResource object itself. @@ -61,7 +61,7 @@ public AppServiceCertificatePatchResource withKeyVaultId(String keyVaultId) { } /** - * Get the keyVaultSecretName value. + * Get key Vault secret name. * * @return the keyVaultSecretName value */ @@ -70,7 +70,7 @@ public String keyVaultSecretName() { } /** - * Set the keyVaultSecretName value. + * Set key Vault secret name. * * @param keyVaultSecretName the keyVaultSecretName value to set * @return the AppServiceCertificatePatchResource object itself. @@ -81,7 +81,7 @@ public AppServiceCertificatePatchResource withKeyVaultSecretName(String keyVault } /** - * Get the provisioningState value. + * Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'. * * @return the provisioningState value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateResource.java index 87645d5070726..44cada2181ffd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceCertificateResource.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java index 5631f0b847c81..85e4aa56be023 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java @@ -260,7 +260,7 @@ public class AppServiceEnvironmentPatchResource extends ProxyOnlyResource { private Boolean hasLinuxWorkers; /** - * Get the appServiceEnvironmentPatchResourceName value. + * Get name of the App Service Environment. * * @return the appServiceEnvironmentPatchResourceName value */ @@ -269,7 +269,7 @@ public String appServiceEnvironmentPatchResourceName() { } /** - * Set the appServiceEnvironmentPatchResourceName value. + * Set name of the App Service Environment. * * @param appServiceEnvironmentPatchResourceName the appServiceEnvironmentPatchResourceName value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -280,7 +280,7 @@ public AppServiceEnvironmentPatchResource withAppServiceEnvironmentPatchResource } /** - * Get the location value. + * Get location of the App Service Environment, e.g. "West US". * * @return the location value */ @@ -289,7 +289,7 @@ public String location() { } /** - * Set the location value. + * Set location of the App Service Environment, e.g. "West US". * * @param location the location value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -300,7 +300,7 @@ public AppServiceEnvironmentPatchResource withLocation(String location) { } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -309,7 +309,7 @@ public ProvisioningState provisioningState() { } /** - * Get the status value. + * Get current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'. * * @return the status value */ @@ -318,7 +318,7 @@ public HostingEnvironmentStatus status() { } /** - * Get the vnetName value. + * Get name of the Virtual Network for the App Service Environment. * * @return the vnetName value */ @@ -327,7 +327,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set name of the Virtual Network for the App Service Environment. * * @param vnetName the vnetName value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -338,7 +338,7 @@ public AppServiceEnvironmentPatchResource withVnetName(String vnetName) { } /** - * Get the vnetResourceGroupName value. + * Get resource group of the Virtual Network. * * @return the vnetResourceGroupName value */ @@ -347,7 +347,7 @@ public String vnetResourceGroupName() { } /** - * Set the vnetResourceGroupName value. + * Set resource group of the Virtual Network. * * @param vnetResourceGroupName the vnetResourceGroupName value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -358,7 +358,7 @@ public AppServiceEnvironmentPatchResource withVnetResourceGroupName(String vnetR } /** - * Get the vnetSubnetName value. + * Get subnet of the Virtual Network. * * @return the vnetSubnetName value */ @@ -367,7 +367,7 @@ public String vnetSubnetName() { } /** - * Set the vnetSubnetName value. + * Set subnet of the Virtual Network. * * @param vnetSubnetName the vnetSubnetName value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -378,7 +378,7 @@ public AppServiceEnvironmentPatchResource withVnetSubnetName(String vnetSubnetNa } /** - * Get the virtualNetwork value. + * Get description of the Virtual Network. * * @return the virtualNetwork value */ @@ -387,7 +387,7 @@ public VirtualNetworkProfile virtualNetwork() { } /** - * Set the virtualNetwork value. + * Set description of the Virtual Network. * * @param virtualNetwork the virtualNetwork value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -398,7 +398,7 @@ public AppServiceEnvironmentPatchResource withVirtualNetwork(VirtualNetworkProfi } /** - * Get the internalLoadBalancingMode value. + * Get specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @return the internalLoadBalancingMode value */ @@ -407,7 +407,7 @@ public InternalLoadBalancingMode internalLoadBalancingMode() { } /** - * Set the internalLoadBalancingMode value. + * Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @param internalLoadBalancingMode the internalLoadBalancingMode value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -418,7 +418,7 @@ public AppServiceEnvironmentPatchResource withInternalLoadBalancingMode(Internal } /** - * Get the multiSize value. + * Get front-end VM size, e.g. "Medium", "Large". * * @return the multiSize value */ @@ -427,7 +427,7 @@ public String multiSize() { } /** - * Set the multiSize value. + * Set front-end VM size, e.g. "Medium", "Large". * * @param multiSize the multiSize value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -438,7 +438,7 @@ public AppServiceEnvironmentPatchResource withMultiSize(String multiSize) { } /** - * Get the multiRoleCount value. + * Get number of front-end instances. * * @return the multiRoleCount value */ @@ -447,7 +447,7 @@ public Integer multiRoleCount() { } /** - * Set the multiRoleCount value. + * Set number of front-end instances. * * @param multiRoleCount the multiRoleCount value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -458,7 +458,7 @@ public AppServiceEnvironmentPatchResource withMultiRoleCount(Integer multiRoleCo } /** - * Get the workerPools value. + * Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @return the workerPools value */ @@ -467,7 +467,7 @@ public List workerPools() { } /** - * Set the workerPools value. + * Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @param workerPools the workerPools value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -478,7 +478,7 @@ public AppServiceEnvironmentPatchResource withWorkerPools(List worke } /** - * Get the ipsslAddressCount value. + * Get number of IP SSL addresses reserved for the App Service Environment. * * @return the ipsslAddressCount value */ @@ -487,7 +487,7 @@ public Integer ipsslAddressCount() { } /** - * Set the ipsslAddressCount value. + * Set number of IP SSL addresses reserved for the App Service Environment. * * @param ipsslAddressCount the ipsslAddressCount value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -498,7 +498,7 @@ public AppServiceEnvironmentPatchResource withIpsslAddressCount(Integer ipsslAdd } /** - * Get the databaseEdition value. + * Get edition of the metadata database for the App Service Environment, e.g. "Standard". * * @return the databaseEdition value */ @@ -507,7 +507,7 @@ public String databaseEdition() { } /** - * Get the databaseServiceObjective value. + * Get service objective of the metadata database for the App Service Environment, e.g. "S0". * * @return the databaseServiceObjective value */ @@ -516,7 +516,7 @@ public String databaseServiceObjective() { } /** - * Get the upgradeDomains value. + * Get number of upgrade domains of the App Service Environment. * * @return the upgradeDomains value */ @@ -525,7 +525,7 @@ public Integer upgradeDomains() { } /** - * Get the subscriptionId value. + * Get subscription of the App Service Environment. * * @return the subscriptionId value */ @@ -534,7 +534,7 @@ public String subscriptionId() { } /** - * Get the dnsSuffix value. + * Get dNS suffix of the App Service Environment. * * @return the dnsSuffix value */ @@ -543,7 +543,7 @@ public String dnsSuffix() { } /** - * Set the dnsSuffix value. + * Set dNS suffix of the App Service Environment. * * @param dnsSuffix the dnsSuffix value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -554,7 +554,7 @@ public AppServiceEnvironmentPatchResource withDnsSuffix(String dnsSuffix) { } /** - * Get the lastAction value. + * Get last deployment action on the App Service Environment. * * @return the lastAction value */ @@ -563,7 +563,7 @@ public String lastAction() { } /** - * Get the lastActionResult value. + * Get result of the last deployment action on the App Service Environment. * * @return the lastActionResult value */ @@ -572,7 +572,7 @@ public String lastActionResult() { } /** - * Get the allowedMultiSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for front-ends. * * @return the allowedMultiSizes value */ @@ -581,7 +581,7 @@ public String allowedMultiSizes() { } /** - * Get the allowedWorkerSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for workers. * * @return the allowedWorkerSizes value */ @@ -590,7 +590,7 @@ public String allowedWorkerSizes() { } /** - * Get the maximumNumberOfMachines value. + * Get maximum number of VMs in the App Service Environment. * * @return the maximumNumberOfMachines value */ @@ -599,7 +599,7 @@ public Integer maximumNumberOfMachines() { } /** - * Get the vipMappings value. + * Get description of IP SSL mapping for the App Service Environment. * * @return the vipMappings value */ @@ -608,7 +608,7 @@ public List vipMappings() { } /** - * Get the environmentCapacities value. + * Get current total, used, and available worker capacities. * * @return the environmentCapacities value */ @@ -617,7 +617,7 @@ public List environmentCapacities() { } /** - * Get the networkAccessControlList value. + * Get access control list for controlling traffic to the App Service Environment. * * @return the networkAccessControlList value */ @@ -626,7 +626,7 @@ public List networkAccessControlList() { } /** - * Set the networkAccessControlList value. + * Set access control list for controlling traffic to the App Service Environment. * * @param networkAccessControlList the networkAccessControlList value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -637,7 +637,7 @@ public AppServiceEnvironmentPatchResource withNetworkAccessControlList(List clusterSettings() { } /** - * Set the clusterSettings value. + * Set custom settings for changing the behavior of the App Service Environment. * * @param clusterSettings the clusterSettings value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -773,7 +777,7 @@ public AppServiceEnvironmentPatchResource withClusterSettings(List userWhitelistedIpRanges() { } /** - * Set the userWhitelistedIpRanges value. + * Set user added ip ranges to whitelist on ASE db. * * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set * @return the AppServiceEnvironmentPatchResource object itself. @@ -793,7 +797,7 @@ public AppServiceEnvironmentPatchResource withUserWhitelistedIpRanges(List, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { +public interface AppServiceEnvironmentResource extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { /** * @return the allowedMultiSizes value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironments.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironments.java index 8b0718e9c140e..6ae9355a3a028 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironments.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironments.java @@ -24,8 +24,18 @@ * Type representing AppServiceEnvironments. */ public interface AppServiceEnvironments { + /** + * Begins definition for a new HostingEnvironment resource. + * @param name resource name. + * @return the first stage of the new HostingEnvironment definition. + */ AppServiceEnvironmentResource.DefinitionStages.Blank defineHostingEnvironment(String name); + /** + * Begins definition for a new WorkerPool resource. + * @param name resource name. + * @return the first stage of the new WorkerPool definition. + */ WorkerPools.DefinitionStages.Blank defineWorkerPool(String name); /** diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java index 68bf25f67c05e..99e5fbd19c5ff 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java @@ -10,21 +10,21 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; 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 adminSiteName value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java index 656d5f214851e..f9430a4534d1a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java @@ -131,7 +131,7 @@ public class AppServicePlanPatchResource extends ProxyOnlyResource { private ProvisioningState provisioningState; /** - * Get the workerTierName value. + * Get target worker tier assigned to the App Service plan. * * @return the workerTierName value */ @@ -140,7 +140,7 @@ public String workerTierName() { } /** - * Set the workerTierName value. + * Set target worker tier assigned to the App Service plan. * * @param workerTierName the workerTierName value to set * @return the AppServicePlanPatchResource object itself. @@ -151,7 +151,7 @@ public AppServicePlanPatchResource withWorkerTierName(String workerTierName) { } /** - * Get the status value. + * Get app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'. * * @return the status value */ @@ -160,7 +160,7 @@ public StatusOptions status() { } /** - * Get the subscription value. + * Get app Service plan subscription. * * @return the subscription value */ @@ -169,7 +169,7 @@ public String subscription() { } /** - * Get the adminSiteName value. + * Get app Service plan administration site. * * @return the adminSiteName value */ @@ -178,7 +178,7 @@ public String adminSiteName() { } /** - * Set the adminSiteName value. + * Set app Service plan administration site. * * @param adminSiteName the adminSiteName value to set * @return the AppServicePlanPatchResource object itself. @@ -189,7 +189,7 @@ public AppServicePlanPatchResource withAdminSiteName(String adminSiteName) { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the App Service plan. * * @return the hostingEnvironmentProfile value */ @@ -198,7 +198,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set specification for the App Service Environment to use for the App Service plan. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the AppServicePlanPatchResource object itself. @@ -209,7 +209,7 @@ public AppServicePlanPatchResource withHostingEnvironmentProfile(HostingEnvironm } /** - * Get the maximumNumberOfWorkers value. + * Get maximum number of instances that can be assigned to this App Service plan. * * @return the maximumNumberOfWorkers value */ @@ -218,7 +218,7 @@ public Integer maximumNumberOfWorkers() { } /** - * Get the geoRegion value. + * Get geographical location for the App Service plan. * * @return the geoRegion value */ @@ -227,7 +227,8 @@ public String geoRegion() { } /** - * Get the perSiteScaling value. + * Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @return the perSiteScaling value */ @@ -236,7 +237,8 @@ public Boolean perSiteScaling() { } /** - * Set the perSiteScaling value. + * Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @param perSiteScaling the perSiteScaling value to set * @return the AppServicePlanPatchResource object itself. @@ -247,7 +249,7 @@ public AppServicePlanPatchResource withPerSiteScaling(Boolean perSiteScaling) { } /** - * Get the numberOfSites value. + * Get number of apps assigned to this App Service plan. * * @return the numberOfSites value */ @@ -256,7 +258,7 @@ public Integer numberOfSites() { } /** - * Get the isSpot value. + * Get if <code>true</code>, this App Service Plan owns spot instances. * * @return the isSpot value */ @@ -265,7 +267,7 @@ public Boolean isSpot() { } /** - * Set the isSpot value. + * Set if <code>true</code>, this App Service Plan owns spot instances. * * @param isSpot the isSpot value to set * @return the AppServicePlanPatchResource object itself. @@ -276,7 +278,7 @@ public AppServicePlanPatchResource withIsSpot(Boolean isSpot) { } /** - * Get the spotExpirationTime value. + * Get the time when the server farm expires. Valid only if it is a spot server farm. * * @return the spotExpirationTime value */ @@ -285,7 +287,7 @@ public DateTime spotExpirationTime() { } /** - * Set the spotExpirationTime value. + * Set the time when the server farm expires. Valid only if it is a spot server farm. * * @param spotExpirationTime the spotExpirationTime value to set * @return the AppServicePlanPatchResource object itself. @@ -296,7 +298,7 @@ public AppServicePlanPatchResource withSpotExpirationTime(DateTime spotExpiratio } /** - * Get the resourceGroup value. + * Get resource group of the App Service plan. * * @return the resourceGroup value */ @@ -305,7 +307,7 @@ public String resourceGroup() { } /** - * Get the reserved value. + * Get if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @return the reserved value */ @@ -314,7 +316,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @param reserved the reserved value to set * @return the AppServicePlanPatchResource object itself. @@ -325,7 +327,7 @@ public AppServicePlanPatchResource withReserved(Boolean reserved) { } /** - * Get the isXenon value. + * Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. * * @return the isXenon value */ @@ -334,7 +336,7 @@ public Boolean isXenon() { } /** - * Set the isXenon value. + * Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. * * @param isXenon the isXenon value to set * @return the AppServicePlanPatchResource object itself. @@ -345,7 +347,7 @@ public AppServicePlanPatchResource withIsXenon(Boolean isXenon) { } /** - * Get the targetWorkerCount value. + * Get scaling worker count. * * @return the targetWorkerCount value */ @@ -354,7 +356,7 @@ public Integer targetWorkerCount() { } /** - * Set the targetWorkerCount value. + * Set scaling worker count. * * @param targetWorkerCount the targetWorkerCount value to set * @return the AppServicePlanPatchResource object itself. @@ -365,7 +367,7 @@ public AppServicePlanPatchResource withTargetWorkerCount(Integer targetWorkerCou } /** - * Get the targetWorkerSizeId value. + * Get scaling worker size ID. * * @return the targetWorkerSizeId value */ @@ -374,7 +376,7 @@ public Integer targetWorkerSizeId() { } /** - * Set the targetWorkerSizeId value. + * Set scaling worker size ID. * * @param targetWorkerSizeId the targetWorkerSizeId value to set * @return the AppServicePlanPatchResource object itself. @@ -385,7 +387,7 @@ public AppServicePlanPatchResource withTargetWorkerSizeId(Integer targetWorkerSi } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlans.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlans.java index b2a2fd46edcde..3cbd43a299c2d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlans.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlans.java @@ -24,8 +24,18 @@ * Type representing AppServicePlans. */ public interface AppServicePlans { + /** + * Begins definition for a new Serverfarm resource. + * @param name resource name. + * @return the first stage of the new Serverfarm definition. + */ AppServicePlan.DefinitionStages.Blank defineServerfarm(String name); + /** + * Begins definition for a new Route resource. + * @param name resource name. + * @return the first stage of the new Route definition. + */ VnetRoute.DefinitionStages.Blank defineRoute(String name); /** diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationLogsConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationLogsConfig.java index ea50b6bad000b..5eb2cf276a54a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationLogsConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationLogsConfig.java @@ -33,7 +33,7 @@ public class ApplicationLogsConfig { private AzureBlobStorageApplicationLogsConfig azureBlobStorage; /** - * Get the fileSystem value. + * Get application logs to file system configuration. * * @return the fileSystem value */ @@ -42,7 +42,7 @@ public FileSystemApplicationLogsConfig fileSystem() { } /** - * Set the fileSystem value. + * Set application logs to file system configuration. * * @param fileSystem the fileSystem value to set * @return the ApplicationLogsConfig object itself. @@ -53,7 +53,7 @@ public ApplicationLogsConfig withFileSystem(FileSystemApplicationLogsConfig file } /** - * Get the azureTableStorage value. + * Get application logs to azure table storage configuration. * * @return the azureTableStorage value */ @@ -62,7 +62,7 @@ public AzureTableStorageApplicationLogsConfig azureTableStorage() { } /** - * Set the azureTableStorage value. + * Set application logs to azure table storage configuration. * * @param azureTableStorage the azureTableStorage value to set * @return the ApplicationLogsConfig object itself. @@ -73,7 +73,7 @@ public ApplicationLogsConfig withAzureTableStorage(AzureTableStorageApplicationL } /** - * Get the azureBlobStorage value. + * Get application logs to blob storage configuration. * * @return the azureBlobStorage value */ @@ -82,7 +82,7 @@ public AzureBlobStorageApplicationLogsConfig azureBlobStorage() { } /** - * Set the azureBlobStorage value. + * Set application logs to blob storage configuration. * * @param azureBlobStorage the azureBlobStorage value to set * @return the ApplicationLogsConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationStack.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationStack.java index 18b4e53491e21..cc133eae793c1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ApplicationStack.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealActions.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealActions.java index 9cac4fb9bb51f..c53a6a05bd2d9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealActions.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealActions.java @@ -35,7 +35,7 @@ public class AutoHealActions { private String minProcessExecutionTime; /** - * Get the actionType value. + * Get predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'. * * @return the actionType value */ @@ -44,7 +44,7 @@ public AutoHealActionType actionType() { } /** - * Set the actionType value. + * Set predefined action to be taken. Possible values include: 'Recycle', 'LogEvent', 'CustomAction'. * * @param actionType the actionType value to set * @return the AutoHealActions object itself. @@ -55,7 +55,7 @@ public AutoHealActions withActionType(AutoHealActionType actionType) { } /** - * Get the customAction value. + * Get custom action to be taken. * * @return the customAction value */ @@ -64,7 +64,7 @@ public AutoHealCustomAction customAction() { } /** - * Set the customAction value. + * Set custom action to be taken. * * @param customAction the customAction value to set * @return the AutoHealActions object itself. @@ -75,7 +75,8 @@ public AutoHealActions withCustomAction(AutoHealCustomAction customAction) { } /** - * Get the minProcessExecutionTime value. + * Get minimum time the process must execute + before taking the action. * * @return the minProcessExecutionTime value */ @@ -84,7 +85,8 @@ public String minProcessExecutionTime() { } /** - * Set the minProcessExecutionTime value. + * Set minimum time the process must execute + before taking the action. * * @param minProcessExecutionTime the minProcessExecutionTime value to set * @return the AutoHealActions object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealCustomAction.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealCustomAction.java index 82e1ada949b46..341b6a4dbaa4d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealCustomAction.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealCustomAction.java @@ -28,7 +28,7 @@ public class AutoHealCustomAction { private String parameters; /** - * Get the exe value. + * Get executable to be run. * * @return the exe value */ @@ -37,7 +37,7 @@ public String exe() { } /** - * Set the exe value. + * Set executable to be run. * * @param exe the exe value to set * @return the AutoHealCustomAction object itself. @@ -48,7 +48,7 @@ public AutoHealCustomAction withExe(String exe) { } /** - * Get the parameters value. + * Get parameters for the executable. * * @return the parameters value */ @@ -57,7 +57,7 @@ public String parameters() { } /** - * Set the parameters value. + * Set parameters for the executable. * * @param parameters the parameters value to set * @return the AutoHealCustomAction object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealRules.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealRules.java index 2b7d3bd441d32..9ce64d72297ac 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealRules.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealRules.java @@ -27,7 +27,7 @@ public class AutoHealRules { private AutoHealActions actions; /** - * Get the triggers value. + * Get conditions that describe when to execute the auto-heal actions. * * @return the triggers value */ @@ -36,7 +36,7 @@ public AutoHealTriggers triggers() { } /** - * Set the triggers value. + * Set conditions that describe when to execute the auto-heal actions. * * @param triggers the triggers value to set * @return the AutoHealRules object itself. @@ -47,7 +47,7 @@ public AutoHealRules withTriggers(AutoHealTriggers triggers) { } /** - * Get the actions value. + * Get actions to be executed when a rule is triggered. * * @return the actions value */ @@ -56,7 +56,7 @@ public AutoHealActions actions() { } /** - * Set the actions value. + * Set actions to be executed when a rule is triggered. * * @param actions the actions value to set * @return the AutoHealRules object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealTriggers.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealTriggers.java index 447e96fb4bd9f..82569ed5f774f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealTriggers.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AutoHealTriggers.java @@ -40,7 +40,7 @@ public class AutoHealTriggers { private SlowRequestsBasedTrigger slowRequests; /** - * Get the requests value. + * Get a rule based on total requests. * * @return the requests value */ @@ -49,7 +49,7 @@ public RequestsBasedTrigger requests() { } /** - * Set the requests value. + * Set a rule based on total requests. * * @param requests the requests value to set * @return the AutoHealTriggers object itself. @@ -60,7 +60,7 @@ public AutoHealTriggers withRequests(RequestsBasedTrigger requests) { } /** - * Get the privateBytesInKB value. + * Get a rule based on private bytes. * * @return the privateBytesInKB value */ @@ -69,7 +69,7 @@ public Integer privateBytesInKB() { } /** - * Set the privateBytesInKB value. + * Set a rule based on private bytes. * * @param privateBytesInKB the privateBytesInKB value to set * @return the AutoHealTriggers object itself. @@ -80,7 +80,7 @@ public AutoHealTriggers withPrivateBytesInKB(Integer privateBytesInKB) { } /** - * Get the statusCodes value. + * Get a rule based on status codes. * * @return the statusCodes value */ @@ -89,7 +89,7 @@ public List statusCodes() { } /** - * Set the statusCodes value. + * Set a rule based on status codes. * * @param statusCodes the statusCodes value to set * @return the AutoHealTriggers object itself. @@ -100,7 +100,7 @@ public AutoHealTriggers withStatusCodes(List statusCode } /** - * Get the slowRequests value. + * Get a rule based on request execution time. * * @return the slowRequests value */ @@ -109,7 +109,7 @@ public SlowRequestsBasedTrigger slowRequests() { } /** - * Set the slowRequests value. + * Set a rule based on request execution time. * * @param slowRequests the slowRequests value to set * @return the AutoHealTriggers object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureBlobStorageApplicationLogsConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureBlobStorageApplicationLogsConfig.java index 198e52b54286d..28ec58329eebb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureBlobStorageApplicationLogsConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureBlobStorageApplicationLogsConfig.java @@ -37,7 +37,7 @@ public class AzureBlobStorageApplicationLogsConfig { private Integer retentionInDays; /** - * Get the level value. + * Get log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @return the level value */ @@ -46,7 +46,7 @@ public LogLevel level() { } /** - * Set the level value. + * Set log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @param level the level value to set * @return the AzureBlobStorageApplicationLogsConfig object itself. @@ -57,7 +57,7 @@ public AzureBlobStorageApplicationLogsConfig withLevel(LogLevel level) { } /** - * Get the sasUrl value. + * Get sAS url to a azure blob container with read/write/list/delete permissions. * * @return the sasUrl value */ @@ -66,7 +66,7 @@ public String sasUrl() { } /** - * Set the sasUrl value. + * Set sAS url to a azure blob container with read/write/list/delete permissions. * * @param sasUrl the sasUrl value to set * @return the AzureBlobStorageApplicationLogsConfig object itself. @@ -77,7 +77,9 @@ public AzureBlobStorageApplicationLogsConfig withSasUrl(String sasUrl) { } /** - * Get the retentionInDays value. + * Get retention in days. + Remove blobs older than X days. + 0 or lower means no retention. * * @return the retentionInDays value */ @@ -86,7 +88,9 @@ public Integer retentionInDays() { } /** - * Set the retentionInDays value. + * Set retention in days. + Remove blobs older than X days. + 0 or lower means no retention. * * @param retentionInDays the retentionInDays value to set * @return the AzureBlobStorageApplicationLogsConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureBlobStorageHttpLogsConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureBlobStorageHttpLogsConfig.java index b5d98fa272d4e..f2f8c2ec0ebf4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureBlobStorageHttpLogsConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureBlobStorageHttpLogsConfig.java @@ -37,7 +37,7 @@ public class AzureBlobStorageHttpLogsConfig { private Boolean enabled; /** - * Get the sasUrl value. + * Get sAS url to a azure blob container with read/write/list/delete permissions. * * @return the sasUrl value */ @@ -46,7 +46,7 @@ public String sasUrl() { } /** - * Set the sasUrl value. + * Set sAS url to a azure blob container with read/write/list/delete permissions. * * @param sasUrl the sasUrl value to set * @return the AzureBlobStorageHttpLogsConfig object itself. @@ -57,7 +57,9 @@ public AzureBlobStorageHttpLogsConfig withSasUrl(String sasUrl) { } /** - * Get the retentionInDays value. + * Get retention in days. + Remove blobs older than X days. + 0 or lower means no retention. * * @return the retentionInDays value */ @@ -66,7 +68,9 @@ public Integer retentionInDays() { } /** - * Set the retentionInDays value. + * Set retention in days. + Remove blobs older than X days. + 0 or lower means no retention. * * @param retentionInDays the retentionInDays value to set * @return the AzureBlobStorageHttpLogsConfig object itself. @@ -77,7 +81,7 @@ public AzureBlobStorageHttpLogsConfig withRetentionInDays(Integer retentionInDay } /** - * Get the enabled value. + * Get true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @return the enabled value */ @@ -86,7 +90,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @param enabled the enabled value to set * @return the AzureBlobStorageHttpLogsConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureTableStorageApplicationLogsConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureTableStorageApplicationLogsConfig.java index ed51108e578e1..a5f4726dea305 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureTableStorageApplicationLogsConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureTableStorageApplicationLogsConfig.java @@ -28,7 +28,7 @@ public class AzureTableStorageApplicationLogsConfig { private String sasUrl; /** - * Get the level value. + * Get log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @return the level value */ @@ -37,7 +37,7 @@ public LogLevel level() { } /** - * Set the level value. + * Set log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @param level the level value to set * @return the AzureTableStorageApplicationLogsConfig object itself. @@ -48,7 +48,7 @@ public AzureTableStorageApplicationLogsConfig withLevel(LogLevel level) { } /** - * Get the sasUrl value. + * Get sAS URL to an Azure table with add/query/delete permissions. * * @return the sasUrl value */ @@ -57,7 +57,7 @@ public String sasUrl() { } /** - * Set the sasUrl value. + * Set sAS URL to an Azure table with add/query/delete permissions. * * @param sasUrl the sasUrl value to set * @return the AzureTableStorageApplicationLogsConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupItem.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupItem.java index 767b07a6d6120..2e187093296af 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupItem.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java index 85afa6e8bf611..9abce3c796a20 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java +++ b/appservice/resource-manager/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 backupSchedule value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupSchedule.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupSchedule.java index 8a724578b8f9d..955fe1ce89c3d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupSchedule.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupSchedule.java @@ -57,7 +57,7 @@ public class BackupSchedule { private DateTime lastExecutionTime; /** - * Get the frequencyInterval value. + * Get how often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day). * * @return the frequencyInterval value */ @@ -66,7 +66,7 @@ public int frequencyInterval() { } /** - * Set the frequencyInterval value. + * Set how often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day). * * @param frequencyInterval the frequencyInterval value to set * @return the BackupSchedule object itself. @@ -77,7 +77,7 @@ public BackupSchedule withFrequencyInterval(int frequencyInterval) { } /** - * Get the frequencyUnit value. + * Get the unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'Day', 'Hour'. * * @return the frequencyUnit value */ @@ -86,7 +86,7 @@ public FrequencyUnit frequencyUnit() { } /** - * Set the frequencyUnit value. + * Set the unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7). Possible values include: 'Day', 'Hour'. * * @param frequencyUnit the frequencyUnit value to set * @return the BackupSchedule object itself. @@ -97,7 +97,7 @@ public BackupSchedule withFrequencyUnit(FrequencyUnit frequencyUnit) { } /** - * Get the keepAtLeastOneBackup value. + * Get true if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. * * @return the keepAtLeastOneBackup value */ @@ -106,7 +106,7 @@ public boolean keepAtLeastOneBackup() { } /** - * Set the keepAtLeastOneBackup value. + * Set true if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. * * @param keepAtLeastOneBackup the keepAtLeastOneBackup value to set * @return the BackupSchedule object itself. @@ -117,7 +117,7 @@ public BackupSchedule withKeepAtLeastOneBackup(boolean keepAtLeastOneBackup) { } /** - * Get the retentionPeriodInDays value. + * Get after how many days backups should be deleted. * * @return the retentionPeriodInDays value */ @@ -126,7 +126,7 @@ public int retentionPeriodInDays() { } /** - * Set the retentionPeriodInDays value. + * Set after how many days backups should be deleted. * * @param retentionPeriodInDays the retentionPeriodInDays value to set * @return the BackupSchedule object itself. @@ -137,7 +137,7 @@ public BackupSchedule withRetentionPeriodInDays(int retentionPeriodInDays) { } /** - * Get the startTime value. + * Get when the schedule should start working. * * @return the startTime value */ @@ -146,7 +146,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set when the schedule should start working. * * @param startTime the startTime value to set * @return the BackupSchedule object itself. @@ -157,7 +157,7 @@ public BackupSchedule withStartTime(DateTime startTime) { } /** - * Get the lastExecutionTime value. + * Get last time when this schedule was triggered. * * @return the lastExecutionTime value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Capability.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Capability.java index 23ab99b93c692..981235c3bd299 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Capability.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Certificate.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Certificate.java index 9a54949bf55f9..0785bb364122e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Certificate.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Certificate.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateDetails.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateDetails.java index b41c3309c5e71..0a69f2aa80e99 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateDetails.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateDetails.java @@ -70,7 +70,7 @@ public class CertificateDetails { private String rawData; /** - * Get the version value. + * Get certificate Version. * * @return the version value */ @@ -79,7 +79,7 @@ public Integer version() { } /** - * Get the serialNumber value. + * Get certificate Serial Number. * * @return the serialNumber value */ @@ -88,7 +88,7 @@ public String serialNumber() { } /** - * Get the thumbprint value. + * Get certificate Thumbprint. * * @return the thumbprint value */ @@ -97,7 +97,7 @@ public String thumbprint() { } /** - * Get the subject value. + * Get certificate Subject. * * @return the subject value */ @@ -106,7 +106,7 @@ public String subject() { } /** - * Get the notBefore value. + * Get date Certificate is valid from. * * @return the notBefore value */ @@ -115,7 +115,7 @@ public DateTime notBefore() { } /** - * Get the notAfter value. + * Get date Certificate is valid to. * * @return the notAfter value */ @@ -124,7 +124,7 @@ public DateTime notAfter() { } /** - * Get the signatureAlgorithm value. + * Get certificate Signature algorithm. * * @return the signatureAlgorithm value */ @@ -133,7 +133,7 @@ public String signatureAlgorithm() { } /** - * Get the issuer value. + * Get certificate Issuer. * * @return the issuer value */ @@ -142,7 +142,7 @@ public String issuer() { } /** - * Get the rawData value. + * Get raw certificate data. * * @return the rawData value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateEmail.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateEmail.java index ec80ed12a7a7d..ee41cf862967f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateEmail.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateOrderAction.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateOrderAction.java index 685e37dba2288..fb19f2476ace9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificateOrderAction.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificatePatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificatePatchResource.java index 949017adda466..61bca650c9319 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificatePatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificatePatchResource.java @@ -140,7 +140,7 @@ public class CertificatePatchResource extends ProxyOnlyResource { private String serverFarmId; /** - * Get the friendlyName value. + * Get friendly name of the certificate. * * @return the friendlyName value */ @@ -149,7 +149,7 @@ public String friendlyName() { } /** - * Get the subjectName value. + * Get subject name of the certificate. * * @return the subjectName value */ @@ -158,7 +158,7 @@ public String subjectName() { } /** - * Get the hostNames value. + * Get host names the certificate applies to. * * @return the hostNames value */ @@ -167,7 +167,7 @@ public List hostNames() { } /** - * Set the hostNames value. + * Set host names the certificate applies to. * * @param hostNames the hostNames value to set * @return the CertificatePatchResource object itself. @@ -178,7 +178,7 @@ public CertificatePatchResource withHostNames(List hostNames) { } /** - * Get the pfxBlob value. + * Get pfx blob. * * @return the pfxBlob value */ @@ -187,7 +187,7 @@ public byte[] pfxBlob() { } /** - * Set the pfxBlob value. + * Set pfx blob. * * @param pfxBlob the pfxBlob value to set * @return the CertificatePatchResource object itself. @@ -198,7 +198,7 @@ public CertificatePatchResource withPfxBlob(byte[] pfxBlob) { } /** - * Get the siteName value. + * Get app name. * * @return the siteName value */ @@ -207,7 +207,7 @@ public String siteName() { } /** - * Get the selfLink value. + * Get self link. * * @return the selfLink value */ @@ -216,7 +216,7 @@ public String selfLink() { } /** - * Get the issuer value. + * Get certificate issuer. * * @return the issuer value */ @@ -225,7 +225,7 @@ public String issuer() { } /** - * Get the issueDate value. + * Get certificate issue Date. * * @return the issueDate value */ @@ -234,7 +234,7 @@ public DateTime issueDate() { } /** - * Get the expirationDate value. + * Get certificate expriration date. * * @return the expirationDate value */ @@ -243,7 +243,7 @@ public DateTime expirationDate() { } /** - * Get the password value. + * Get certificate password. * * @return the password value */ @@ -252,7 +252,7 @@ public String password() { } /** - * Set the password value. + * Set certificate password. * * @param password the password value to set * @return the CertificatePatchResource object itself. @@ -263,7 +263,7 @@ public CertificatePatchResource withPassword(String password) { } /** - * Get the thumbprint value. + * Get certificate thumbprint. * * @return the thumbprint value */ @@ -272,7 +272,7 @@ public String thumbprint() { } /** - * Get the valid value. + * Get is the certificate valid?. * * @return the valid value */ @@ -281,7 +281,7 @@ public Boolean valid() { } /** - * Get the cerBlob value. + * Get raw bytes of .cer file. * * @return the cerBlob value */ @@ -290,7 +290,7 @@ public byte[] cerBlob() { } /** - * Get the publicKeyHash value. + * Get public key hash. * * @return the publicKeyHash value */ @@ -299,7 +299,7 @@ public String publicKeyHash() { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the certificate. * * @return the hostingEnvironmentProfile value */ @@ -308,7 +308,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Get the keyVaultId value. + * Get key Vault Csm resource Id. * * @return the keyVaultId value */ @@ -317,7 +317,7 @@ public String keyVaultId() { } /** - * Set the keyVaultId value. + * Set key Vault Csm resource Id. * * @param keyVaultId the keyVaultId value to set * @return the CertificatePatchResource object itself. @@ -328,7 +328,7 @@ public CertificatePatchResource withKeyVaultId(String keyVaultId) { } /** - * Get the keyVaultSecretName value. + * Get key Vault secret name. * * @return the keyVaultSecretName value */ @@ -337,7 +337,7 @@ public String keyVaultSecretName() { } /** - * Set the keyVaultSecretName value. + * Set key Vault secret name. * * @param keyVaultSecretName the keyVaultSecretName value to set * @return the CertificatePatchResource object itself. @@ -348,7 +348,7 @@ public CertificatePatchResource withKeyVaultSecretName(String keyVaultSecretName } /** - * Get the keyVaultSecretStatus value. + * Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'. * * @return the keyVaultSecretStatus value */ @@ -357,7 +357,7 @@ public KeyVaultSecretStatus keyVaultSecretStatus() { } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -366,7 +366,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the CertificatePatchResource object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CloningInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CloningInfo.java index dde4d3a1572a3..1b83ae16d6c9d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CloningInfo.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CloningInfo.java @@ -93,7 +93,8 @@ public class CloningInfo { private String trafficManagerProfileName; /** - * Get the correlationId value. + * Get correlation ID of cloning operation. This ID ties multiple cloning operations + together to use the same snapshot. * * @return the correlationId value */ @@ -102,7 +103,8 @@ public UUID correlationId() { } /** - * Set the correlationId value. + * Set correlation ID of cloning operation. This ID ties multiple cloning operations + together to use the same snapshot. * * @param correlationId the correlationId value to set * @return the CloningInfo object itself. @@ -113,7 +115,7 @@ public CloningInfo withCorrelationId(UUID correlationId) { } /** - * Get the overwrite value. + * Get <code>true</code> to overwrite destination app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -122,7 +124,7 @@ public Boolean overwrite() { } /** - * Set the overwrite value. + * Set <code>true</code> to overwrite destination app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the CloningInfo object itself. @@ -133,7 +135,7 @@ public CloningInfo withOverwrite(Boolean overwrite) { } /** - * Get the cloneCustomHostNames value. + * Get <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. * * @return the cloneCustomHostNames value */ @@ -142,7 +144,7 @@ public Boolean cloneCustomHostNames() { } /** - * Set the cloneCustomHostNames value. + * Set <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. * * @param cloneCustomHostNames the cloneCustomHostNames value to set * @return the CloningInfo object itself. @@ -153,7 +155,7 @@ public CloningInfo withCloneCustomHostNames(Boolean cloneCustomHostNames) { } /** - * Get the cloneSourceControl value. + * Get <code>true</code> to clone source control from source app; otherwise, <code>false</code>. * * @return the cloneSourceControl value */ @@ -162,7 +164,7 @@ public Boolean cloneSourceControl() { } /** - * Set the cloneSourceControl value. + * Set <code>true</code> to clone source control from source app; otherwise, <code>false</code>. * * @param cloneSourceControl the cloneSourceControl value to set * @return the CloningInfo object itself. @@ -173,7 +175,9 @@ public CloningInfo withCloneSourceControl(Boolean cloneSourceControl) { } /** - * Get the sourceWebAppId value. + * Get aRM resource ID of the source app. App resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the sourceWebAppId value */ @@ -182,7 +186,9 @@ public String sourceWebAppId() { } /** - * Set the sourceWebAppId value. + * Set aRM resource ID of the source app. App resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param sourceWebAppId the sourceWebAppId value to set * @return the CloningInfo object itself. @@ -193,7 +199,7 @@ public CloningInfo withSourceWebAppId(String sourceWebAppId) { } /** - * Get the hostingEnvironment value. + * Get app Service Environment. * * @return the hostingEnvironment value */ @@ -202,7 +208,7 @@ public String hostingEnvironment() { } /** - * Set the hostingEnvironment value. + * Set app Service Environment. * * @param hostingEnvironment the hostingEnvironment value to set * @return the CloningInfo object itself. @@ -213,7 +219,8 @@ public CloningInfo withHostingEnvironment(String hostingEnvironment) { } /** - * Get the appSettingsOverrides value. + * Get application setting overrides for cloned app. If specified, these settings override the settings cloned + from source app. Otherwise, application settings from source app are retained. * * @return the appSettingsOverrides value */ @@ -222,7 +229,8 @@ public Map appSettingsOverrides() { } /** - * Set the appSettingsOverrides value. + * Set application setting overrides for cloned app. If specified, these settings override the settings cloned + from source app. Otherwise, application settings from source app are retained. * * @param appSettingsOverrides the appSettingsOverrides value to set * @return the CloningInfo object itself. @@ -233,7 +241,7 @@ public CloningInfo withAppSettingsOverrides(Map appSettingsOverr } /** - * Get the configureLoadBalancing value. + * Get <code>true</code> to configure load balancing for source and destination app. * * @return the configureLoadBalancing value */ @@ -242,7 +250,7 @@ public Boolean configureLoadBalancing() { } /** - * Set the configureLoadBalancing value. + * Set <code>true</code> to configure load balancing for source and destination app. * * @param configureLoadBalancing the configureLoadBalancing value to set * @return the CloningInfo object itself. @@ -253,7 +261,8 @@ public CloningInfo withConfigureLoadBalancing(Boolean configureLoadBalancing) { } /** - * Get the trafficManagerProfileId value. + * Get aRM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. * * @return the trafficManagerProfileId value */ @@ -262,7 +271,8 @@ public String trafficManagerProfileId() { } /** - * Set the trafficManagerProfileId value. + * Set aRM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. * * @param trafficManagerProfileId the trafficManagerProfileId value to set * @return the CloningInfo object itself. @@ -273,7 +283,7 @@ public CloningInfo withTrafficManagerProfileId(String trafficManagerProfileId) { } /** - * Get the trafficManagerProfileName value. + * Get name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. * * @return the trafficManagerProfileName value */ @@ -282,7 +292,7 @@ public String trafficManagerProfileName() { } /** - * Set the trafficManagerProfileName value. + * Set name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. * * @param trafficManagerProfileName the trafficManagerProfileName value to set * @return the CloningInfo object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnStringInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnStringInfo.java index 36ebf98f84545..dc54affb04f86 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnStringInfo.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnStringInfo.java @@ -35,7 +35,7 @@ public class ConnStringInfo { private ConnectionStringType type; /** - * Get the name value. + * Get name of connection string. * * @return the name value */ @@ -44,7 +44,7 @@ public String name() { } /** - * Set the name value. + * Set name of connection string. * * @param name the name value to set * @return the ConnStringInfo object itself. @@ -55,7 +55,7 @@ public ConnStringInfo withName(String name) { } /** - * Get the connectionString value. + * Get connection string value. * * @return the connectionString value */ @@ -64,7 +64,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set connection string value. * * @param connectionString the connectionString value to set * @return the ConnStringInfo object itself. @@ -75,7 +75,7 @@ public ConnStringInfo withConnectionString(String connectionString) { } /** - * Get the type value. + * Get type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @return the type value */ @@ -84,7 +84,7 @@ public ConnectionStringType type() { } /** - * Set the type value. + * Set type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @param type the type value to set * @return the ConnStringInfo object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnStringValueTypePair.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnStringValueTypePair.java index 8b65eb6a536a7..4d94179529ace 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnStringValueTypePair.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnStringValueTypePair.java @@ -29,7 +29,7 @@ public class ConnStringValueTypePair { private ConnectionStringType type; /** - * Get the value value. + * Get value of pair. * * @return the value value */ @@ -38,7 +38,7 @@ public String value() { } /** - * Set the value value. + * Set value of pair. * * @param value the value value to set * @return the ConnStringValueTypePair object itself. @@ -49,7 +49,7 @@ public ConnStringValueTypePair withValue(String value) { } /** - * Get the type value. + * Get type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @return the type value */ @@ -58,7 +58,7 @@ public ConnectionStringType type() { } /** - * Set the type value. + * Set type of database. Possible values include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub', 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'. * * @param type the type value to set * @return the ConnStringValueTypePair object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnectionStringDictionary.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnectionStringDictionary.java index 8ea9f5b96d859..01ba2521405b8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ConnectionStringDictionary.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Contact.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Contact.java index 7f29732bb45d8..05fdbbdf72b9e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Contact.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Contact.java @@ -72,7 +72,7 @@ public class Contact { private String phone; /** - * Get the addressMailing value. + * Get mailing address. * * @return the addressMailing value */ @@ -81,7 +81,7 @@ public Address addressMailing() { } /** - * Set the addressMailing value. + * Set mailing address. * * @param addressMailing the addressMailing value to set * @return the Contact object itself. @@ -92,7 +92,7 @@ public Contact withAddressMailing(Address addressMailing) { } /** - * Get the email value. + * Get email address. * * @return the email value */ @@ -101,7 +101,7 @@ public String email() { } /** - * Set the email value. + * Set email address. * * @param email the email value to set * @return the Contact object itself. @@ -112,7 +112,7 @@ public Contact withEmail(String email) { } /** - * Get the fax value. + * Get fax number. * * @return the fax value */ @@ -121,7 +121,7 @@ public String fax() { } /** - * Set the fax value. + * Set fax number. * * @param fax the fax value to set * @return the Contact object itself. @@ -132,7 +132,7 @@ public Contact withFax(String fax) { } /** - * Get the jobTitle value. + * Get job title. * * @return the jobTitle value */ @@ -141,7 +141,7 @@ public String jobTitle() { } /** - * Set the jobTitle value. + * Set job title. * * @param jobTitle the jobTitle value to set * @return the Contact object itself. @@ -152,7 +152,7 @@ public Contact withJobTitle(String jobTitle) { } /** - * Get the nameFirst value. + * Get first name. * * @return the nameFirst value */ @@ -161,7 +161,7 @@ public String nameFirst() { } /** - * Set the nameFirst value. + * Set first name. * * @param nameFirst the nameFirst value to set * @return the Contact object itself. @@ -172,7 +172,7 @@ public Contact withNameFirst(String nameFirst) { } /** - * Get the nameLast value. + * Get last name. * * @return the nameLast value */ @@ -181,7 +181,7 @@ public String nameLast() { } /** - * Set the nameLast value. + * Set last name. * * @param nameLast the nameLast value to set * @return the Contact object itself. @@ -192,7 +192,7 @@ public Contact withNameLast(String nameLast) { } /** - * Get the nameMiddle value. + * Get middle name. * * @return the nameMiddle value */ @@ -201,7 +201,7 @@ public String nameMiddle() { } /** - * Set the nameMiddle value. + * Set middle name. * * @param nameMiddle the nameMiddle value to set * @return the Contact object itself. @@ -212,7 +212,7 @@ public Contact withNameMiddle(String nameMiddle) { } /** - * Get the organization value. + * Get organization contact belongs to. * * @return the organization value */ @@ -221,7 +221,7 @@ public String organization() { } /** - * Set the organization value. + * Set organization contact belongs to. * * @param organization the organization value to set * @return the Contact object itself. @@ -232,7 +232,7 @@ public Contact withOrganization(String organization) { } /** - * Get the phone value. + * Get phone number. * * @return the phone value */ @@ -241,7 +241,7 @@ public String phone() { } /** - * Set the phone value. + * Set phone number. * * @param phone the phone value to set * @return the Contact object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ContinuousWebJob.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ContinuousWebJob.java index 050f23d6af47f..552176beb2660 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ContinuousWebJob.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CorsSettings.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CorsSettings.java index 3d77dcc18230a..fa7d031a3c4e9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CorsSettings.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CorsSettings.java @@ -24,7 +24,8 @@ public class CorsSettings { private List allowedOrigins; /** - * Get the allowedOrigins value. + * Get gets or sets the list of origins that should be allowed to make cross-origin + calls (for example: http://example.com:12345). Use "*" to allow all. * * @return the allowedOrigins value */ @@ -33,7 +34,8 @@ public List allowedOrigins() { } /** - * Set the allowedOrigins value. + * Set gets or sets the list of origins that should be allowed to make cross-origin + calls (for example: http://example.com:12345). Use "*" to allow all. * * @param allowedOrigins the allowedOrigins value to set * @return the CorsSettings object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmOperationDescription.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmOperationDescription.java index 75a13a49e2e82..2079a42710656 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmOperationDescription.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmPublishingProfileOptions.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmPublishingProfileOptions.java index 1ee2d169fd957..9d6f9e7e6eb62 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmPublishingProfileOptions.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmPublishingProfileOptions.java @@ -24,7 +24,10 @@ public class CsmPublishingProfileOptions { private PublishingProfileFormat format; /** - * Get the format value. + * Get name of the format. Valid values are: + FileZilla3 + WebDeploy -- default + Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'. * * @return the format value */ @@ -33,7 +36,10 @@ public PublishingProfileFormat format() { } /** - * Set the format value. + * Set name of the format. Valid values are: + FileZilla3 + WebDeploy -- default + Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp'. * * @param format the format value to set * @return the CsmPublishingProfileOptions object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmSlotEntity.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmSlotEntity.java index 0f73bfc5152ff..a54f6269a5b44 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmSlotEntity.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmSlotEntity.java @@ -28,7 +28,7 @@ public class CsmSlotEntity { private boolean preserveVnet; /** - * Get the targetSlot value. + * Get destination deployment slot during swap operation. * * @return the targetSlot value */ @@ -37,7 +37,7 @@ public String targetSlot() { } /** - * Set the targetSlot value. + * Set destination deployment slot during swap operation. * * @param targetSlot the targetSlot value to set * @return the CsmSlotEntity object itself. @@ -48,7 +48,7 @@ public CsmSlotEntity withTargetSlot(String targetSlot) { } /** - * Get the preserveVnet value. + * Get <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>. * * @return the preserveVnet value */ @@ -57,7 +57,7 @@ public boolean preserveVnet() { } /** - * Set the preserveVnet value. + * Set <code>true</code> to preserve Virtual Network to the slot during swap; otherwise, <code>false</code>. * * @param preserveVnet the preserveVnet value to set * @return the CsmSlotEntity object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CustomHostnameAnalysisResult.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CustomHostnameAnalysisResult.java index 031ab18d82d50..44100102734cf 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CustomHostnameAnalysisResult.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataSource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataSource.java index 706070a1194f7..6f7ed3d7faa87 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataSource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataSource.java @@ -28,7 +28,7 @@ public class DataSource { private List dataSourceUri; /** - * Get the instructions value. + * Get instrunctions if any for the data source. * * @return the instructions value */ @@ -37,7 +37,7 @@ public List instructions() { } /** - * Set the instructions value. + * Set instrunctions if any for the data source. * * @param instructions the instructions value to set * @return the DataSource object itself. @@ -48,7 +48,7 @@ public DataSource withInstructions(List instructions) { } /** - * Get the dataSourceUri value. + * Get datasource Uri Links. * * @return the dataSourceUri value */ @@ -57,7 +57,7 @@ public List dataSourceUri() { } /** - * Set the dataSourceUri value. + * Set datasource Uri Links. * * @param dataSourceUri the dataSourceUri value to set * @return the DataSource object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DatabaseBackupSetting.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DatabaseBackupSetting.java index a933f084325af..00d0ada093dcb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DatabaseBackupSetting.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DatabaseBackupSetting.java @@ -44,7 +44,7 @@ public class DatabaseBackupSetting { private String connectionString; /** - * Get the databaseType value. + * Get database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'. * * @return the databaseType value */ @@ -53,7 +53,7 @@ public DatabaseType databaseType() { } /** - * Set the databaseType value. + * Set database type (e.g. SqlAzure / MySql). Possible values include: 'SqlAzure', 'MySql', 'LocalMySql', 'PostgreSql'. * * @param databaseType the databaseType value to set * @return the DatabaseBackupSetting object itself. @@ -84,7 +84,8 @@ public DatabaseBackupSetting withName(String name) { } /** - * Get the connectionStringName value. + * Get contains a connection string name that is linked to the SiteConfig.ConnectionStrings. + This is used during restore with overwrite connection strings options. * * @return the connectionStringName value */ @@ -93,7 +94,8 @@ public String connectionStringName() { } /** - * Set the connectionStringName value. + * Set contains a connection string name that is linked to the SiteConfig.ConnectionStrings. + This is used during restore with overwrite connection strings options. * * @param connectionStringName the connectionStringName value to set * @return the DatabaseBackupSetting object itself. @@ -104,7 +106,7 @@ public DatabaseBackupSetting withConnectionStringName(String connectionStringNam } /** - * Get the connectionString value. + * Get contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. * * @return the connectionString value */ @@ -113,7 +115,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. * * @param connectionString the connectionString value to set * @return the DatabaseBackupSetting object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DefaultErrorResponse.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DefaultErrorResponse.java index 8ec4aae520007..494949683aa33 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DefaultErrorResponse.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DefaultErrorResponse.java @@ -21,7 +21,7 @@ public class DefaultErrorResponse { private DefaultErrorResponseError error; /** - * Get the error value. + * Get error model. * * @return the error value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DefaultErrorResponseError.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DefaultErrorResponseError.java index 5981b0786369c..77065433649cc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DefaultErrorResponseError.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DefaultErrorResponseError.java @@ -46,7 +46,7 @@ public class DefaultErrorResponseError { private String innererror; /** - * Get the code value. + * Get standardized string to programmatically identify the error. * * @return the code value */ @@ -55,7 +55,7 @@ public String code() { } /** - * Get the message value. + * Get detailed error description and debugging information. * * @return the message value */ @@ -64,7 +64,7 @@ public String message() { } /** - * Get the target value. + * Get detailed error description and debugging information. * * @return the target value */ @@ -93,7 +93,7 @@ public DefaultErrorResponseError withDetails(List, HasManager { +public interface DeletedSite extends HasInner, HasManager { /** * @return the deletedSiteId value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Deployment.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Deployment.java index 6ab777390f2c8..ef91bd00da7bc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Deployment.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorAbnormalTimePeriod.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorAbnormalTimePeriod.java index 68a82657bfdc6..de1acd01f3c18 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorAbnormalTimePeriod.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorAbnormalTimePeriod.java @@ -67,7 +67,7 @@ public class DetectorAbnormalTimePeriod { private List solutions; /** - * Get the startTime value. + * Get start time of the corelated event. * * @return the startTime value */ @@ -76,7 +76,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the corelated event. * * @param startTime the startTime value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -87,7 +87,7 @@ public DetectorAbnormalTimePeriod withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the corelated event. * * @return the endTime value */ @@ -96,7 +96,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the corelated event. * * @param endTime the endTime value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -107,7 +107,7 @@ public DetectorAbnormalTimePeriod withEndTime(DateTime endTime) { } /** - * Get the message value. + * Get message describing the event. * * @return the message value */ @@ -116,7 +116,7 @@ public String message() { } /** - * Set the message value. + * Set message describing the event. * * @param message the message value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -127,7 +127,7 @@ public DetectorAbnormalTimePeriod withMessage(String message) { } /** - * Get the source value. + * Get represents the name of the Detector. * * @return the source value */ @@ -136,7 +136,7 @@ public String source() { } /** - * Set the source value. + * Set represents the name of the Detector. * * @param source the source value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -147,7 +147,7 @@ public DetectorAbnormalTimePeriod withSource(String source) { } /** - * Get the priority value. + * Get represents the rank of the Detector. * * @return the priority value */ @@ -156,7 +156,7 @@ public Double priority() { } /** - * Set the priority value. + * Set represents the rank of the Detector. * * @param priority the priority value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -167,7 +167,7 @@ public DetectorAbnormalTimePeriod withPriority(Double priority) { } /** - * Get the metaData value. + * Get downtime metadata. * * @return the metaData value */ @@ -176,7 +176,7 @@ public List> metaData() { } /** - * Set the metaData value. + * Set downtime metadata. * * @param metaData the metaData value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -187,7 +187,7 @@ public DetectorAbnormalTimePeriod withMetaData(List> metaDat } /** - * Get the type value. + * Get represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other'. * * @return the type value */ @@ -196,7 +196,7 @@ public IssueType type() { } /** - * Set the type value. + * Set represents the type of the Detector. Possible values include: 'ServiceIncident', 'AppDeployment', 'AppCrash', 'RuntimeIssueDetected', 'AseDeployment', 'UserIssue', 'PlatformIssue', 'Other'. * * @param type the type value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -207,7 +207,7 @@ public DetectorAbnormalTimePeriod withType(IssueType type) { } /** - * Get the solutions value. + * Get list of proposed solutions. * * @return the solutions value */ @@ -216,7 +216,7 @@ public List solutions() { } /** - * Set the solutions value. + * Set list of proposed solutions. * * @param solutions the solutions value to set * @return the DetectorAbnormalTimePeriod object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java index 638a8e95c97c6..380add9be917b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java @@ -11,12 +11,12 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DetectorDefinitionInner; 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 DetectorDefinition. */ -public interface DetectorDefinition extends HasInner, HasManager { +public interface DetectorDefinition extends HasInner, HasManager { /** * @return the description value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticAnalysis.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticAnalysis.java index f979b6bc9eccc..7cb6a430b082d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticAnalysis.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticCategory.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticCategory.java index 615f401d15823..64ac78b6eb983 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticCategory.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticDetectorResponse.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticDetectorResponse.java index 1f014fdfe5a7f..84ef6f100a982 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticDetectorResponse.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticMetricSample.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticMetricSample.java index 3b17d36b5a03f..c611f26b0d5ae 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticMetricSample.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticMetricSample.java @@ -58,7 +58,7 @@ public class DiagnosticMetricSample { private Boolean isAggregated; /** - * Get the timestamp value. + * Get time at which metric is measured. * * @return the timestamp value */ @@ -67,7 +67,7 @@ public DateTime timestamp() { } /** - * Set the timestamp value. + * Set time at which metric is measured. * * @param timestamp the timestamp value to set * @return the DiagnosticMetricSample object itself. @@ -78,7 +78,10 @@ public DiagnosticMetricSample withTimestamp(DateTime timestamp) { } /** - * Get the roleInstance value. + * Get role Instance. Null if this counter is not per instance + This is returned and should be whichever instance name we desire to be returned + i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) + where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis. * * @return the roleInstance value */ @@ -87,7 +90,10 @@ public String roleInstance() { } /** - * Set the roleInstance value. + * Set role Instance. Null if this counter is not per instance + This is returned and should be whichever instance name we desire to be returned + i.e. CPU and Memory return RDWORKERNAME (LargeDed..._IN_0) + where RDWORKERNAME is Machine name below and RoleInstance name in parenthesis. * * @param roleInstance the roleInstance value to set * @return the DiagnosticMetricSample object itself. @@ -98,7 +104,7 @@ public DiagnosticMetricSample withRoleInstance(String roleInstance) { } /** - * Get the total value. + * Get total value of the metric. If multiple measurements are made this will have sum of all. * * @return the total value */ @@ -107,7 +113,7 @@ public Double total() { } /** - * Set the total value. + * Set total value of the metric. If multiple measurements are made this will have sum of all. * * @param total the total value to set * @return the DiagnosticMetricSample object itself. @@ -118,7 +124,7 @@ public DiagnosticMetricSample withTotal(Double total) { } /** - * Get the maximum value. + * Get maximum of the metric sampled during the time period. * * @return the maximum value */ @@ -127,7 +133,7 @@ public Double maximum() { } /** - * Set the maximum value. + * Set maximum of the metric sampled during the time period. * * @param maximum the maximum value to set * @return the DiagnosticMetricSample object itself. @@ -138,7 +144,7 @@ public DiagnosticMetricSample withMaximum(Double maximum) { } /** - * Get the minimum value. + * Get minimum of the metric sampled during the time period. * * @return the minimum value */ @@ -147,7 +153,7 @@ public Double minimum() { } /** - * Set the minimum value. + * Set minimum of the metric sampled during the time period. * * @param minimum the minimum value to set * @return the DiagnosticMetricSample object itself. @@ -158,7 +164,7 @@ public DiagnosticMetricSample withMinimum(Double minimum) { } /** - * Get the isAggregated value. + * Get whether the values are aggregates across all workers or not. * * @return the isAggregated value */ @@ -167,7 +173,7 @@ public Boolean isAggregated() { } /** - * Set the isAggregated value. + * Set whether the values are aggregates across all workers or not. * * @param isAggregated the isAggregated value to set * @return the DiagnosticMetricSample object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticMetricSet.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticMetricSet.java index e0bd677ce7eb0..68a927104d280 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticMetricSet.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticMetricSet.java @@ -55,7 +55,7 @@ public class DiagnosticMetricSet { private List values; /** - * Get the name value. + * Get name of the metric. * * @return the name value */ @@ -64,7 +64,7 @@ public String name() { } /** - * Set the name value. + * Set name of the metric. * * @param name the name value to set * @return the DiagnosticMetricSet object itself. @@ -75,7 +75,7 @@ public DiagnosticMetricSet withName(String name) { } /** - * Get the unit value. + * Get metric's unit. * * @return the unit value */ @@ -84,7 +84,7 @@ public String unit() { } /** - * Set the unit value. + * Set metric's unit. * * @param unit the unit value to set * @return the DiagnosticMetricSet object itself. @@ -95,7 +95,7 @@ public DiagnosticMetricSet withUnit(String unit) { } /** - * Get the startTime value. + * Get start time of the period. * * @return the startTime value */ @@ -104,7 +104,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the period. * * @param startTime the startTime value to set * @return the DiagnosticMetricSet object itself. @@ -115,7 +115,7 @@ public DiagnosticMetricSet withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the period. * * @return the endTime value */ @@ -124,7 +124,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the period. * * @param endTime the endTime value to set * @return the DiagnosticMetricSet object itself. @@ -135,7 +135,7 @@ public DiagnosticMetricSet withEndTime(DateTime endTime) { } /** - * Get the timeGrain value. + * Get presented time grain. Supported grains at the moment are PT1M, PT1H, P1D. * * @return the timeGrain value */ @@ -144,7 +144,7 @@ public String timeGrain() { } /** - * Set the timeGrain value. + * Set presented time grain. Supported grains at the moment are PT1M, PT1H, P1D. * * @param timeGrain the timeGrain value to set * @return the DiagnosticMetricSet object itself. @@ -155,7 +155,7 @@ public DiagnosticMetricSet withTimeGrain(String timeGrain) { } /** - * Get the values value. + * Get collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}. * * @return the values value */ @@ -164,7 +164,7 @@ public List values() { } /** - * Set the values value. + * Set collection of metric values for the selected period based on the {Microsoft.Web.Hosting.Administration.DiagnosticMetricSet.TimeGrain}. * * @param values the values value to set * @return the DiagnosticMetricSet object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domain.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domain.java index e1a20af066794..d047dc3fa7c97 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domain.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domain.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainAvailablilityCheckResult.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainAvailablilityCheckResult.java index fdddfb5068c42..704e75dc5f8a9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainAvailablilityCheckResult.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainControlCenterSsoRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainControlCenterSsoRequest.java index cfb1bbcec617c..1350e5ed2ce23 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainControlCenterSsoRequest.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainOwnershipIdentifier.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainOwnershipIdentifier.java index 659c1f12a4f85..c38ad554a8e84 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainOwnershipIdentifier.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainPatchResource.java index f8c6c41094c90..13b653cf07201 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainPatchResource.java @@ -152,7 +152,7 @@ public class DomainPatchResource extends ProxyOnlyResource { private String authCode; /** - * Get the contactAdmin value. + * Get administrative contact. * * @return the contactAdmin value */ @@ -161,7 +161,7 @@ public Contact contactAdmin() { } /** - * Set the contactAdmin value. + * Set administrative contact. * * @param contactAdmin the contactAdmin value to set * @return the DomainPatchResource object itself. @@ -172,7 +172,7 @@ public DomainPatchResource withContactAdmin(Contact contactAdmin) { } /** - * Get the contactBilling value. + * Get billing contact. * * @return the contactBilling value */ @@ -181,7 +181,7 @@ public Contact contactBilling() { } /** - * Set the contactBilling value. + * Set billing contact. * * @param contactBilling the contactBilling value to set * @return the DomainPatchResource object itself. @@ -192,7 +192,7 @@ public DomainPatchResource withContactBilling(Contact contactBilling) { } /** - * Get the contactRegistrant value. + * Get registrant contact. * * @return the contactRegistrant value */ @@ -201,7 +201,7 @@ public Contact contactRegistrant() { } /** - * Set the contactRegistrant value. + * Set registrant contact. * * @param contactRegistrant the contactRegistrant value to set * @return the DomainPatchResource object itself. @@ -212,7 +212,7 @@ public DomainPatchResource withContactRegistrant(Contact contactRegistrant) { } /** - * Get the contactTech value. + * Get technical contact. * * @return the contactTech value */ @@ -221,7 +221,7 @@ public Contact contactTech() { } /** - * Set the contactTech value. + * Set technical contact. * * @param contactTech the contactTech value to set * @return the DomainPatchResource object itself. @@ -232,7 +232,7 @@ public DomainPatchResource withContactTech(Contact contactTech) { } /** - * Get the registrationStatus value. + * Get domain registration status. Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled', 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', 'Reverted', 'Suspended', 'Transferred', 'Unknown', 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed'. * * @return the registrationStatus value */ @@ -241,7 +241,7 @@ public DomainStatus registrationStatus() { } /** - * Get the provisioningState value. + * Get domain provisioning state. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -250,7 +250,7 @@ public ProvisioningState provisioningState() { } /** - * Get the nameServers value. + * Get name servers. * * @return the nameServers value */ @@ -259,7 +259,7 @@ public List nameServers() { } /** - * Get the privacy value. + * Get <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>. * * @return the privacy value */ @@ -268,7 +268,7 @@ public Boolean privacy() { } /** - * Set the privacy value. + * Set <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>. * * @param privacy the privacy value to set * @return the DomainPatchResource object itself. @@ -279,7 +279,7 @@ public DomainPatchResource withPrivacy(Boolean privacy) { } /** - * Get the createdTime value. + * Get domain creation timestamp. * * @return the createdTime value */ @@ -288,7 +288,7 @@ public DateTime createdTime() { } /** - * Get the expirationTime value. + * Get domain expiration timestamp. * * @return the expirationTime value */ @@ -297,7 +297,7 @@ public DateTime expirationTime() { } /** - * Get the lastRenewedTime value. + * Get timestamp when the domain was renewed last time. * * @return the lastRenewedTime value */ @@ -306,7 +306,7 @@ public DateTime lastRenewedTime() { } /** - * Get the autoRenew value. + * Get <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>. * * @return the autoRenew value */ @@ -315,7 +315,7 @@ public Boolean autoRenew() { } /** - * Set the autoRenew value. + * Set <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>. * * @param autoRenew the autoRenew value to set * @return the DomainPatchResource object itself. @@ -326,7 +326,8 @@ public DomainPatchResource withAutoRenew(Boolean autoRenew) { } /** - * Get the readyForDnsRecordManagement value. + * Get <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and + it is hosted on name servers Azure has programmatic access to. * * @return the readyForDnsRecordManagement value */ @@ -335,7 +336,7 @@ public Boolean readyForDnsRecordManagement() { } /** - * Get the managedHostNames value. + * Get all hostnames derived from the domain and assigned to Azure resources. * * @return the managedHostNames value */ @@ -344,7 +345,7 @@ public List managedHostNames() { } /** - * Get the consent value. + * Get legal agreement consent. * * @return the consent value */ @@ -353,7 +354,7 @@ public DomainPurchaseConsent consent() { } /** - * Set the consent value. + * Set legal agreement consent. * * @param consent the consent value to set * @return the DomainPatchResource object itself. @@ -364,7 +365,7 @@ public DomainPatchResource withConsent(DomainPurchaseConsent consent) { } /** - * Get the domainNotRenewableReasons value. + * Get reasons why domain is not renewable. * * @return the domainNotRenewableReasons value */ @@ -373,7 +374,7 @@ public List domainNotRenewableReasons() { } /** - * Get the dnsType value. + * Get current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'. * * @return the dnsType value */ @@ -382,7 +383,7 @@ public DnsType dnsType() { } /** - * Set the dnsType value. + * Set current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'. * * @param dnsType the dnsType value to set * @return the DomainPatchResource object itself. @@ -393,7 +394,7 @@ public DomainPatchResource withDnsType(DnsType dnsType) { } /** - * Get the dnsZoneId value. + * Get azure DNS Zone to use. * * @return the dnsZoneId value */ @@ -402,7 +403,7 @@ public String dnsZoneId() { } /** - * Set the dnsZoneId value. + * Set azure DNS Zone to use. * * @param dnsZoneId the dnsZoneId value to set * @return the DomainPatchResource object itself. @@ -413,7 +414,7 @@ public DomainPatchResource withDnsZoneId(String dnsZoneId) { } /** - * Get the targetDnsType value. + * Get target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'. * * @return the targetDnsType value */ @@ -422,7 +423,7 @@ public DnsType targetDnsType() { } /** - * Set the targetDnsType value. + * Set target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'. * * @param targetDnsType the targetDnsType value to set * @return the DomainPatchResource object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainPurchaseConsent.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainPurchaseConsent.java index 30f2f5eb7b0a3..e2732e687de07 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainPurchaseConsent.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainPurchaseConsent.java @@ -38,7 +38,7 @@ public class DomainPurchaseConsent { private DateTime agreedAt; /** - * Get the agreementKeys value. + * Get list of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource. * * @return the agreementKeys value */ @@ -47,7 +47,7 @@ public List agreementKeys() { } /** - * Set the agreementKeys value. + * Set list of applicable legal agreement keys. This list can be retrieved using ListLegalAgreements API under <code>TopLevelDomain</code> resource. * * @param agreementKeys the agreementKeys value to set * @return the DomainPurchaseConsent object itself. @@ -58,7 +58,7 @@ public DomainPurchaseConsent withAgreementKeys(List agreementKeys) { } /** - * Get the agreedBy value. + * Get client IP address. * * @return the agreedBy value */ @@ -67,7 +67,7 @@ public String agreedBy() { } /** - * Set the agreedBy value. + * Set client IP address. * * @param agreedBy the agreedBy value to set * @return the DomainPurchaseConsent object itself. @@ -78,7 +78,7 @@ public DomainPurchaseConsent withAgreedBy(String agreedBy) { } /** - * Get the agreedAt value. + * Get timestamp when the agreements were accepted. * * @return the agreedAt value */ @@ -87,7 +87,7 @@ public DateTime agreedAt() { } /** - * Set the agreedAt value. + * Set timestamp when the agreements were accepted. * * @param agreedAt the agreedAt value to set * @return the DomainPurchaseConsent object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainRecommendationSearchParameters.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainRecommendationSearchParameters.java index c3a7a6508e224..f3e3f188a9cac 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainRecommendationSearchParameters.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DomainRecommendationSearchParameters.java @@ -27,7 +27,7 @@ public class DomainRecommendationSearchParameters { private Integer maxDomainRecommendations; /** - * Get the keywords value. + * Get keywords to be used for generating domain recommendations. * * @return the keywords value */ @@ -36,7 +36,7 @@ public String keywords() { } /** - * Set the keywords value. + * Set keywords to be used for generating domain recommendations. * * @param keywords the keywords value to set * @return the DomainRecommendationSearchParameters object itself. @@ -47,7 +47,7 @@ public DomainRecommendationSearchParameters withKeywords(String keywords) { } /** - * Get the maxDomainRecommendations value. + * Get maximum number of recommendations. * * @return the maxDomainRecommendations value */ @@ -56,7 +56,7 @@ public Integer maxDomainRecommendations() { } /** - * Set the maxDomainRecommendations value. + * Set maximum number of recommendations. * * @param maxDomainRecommendations the maxDomainRecommendations value to set * @return the DomainRecommendationSearchParameters object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domains.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domains.java index 9c2420f9cd98e..8fe6a88c6d7cd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domains.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Domains.java @@ -24,6 +24,11 @@ * Type representing Domains. */ public interface Domains extends SupportsCreating, SupportsDeletingByResourceGroup, SupportsBatchDeletion, SupportsGettingByResourceGroup, SupportsListingByResourceGroup, SupportsListing, HasInner { + /** + * Begins definition for a new DomainOwnershipIdentifier resource. + * @param name resource name. + * @return the first stage of the new DomainOwnershipIdentifier definition. + */ DomainOwnershipIdentifier.DefinitionStages.Blank defineDomainOwnershipIdentifier(String name); /** diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/EnabledConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/EnabledConfig.java index 735d5ec0a90ac..e5705f4c64adc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/EnabledConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/EnabledConfig.java @@ -22,7 +22,7 @@ public class EnabledConfig { private Boolean enabled; /** - * Get the enabled value. + * Get true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @return the enabled value */ @@ -31,7 +31,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @param enabled the enabled value to set * @return the EnabledConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ErrorEntity.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ErrorEntity.java index 81ce403a612c9..c44b6c3025c7a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ErrorEntity.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ErrorEntity.java @@ -52,7 +52,7 @@ public class ErrorEntity { private String message; /** - * Get the extendedCode value. + * Get type of error. * * @return the extendedCode value */ @@ -61,7 +61,7 @@ public String extendedCode() { } /** - * Set the extendedCode value. + * Set type of error. * * @param extendedCode the extendedCode value to set * @return the ErrorEntity object itself. @@ -72,7 +72,7 @@ public ErrorEntity withExtendedCode(String extendedCode) { } /** - * Get the messageTemplate value. + * Get message template. * * @return the messageTemplate value */ @@ -81,7 +81,7 @@ public String messageTemplate() { } /** - * Set the messageTemplate value. + * Set message template. * * @param messageTemplate the messageTemplate value to set * @return the ErrorEntity object itself. @@ -92,7 +92,7 @@ public ErrorEntity withMessageTemplate(String messageTemplate) { } /** - * Get the parameters value. + * Get parameters for the template. * * @return the parameters value */ @@ -101,7 +101,7 @@ public List parameters() { } /** - * Set the parameters value. + * Set parameters for the template. * * @param parameters the parameters value to set * @return the ErrorEntity object itself. @@ -112,7 +112,7 @@ public ErrorEntity withParameters(List parameters) { } /** - * Get the innerErrors value. + * Get inner errors. * * @return the innerErrors value */ @@ -121,7 +121,7 @@ public List innerErrors() { } /** - * Set the innerErrors value. + * Set inner errors. * * @param innerErrors the innerErrors value to set * @return the ErrorEntity object itself. @@ -132,7 +132,7 @@ public ErrorEntity withInnerErrors(List innerErrors) { } /** - * Get the code value. + * Get basic error code. * * @return the code value */ @@ -141,7 +141,7 @@ public String code() { } /** - * Set the code value. + * Set basic error code. * * @param code the code value to set * @return the ErrorEntity object itself. @@ -152,7 +152,7 @@ public ErrorEntity withCode(String code) { } /** - * Get the message value. + * Get any details of the error. * * @return the message value */ @@ -161,7 +161,7 @@ public String message() { } /** - * Set the message value. + * Set any details of the error. * * @param message the message value to set * @return the ErrorEntity object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Experiments.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Experiments.java index 87aa247e13a11..d36cf0043c1df 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Experiments.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Experiments.java @@ -22,7 +22,7 @@ public class Experiments { private List rampUpRules; /** - * Get the rampUpRules value. + * Get list of ramp-up rules. * * @return the rampUpRules value */ @@ -31,7 +31,7 @@ public List rampUpRules() { } /** - * Set the rampUpRules value. + * Set list of ramp-up rules. * * @param rampUpRules the rampUpRules value to set * @return the Experiments object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FileSystemApplicationLogsConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FileSystemApplicationLogsConfig.java index dcbbdd71a9d0b..3ecb7293634eb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FileSystemApplicationLogsConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FileSystemApplicationLogsConfig.java @@ -22,7 +22,7 @@ public class FileSystemApplicationLogsConfig { private LogLevel level; /** - * Get the level value. + * Get log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @return the level value */ @@ -31,7 +31,7 @@ public LogLevel level() { } /** - * Set the level value. + * Set log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'. * * @param level the level value to set * @return the FileSystemApplicationLogsConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FileSystemHttpLogsConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FileSystemHttpLogsConfig.java index 401c847752461..746f282df0ca0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FileSystemHttpLogsConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FileSystemHttpLogsConfig.java @@ -38,7 +38,9 @@ public class FileSystemHttpLogsConfig { private Boolean enabled; /** - * Get the retentionInMb value. + * Get maximum size in megabytes that http log files can use. + When reached old log files will be removed to make space for new ones. + Value can range between 25 and 100. * * @return the retentionInMb value */ @@ -47,7 +49,9 @@ public Integer retentionInMb() { } /** - * Set the retentionInMb value. + * Set maximum size in megabytes that http log files can use. + When reached old log files will be removed to make space for new ones. + Value can range between 25 and 100. * * @param retentionInMb the retentionInMb value to set * @return the FileSystemHttpLogsConfig object itself. @@ -58,7 +62,9 @@ public FileSystemHttpLogsConfig withRetentionInMb(Integer retentionInMb) { } /** - * Get the retentionInDays value. + * Get retention in days. + Remove files older than X days. + 0 or lower means no retention. * * @return the retentionInDays value */ @@ -67,7 +73,9 @@ public Integer retentionInDays() { } /** - * Set the retentionInDays value. + * Set retention in days. + Remove files older than X days. + 0 or lower means no retention. * * @param retentionInDays the retentionInDays value to set * @return the FileSystemHttpLogsConfig object itself. @@ -78,7 +86,7 @@ public FileSystemHttpLogsConfig withRetentionInDays(Integer retentionInDays) { } /** - * Get the enabled value. + * Get true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @return the enabled value */ @@ -87,7 +95,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set true if configuration is enabled, false if it is disabled and null if configuration is not set. * * @param enabled the enabled value to set * @return the FileSystemHttpLogsConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionEnvelope.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionEnvelope.java index 2ff1e6647a5f5..167751f9ca0d9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionEnvelope.java +++ b/appservice/resource-manager/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. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionSecrets.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionSecrets.java index c31a088abe07f..db58fe9e4c10c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/FunctionSecrets.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/GlobalCsmSkuDescription.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/GlobalCsmSkuDescription.java index 7e30dd1430316..ebecb83316628 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/GlobalCsmSkuDescription.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/GlobalCsmSkuDescription.java @@ -59,7 +59,7 @@ public class GlobalCsmSkuDescription { private List capabilities; /** - * Get the name value. + * Get name of the resource SKU. * * @return the name value */ @@ -68,7 +68,7 @@ public String name() { } /** - * Set the name value. + * Set name of the resource SKU. * * @param name the name value to set * @return the GlobalCsmSkuDescription object itself. @@ -79,7 +79,7 @@ public GlobalCsmSkuDescription withName(String name) { } /** - * Get the tier value. + * Get service Tier of the resource SKU. * * @return the tier value */ @@ -88,7 +88,7 @@ public String tier() { } /** - * Set the tier value. + * Set service Tier of the resource SKU. * * @param tier the tier value to set * @return the GlobalCsmSkuDescription object itself. @@ -99,7 +99,7 @@ public GlobalCsmSkuDescription withTier(String tier) { } /** - * Get the size value. + * Get size specifier of the resource SKU. * * @return the size value */ @@ -108,7 +108,7 @@ public String size() { } /** - * Set the size value. + * Set size specifier of the resource SKU. * * @param size the size value to set * @return the GlobalCsmSkuDescription object itself. @@ -119,7 +119,7 @@ public GlobalCsmSkuDescription withSize(String size) { } /** - * Get the family value. + * Get family code of the resource SKU. * * @return the family value */ @@ -128,7 +128,7 @@ public String family() { } /** - * Set the family value. + * Set family code of the resource SKU. * * @param family the family value to set * @return the GlobalCsmSkuDescription object itself. @@ -139,7 +139,7 @@ public GlobalCsmSkuDescription withFamily(String family) { } /** - * Get the capacity value. + * Get min, max, and default scale values of the SKU. * * @return the capacity value */ @@ -148,7 +148,7 @@ public SkuCapacity capacity() { } /** - * Set the capacity value. + * Set min, max, and default scale values of the SKU. * * @param capacity the capacity value to set * @return the GlobalCsmSkuDescription object itself. @@ -159,7 +159,7 @@ public GlobalCsmSkuDescription withCapacity(SkuCapacity capacity) { } /** - * Get the locations value. + * Get locations of the SKU. * * @return the locations value */ @@ -168,7 +168,7 @@ public List locations() { } /** - * Set the locations value. + * Set locations of the SKU. * * @param locations the locations value to set * @return the GlobalCsmSkuDescription object itself. @@ -179,7 +179,7 @@ public GlobalCsmSkuDescription withLocations(List locations) { } /** - * Get the capabilities value. + * Get capabilities of the SKU, e.g., is traffic manager enabled?. * * @return the capabilities value */ @@ -188,7 +188,7 @@ public List capabilities() { } /** - * Set the capabilities value. + * Set capabilities of the SKU, e.g., is traffic manager enabled?. * * @param capabilities the capabilities value to set * @return the GlobalCsmSkuDescription object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HandlerMapping.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HandlerMapping.java index 979f181219c5a..44429c989eafc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HandlerMapping.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HandlerMapping.java @@ -37,7 +37,7 @@ public class HandlerMapping { private String arguments; /** - * Get the extension value. + * Get requests with this extension will be handled using the specified FastCGI application. * * @return the extension value */ @@ -46,7 +46,7 @@ public String extension() { } /** - * Set the extension value. + * Set requests with this extension will be handled using the specified FastCGI application. * * @param extension the extension value to set * @return the HandlerMapping object itself. @@ -57,7 +57,7 @@ public HandlerMapping withExtension(String extension) { } /** - * Get the scriptProcessor value. + * Get the absolute path to the FastCGI application. * * @return the scriptProcessor value */ @@ -66,7 +66,7 @@ public String scriptProcessor() { } /** - * Set the scriptProcessor value. + * Set the absolute path to the FastCGI application. * * @param scriptProcessor the scriptProcessor value to set * @return the HandlerMapping object itself. @@ -77,7 +77,7 @@ public HandlerMapping withScriptProcessor(String scriptProcessor) { } /** - * Get the arguments value. + * Get command-line arguments to be passed to the script processor. * * @return the arguments value */ @@ -86,7 +86,7 @@ public String arguments() { } /** - * Set the arguments value. + * Set command-line arguments to be passed to the script processor. * * @param arguments the arguments value to set * @return the HandlerMapping object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostName.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostName.java index 8ada92862c334..3adb3c242c671 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostName.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostName.java @@ -56,7 +56,7 @@ public class HostName { private HostNameType hostNameType; /** - * Get the name value. + * Get name of the hostname. * * @return the name value */ @@ -65,7 +65,7 @@ public String name() { } /** - * Set the name value. + * Set name of the hostname. * * @param name the name value to set * @return the HostName object itself. @@ -76,7 +76,7 @@ public HostName withName(String name) { } /** - * Get the siteNames value. + * Get list of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. * * @return the siteNames value */ @@ -85,7 +85,7 @@ public List siteNames() { } /** - * Set the siteNames value. + * Set list of apps the hostname is assigned to. This list will have more than one app only if the hostname is pointing to a Traffic Manager. * * @param siteNames the siteNames value to set * @return the HostName object itself. @@ -96,7 +96,7 @@ public HostName withSiteNames(List siteNames) { } /** - * Get the azureResourceName value. + * Get name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. * * @return the azureResourceName value */ @@ -105,7 +105,7 @@ public String azureResourceName() { } /** - * Set the azureResourceName value. + * Set name of the Azure resource the hostname is assigned to. If it is assigned to a Traffic Manager then it will be the Traffic Manager name otherwise it will be the app name. * * @param azureResourceName the azureResourceName value to set * @return the HostName object itself. @@ -116,7 +116,7 @@ public HostName withAzureResourceName(String azureResourceName) { } /** - * Get the azureResourceType value. + * Get type of the Azure resource the hostname is assigned to. Possible values include: 'Website', 'TrafficManager'. * * @return the azureResourceType value */ @@ -125,7 +125,7 @@ public AzureResourceType azureResourceType() { } /** - * Set the azureResourceType value. + * Set type of the Azure resource the hostname is assigned to. Possible values include: 'Website', 'TrafficManager'. * * @param azureResourceType the azureResourceType value to set * @return the HostName object itself. @@ -136,7 +136,7 @@ public HostName withAzureResourceType(AzureResourceType azureResourceType) { } /** - * Get the customHostNameDnsRecordType value. + * Get type of the DNS record. Possible values include: 'CName', 'A'. * * @return the customHostNameDnsRecordType value */ @@ -145,7 +145,7 @@ public CustomHostNameDnsRecordType customHostNameDnsRecordType() { } /** - * Set the customHostNameDnsRecordType value. + * Set type of the DNS record. Possible values include: 'CName', 'A'. * * @param customHostNameDnsRecordType the customHostNameDnsRecordType value to set * @return the HostName object itself. @@ -156,7 +156,7 @@ public HostName withCustomHostNameDnsRecordType(CustomHostNameDnsRecordType cust } /** - * Get the hostNameType value. + * Get type of the hostname. Possible values include: 'Verified', 'Managed'. * * @return the hostNameType value */ @@ -165,7 +165,7 @@ public HostNameType hostNameType() { } /** - * Set the hostNameType value. + * Set type of the hostname. Possible values include: 'Verified', 'Managed'. * * @param hostNameType the hostNameType value to set * @return the HostName object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameBinding.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameBinding.java index f9369fb2ff9d1..aa935c7275f79 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameBinding.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameSslState.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameSslState.java index 3a676f49206b1..9e99e84bb761c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameSslState.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostNameSslState.java @@ -53,7 +53,7 @@ public class HostNameSslState { private HostType hostType; /** - * Get the name value. + * Get hostname. * * @return the name value */ @@ -62,7 +62,7 @@ public String name() { } /** - * Set the name value. + * Set hostname. * * @param name the name value to set * @return the HostNameSslState object itself. @@ -73,7 +73,7 @@ public HostNameSslState withName(String name) { } /** - * Get the sslState value. + * Get sSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'. * * @return the sslState value */ @@ -82,7 +82,7 @@ public SslState sslState() { } /** - * Set the sslState value. + * Set sSL type. Possible values include: 'Disabled', 'SniEnabled', 'IpBasedEnabled'. * * @param sslState the sslState value to set * @return the HostNameSslState object itself. @@ -93,7 +93,7 @@ public HostNameSslState withSslState(SslState sslState) { } /** - * Get the virtualIP value. + * Get virtual IP address assigned to the hostname if IP based SSL is enabled. * * @return the virtualIP value */ @@ -102,7 +102,7 @@ public String virtualIP() { } /** - * Set the virtualIP value. + * Set virtual IP address assigned to the hostname if IP based SSL is enabled. * * @param virtualIP the virtualIP value to set * @return the HostNameSslState object itself. @@ -113,7 +113,7 @@ public HostNameSslState withVirtualIP(String virtualIP) { } /** - * Get the thumbprint value. + * Get sSL certificate thumbprint. * * @return the thumbprint value */ @@ -122,7 +122,7 @@ public String thumbprint() { } /** - * Set the thumbprint value. + * Set sSL certificate thumbprint. * * @param thumbprint the thumbprint value to set * @return the HostNameSslState object itself. @@ -133,7 +133,7 @@ public HostNameSslState withThumbprint(String thumbprint) { } /** - * Get the toUpdate value. + * Get set to <code>true</code> to update existing hostname. * * @return the toUpdate value */ @@ -142,7 +142,7 @@ public Boolean toUpdate() { } /** - * Set the toUpdate value. + * Set set to <code>true</code> to update existing hostname. * * @param toUpdate the toUpdate value to set * @return the HostNameSslState object itself. @@ -153,7 +153,7 @@ public HostNameSslState withToUpdate(Boolean toUpdate) { } /** - * Get the hostType value. + * Get indicates whether the hostname is a standard or repository hostname. Possible values include: 'Standard', 'Repository'. * * @return the hostType value */ @@ -162,7 +162,7 @@ public HostType hostType() { } /** - * Set the hostType value. + * Set indicates whether the hostname is a standard or repository hostname. Possible values include: 'Standard', 'Repository'. * * @param hostType the hostType value to set * @return the HostNameSslState object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java index 3f70877441422..cd6999e81ba69 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java +++ b/appservice/resource-manager/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 adminSiteName value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDeploymentInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDeploymentInfo.java index 886ae988a723f..a2280e5c6f126 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDeploymentInfo.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDeploymentInfo.java @@ -27,7 +27,7 @@ public class HostingEnvironmentDeploymentInfo { private String location; /** - * Get the name value. + * Get name of the App Service Environment. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set name of the App Service Environment. * * @param name the name value to set * @return the HostingEnvironmentDeploymentInfo object itself. @@ -47,7 +47,7 @@ public HostingEnvironmentDeploymentInfo withName(String name) { } /** - * Get the location value. + * Get location of the App Service Environment. * * @return the location value */ @@ -56,7 +56,7 @@ public String location() { } /** - * Set the location value. + * Set location of the App Service Environment. * * @param location the location value to set * @return the HostingEnvironmentDeploymentInfo object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDiagnostics.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDiagnostics.java index 66d70c20a4b2f..8c1052663a615 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentDiagnostics.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentProfile.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentProfile.java index 3af29ab8739f9..663cbd1c9a61f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentProfile.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentProfile.java @@ -33,7 +33,7 @@ public class HostingEnvironmentProfile { private String type; /** - * Get the id value. + * Get resource ID of the App Service Environment. * * @return the id value */ @@ -42,7 +42,7 @@ public String id() { } /** - * Set the id value. + * Set resource ID of the App Service Environment. * * @param id the id value to set * @return the HostingEnvironmentProfile object itself. @@ -53,7 +53,7 @@ public HostingEnvironmentProfile withId(String id) { } /** - * Get the name value. + * Get name of the App Service Environment. * * @return the name value */ @@ -62,7 +62,7 @@ public String name() { } /** - * Get the type value. + * Get resource type of the App Service Environment. * * @return the type value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentResourceMetric.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentResourceMetric.java index 270ab243bb125..4000ce2220396 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentResourceMetric.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentSite.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentSite.java index bc231f519957a..c8dae8959f893 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentSite.java +++ b/appservice/resource-manager/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 org.joda.time.DateTime; import java.util.Map; @@ -19,7 +19,7 @@ /** * Type representing HostingEnvironmentSite. */ -public interface HostingEnvironmentSite extends HasInner, HasManager { +public interface HostingEnvironmentSite extends HasInner, HasManager { /** * @return the availabilityState value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HttpLogsConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HttpLogsConfig.java index 62aacd728d85a..269f66faf6d13 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HttpLogsConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HttpLogsConfig.java @@ -27,7 +27,7 @@ public class HttpLogsConfig { private AzureBlobStorageHttpLogsConfig azureBlobStorage; /** - * Get the fileSystem value. + * Get http logs to file system configuration. * * @return the fileSystem value */ @@ -36,7 +36,7 @@ public FileSystemHttpLogsConfig fileSystem() { } /** - * Set the fileSystem value. + * Set http logs to file system configuration. * * @param fileSystem the fileSystem value to set * @return the HttpLogsConfig object itself. @@ -47,7 +47,7 @@ public HttpLogsConfig withFileSystem(FileSystemHttpLogsConfig fileSystem) { } /** - * Get the azureBlobStorage value. + * Get http logs to azure blob storage configuration. * * @return the azureBlobStorage value */ @@ -56,7 +56,7 @@ public AzureBlobStorageHttpLogsConfig azureBlobStorage() { } /** - * Set the azureBlobStorage value. + * Set http logs to azure blob storage configuration. * * @param azureBlobStorage the azureBlobStorage value to set * @return the HttpLogsConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnection.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnection.java index 7c1d69cb39c7c..662865acec05e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnection.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionKey.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionKey.java index a63a0d3dea9d4..602f5be8f32e3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionKey.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionLimits.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionLimits.java index 3d16b67896f75..fdcc598612c8f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HybridConnectionLimits.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Identifier.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Identifier.java index 34109d15b4d89..72d85587d15c1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Identifier.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpSecurityRestriction.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpSecurityRestriction.java index 319bf1f978c93..6e6a2979f2e8a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpSecurityRestriction.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpSecurityRestriction.java @@ -27,7 +27,7 @@ public class IpSecurityRestriction { private String subnetMask; /** - * Get the ipAddress value. + * Get iP address the security restriction is valid for. * * @return the ipAddress value */ @@ -36,7 +36,7 @@ public String ipAddress() { } /** - * Set the ipAddress value. + * Set iP address the security restriction is valid for. * * @param ipAddress the ipAddress value to set * @return the IpSecurityRestriction object itself. @@ -47,7 +47,7 @@ public IpSecurityRestriction withIpAddress(String ipAddress) { } /** - * Get the subnetMask value. + * Get subnet mask for the range of IP addresses the restriction is valid for. * * @return the subnetMask value */ @@ -56,7 +56,7 @@ public String subnetMask() { } /** - * Set the subnetMask value. + * Set subnet mask for the range of IP addresses the restriction is valid for. * * @param subnetMask the subnetMask value to set * @return the IpSecurityRestriction object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/LocalizableString.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/LocalizableString.java index 31d20f710fbc1..0ba52d19bb3f4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/LocalizableString.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/LocalizableString.java @@ -27,7 +27,7 @@ public class LocalizableString { private String localizedValue; /** - * Get the value value. + * Get non-localized name. * * @return the value value */ @@ -36,7 +36,7 @@ public String value() { } /** - * Set the value value. + * Set non-localized name. * * @param value the value value to set * @return the LocalizableString object itself. @@ -47,7 +47,7 @@ public LocalizableString withValue(String value) { } /** - * Get the localizedValue value. + * Get localized name. * * @return the localizedValue value */ @@ -56,7 +56,7 @@ public String localizedValue() { } /** - * Set the localizedValue value. + * Set localized name. * * @param localizedValue the localizedValue value to set * @return the LocalizableString object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeploy.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeploy.java index 5fcd49caee0ad..ad4b8a1325a58 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeploy.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeploy.java @@ -9,6 +9,7 @@ package com.microsoft.azure.management.appservice.v2018_02_01; import java.util.Map; +import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; @@ -67,7 +68,14 @@ public class MSDeploy extends ProxyOnlyResource { private Boolean appOffline; /** - * Get the packageUri value. + * List of Add-On packages. Add-On packages implicitly enable the Do Not + * Delete MSDeploy rule. + */ + @JsonProperty(value = "properties.addOnPackages") + private List addOnPackages; + + /** + * Get package URI. * * @return the packageUri value */ @@ -76,7 +84,7 @@ public String packageUri() { } /** - * Set the packageUri value. + * Set package URI. * * @param packageUri the packageUri value to set * @return the MSDeploy object itself. @@ -87,7 +95,7 @@ public MSDeploy withPackageUri(String packageUri) { } /** - * Get the connectionString value. + * Get sQL Connection String. * * @return the connectionString value */ @@ -96,7 +104,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set sQL Connection String. * * @param connectionString the connectionString value to set * @return the MSDeploy object itself. @@ -107,7 +115,7 @@ public MSDeploy withConnectionString(String connectionString) { } /** - * Get the dbType value. + * Get database Type. * * @return the dbType value */ @@ -116,7 +124,7 @@ public String dbType() { } /** - * Set the dbType value. + * Set database Type. * * @param dbType the dbType value to set * @return the MSDeploy object itself. @@ -127,7 +135,7 @@ public MSDeploy withDbType(String dbType) { } /** - * Get the setParametersXmlFileUri value. + * Get uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. * * @return the setParametersXmlFileUri value */ @@ -136,7 +144,7 @@ public String setParametersXmlFileUri() { } /** - * Set the setParametersXmlFileUri value. + * Set uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. * * @param setParametersXmlFileUri the setParametersXmlFileUri value to set * @return the MSDeploy object itself. @@ -147,7 +155,7 @@ public MSDeploy withSetParametersXmlFileUri(String setParametersXmlFileUri) { } /** - * Get the setParameters value. + * Get mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. * * @return the setParameters value */ @@ -156,7 +164,7 @@ public Map setParameters() { } /** - * Set the setParameters value. + * Set mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. * * @param setParameters the setParameters value to set * @return the MSDeploy object itself. @@ -167,7 +175,10 @@ public MSDeploy withSetParameters(Map setParameters) { } /** - * Get the skipAppData value. + * Get controls whether the MSDeploy operation skips the App_Data directory. + If set to <code>true</code>, the existing App_Data directory on the destination + will not be deleted, and any App_Data directory in the source will be ignored. + Setting is <code>false</code> by default. * * @return the skipAppData value */ @@ -176,7 +187,10 @@ public Boolean skipAppData() { } /** - * Set the skipAppData value. + * Set controls whether the MSDeploy operation skips the App_Data directory. + If set to <code>true</code>, the existing App_Data directory on the destination + will not be deleted, and any App_Data directory in the source will be ignored. + Setting is <code>false</code> by default. * * @param skipAppData the skipAppData value to set * @return the MSDeploy object itself. @@ -187,7 +201,8 @@ public MSDeploy withSkipAppData(Boolean skipAppData) { } /** - * Get the appOffline value. + * Get sets the AppOffline rule while the MSDeploy operation executes. + Setting is <code>false</code> by default. * * @return the appOffline value */ @@ -196,7 +211,8 @@ public Boolean appOffline() { } /** - * Set the appOffline value. + * Set sets the AppOffline rule while the MSDeploy operation executes. + Setting is <code>false</code> by default. * * @param appOffline the appOffline value to set * @return the MSDeploy object itself. @@ -206,4 +222,24 @@ public MSDeploy withAppOffline(Boolean appOffline) { return this; } + /** + * Get list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule. + * + * @return the addOnPackages value + */ + public List addOnPackages() { + return this.addOnPackages; + } + + /** + * Set list of Add-On packages. Add-On packages implicitly enable the Do Not Delete MSDeploy rule. + * + * @param addOnPackages the addOnPackages value to set + * @return the MSDeploy object itself. + */ + public MSDeploy withAddOnPackages(List addOnPackages) { + this.addOnPackages = addOnPackages; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployCore.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployCore.java new file mode 100644 index 0000000000000..c9e6cba30162d --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployCore.java @@ -0,0 +1,215 @@ +/** + * 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 java.util.Map; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * MSDeploy ARM PUT core information. + */ +public class MSDeployCore { + /** + * Package URI. + */ + @JsonProperty(value = "packageUri") + private String packageUri; + + /** + * SQL Connection String. + */ + @JsonProperty(value = "connectionString") + private String connectionString; + + /** + * Database Type. + */ + @JsonProperty(value = "dbType") + private String dbType; + + /** + * URI of MSDeploy Parameters file. Must not be set if SetParameters is + * used. + */ + @JsonProperty(value = "setParametersXmlFileUri") + private String setParametersXmlFileUri; + + /** + * MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + */ + @JsonProperty(value = "setParameters") + private Map setParameters; + + /** + * Controls whether the MSDeploy operation skips the App_Data directory. + * If set to <code>true</code>, the existing App_Data directory + * on the destination + * will not be deleted, and any App_Data directory in the source will be + * ignored. + * Setting is <code>false</code> by default. + */ + @JsonProperty(value = "skipAppData") + private Boolean skipAppData; + + /** + * Sets the AppOffline rule while the MSDeploy operation executes. + * Setting is <code>false</code> by default. + */ + @JsonProperty(value = "appOffline") + private Boolean appOffline; + + /** + * Get package URI. + * + * @return the packageUri value + */ + public String packageUri() { + return this.packageUri; + } + + /** + * Set package URI. + * + * @param packageUri the packageUri value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withPackageUri(String packageUri) { + this.packageUri = packageUri; + return this; + } + + /** + * Get sQL Connection String. + * + * @return the connectionString value + */ + public String connectionString() { + return this.connectionString; + } + + /** + * Set sQL Connection String. + * + * @param connectionString the connectionString value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withConnectionString(String connectionString) { + this.connectionString = connectionString; + return this; + } + + /** + * Get database Type. + * + * @return the dbType value + */ + public String dbType() { + return this.dbType; + } + + /** + * Set database Type. + * + * @param dbType the dbType value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withDbType(String dbType) { + this.dbType = dbType; + return this; + } + + /** + * Get uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. + * + * @return the setParametersXmlFileUri value + */ + public String setParametersXmlFileUri() { + return this.setParametersXmlFileUri; + } + + /** + * Set uRI of MSDeploy Parameters file. Must not be set if SetParameters is used. + * + * @param setParametersXmlFileUri the setParametersXmlFileUri value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withSetParametersXmlFileUri(String setParametersXmlFileUri) { + this.setParametersXmlFileUri = setParametersXmlFileUri; + return this; + } + + /** + * Get mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + * + * @return the setParameters value + */ + public Map setParameters() { + return this.setParameters; + } + + /** + * Set mSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. + * + * @param setParameters the setParameters value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withSetParameters(Map setParameters) { + this.setParameters = setParameters; + return this; + } + + /** + * Get controls whether the MSDeploy operation skips the App_Data directory. + If set to <code>true</code>, the existing App_Data directory on the destination + will not be deleted, and any App_Data directory in the source will be ignored. + Setting is <code>false</code> by default. + * + * @return the skipAppData value + */ + public Boolean skipAppData() { + return this.skipAppData; + } + + /** + * Set controls whether the MSDeploy operation skips the App_Data directory. + If set to <code>true</code>, the existing App_Data directory on the destination + will not be deleted, and any App_Data directory in the source will be ignored. + Setting is <code>false</code> by default. + * + * @param skipAppData the skipAppData value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withSkipAppData(Boolean skipAppData) { + this.skipAppData = skipAppData; + return this; + } + + /** + * Get sets the AppOffline rule while the MSDeploy operation executes. + Setting is <code>false</code> by default. + * + * @return the appOffline value + */ + public Boolean appOffline() { + return this.appOffline; + } + + /** + * Set sets the AppOffline rule while the MSDeploy operation executes. + Setting is <code>false</code> by default. + * + * @param appOffline the appOffline value to set + * @return the MSDeployCore object itself. + */ + public MSDeployCore withAppOffline(Boolean appOffline) { + this.appOffline = appOffline; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLog.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLog.java index 7026d00407a08..ce807b8182597 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLog.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLogEntry.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLogEntry.java index 6a2b14f7bf221..dda20ec9543eb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLogEntry.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployLogEntry.java @@ -34,7 +34,7 @@ public class MSDeployLogEntry { private String message; /** - * Get the time value. + * Get timestamp of log entry. * * @return the time value */ @@ -43,7 +43,7 @@ public DateTime time() { } /** - * Get the type value. + * Get log entry type. Possible values include: 'Message', 'Warning', 'Error'. * * @return the type value */ @@ -52,7 +52,7 @@ public MSDeployLogEntryType type() { } /** - * Get the message value. + * Get log entry message. * * @return the message value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployStatus.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployStatus.java index 8ae502a3dd961..66259d74e85b1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MSDeployStatus.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ManagedServiceIdentity.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ManagedServiceIdentity.java index 7fc1a58694dc6..78fc78c579d5c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ManagedServiceIdentity.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ManagedServiceIdentity.java @@ -41,7 +41,7 @@ public class ManagedServiceIdentity { private List identityIds; /** - * Get the type value. + * Get type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned'. * * @return the type value */ @@ -50,7 +50,7 @@ public ManagedServiceIdentityType type() { } /** - * Set the type value. + * Set type of managed service identity. Possible values include: 'SystemAssigned', 'UserAssigned'. * * @param type the type value to set * @return the ManagedServiceIdentity object itself. @@ -61,7 +61,7 @@ public ManagedServiceIdentity withType(ManagedServiceIdentityType type) { } /** - * Get the tenantId value. + * Get tenant of managed service identity. * * @return the tenantId value */ @@ -70,7 +70,7 @@ public String tenantId() { } /** - * Get the principalId value. + * Get principal Id of managed service identity. * * @return the principalId value */ @@ -79,7 +79,7 @@ public String principalId() { } /** - * Get the identityIds value. + * Get array of UserAssigned managed service identities. * * @return the identityIds value */ @@ -88,7 +88,7 @@ public List identityIds() { } /** - * Set the identityIds value. + * Set array of UserAssigned managed service identities. * * @param identityIds the identityIds value to set * @return the ManagedServiceIdentity object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricAvailabilily.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricAvailabilily.java index f25d262455cd3..b2b6602144d10 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricAvailabilily.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricAvailabilily.java @@ -27,7 +27,7 @@ public class MetricAvailabilily { private String retention; /** - * Get the timeGrain value. + * Get time grain. * * @return the timeGrain value */ @@ -36,7 +36,7 @@ public String timeGrain() { } /** - * Set the timeGrain value. + * Set time grain. * * @param timeGrain the timeGrain value to set * @return the MetricAvailabilily object itself. @@ -47,7 +47,7 @@ public MetricAvailabilily withTimeGrain(String timeGrain) { } /** - * Get the retention value. + * Get retention period for the current time grain. * * @return the retention value */ @@ -56,7 +56,7 @@ public String retention() { } /** - * Set the retention value. + * Set retention period for the current time grain. * * @param retention the retention value to set * @return the MetricAvailabilily object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricDefinition.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricDefinition.java index 89cb698b0952a..8169af713749d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MetricDefinition.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlRequest.java index 732c2c8635f3e..e37b5ddfd6970 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlRequest.java @@ -30,7 +30,7 @@ public class MigrateMySqlRequest extends ProxyOnlyResource { private MySqlMigrationType migrationType; /** - * Get the connectionString value. + * Get connection string to the remote MySQL database. * * @return the connectionString value */ @@ -39,7 +39,7 @@ public String connectionString() { } /** - * Set the connectionString value. + * Set connection string to the remote MySQL database. * * @param connectionString the connectionString value to set * @return the MigrateMySqlRequest object itself. @@ -50,7 +50,7 @@ public MigrateMySqlRequest withConnectionString(String connectionString) { } /** - * Get the migrationType value. + * Get the type of migration operation to be done. Possible values include: 'LocalToRemote', 'RemoteToLocal'. * * @return the migrationType value */ @@ -59,7 +59,7 @@ public MySqlMigrationType migrationType() { } /** - * Set the migrationType value. + * Set the type of migration operation to be done. Possible values include: 'LocalToRemote', 'RemoteToLocal'. * * @param migrationType the migrationType value to set * @return the MigrateMySqlRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlStatus.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlStatus.java index 98954e9580acb..bc3d7468c4b0c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MigrateMySqlStatus.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MultiRolePools.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MultiRolePools.java index df44cd54eb88b..addf3c5ecf618 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/MultiRolePools.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameIdentifier.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameIdentifier.java index 15b3955be369c..da9e7bf23fbb5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameIdentifier.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameValuePair.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameValuePair.java index 7a12a91a51064..55423a6d61112 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameValuePair.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NameValuePair.java @@ -27,7 +27,7 @@ public class NameValuePair { private String value; /** - * Get the name value. + * Get pair name. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set pair name. * * @param name the name value to set * @return the NameValuePair object itself. @@ -47,7 +47,7 @@ public NameValuePair withName(String name) { } /** - * Get the value value. + * Get pair value. * * @return the value value */ @@ -56,7 +56,7 @@ public String value() { } /** - * Set the value value. + * Set pair value. * * @param value the value value to set * @return the NameValuePair object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkAccessControlEntry.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkAccessControlEntry.java index e4484091dad18..5f36e5ad23b7f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkAccessControlEntry.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkAccessControlEntry.java @@ -39,7 +39,7 @@ public class NetworkAccessControlEntry { private String remoteSubnet; /** - * Get the action value. + * Get action object. Possible values include: 'Permit', 'Deny'. * * @return the action value */ @@ -48,7 +48,7 @@ public AccessControlEntryAction action() { } /** - * Set the action value. + * Set action object. Possible values include: 'Permit', 'Deny'. * * @param action the action value to set * @return the NetworkAccessControlEntry object itself. @@ -59,7 +59,7 @@ public NetworkAccessControlEntry withAction(AccessControlEntryAction action) { } /** - * Get the description value. + * Get description of network access control entry. * * @return the description value */ @@ -68,7 +68,7 @@ public String description() { } /** - * Set the description value. + * Set description of network access control entry. * * @param description the description value to set * @return the NetworkAccessControlEntry object itself. @@ -79,7 +79,7 @@ public NetworkAccessControlEntry withDescription(String description) { } /** - * Get the order value. + * Get order of precedence. * * @return the order value */ @@ -88,7 +88,7 @@ public Integer order() { } /** - * Set the order value. + * Set order of precedence. * * @param order the order value to set * @return the NetworkAccessControlEntry object itself. @@ -99,7 +99,7 @@ public NetworkAccessControlEntry withOrder(Integer order) { } /** - * Get the remoteSubnet value. + * Get remote subnet. * * @return the remoteSubnet value */ @@ -108,7 +108,7 @@ public String remoteSubnet() { } /** - * Set the remoteSubnet value. + * Set remote subnet. * * @param remoteSubnet the remoteSubnet value to set * @return the NetworkAccessControlEntry object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkFeatures.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkFeatures.java index 0272b459e50cc..c5d29470d8ed0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkFeatures.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Operation.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Operation.java index a484cd157dbc0..451eb1d2a89ec 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Operation.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonResponse.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonResponse.java index 3ceac9152bb4b..1c6659294dfdc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonResponse.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonSample.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonSample.java index a26c0654af0f4..6761b59c67f0d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonSample.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonSample.java @@ -34,7 +34,7 @@ public class PerfMonSample { private Double value; /** - * Get the time value. + * Get point in time for which counter was measured. * * @return the time value */ @@ -43,7 +43,7 @@ public DateTime time() { } /** - * Set the time value. + * Set point in time for which counter was measured. * * @param time the time value to set * @return the PerfMonSample object itself. @@ -54,7 +54,7 @@ public PerfMonSample withTime(DateTime time) { } /** - * Get the instanceName value. + * Get name of the server on which the measurement is made. * * @return the instanceName value */ @@ -63,7 +63,7 @@ public String instanceName() { } /** - * Set the instanceName value. + * Set name of the server on which the measurement is made. * * @param instanceName the instanceName value to set * @return the PerfMonSample object itself. @@ -74,7 +74,7 @@ public PerfMonSample withInstanceName(String instanceName) { } /** - * Get the value value. + * Get value of counter at a certain time. * * @return the value value */ @@ -83,7 +83,7 @@ public Double value() { } /** - * Set the value value. + * Set value of counter at a certain time. * * @param value the value value to set * @return the PerfMonSample object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonSet.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonSet.java index 5f80ab2e1e0ff..63b50812ee1d8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonSet.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PerfMonSet.java @@ -47,7 +47,7 @@ public class PerfMonSet { private List values; /** - * Get the name value. + * Get unique key name of the counter. * * @return the name value */ @@ -56,7 +56,7 @@ public String name() { } /** - * Set the name value. + * Set unique key name of the counter. * * @param name the name value to set * @return the PerfMonSet object itself. @@ -67,7 +67,7 @@ public PerfMonSet withName(String name) { } /** - * Get the startTime value. + * Get start time of the period. * * @return the startTime value */ @@ -76,7 +76,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the period. * * @param startTime the startTime value to set * @return the PerfMonSet object itself. @@ -87,7 +87,7 @@ public PerfMonSet withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the period. * * @return the endTime value */ @@ -96,7 +96,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the period. * * @param endTime the endTime value to set * @return the PerfMonSet object itself. @@ -107,7 +107,7 @@ public PerfMonSet withEndTime(DateTime endTime) { } /** - * Get the timeGrain value. + * Get presented time grain. * * @return the timeGrain value */ @@ -116,7 +116,7 @@ public String timeGrain() { } /** - * Set the timeGrain value. + * Set presented time grain. * * @param timeGrain the timeGrain value to set * @return the PerfMonSet object itself. @@ -127,7 +127,7 @@ public PerfMonSet withTimeGrain(String timeGrain) { } /** - * Get the values value. + * Get collection of workers that are active during this time. * * @return the values value */ @@ -136,7 +136,7 @@ public List values() { } /** - * Set the values value. + * Set collection of workers that are active during this time. * * @param values the values value to set * @return the PerfMonSet object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java index 80132a119ad1d..1939d904ff7df 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccess.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccess.java index add05acbac1c6..aec627cde5be9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccess.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccessSubnet.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccessSubnet.java index dcfe8ccbb0449..97dec81838af2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccessSubnet.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccessSubnet.java @@ -28,7 +28,7 @@ public class PrivateAccessSubnet { private Integer key; /** - * Get the name value. + * Get the name of the subnet. * * @return the name value */ @@ -37,7 +37,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the subnet. * * @param name the name value to set * @return the PrivateAccessSubnet object itself. @@ -48,7 +48,7 @@ public PrivateAccessSubnet withName(String name) { } /** - * Get the key value. + * Get the key (ID) of the subnet. * * @return the key value */ @@ -57,7 +57,7 @@ public Integer key() { } /** - * Set the key value. + * Set the key (ID) of the subnet. * * @param key the key value to set * @return the PrivateAccessSubnet object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccessVirtualNetwork.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccessVirtualNetwork.java index 2a7a4fb102011..b79cc0f576684 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccessVirtualNetwork.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PrivateAccessVirtualNetwork.java @@ -42,7 +42,7 @@ public class PrivateAccessVirtualNetwork { private List subnets; /** - * Get the name value. + * Get the name of the Virtual Network. * * @return the name value */ @@ -51,7 +51,7 @@ public String name() { } /** - * Set the name value. + * Set the name of the Virtual Network. * * @param name the name value to set * @return the PrivateAccessVirtualNetwork object itself. @@ -62,7 +62,7 @@ public PrivateAccessVirtualNetwork withName(String name) { } /** - * Get the key value. + * Get the key (ID) of the Virtual Network. * * @return the key value */ @@ -71,7 +71,7 @@ public Integer key() { } /** - * Set the key value. + * Set the key (ID) of the Virtual Network. * * @param key the key value to set * @return the PrivateAccessVirtualNetwork object itself. @@ -82,7 +82,7 @@ public PrivateAccessVirtualNetwork withKey(Integer key) { } /** - * Get the resourceId value. + * Get the ARM uri of the Virtual Network. * * @return the resourceId value */ @@ -91,7 +91,7 @@ public String resourceId() { } /** - * Set the resourceId value. + * Set the ARM uri of the Virtual Network. * * @param resourceId the resourceId value to set * @return the PrivateAccessVirtualNetwork object itself. @@ -102,7 +102,7 @@ public PrivateAccessVirtualNetwork withResourceId(String resourceId) { } /** - * Get the subnets value. + * Get a List of subnets that access is allowed to on this Virtual Network. An empty array (but not null) is interpreted to mean that all subnets are allowed within this Virtual Network. * * @return the subnets value */ @@ -111,7 +111,7 @@ public List subnets() { } /** - * Set the subnets value. + * Set a List of subnets that access is allowed to on this Virtual Network. An empty array (but not null) is interpreted to mean that all subnets are allowed within this Virtual Network. * * @param subnets the subnets value to set * @return the PrivateAccessVirtualNetwork object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessInfo.java index d9c894a8e0c65..cb86702a6f1c2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessInfo.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessModuleInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessModuleInfo.java index fd9b214e639e5..bd652d6d46bd9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessModuleInfo.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessThreadInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessThreadInfo.java index d3f2c7c2ae87d..3e30c7bec4c28 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProcessThreadInfo.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProxyOnlyResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProxyOnlyResource.java index 3841b47ff2666..cf15f3ff34dd6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProxyOnlyResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ProxyOnlyResource.java @@ -23,7 +23,7 @@ public class ProxyOnlyResource extends ProxyResource { private String kind; /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -32,7 +32,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the ProxyOnlyResource object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PublicCertificate.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PublicCertificate.java index 1b539f3544bf3..b59914cb84c7e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PublicCertificate.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PushSettings.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PushSettings.java index c24395b90ac3c..28170ac8abdf6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PushSettings.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RampUpRule.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RampUpRule.java index 123c953b0cedb..3d06c5c350159 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RampUpRule.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RampUpRule.java @@ -78,7 +78,7 @@ public class RampUpRule { private String name; /** - * Get the actionHostName value. + * Get hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. * * @return the actionHostName value */ @@ -87,7 +87,7 @@ public String actionHostName() { } /** - * Set the actionHostName value. + * Set hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. * * @param actionHostName the actionHostName value to set * @return the RampUpRule object itself. @@ -98,7 +98,7 @@ public RampUpRule withActionHostName(String actionHostName) { } /** - * Get the reroutePercentage value. + * Get percentage of the traffic which will be redirected to <code>ActionHostName</code>. * * @return the reroutePercentage value */ @@ -107,7 +107,7 @@ public Double reroutePercentage() { } /** - * Set the reroutePercentage value. + * Set percentage of the traffic which will be redirected to <code>ActionHostName</code>. * * @param reroutePercentage the reroutePercentage value to set * @return the RampUpRule object itself. @@ -118,7 +118,9 @@ public RampUpRule withReroutePercentage(Double reroutePercentage) { } /** - * Get the changeStep value. + * Get in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @return the changeStep value */ @@ -127,7 +129,9 @@ public Double changeStep() { } /** - * Set the changeStep value. + * Set in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @param changeStep the changeStep value to set * @return the RampUpRule object itself. @@ -138,7 +142,7 @@ public RampUpRule withChangeStep(Double changeStep) { } /** - * Get the changeIntervalInMinutes value. + * Get specifies interval in mimuntes to reevaluate ReroutePercentage. * * @return the changeIntervalInMinutes value */ @@ -147,7 +151,7 @@ public Integer changeIntervalInMinutes() { } /** - * Set the changeIntervalInMinutes value. + * Set specifies interval in mimuntes to reevaluate ReroutePercentage. * * @param changeIntervalInMinutes the changeIntervalInMinutes value to set * @return the RampUpRule object itself. @@ -158,7 +162,7 @@ public RampUpRule withChangeIntervalInMinutes(Integer changeIntervalInMinutes) { } /** - * Get the minReroutePercentage value. + * Get specifies lower boundary above which ReroutePercentage will stay. * * @return the minReroutePercentage value */ @@ -167,7 +171,7 @@ public Double minReroutePercentage() { } /** - * Set the minReroutePercentage value. + * Set specifies lower boundary above which ReroutePercentage will stay. * * @param minReroutePercentage the minReroutePercentage value to set * @return the RampUpRule object itself. @@ -178,7 +182,7 @@ public RampUpRule withMinReroutePercentage(Double minReroutePercentage) { } /** - * Get the maxReroutePercentage value. + * Get specifies upper boundary below which ReroutePercentage will stay. * * @return the maxReroutePercentage value */ @@ -187,7 +191,7 @@ public Double maxReroutePercentage() { } /** - * Set the maxReroutePercentage value. + * Set specifies upper boundary below which ReroutePercentage will stay. * * @param maxReroutePercentage the maxReroutePercentage value to set * @return the RampUpRule object itself. @@ -198,7 +202,8 @@ public RampUpRule withMaxReroutePercentage(Double maxReroutePercentage) { } /** - * Get the changeDecisionCallbackUrl value. + * Get custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. + https://www.siteextensions.net/packages/TiPCallback/. * * @return the changeDecisionCallbackUrl value */ @@ -207,7 +212,8 @@ public String changeDecisionCallbackUrl() { } /** - * Set the changeDecisionCallbackUrl value. + * Set custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. + https://www.siteextensions.net/packages/TiPCallback/. * * @param changeDecisionCallbackUrl the changeDecisionCallbackUrl value to set * @return the RampUpRule object itself. @@ -218,7 +224,7 @@ public RampUpRule withChangeDecisionCallbackUrl(String changeDecisionCallbackUrl } /** - * Get the name value. + * Get name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. * * @return the name value */ @@ -227,7 +233,7 @@ public String name() { } /** - * Set the name value. + * Set name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. * * @param name the name value to set * @return the RampUpRule object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Recommendation.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Recommendation.java index a747281c47216..231dab0196ff0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Recommendation.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RecommendationRule.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RecommendationRule.java index 50fe554598653..55e551dfc08d7 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RecommendationRule.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ReissueCertificateOrderRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ReissueCertificateOrderRequest.java index 417a23c7350ee..1822e1fd674a6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ReissueCertificateOrderRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ReissueCertificateOrderRequest.java @@ -43,7 +43,7 @@ public class ReissueCertificateOrderRequest extends ProxyOnlyResource { private Boolean isPrivateKeyExternal; /** - * Get the keySize value. + * Get certificate Key Size. * * @return the keySize value */ @@ -52,7 +52,7 @@ public Integer keySize() { } /** - * Set the keySize value. + * Set certificate Key Size. * * @param keySize the keySize value to set * @return the ReissueCertificateOrderRequest object itself. @@ -63,7 +63,7 @@ public ReissueCertificateOrderRequest withKeySize(Integer keySize) { } /** - * Get the delayExistingRevokeInHours value. + * Get delay in hours to revoke existing certificate after the new certificate is issued. * * @return the delayExistingRevokeInHours value */ @@ -72,7 +72,7 @@ public Integer delayExistingRevokeInHours() { } /** - * Set the delayExistingRevokeInHours value. + * Set delay in hours to revoke existing certificate after the new certificate is issued. * * @param delayExistingRevokeInHours the delayExistingRevokeInHours value to set * @return the ReissueCertificateOrderRequest object itself. @@ -83,7 +83,7 @@ public ReissueCertificateOrderRequest withDelayExistingRevokeInHours(Integer del } /** - * Get the csr value. + * Get csr to be used for re-key operation. * * @return the csr value */ @@ -92,7 +92,7 @@ public String csr() { } /** - * Set the csr value. + * Set csr to be used for re-key operation. * * @param csr the csr value to set * @return the ReissueCertificateOrderRequest object itself. @@ -103,7 +103,7 @@ public ReissueCertificateOrderRequest withCsr(String csr) { } /** - * Get the isPrivateKeyExternal value. + * Get should we change the ASC type (from managed private key to external private key and vice versa). * * @return the isPrivateKeyExternal value */ @@ -112,7 +112,7 @@ public Boolean isPrivateKeyExternal() { } /** - * Set the isPrivateKeyExternal value. + * Set should we change the ASC type (from managed private key to external private key and vice versa). * * @param isPrivateKeyExternal the isPrivateKeyExternal value to set * @return the ReissueCertificateOrderRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RelayServiceConnectionEntity.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RelayServiceConnectionEntity.java index 862eeba5f4780..08225749727ac 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RelayServiceConnectionEntity.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RenewCertificateOrderRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RenewCertificateOrderRequest.java index 428e4271cebc5..227020c64b336 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RenewCertificateOrderRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RenewCertificateOrderRequest.java @@ -36,7 +36,7 @@ public class RenewCertificateOrderRequest extends ProxyOnlyResource { private Boolean isPrivateKeyExternal; /** - * Get the keySize value. + * Get certificate Key Size. * * @return the keySize value */ @@ -45,7 +45,7 @@ public Integer keySize() { } /** - * Set the keySize value. + * Set certificate Key Size. * * @param keySize the keySize value to set * @return the RenewCertificateOrderRequest object itself. @@ -56,7 +56,7 @@ public RenewCertificateOrderRequest withKeySize(Integer keySize) { } /** - * Get the csr value. + * Get csr to be used for re-key operation. * * @return the csr value */ @@ -65,7 +65,7 @@ public String csr() { } /** - * Set the csr value. + * Set csr to be used for re-key operation. * * @param csr the csr value to set * @return the RenewCertificateOrderRequest object itself. @@ -76,7 +76,7 @@ public RenewCertificateOrderRequest withCsr(String csr) { } /** - * Get the isPrivateKeyExternal value. + * Get should we change the ASC type (from managed private key to external private key and vice versa). * * @return the isPrivateKeyExternal value */ @@ -85,7 +85,7 @@ public Boolean isPrivateKeyExternal() { } /** - * Set the isPrivateKeyExternal value. + * Set should we change the ASC type (from managed private key to external private key and vice versa). * * @param isPrivateKeyExternal the isPrivateKeyExternal value to set * @return the RenewCertificateOrderRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RequestsBasedTrigger.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RequestsBasedTrigger.java index 127ab8afc6752..3ed03cca6a1ac 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RequestsBasedTrigger.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RequestsBasedTrigger.java @@ -27,7 +27,7 @@ public class RequestsBasedTrigger { private String timeInterval; /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -36,7 +36,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the RequestsBasedTrigger object itself. @@ -47,7 +47,7 @@ public RequestsBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -56,7 +56,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the RequestsBasedTrigger object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricAvailability.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricAvailability.java index 5710e4405408e..e98ed19ab4e3f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricAvailability.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricAvailability.java @@ -27,7 +27,7 @@ public class ResourceMetricAvailability { private String retention; /** - * Get the timeGrain value. + * Get time grain . * * @return the timeGrain value */ @@ -36,7 +36,7 @@ public String timeGrain() { } /** - * Get the retention value. + * Get retention period for the current time grain. * * @return the retention value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricName.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricName.java index 0f0e2f1835f64..95b8a1ab4003e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricName.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricName.java @@ -27,7 +27,7 @@ public class ResourceMetricName { private String localizedValue; /** - * Get the value value. + * Get metric name value. * * @return the value value */ @@ -36,7 +36,7 @@ public String value() { } /** - * Get the localizedValue value. + * Get localized metric name value. * * @return the localizedValue value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricProperty.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricProperty.java index 828018016bd1a..5bed2519c5d36 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricProperty.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricProperty.java @@ -27,7 +27,7 @@ public class ResourceMetricProperty { private String value; /** - * Get the key value. + * Get key for resource metric property. * * @return the key value */ @@ -36,7 +36,7 @@ public String key() { } /** - * Set the key value. + * Set key for resource metric property. * * @param key the key value to set * @return the ResourceMetricProperty object itself. @@ -47,7 +47,7 @@ public ResourceMetricProperty withKey(String key) { } /** - * Get the value value. + * Get value of pair. * * @return the value value */ @@ -56,7 +56,7 @@ public String value() { } /** - * Set the value value. + * Set value of pair. * * @param value the value value to set * @return the ResourceMetricProperty object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricValue.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricValue.java index 580c0cab9a397..7ebab3f561155 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricValue.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceMetricValue.java @@ -58,7 +58,7 @@ public class ResourceMetricValue { private List properties; /** - * Get the timestamp value. + * Get value timestamp. * * @return the timestamp value */ @@ -67,7 +67,7 @@ public String timestamp() { } /** - * Get the average value. + * Get value average. * * @return the average value */ @@ -76,7 +76,7 @@ public Double average() { } /** - * Get the minimum value. + * Get value minimum. * * @return the minimum value */ @@ -85,7 +85,7 @@ public Double minimum() { } /** - * Get the maximum value. + * Get value maximum. * * @return the maximum value */ @@ -94,7 +94,7 @@ public Double maximum() { } /** - * Get the total value. + * Get value total. * * @return the total value */ @@ -103,7 +103,7 @@ public Double total() { } /** - * Get the count value. + * Get value count. * * @return the count value */ @@ -112,7 +112,7 @@ public Double count() { } /** - * Get the properties value. + * Get resource metric properties collection. * * @return the properties value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceNameAvailabilityRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceNameAvailabilityRequest.java index 09ca602cee098..11eced20b5ea6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceNameAvailabilityRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceNameAvailabilityRequest.java @@ -36,7 +36,7 @@ public class ResourceNameAvailabilityRequest { private Boolean isFqdn; /** - * Get the name value. + * Get resource name to verify. * * @return the name value */ @@ -45,7 +45,7 @@ public String name() { } /** - * Set the name value. + * Set resource name to verify. * * @param name the name value to set * @return the ResourceNameAvailabilityRequest object itself. @@ -56,7 +56,7 @@ public ResourceNameAvailabilityRequest withName(String name) { } /** - * Get the type value. + * Get resource type used for verification. Possible values include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'. * * @return the type value */ @@ -65,7 +65,7 @@ public CheckNameResourceTypes type() { } /** - * Set the type value. + * Set resource type used for verification. Possible values include: 'Site', 'Slot', 'HostingEnvironment', 'PublishingUser', 'Microsoft.Web/sites', 'Microsoft.Web/sites/slots', 'Microsoft.Web/hostingEnvironments', 'Microsoft.Web/publishingUsers'. * * @param type the type value to set * @return the ResourceNameAvailabilityRequest object itself. @@ -76,7 +76,7 @@ public ResourceNameAvailabilityRequest withType(CheckNameResourceTypes type) { } /** - * Get the isFqdn value. + * Get is fully qualified domain name. * * @return the isFqdn value */ @@ -85,7 +85,7 @@ public Boolean isFqdn() { } /** - * Set the isFqdn value. + * Set is fully qualified domain name. * * @param isFqdn the isFqdn value to set * @return the ResourceNameAvailabilityRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResponseMetaData.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResponseMetaData.java index 9d383501f458e..4585e49e020e8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResponseMetaData.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResponseMetaData.java @@ -21,7 +21,7 @@ public class ResponseMetaData { private DataSource dataSource; /** - * Get the dataSource value. + * Get source of the Data. * * @return the dataSource value */ @@ -30,7 +30,7 @@ public DataSource dataSource() { } /** - * Set the dataSource value. + * Set source of the Data. * * @param dataSource the dataSource value to set * @return the ResponseMetaData object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RestoreRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RestoreRequest.java index 033364d8266db..bc397927de60c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RestoreRequest.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmCsmUsageQuota.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmCsmUsageQuota.java index 7bf86efcc8293..55c2b358dc78b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmCsmUsageQuota.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmHybridConnection.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmHybridConnection.java index e5760052b8ca3..0ed638bfd3cb3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmHybridConnection.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetric.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetric.java index 4e7a043ca70bc..46c44b97a0043 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetric.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetricDefinition.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetricDefinition.java index a380f98605589..2f982bfb4a8de 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmResourceMetricDefinition.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java index d88e1392432a2..3523b8a0ee469 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java +++ b/appservice/resource-manager/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 org.joda.time.DateTime; import java.util.Map; @@ -19,7 +19,7 @@ /** * Type representing ServerfarmSite. */ -public interface ServerfarmSite extends HasInner, HasManager { +public interface ServerfarmSite extends HasInner, HasManager { /** * @return the availabilityState value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetGateway.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetGateway.java index 83c4402e1effd..cf925c84abf60 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetGateway.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java index 9b860fc0e759a..675e1c498855f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java index 2dc022bf7397f..66d42e5456c25 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneability.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneability.java index f3b3549c775a8..11a026bf47a3e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneability.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneabilityCriterion.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneabilityCriterion.java index 434471689ca83..19dd806b0b0db 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneabilityCriterion.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCloneabilityCriterion.java @@ -27,7 +27,7 @@ public class SiteCloneabilityCriterion { private String description; /** - * Get the name value. + * Get name of criterion. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set name of criterion. * * @param name the name value to set * @return the SiteCloneabilityCriterion object itself. @@ -47,7 +47,7 @@ public SiteCloneabilityCriterion withName(String name) { } /** - * Get the description value. + * Get description of criterion. * * @return the description value */ @@ -56,7 +56,7 @@ public String description() { } /** - * Set the description value. + * Set description of criterion. * * @param description the description value to set * @return the SiteCloneabilityCriterion object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java index 384634460f9d8..31b877c49d29a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java @@ -328,7 +328,7 @@ public class SiteConfig { private FtpsState ftpsState; /** - * Get the numberOfWorkers value. + * Get number of workers. * * @return the numberOfWorkers value */ @@ -337,7 +337,7 @@ public Integer numberOfWorkers() { } /** - * Set the numberOfWorkers value. + * Set number of workers. * * @param numberOfWorkers the numberOfWorkers value to set * @return the SiteConfig object itself. @@ -348,7 +348,7 @@ public SiteConfig withNumberOfWorkers(Integer numberOfWorkers) { } /** - * Get the defaultDocuments value. + * Get default documents. * * @return the defaultDocuments value */ @@ -357,7 +357,7 @@ public List defaultDocuments() { } /** - * Set the defaultDocuments value. + * Set default documents. * * @param defaultDocuments the defaultDocuments value to set * @return the SiteConfig object itself. @@ -368,7 +368,7 @@ public SiteConfig withDefaultDocuments(List defaultDocuments) { } /** - * Get the netFrameworkVersion value. + * Get .NET Framework version. * * @return the netFrameworkVersion value */ @@ -377,7 +377,7 @@ public String netFrameworkVersion() { } /** - * Set the netFrameworkVersion value. + * Set .NET Framework version. * * @param netFrameworkVersion the netFrameworkVersion value to set * @return the SiteConfig object itself. @@ -388,7 +388,7 @@ public SiteConfig withNetFrameworkVersion(String netFrameworkVersion) { } /** - * Get the phpVersion value. + * Get version of PHP. * * @return the phpVersion value */ @@ -397,7 +397,7 @@ public String phpVersion() { } /** - * Set the phpVersion value. + * Set version of PHP. * * @param phpVersion the phpVersion value to set * @return the SiteConfig object itself. @@ -408,7 +408,7 @@ public SiteConfig withPhpVersion(String phpVersion) { } /** - * Get the pythonVersion value. + * Get version of Python. * * @return the pythonVersion value */ @@ -417,7 +417,7 @@ public String pythonVersion() { } /** - * Set the pythonVersion value. + * Set version of Python. * * @param pythonVersion the pythonVersion value to set * @return the SiteConfig object itself. @@ -428,7 +428,7 @@ public SiteConfig withPythonVersion(String pythonVersion) { } /** - * Get the nodeVersion value. + * Get version of Node.js. * * @return the nodeVersion value */ @@ -437,7 +437,7 @@ public String nodeVersion() { } /** - * Set the nodeVersion value. + * Set version of Node.js. * * @param nodeVersion the nodeVersion value to set * @return the SiteConfig object itself. @@ -448,7 +448,7 @@ public SiteConfig withNodeVersion(String nodeVersion) { } /** - * Get the linuxFxVersion value. + * Get linux App Framework and version. * * @return the linuxFxVersion value */ @@ -457,7 +457,7 @@ public String linuxFxVersion() { } /** - * Set the linuxFxVersion value. + * Set linux App Framework and version. * * @param linuxFxVersion the linuxFxVersion value to set * @return the SiteConfig object itself. @@ -468,7 +468,7 @@ public SiteConfig withLinuxFxVersion(String linuxFxVersion) { } /** - * Get the xenonFxVersion value. + * Get xenon App Framework and version. * * @return the xenonFxVersion value */ @@ -477,7 +477,7 @@ public String xenonFxVersion() { } /** - * Set the xenonFxVersion value. + * Set xenon App Framework and version. * * @param xenonFxVersion the xenonFxVersion value to set * @return the SiteConfig object itself. @@ -488,7 +488,7 @@ public SiteConfig withXenonFxVersion(String xenonFxVersion) { } /** - * Get the requestTracingEnabled value. + * Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @return the requestTracingEnabled value */ @@ -497,7 +497,7 @@ public Boolean requestTracingEnabled() { } /** - * Set the requestTracingEnabled value. + * Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @param requestTracingEnabled the requestTracingEnabled value to set * @return the SiteConfig object itself. @@ -508,7 +508,7 @@ public SiteConfig withRequestTracingEnabled(Boolean requestTracingEnabled) { } /** - * Get the requestTracingExpirationTime value. + * Get request tracing expiration time. * * @return the requestTracingExpirationTime value */ @@ -517,7 +517,7 @@ public DateTime requestTracingExpirationTime() { } /** - * Set the requestTracingExpirationTime value. + * Set request tracing expiration time. * * @param requestTracingExpirationTime the requestTracingExpirationTime value to set * @return the SiteConfig object itself. @@ -528,7 +528,7 @@ public SiteConfig withRequestTracingExpirationTime(DateTime requestTracingExpira } /** - * Get the remoteDebuggingEnabled value. + * Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @return the remoteDebuggingEnabled value */ @@ -537,7 +537,7 @@ public Boolean remoteDebuggingEnabled() { } /** - * Set the remoteDebuggingEnabled value. + * Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @param remoteDebuggingEnabled the remoteDebuggingEnabled value to set * @return the SiteConfig object itself. @@ -548,7 +548,7 @@ public SiteConfig withRemoteDebuggingEnabled(Boolean remoteDebuggingEnabled) { } /** - * Get the remoteDebuggingVersion value. + * Get remote debugging version. * * @return the remoteDebuggingVersion value */ @@ -557,7 +557,7 @@ public String remoteDebuggingVersion() { } /** - * Set the remoteDebuggingVersion value. + * Set remote debugging version. * * @param remoteDebuggingVersion the remoteDebuggingVersion value to set * @return the SiteConfig object itself. @@ -568,7 +568,7 @@ public SiteConfig withRemoteDebuggingVersion(String remoteDebuggingVersion) { } /** - * Get the httpLoggingEnabled value. + * Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @return the httpLoggingEnabled value */ @@ -577,7 +577,7 @@ public Boolean httpLoggingEnabled() { } /** - * Set the httpLoggingEnabled value. + * Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @param httpLoggingEnabled the httpLoggingEnabled value to set * @return the SiteConfig object itself. @@ -588,7 +588,7 @@ public SiteConfig withHttpLoggingEnabled(Boolean httpLoggingEnabled) { } /** - * Get the logsDirectorySizeLimit value. + * Get hTTP logs directory size limit. * * @return the logsDirectorySizeLimit value */ @@ -597,7 +597,7 @@ public Integer logsDirectorySizeLimit() { } /** - * Set the logsDirectorySizeLimit value. + * Set hTTP logs directory size limit. * * @param logsDirectorySizeLimit the logsDirectorySizeLimit value to set * @return the SiteConfig object itself. @@ -608,7 +608,7 @@ public SiteConfig withLogsDirectorySizeLimit(Integer logsDirectorySizeLimit) { } /** - * Get the detailedErrorLoggingEnabled value. + * Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @return the detailedErrorLoggingEnabled value */ @@ -617,7 +617,7 @@ public Boolean detailedErrorLoggingEnabled() { } /** - * Set the detailedErrorLoggingEnabled value. + * Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @param detailedErrorLoggingEnabled the detailedErrorLoggingEnabled value to set * @return the SiteConfig object itself. @@ -628,7 +628,7 @@ public SiteConfig withDetailedErrorLoggingEnabled(Boolean detailedErrorLoggingEn } /** - * Get the publishingUsername value. + * Get publishing user name. * * @return the publishingUsername value */ @@ -637,7 +637,7 @@ public String publishingUsername() { } /** - * Set the publishingUsername value. + * Set publishing user name. * * @param publishingUsername the publishingUsername value to set * @return the SiteConfig object itself. @@ -648,7 +648,7 @@ public SiteConfig withPublishingUsername(String publishingUsername) { } /** - * Get the appSettings value. + * Get application settings. * * @return the appSettings value */ @@ -657,7 +657,7 @@ public List appSettings() { } /** - * Set the appSettings value. + * Set application settings. * * @param appSettings the appSettings value to set * @return the SiteConfig object itself. @@ -668,7 +668,7 @@ public SiteConfig withAppSettings(List appSettings) { } /** - * Get the connectionStrings value. + * Get connection strings. * * @return the connectionStrings value */ @@ -677,7 +677,7 @@ public List connectionStrings() { } /** - * Set the connectionStrings value. + * Set connection strings. * * @param connectionStrings the connectionStrings value to set * @return the SiteConfig object itself. @@ -688,7 +688,7 @@ public SiteConfig withConnectionStrings(List connectionStrings) } /** - * Get the machineKey value. + * Get site MachineKey. * * @return the machineKey value */ @@ -697,7 +697,7 @@ public SiteMachineKey machineKey() { } /** - * Get the handlerMappings value. + * Get handler mappings. * * @return the handlerMappings value */ @@ -706,7 +706,7 @@ public List handlerMappings() { } /** - * Set the handlerMappings value. + * Set handler mappings. * * @param handlerMappings the handlerMappings value to set * @return the SiteConfig object itself. @@ -717,7 +717,7 @@ public SiteConfig withHandlerMappings(List handlerMappings) { } /** - * Get the documentRoot value. + * Get document root. * * @return the documentRoot value */ @@ -726,7 +726,7 @@ public String documentRoot() { } /** - * Set the documentRoot value. + * Set document root. * * @param documentRoot the documentRoot value to set * @return the SiteConfig object itself. @@ -737,7 +737,7 @@ public SiteConfig withDocumentRoot(String documentRoot) { } /** - * Get the scmType value. + * Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @return the scmType value */ @@ -746,7 +746,7 @@ public ScmType scmType() { } /** - * Set the scmType value. + * Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @param scmType the scmType value to set * @return the SiteConfig object itself. @@ -757,7 +757,7 @@ public SiteConfig withScmType(ScmType scmType) { } /** - * Get the use32BitWorkerProcess value. + * Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @return the use32BitWorkerProcess value */ @@ -766,7 +766,7 @@ public Boolean use32BitWorkerProcess() { } /** - * Set the use32BitWorkerProcess value. + * Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @param use32BitWorkerProcess the use32BitWorkerProcess value to set * @return the SiteConfig object itself. @@ -777,7 +777,7 @@ public SiteConfig withUse32BitWorkerProcess(Boolean use32BitWorkerProcess) { } /** - * Get the webSocketsEnabled value. + * Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @return the webSocketsEnabled value */ @@ -786,7 +786,7 @@ public Boolean webSocketsEnabled() { } /** - * Set the webSocketsEnabled value. + * Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @param webSocketsEnabled the webSocketsEnabled value to set * @return the SiteConfig object itself. @@ -797,7 +797,7 @@ public SiteConfig withWebSocketsEnabled(Boolean webSocketsEnabled) { } /** - * Get the alwaysOn value. + * Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @return the alwaysOn value */ @@ -806,7 +806,7 @@ public Boolean alwaysOn() { } /** - * Set the alwaysOn value. + * Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @param alwaysOn the alwaysOn value to set * @return the SiteConfig object itself. @@ -817,7 +817,7 @@ public SiteConfig withAlwaysOn(Boolean alwaysOn) { } /** - * Get the javaVersion value. + * Get java version. * * @return the javaVersion value */ @@ -826,7 +826,7 @@ public String javaVersion() { } /** - * Set the javaVersion value. + * Set java version. * * @param javaVersion the javaVersion value to set * @return the SiteConfig object itself. @@ -837,7 +837,7 @@ public SiteConfig withJavaVersion(String javaVersion) { } /** - * Get the javaContainer value. + * Get java container. * * @return the javaContainer value */ @@ -846,7 +846,7 @@ public String javaContainer() { } /** - * Set the javaContainer value. + * Set java container. * * @param javaContainer the javaContainer value to set * @return the SiteConfig object itself. @@ -857,7 +857,7 @@ public SiteConfig withJavaContainer(String javaContainer) { } /** - * Get the javaContainerVersion value. + * Get java container version. * * @return the javaContainerVersion value */ @@ -866,7 +866,7 @@ public String javaContainerVersion() { } /** - * Set the javaContainerVersion value. + * Set java container version. * * @param javaContainerVersion the javaContainerVersion value to set * @return the SiteConfig object itself. @@ -877,7 +877,7 @@ public SiteConfig withJavaContainerVersion(String javaContainerVersion) { } /** - * Get the appCommandLine value. + * Get app command line to launch. * * @return the appCommandLine value */ @@ -886,7 +886,7 @@ public String appCommandLine() { } /** - * Set the appCommandLine value. + * Set app command line to launch. * * @param appCommandLine the appCommandLine value to set * @return the SiteConfig object itself. @@ -897,7 +897,7 @@ public SiteConfig withAppCommandLine(String appCommandLine) { } /** - * Get the managedPipelineMode value. + * Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @return the managedPipelineMode value */ @@ -906,7 +906,7 @@ public ManagedPipelineMode managedPipelineMode() { } /** - * Set the managedPipelineMode value. + * Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @param managedPipelineMode the managedPipelineMode value to set * @return the SiteConfig object itself. @@ -917,7 +917,7 @@ public SiteConfig withManagedPipelineMode(ManagedPipelineMode managedPipelineMod } /** - * Get the virtualApplications value. + * Get virtual applications. * * @return the virtualApplications value */ @@ -926,7 +926,7 @@ public List virtualApplications() { } /** - * Set the virtualApplications value. + * Set virtual applications. * * @param virtualApplications the virtualApplications value to set * @return the SiteConfig object itself. @@ -937,7 +937,7 @@ public SiteConfig withVirtualApplications(List virtualApplic } /** - * Get the loadBalancing value. + * Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @return the loadBalancing value */ @@ -946,7 +946,7 @@ public SiteLoadBalancing loadBalancing() { } /** - * Set the loadBalancing value. + * Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @param loadBalancing the loadBalancing value to set * @return the SiteConfig object itself. @@ -957,7 +957,7 @@ public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { } /** - * Get the experiments value. + * Get this is work around for polymophic types. * * @return the experiments value */ @@ -966,7 +966,7 @@ public Experiments experiments() { } /** - * Set the experiments value. + * Set this is work around for polymophic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. @@ -977,7 +977,7 @@ public SiteConfig withExperiments(Experiments experiments) { } /** - * Get the limits value. + * Get site limits. * * @return the limits value */ @@ -986,7 +986,7 @@ public SiteLimits limits() { } /** - * Set the limits value. + * Set site limits. * * @param limits the limits value to set * @return the SiteConfig object itself. @@ -997,7 +997,7 @@ public SiteConfig withLimits(SiteLimits limits) { } /** - * Get the autoHealEnabled value. + * Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @return the autoHealEnabled value */ @@ -1006,7 +1006,7 @@ public Boolean autoHealEnabled() { } /** - * Set the autoHealEnabled value. + * Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @param autoHealEnabled the autoHealEnabled value to set * @return the SiteConfig object itself. @@ -1017,7 +1017,7 @@ public SiteConfig withAutoHealEnabled(Boolean autoHealEnabled) { } /** - * Get the autoHealRules value. + * Get auto Heal rules. * * @return the autoHealRules value */ @@ -1026,7 +1026,7 @@ public AutoHealRules autoHealRules() { } /** - * Set the autoHealRules value. + * Set auto Heal rules. * * @param autoHealRules the autoHealRules value to set * @return the SiteConfig object itself. @@ -1037,7 +1037,7 @@ public SiteConfig withAutoHealRules(AutoHealRules autoHealRules) { } /** - * Get the tracingOptions value. + * Get tracing options. * * @return the tracingOptions value */ @@ -1046,7 +1046,7 @@ public String tracingOptions() { } /** - * Set the tracingOptions value. + * Set tracing options. * * @param tracingOptions the tracingOptions value to set * @return the SiteConfig object itself. @@ -1057,7 +1057,7 @@ public SiteConfig withTracingOptions(String tracingOptions) { } /** - * Get the vnetName value. + * Get virtual Network name. * * @return the vnetName value */ @@ -1066,7 +1066,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set virtual Network name. * * @param vnetName the vnetName value to set * @return the SiteConfig object itself. @@ -1077,7 +1077,7 @@ public SiteConfig withVnetName(String vnetName) { } /** - * Get the cors value. + * Get cross-Origin Resource Sharing (CORS) settings. * * @return the cors value */ @@ -1086,7 +1086,7 @@ public CorsSettings cors() { } /** - * Set the cors value. + * Set cross-Origin Resource Sharing (CORS) settings. * * @param cors the cors value to set * @return the SiteConfig object itself. @@ -1097,7 +1097,7 @@ public SiteConfig withCors(CorsSettings cors) { } /** - * Get the push value. + * Get push endpoint settings. * * @return the push value */ @@ -1106,7 +1106,7 @@ public PushSettingsInner push() { } /** - * Set the push value. + * Set push endpoint settings. * * @param push the push value to set * @return the SiteConfig object itself. @@ -1117,7 +1117,7 @@ public SiteConfig withPush(PushSettingsInner push) { } /** - * Get the apiDefinition value. + * Get information about the formal API definition for the app. * * @return the apiDefinition value */ @@ -1126,7 +1126,7 @@ public ApiDefinitionInfo apiDefinition() { } /** - * Set the apiDefinition value. + * Set information about the formal API definition for the app. * * @param apiDefinition the apiDefinition value to set * @return the SiteConfig object itself. @@ -1137,7 +1137,7 @@ public SiteConfig withApiDefinition(ApiDefinitionInfo apiDefinition) { } /** - * Get the autoSwapSlotName value. + * Get auto-swap slot name. * * @return the autoSwapSlotName value */ @@ -1146,7 +1146,7 @@ public String autoSwapSlotName() { } /** - * Set the autoSwapSlotName value. + * Set auto-swap slot name. * * @param autoSwapSlotName the autoSwapSlotName value to set * @return the SiteConfig object itself. @@ -1157,7 +1157,7 @@ public SiteConfig withAutoSwapSlotName(String autoSwapSlotName) { } /** - * Get the localMySqlEnabled value. + * Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @return the localMySqlEnabled value */ @@ -1166,7 +1166,7 @@ public Boolean localMySqlEnabled() { } /** - * Set the localMySqlEnabled value. + * Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @param localMySqlEnabled the localMySqlEnabled value to set * @return the SiteConfig object itself. @@ -1177,7 +1177,7 @@ public SiteConfig withLocalMySqlEnabled(Boolean localMySqlEnabled) { } /** - * Get the managedServiceIdentityId value. + * Get managed Service Identity Id. * * @return the managedServiceIdentityId value */ @@ -1186,7 +1186,7 @@ public Integer managedServiceIdentityId() { } /** - * Set the managedServiceIdentityId value. + * Set managed Service Identity Id. * * @param managedServiceIdentityId the managedServiceIdentityId value to set * @return the SiteConfig object itself. @@ -1197,7 +1197,7 @@ public SiteConfig withManagedServiceIdentityId(Integer managedServiceIdentityId) } /** - * Get the xManagedServiceIdentityId value. + * Get explicit Managed Service Identity Id. * * @return the xManagedServiceIdentityId value */ @@ -1206,7 +1206,7 @@ public Integer xManagedServiceIdentityId() { } /** - * Set the xManagedServiceIdentityId value. + * Set explicit Managed Service Identity Id. * * @param xManagedServiceIdentityId the xManagedServiceIdentityId value to set * @return the SiteConfig object itself. @@ -1217,7 +1217,7 @@ public SiteConfig withXManagedServiceIdentityId(Integer xManagedServiceIdentityI } /** - * Get the ipSecurityRestrictions value. + * Get iP security restrictions. * * @return the ipSecurityRestrictions value */ @@ -1226,7 +1226,7 @@ public List ipSecurityRestrictions() { } /** - * Set the ipSecurityRestrictions value. + * Set iP security restrictions. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfig object itself. @@ -1237,7 +1237,7 @@ public SiteConfig withIpSecurityRestrictions(List ipSecur } /** - * Get the http20Enabled value. + * Get http20Enabled: configures a web site to allow clients to connect over http2.0. * * @return the http20Enabled value */ @@ -1246,7 +1246,7 @@ public Boolean http20Enabled() { } /** - * Set the http20Enabled value. + * Set http20Enabled: configures a web site to allow clients to connect over http2.0. * * @param http20Enabled the http20Enabled value to set * @return the SiteConfig object itself. @@ -1257,7 +1257,7 @@ public SiteConfig withHttp20Enabled(Boolean http20Enabled) { } /** - * Get the minTlsVersion value. + * Get minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @return the minTlsVersion value */ @@ -1266,7 +1266,7 @@ public SupportedTlsVersions minTlsVersion() { } /** - * Set the minTlsVersion value. + * Set minTlsVersion: configures the minimum version of TLS required for SSL requests. Possible values include: '1.0', '1.1', '1.2'. * * @param minTlsVersion the minTlsVersion value to set * @return the SiteConfig object itself. @@ -1277,7 +1277,7 @@ public SiteConfig withMinTlsVersion(SupportedTlsVersions minTlsVersion) { } /** - * Get the ftpsState value. + * Get state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'. * * @return the ftpsState value */ @@ -1286,7 +1286,7 @@ public FtpsState ftpsState() { } /** - * Set the ftpsState value. + * Set state of FTP / FTPS service. Possible values include: 'AllAllowed', 'FtpsOnly', 'Disabled'. * * @param ftpsState the ftpsState value to set * @return the SiteConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java index f46fef6dd3297..5c64a55f26436 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java +++ b/appservice/resource-manager/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 com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; @@ -19,7 +19,7 @@ /** * Type representing SiteConfigResource. */ -public interface SiteConfigResource extends HasInner, HasManager { +public interface SiteConfigResource extends HasInner, HasManager { /** * @return the alwaysOn value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigurationSnapshotInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigurationSnapshotInfo.java index 0c45c47e1f665..5ef5118198475 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigurationSnapshotInfo.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCsmUsageQuota.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCsmUsageQuota.java index b0cd683832701..61f2a99b8bc81 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteCsmUsageQuota.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteExtensionInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteExtensionInfo.java index e47448c06d9e9..7bfc60f41dd34 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteExtensionInfo.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteHybridConnection.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteHybridConnection.java index 9417e4e822172..4f2fc349c441d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteHybridConnection.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteInstance.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteInstance.java index 8b5bf21e9348f..5444bd17e5bc2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteInstance.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLimits.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLimits.java index ade4f23a83e96..da60e4bf6bcfe 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLimits.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLimits.java @@ -33,7 +33,7 @@ public class SiteLimits { private Long maxDiskSizeInMb; /** - * Get the maxPercentageCpu value. + * Get maximum allowed CPU usage percentage. * * @return the maxPercentageCpu value */ @@ -42,7 +42,7 @@ public Double maxPercentageCpu() { } /** - * Set the maxPercentageCpu value. + * Set maximum allowed CPU usage percentage. * * @param maxPercentageCpu the maxPercentageCpu value to set * @return the SiteLimits object itself. @@ -53,7 +53,7 @@ public SiteLimits withMaxPercentageCpu(Double maxPercentageCpu) { } /** - * Get the maxMemoryInMb value. + * Get maximum allowed memory usage in MB. * * @return the maxMemoryInMb value */ @@ -62,7 +62,7 @@ public Long maxMemoryInMb() { } /** - * Set the maxMemoryInMb value. + * Set maximum allowed memory usage in MB. * * @param maxMemoryInMb the maxMemoryInMb value to set * @return the SiteLimits object itself. @@ -73,7 +73,7 @@ public SiteLimits withMaxMemoryInMb(Long maxMemoryInMb) { } /** - * Get the maxDiskSizeInMb value. + * Get maximum allowed disk size usage in MB. * * @return the maxDiskSizeInMb value */ @@ -82,7 +82,7 @@ public Long maxDiskSizeInMb() { } /** - * Set the maxDiskSizeInMb value. + * Set maximum allowed disk size usage in MB. * * @param maxDiskSizeInMb the maxDiskSizeInMb value to set * @return the SiteLimits object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLogsConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLogsConfig.java index c200e6a133614..f13a7df189300 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteLogsConfig.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteMachineKey.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteMachineKey.java index 14c34e7271b31..71ee86f03d438 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteMachineKey.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteMachineKey.java @@ -39,7 +39,7 @@ public class SiteMachineKey { private String decryptionKey; /** - * Get the validation value. + * Get machineKey validation. * * @return the validation value */ @@ -48,7 +48,7 @@ public String validation() { } /** - * Set the validation value. + * Set machineKey validation. * * @param validation the validation value to set * @return the SiteMachineKey object itself. @@ -59,7 +59,7 @@ public SiteMachineKey withValidation(String validation) { } /** - * Get the validationKey value. + * Get validation key. * * @return the validationKey value */ @@ -68,7 +68,7 @@ public String validationKey() { } /** - * Set the validationKey value. + * Set validation key. * * @param validationKey the validationKey value to set * @return the SiteMachineKey object itself. @@ -79,7 +79,7 @@ public SiteMachineKey withValidationKey(String validationKey) { } /** - * Get the decryption value. + * Get algorithm used for decryption. * * @return the decryption value */ @@ -88,7 +88,7 @@ public String decryption() { } /** - * Set the decryption value. + * Set algorithm used for decryption. * * @param decryption the decryption value to set * @return the SiteMachineKey object itself. @@ -99,7 +99,7 @@ public SiteMachineKey withDecryption(String decryption) { } /** - * Get the decryptionKey value. + * Get decryption key. * * @return the decryptionKey value */ @@ -108,7 +108,7 @@ public String decryptionKey() { } /** - * Set the decryptionKey value. + * Set decryption key. * * @param decryptionKey the decryptionKey value to set * @return the SiteMachineKey object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePatchResource.java index e8c59150daeef..f6ee73a3d0f8f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePatchResource.java @@ -246,7 +246,7 @@ public class SitePatchResource extends ProxyOnlyResource { private Boolean httpsOnly; /** - * Get the state value. + * Get current state of the app. * * @return the state value */ @@ -255,7 +255,7 @@ public String state() { } /** - * Get the hostNames value. + * Get hostnames associated with the app. * * @return the hostNames value */ @@ -264,7 +264,7 @@ public List hostNames() { } /** - * Get the repositorySiteName value. + * Get name of the repository site. * * @return the repositorySiteName value */ @@ -273,7 +273,7 @@ public String repositorySiteName() { } /** - * Get the usageState value. + * Get state indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'. * * @return the usageState value */ @@ -282,7 +282,7 @@ public UsageState usageState() { } /** - * Get the enabled value. + * Get <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @return the enabled value */ @@ -291,7 +291,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @param enabled the enabled value to set * @return the SitePatchResource object itself. @@ -302,7 +302,8 @@ public SitePatchResource withEnabled(Boolean enabled) { } /** - * Get the enabledHostNames value. + * Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, + the app is not served on those hostnames. * * @return the enabledHostNames value */ @@ -311,7 +312,7 @@ public List enabledHostNames() { } /** - * Get the availabilityState value. + * Get management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'. * * @return the availabilityState value */ @@ -320,7 +321,7 @@ public SiteAvailabilityState availabilityState() { } /** - * Get the hostNameSslStates value. + * Get hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @return the hostNameSslStates value */ @@ -329,7 +330,7 @@ public List hostNameSslStates() { } /** - * Set the hostNameSslStates value. + * Set hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @param hostNameSslStates the hostNameSslStates value to set * @return the SitePatchResource object itself. @@ -340,7 +341,7 @@ public SitePatchResource withHostNameSslStates(List hostNameSs } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -349,7 +350,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the SitePatchResource object itself. @@ -360,7 +361,7 @@ public SitePatchResource withServerFarmId(String serverFarmId) { } /** - * Get the reserved value. + * Get <code>true</code> if reserved; otherwise, <code>false</code>. * * @return the reserved value */ @@ -369,7 +370,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set <code>true</code> if reserved; otherwise, <code>false</code>. * * @param reserved the reserved value to set * @return the SitePatchResource object itself. @@ -380,7 +381,7 @@ public SitePatchResource withReserved(Boolean reserved) { } /** - * Get the isXenon value. + * Get hyper-V sandbox. * * @return the isXenon value */ @@ -389,7 +390,7 @@ public Boolean isXenon() { } /** - * Set the isXenon value. + * Set hyper-V sandbox. * * @param isXenon the isXenon value to set * @return the SitePatchResource object itself. @@ -400,7 +401,7 @@ public SitePatchResource withIsXenon(Boolean isXenon) { } /** - * Get the lastModifiedTimeUtc value. + * Get last time the app was modified, in UTC. Read-only. * * @return the lastModifiedTimeUtc value */ @@ -409,7 +410,7 @@ public DateTime lastModifiedTimeUtc() { } /** - * Get the siteConfig value. + * Get configuration of the app. * * @return the siteConfig value */ @@ -418,7 +419,7 @@ public SiteConfig siteConfig() { } /** - * Set the siteConfig value. + * Set configuration of the app. * * @param siteConfig the siteConfig value to set * @return the SitePatchResource object itself. @@ -429,7 +430,7 @@ public SitePatchResource withSiteConfig(SiteConfig siteConfig) { } /** - * Get the trafficManagerHostNames value. + * Get azure Traffic Manager hostnames associated with the app. Read-only. * * @return the trafficManagerHostNames value */ @@ -438,7 +439,7 @@ public List trafficManagerHostNames() { } /** - * Get the scmSiteAlsoStopped value. + * Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @return the scmSiteAlsoStopped value */ @@ -447,7 +448,7 @@ public Boolean scmSiteAlsoStopped() { } /** - * Set the scmSiteAlsoStopped value. + * Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @param scmSiteAlsoStopped the scmSiteAlsoStopped value to set * @return the SitePatchResource object itself. @@ -458,7 +459,7 @@ public SitePatchResource withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped) { } /** - * Get the targetSwapSlot value. + * Get specifies which deployment slot this app will swap into. Read-only. * * @return the targetSwapSlot value */ @@ -467,7 +468,7 @@ public String targetSwapSlot() { } /** - * Get the hostingEnvironmentProfile value. + * Get app Service Environment to use for the app. * * @return the hostingEnvironmentProfile value */ @@ -476,7 +477,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set app Service Environment to use for the app. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the SitePatchResource object itself. @@ -487,7 +488,7 @@ public SitePatchResource withHostingEnvironmentProfile(HostingEnvironmentProfile } /** - * Get the clientAffinityEnabled value. + * Get <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @return the clientAffinityEnabled value */ @@ -496,7 +497,7 @@ public Boolean clientAffinityEnabled() { } /** - * Set the clientAffinityEnabled value. + * Set <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @param clientAffinityEnabled the clientAffinityEnabled value to set * @return the SitePatchResource object itself. @@ -507,7 +508,7 @@ public SitePatchResource withClientAffinityEnabled(Boolean clientAffinityEnabled } /** - * Get the clientCertEnabled value. + * Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @return the clientCertEnabled value */ @@ -516,7 +517,7 @@ public Boolean clientCertEnabled() { } /** - * Set the clientCertEnabled value. + * Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @param clientCertEnabled the clientCertEnabled value to set * @return the SitePatchResource object itself. @@ -527,7 +528,8 @@ public SitePatchResource withClientCertEnabled(Boolean clientCertEnabled) { } /** - * Get the hostNamesDisabled value. + * Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @return the hostNamesDisabled value */ @@ -536,7 +538,8 @@ public Boolean hostNamesDisabled() { } /** - * Set the hostNamesDisabled value. + * Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @param hostNamesDisabled the hostNamesDisabled value to set * @return the SitePatchResource object itself. @@ -547,7 +550,7 @@ public SitePatchResource withHostNamesDisabled(Boolean hostNamesDisabled) { } /** - * Get the outboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. * * @return the outboundIpAddresses value */ @@ -556,7 +559,7 @@ public String outboundIpAddresses() { } /** - * Get the possibleOutboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. * * @return the possibleOutboundIpAddresses value */ @@ -565,7 +568,7 @@ public String possibleOutboundIpAddresses() { } /** - * Get the containerSize value. + * Get size of the function container. * * @return the containerSize value */ @@ -574,7 +577,7 @@ public Integer containerSize() { } /** - * Set the containerSize value. + * Set size of the function container. * * @param containerSize the containerSize value to set * @return the SitePatchResource object itself. @@ -585,7 +588,7 @@ public SitePatchResource withContainerSize(Integer containerSize) { } /** - * Get the dailyMemoryTimeQuota value. + * Get maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @return the dailyMemoryTimeQuota value */ @@ -594,7 +597,7 @@ public Integer dailyMemoryTimeQuota() { } /** - * Set the dailyMemoryTimeQuota value. + * Set maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @param dailyMemoryTimeQuota the dailyMemoryTimeQuota value to set * @return the SitePatchResource object itself. @@ -605,7 +608,7 @@ public SitePatchResource withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota) } /** - * Get the suspendedTill value. + * Get app suspended till in case memory-time quota is exceeded. * * @return the suspendedTill value */ @@ -614,7 +617,8 @@ public DateTime suspendedTill() { } /** - * Get the maxNumberOfWorkers value. + * Get maximum number of workers. + This only applies to Functions container. * * @return the maxNumberOfWorkers value */ @@ -623,7 +627,7 @@ public Integer maxNumberOfWorkers() { } /** - * Get the cloningInfo value. + * Get if specified during app creation, the app is cloned from a source app. * * @return the cloningInfo value */ @@ -632,7 +636,7 @@ public CloningInfo cloningInfo() { } /** - * Set the cloningInfo value. + * Set if specified during app creation, the app is cloned from a source app. * * @param cloningInfo the cloningInfo value to set * @return the SitePatchResource object itself. @@ -643,7 +647,7 @@ public SitePatchResource withCloningInfo(CloningInfo cloningInfo) { } /** - * Get the snapshotInfo value. + * Get if specified during app creation, the app is created from a previous snapshot. * * @return the snapshotInfo value */ @@ -652,7 +656,7 @@ public SnapshotRecoveryRequest snapshotInfo() { } /** - * Set the snapshotInfo value. + * Set if specified during app creation, the app is created from a previous snapshot. * * @param snapshotInfo the snapshotInfo value to set * @return the SitePatchResource object itself. @@ -663,7 +667,7 @@ public SitePatchResource withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) } /** - * Get the resourceGroup value. + * Get name of the resource group the app belongs to. Read-only. * * @return the resourceGroup value */ @@ -672,7 +676,7 @@ public String resourceGroup() { } /** - * Get the isDefaultContainer value. + * Get <code>true</code> if the app is a default container; otherwise, <code>false</code>. * * @return the isDefaultContainer value */ @@ -681,7 +685,7 @@ public Boolean isDefaultContainer() { } /** - * Get the defaultHostName value. + * Get default hostname of the app. Read-only. * * @return the defaultHostName value */ @@ -690,7 +694,7 @@ public String defaultHostName() { } /** - * Get the slotSwapStatus value. + * Get status of the last deployment slot swap operation. * * @return the slotSwapStatus value */ @@ -699,7 +703,8 @@ public SlotSwapStatus slotSwapStatus() { } /** - * Get the httpsOnly value. + * Get httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @return the httpsOnly value */ @@ -708,7 +713,8 @@ public Boolean httpsOnly() { } /** - * Set the httpsOnly value. + * Set httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @param httpsOnly the httpsOnly value to set * @return the SitePatchResource object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePhpErrorLogFlag.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePhpErrorLogFlag.java index 3090af424e35c..87238fa3457ea 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePhpErrorLogFlag.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetric.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetric.java index 8a62b8b75caaf..2ce96730dccbb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetric.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetricDefinition.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetricDefinition.java index 173e84239d869..4af5649afb812 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteResourceMetricDefinition.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSeal.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSeal.java index 01f3fa42cb917..b77e9482c873e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSeal.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSealRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSealRequest.java index 3d7fc7b7562f1..57a67f755b4dd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSealRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSealRequest.java @@ -28,7 +28,7 @@ public class SiteSealRequest { private String locale; /** - * Get the lightTheme value. + * Get if <code>true</code> use the light color theme for site seal; otherwise, use the default color theme. * * @return the lightTheme value */ @@ -37,7 +37,7 @@ public Boolean lightTheme() { } /** - * Set the lightTheme value. + * Set if <code>true</code> use the light color theme for site seal; otherwise, use the default color theme. * * @param lightTheme the lightTheme value to set * @return the SiteSealRequest object itself. @@ -48,7 +48,7 @@ public SiteSealRequest withLightTheme(Boolean lightTheme) { } /** - * Get the locale value. + * Get locale of site seal. * * @return the locale value */ @@ -57,7 +57,7 @@ public String locale() { } /** - * Set the locale value. + * Set locale of site seal. * * @param locale the locale value to set * @return the SiteSealRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSourceControl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSourceControl.java index cea94bd0857b2..daf20842ffe91 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteSourceControl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetGateway.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetGateway.java index 0b5a57999e613..1bfe893948cf5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetGateway.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java index 816dd4d2e3637..9269d719e18ce 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java index 2aa1736e646dd..f0cbc9b2e7a75 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java @@ -10,14 +10,14 @@ import com.microsoft.azure.arm.model.HasInner; import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; import com.microsoft.azure.arm.resources.models.HasResourceGroup; import com.microsoft.azure.arm.model.Refreshable; import com.microsoft.azure.arm.model.Updatable; import com.microsoft.azure.arm.model.Appliable; import com.microsoft.azure.arm.model.Creatable; -import com.microsoft.azure.arm.resources.models.GroupableResourceCore; 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.SiteInner; @@ -25,7 +25,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuCapacity.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuCapacity.java index bd11fb00b2c98..32ca524a5fd87 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuCapacity.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuCapacity.java @@ -39,7 +39,7 @@ public class SkuCapacity { private String scaleType; /** - * Get the minimum value. + * Get minimum number of workers for this App Service plan SKU. * * @return the minimum value */ @@ -48,7 +48,7 @@ public Integer minimum() { } /** - * Set the minimum value. + * Set minimum number of workers for this App Service plan SKU. * * @param minimum the minimum value to set * @return the SkuCapacity object itself. @@ -59,7 +59,7 @@ public SkuCapacity withMinimum(Integer minimum) { } /** - * Get the maximum value. + * Get maximum number of workers for this App Service plan SKU. * * @return the maximum value */ @@ -68,7 +68,7 @@ public Integer maximum() { } /** - * Set the maximum value. + * Set maximum number of workers for this App Service plan SKU. * * @param maximum the maximum value to set * @return the SkuCapacity object itself. @@ -79,7 +79,7 @@ public SkuCapacity withMaximum(Integer maximum) { } /** - * Get the defaultProperty value. + * Get default number of workers for this App Service plan SKU. * * @return the defaultProperty value */ @@ -88,7 +88,7 @@ public Integer defaultProperty() { } /** - * Set the defaultProperty value. + * Set default number of workers for this App Service plan SKU. * * @param defaultProperty the defaultProperty value to set * @return the SkuCapacity object itself. @@ -99,7 +99,7 @@ public SkuCapacity withDefaultProperty(Integer defaultProperty) { } /** - * Get the scaleType value. + * Get available scale configurations for an App Service plan. * * @return the scaleType value */ @@ -108,7 +108,7 @@ public String scaleType() { } /** - * Set the scaleType value. + * Set available scale configurations for an App Service plan. * * @param scaleType the scaleType value to set * @return the SkuCapacity object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuDescription.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuDescription.java index 885d5ee5927f9..d52dd8217d477 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuDescription.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuDescription.java @@ -65,7 +65,7 @@ public class SkuDescription { private List capabilities; /** - * Get the name value. + * Get name of the resource SKU. * * @return the name value */ @@ -74,7 +74,7 @@ public String name() { } /** - * Set the name value. + * Set name of the resource SKU. * * @param name the name value to set * @return the SkuDescription object itself. @@ -85,7 +85,7 @@ public SkuDescription withName(String name) { } /** - * Get the tier value. + * Get service tier of the resource SKU. * * @return the tier value */ @@ -94,7 +94,7 @@ public String tier() { } /** - * Set the tier value. + * Set service tier of the resource SKU. * * @param tier the tier value to set * @return the SkuDescription object itself. @@ -105,7 +105,7 @@ public SkuDescription withTier(String tier) { } /** - * Get the size value. + * Get size specifier of the resource SKU. * * @return the size value */ @@ -114,7 +114,7 @@ public String size() { } /** - * Set the size value. + * Set size specifier of the resource SKU. * * @param size the size value to set * @return the SkuDescription object itself. @@ -125,7 +125,7 @@ public SkuDescription withSize(String size) { } /** - * Get the family value. + * Get family code of the resource SKU. * * @return the family value */ @@ -134,7 +134,7 @@ public String family() { } /** - * Set the family value. + * Set family code of the resource SKU. * * @param family the family value to set * @return the SkuDescription object itself. @@ -145,7 +145,7 @@ public SkuDescription withFamily(String family) { } /** - * Get the capacity value. + * Get current number of instances assigned to the resource. * * @return the capacity value */ @@ -154,7 +154,7 @@ public Integer capacity() { } /** - * Set the capacity value. + * Set current number of instances assigned to the resource. * * @param capacity the capacity value to set * @return the SkuDescription object itself. @@ -165,7 +165,7 @@ public SkuDescription withCapacity(Integer capacity) { } /** - * Get the skuCapacity value. + * Get min, max, and default scale values of the SKU. * * @return the skuCapacity value */ @@ -174,7 +174,7 @@ public SkuCapacity skuCapacity() { } /** - * Set the skuCapacity value. + * Set min, max, and default scale values of the SKU. * * @param skuCapacity the skuCapacity value to set * @return the SkuDescription object itself. @@ -185,7 +185,7 @@ public SkuDescription withSkuCapacity(SkuCapacity skuCapacity) { } /** - * Get the locations value. + * Get locations of the SKU. * * @return the locations value */ @@ -194,7 +194,7 @@ public List locations() { } /** - * Set the locations value. + * Set locations of the SKU. * * @param locations the locations value to set * @return the SkuDescription object itself. @@ -205,7 +205,7 @@ public SkuDescription withLocations(List locations) { } /** - * Get the capabilities value. + * Get capabilities of the SKU, e.g., is traffic manager enabled?. * * @return the capabilities value */ @@ -214,7 +214,7 @@ public List capabilities() { } /** - * Set the capabilities value. + * Set capabilities of the SKU, e.g., is traffic manager enabled?. * * @param capabilities the capabilities value to set * @return the SkuDescription object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuInfo.java index 67a4a28fd7445..00002cc290812 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SkuInfo.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java index 313c2c9aeeff4..44ab65222eda1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotDifference.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotDifference.java index d6c1ced13035b..b85ce5580df2e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotDifference.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotSwapStatus.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotSwapStatus.java index fb78c5338d684..0dff21295ba1a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotSwapStatus.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotSwapStatus.java @@ -34,7 +34,7 @@ public class SlotSwapStatus { private String destinationSlotName; /** - * Get the timestampUtc value. + * Get the time the last successful slot swap completed. * * @return the timestampUtc value */ @@ -43,7 +43,7 @@ public DateTime timestampUtc() { } /** - * Get the sourceSlotName value. + * Get the source slot of the last swap operation. * * @return the sourceSlotName value */ @@ -52,7 +52,7 @@ public String sourceSlotName() { } /** - * Get the destinationSlotName value. + * Get the destination slot of the last swap operation. * * @return the destinationSlotName value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java index 767bf4b6cd0f8..8f60080eb637b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java +++ b/appservice/resource-manager/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.Map; @@ -24,7 +24,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlowRequestsBasedTrigger.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlowRequestsBasedTrigger.java index 03866a8b13120..3892b1ebf357b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlowRequestsBasedTrigger.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlowRequestsBasedTrigger.java @@ -33,7 +33,7 @@ public class SlowRequestsBasedTrigger { private String timeInterval; /** - * Get the timeTaken value. + * Get time taken. * * @return the timeTaken value */ @@ -42,7 +42,7 @@ public String timeTaken() { } /** - * Set the timeTaken value. + * Set time taken. * * @param timeTaken the timeTaken value to set * @return the SlowRequestsBasedTrigger object itself. @@ -53,7 +53,7 @@ public SlowRequestsBasedTrigger withTimeTaken(String timeTaken) { } /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -62,7 +62,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the SlowRequestsBasedTrigger object itself. @@ -73,7 +73,7 @@ public SlowRequestsBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -82,7 +82,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the SlowRequestsBasedTrigger object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Snapshot.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Snapshot.java index f52be147fe399..9617af34762d8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Snapshot.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoveryRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoveryRequest.java index c562fc804c1a7..578364ec590b4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoveryRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoveryRequest.java @@ -51,7 +51,7 @@ public class SnapshotRecoveryRequest extends ProxyOnlyResource { private Boolean ignoreConflictingHostNames; /** - * Get the snapshotTime value. + * Get point in time in which the app recovery should be attempted, formatted as a DateTime string. * * @return the snapshotTime value */ @@ -60,7 +60,7 @@ public String snapshotTime() { } /** - * Set the snapshotTime value. + * Set point in time in which the app recovery should be attempted, formatted as a DateTime string. * * @param snapshotTime the snapshotTime value to set * @return the SnapshotRecoveryRequest object itself. @@ -71,7 +71,7 @@ public SnapshotRecoveryRequest withSnapshotTime(String snapshotTime) { } /** - * Get the recoveryTarget value. + * Get specifies the web app that snapshot contents will be written to. * * @return the recoveryTarget value */ @@ -80,7 +80,7 @@ public SnapshotRecoveryTarget recoveryTarget() { } /** - * Set the recoveryTarget value. + * Set specifies the web app that snapshot contents will be written to. * * @param recoveryTarget the recoveryTarget value to set * @return the SnapshotRecoveryRequest object itself. @@ -91,7 +91,7 @@ public SnapshotRecoveryRequest withRecoveryTarget(SnapshotRecoveryTarget recover } /** - * Get the overwrite value. + * Get if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -100,7 +100,7 @@ public boolean overwrite() { } /** - * Set the overwrite value. + * Set if <code>true</code> the recovery operation can overwrite source app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the SnapshotRecoveryRequest object itself. @@ -111,7 +111,7 @@ public SnapshotRecoveryRequest withOverwrite(boolean overwrite) { } /** - * Get the recoverConfiguration value. + * Get if true, site configuration, in addition to content, will be reverted. * * @return the recoverConfiguration value */ @@ -120,7 +120,7 @@ public Boolean recoverConfiguration() { } /** - * Set the recoverConfiguration value. + * Set if true, site configuration, in addition to content, will be reverted. * * @param recoverConfiguration the recoverConfiguration value to set * @return the SnapshotRecoveryRequest object itself. @@ -131,7 +131,8 @@ public SnapshotRecoveryRequest withRecoverConfiguration(Boolean recoverConfigura } /** - * Get the ignoreConflictingHostNames value. + * Get if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @return the ignoreConflictingHostNames value */ @@ -140,7 +141,8 @@ public Boolean ignoreConflictingHostNames() { } /** - * Set the ignoreConflictingHostNames value. + * Set if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @param ignoreConflictingHostNames the ignoreConflictingHostNames value to set * @return the SnapshotRecoveryRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoverySource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoverySource.java index 10d307f0ab276..ae913139e6465 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoverySource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoverySource.java @@ -32,7 +32,7 @@ public class SnapshotRecoverySource { private String id; /** - * Get the location value. + * Get geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS. * * @return the location value */ @@ -41,7 +41,7 @@ public String location() { } /** - * Set the location value. + * Set geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS. * * @param location the location value to set * @return the SnapshotRecoverySource object itself. @@ -52,7 +52,9 @@ public SnapshotRecoverySource withLocation(String location) { } /** - * Get the id value. + * Get aRM resource ID of the source app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the id value */ @@ -61,7 +63,9 @@ public String id() { } /** - * Set the id value. + * Set aRM resource ID of the source app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param id the id value to set * @return the SnapshotRecoverySource object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoveryTarget.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoveryTarget.java index ceeb25a0956f3..be38ab66811ee 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoveryTarget.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRecoveryTarget.java @@ -32,7 +32,7 @@ public class SnapshotRecoveryTarget { private String id; /** - * Get the location value. + * Get geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS. * * @return the location value */ @@ -41,7 +41,7 @@ public String location() { } /** - * Set the location value. + * Set geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS. * * @param location the location value to set * @return the SnapshotRecoveryTarget object itself. @@ -52,7 +52,9 @@ public SnapshotRecoveryTarget withLocation(String location) { } /** - * Get the id value. + * Get aRM resource ID of the target app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @return the id value */ @@ -61,7 +63,9 @@ public String id() { } /** - * Set the id value. + * Set aRM resource ID of the target app. + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and + /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. * * @param id the id value to set * @return the SnapshotRecoveryTarget object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRestoreRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRestoreRequest.java index f911e63d55d1d..a6bdda909ef20 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRestoreRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRestoreRequest.java @@ -53,7 +53,7 @@ public class SnapshotRestoreRequest extends ProxyOnlyResource { private Boolean ignoreConflictingHostNames; /** - * Get the snapshotTime value. + * Get point in time in which the app restore should be done, formatted as a DateTime string. * * @return the snapshotTime value */ @@ -62,7 +62,7 @@ public String snapshotTime() { } /** - * Set the snapshotTime value. + * Set point in time in which the app restore should be done, formatted as a DateTime string. * * @param snapshotTime the snapshotTime value to set * @return the SnapshotRestoreRequest object itself. @@ -73,7 +73,8 @@ public SnapshotRestoreRequest withSnapshotTime(String snapshotTime) { } /** - * Get the recoverySource value. + * Get optional. Specifies the web app that snapshot contents will be retrieved from. + If empty, the targeted web app will be used as the source. * * @return the recoverySource value */ @@ -82,7 +83,8 @@ public SnapshotRecoverySource recoverySource() { } /** - * Set the recoverySource value. + * Set optional. Specifies the web app that snapshot contents will be retrieved from. + If empty, the targeted web app will be used as the source. * * @param recoverySource the recoverySource value to set * @return the SnapshotRestoreRequest object itself. @@ -93,7 +95,7 @@ public SnapshotRestoreRequest withRecoverySource(SnapshotRecoverySource recovery } /** - * Get the overwrite value. + * Get if <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>. * * @return the overwrite value */ @@ -102,7 +104,7 @@ public boolean overwrite() { } /** - * Set the overwrite value. + * Set if <code>true</code> the restore operation can overwrite source app; otherwise, <code>false</code>. * * @param overwrite the overwrite value to set * @return the SnapshotRestoreRequest object itself. @@ -113,7 +115,7 @@ public SnapshotRestoreRequest withOverwrite(boolean overwrite) { } /** - * Get the recoverConfiguration value. + * Get if true, site configuration, in addition to content, will be reverted. * * @return the recoverConfiguration value */ @@ -122,7 +124,7 @@ public Boolean recoverConfiguration() { } /** - * Set the recoverConfiguration value. + * Set if true, site configuration, in addition to content, will be reverted. * * @param recoverConfiguration the recoverConfiguration value to set * @return the SnapshotRestoreRequest object itself. @@ -133,7 +135,8 @@ public SnapshotRestoreRequest withRecoverConfiguration(Boolean recoverConfigurat } /** - * Get the ignoreConflictingHostNames value. + * Get if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @return the ignoreConflictingHostNames value */ @@ -142,7 +145,8 @@ public Boolean ignoreConflictingHostNames() { } /** - * Set the ignoreConflictingHostNames value. + * Set if true, custom hostname conflicts will be ignored when recovering to a target web app. + This setting is only necessary when RecoverConfiguration is enabled. * * @param ignoreConflictingHostNames the ignoreConflictingHostNames value to set * @return the SnapshotRestoreRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Solution.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Solution.java index 617a25be5bb7a..a886ed1a328fd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Solution.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Solution.java @@ -59,7 +59,7 @@ public class Solution { private List> metadata; /** - * Get the id value. + * Get solution Id. * * @return the id value */ @@ -68,7 +68,7 @@ public Double id() { } /** - * Set the id value. + * Set solution Id. * * @param id the id value to set * @return the Solution object itself. @@ -79,7 +79,7 @@ public Solution withId(Double id) { } /** - * Get the displayName value. + * Get display Name of the solution. * * @return the displayName value */ @@ -88,7 +88,7 @@ public String displayName() { } /** - * Set the displayName value. + * Set display Name of the solution. * * @param displayName the displayName value to set * @return the Solution object itself. @@ -99,7 +99,7 @@ public Solution withDisplayName(String displayName) { } /** - * Get the order value. + * Get order of the solution. * * @return the order value */ @@ -108,7 +108,7 @@ public Double order() { } /** - * Set the order value. + * Set order of the solution. * * @param order the order value to set * @return the Solution object itself. @@ -119,7 +119,7 @@ public Solution withOrder(Double order) { } /** - * Get the description value. + * Get description of the solution. * * @return the description value */ @@ -128,7 +128,7 @@ public String description() { } /** - * Set the description value. + * Set description of the solution. * * @param description the description value to set * @return the Solution object itself. @@ -139,7 +139,7 @@ public Solution withDescription(String description) { } /** - * Get the type value. + * Get type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'. * * @return the type value */ @@ -148,7 +148,7 @@ public SolutionType type() { } /** - * Set the type value. + * Set type of Solution. Possible values include: 'QuickSolution', 'DeepInvestigation', 'BestPractices'. * * @param type the type value to set * @return the Solution object itself. @@ -159,7 +159,7 @@ public Solution withType(SolutionType type) { } /** - * Get the data value. + * Get solution Data. * * @return the data value */ @@ -168,7 +168,7 @@ public List> data() { } /** - * Set the data value. + * Set solution Data. * * @param data the data value to set * @return the Solution object itself. @@ -179,7 +179,7 @@ public Solution withData(List> data) { } /** - * Get the metadata value. + * Get solution Metadata. * * @return the metadata value */ @@ -188,7 +188,7 @@ public List> metadata() { } /** - * Set the metadata value. + * Set solution Metadata. * * @param metadata the metadata value to set * @return the Solution object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMajorVersion.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMajorVersion.java index 635b79bc27ee3..e49ec18346612 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMajorVersion.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMajorVersion.java @@ -41,7 +41,7 @@ public class StackMajorVersion { private List minorVersions; /** - * Get the displayVersion value. + * Get application stack major version (display only). * * @return the displayVersion value */ @@ -50,7 +50,7 @@ public String displayVersion() { } /** - * Set the displayVersion value. + * Set application stack major version (display only). * * @param displayVersion the displayVersion value to set * @return the StackMajorVersion object itself. @@ -61,7 +61,7 @@ public StackMajorVersion withDisplayVersion(String displayVersion) { } /** - * Get the runtimeVersion value. + * Get application stack major version (runtime only). * * @return the runtimeVersion value */ @@ -70,7 +70,7 @@ public String runtimeVersion() { } /** - * Set the runtimeVersion value. + * Set application stack major version (runtime only). * * @param runtimeVersion the runtimeVersion value to set * @return the StackMajorVersion object itself. @@ -81,7 +81,7 @@ public StackMajorVersion withRuntimeVersion(String runtimeVersion) { } /** - * Get the isDefault value. + * Get <code>true</code> if this is the default major version; otherwise, <code>false</code>. * * @return the isDefault value */ @@ -90,7 +90,7 @@ public Boolean isDefault() { } /** - * Set the isDefault value. + * Set <code>true</code> if this is the default major version; otherwise, <code>false</code>. * * @param isDefault the isDefault value to set * @return the StackMajorVersion object itself. @@ -101,7 +101,7 @@ public StackMajorVersion withIsDefault(Boolean isDefault) { } /** - * Get the minorVersions value. + * Get minor versions associated with the major version. * * @return the minorVersions value */ @@ -110,7 +110,7 @@ public List minorVersions() { } /** - * Set the minorVersions value. + * Set minor versions associated with the major version. * * @param minorVersions the minorVersions value to set * @return the StackMajorVersion object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMinorVersion.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMinorVersion.java index ddc99d973a866..a4ddb5bac1155 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMinorVersion.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMinorVersion.java @@ -34,7 +34,7 @@ public class StackMinorVersion { private Boolean isDefault; /** - * Get the displayVersion value. + * Get application stack minor version (display only). * * @return the displayVersion value */ @@ -43,7 +43,7 @@ public String displayVersion() { } /** - * Set the displayVersion value. + * Set application stack minor version (display only). * * @param displayVersion the displayVersion value to set * @return the StackMinorVersion object itself. @@ -54,7 +54,7 @@ public StackMinorVersion withDisplayVersion(String displayVersion) { } /** - * Get the runtimeVersion value. + * Get application stack minor version (runtime only). * * @return the runtimeVersion value */ @@ -63,7 +63,7 @@ public String runtimeVersion() { } /** - * Set the runtimeVersion value. + * Set application stack minor version (runtime only). * * @param runtimeVersion the runtimeVersion value to set * @return the StackMinorVersion object itself. @@ -74,7 +74,7 @@ public StackMinorVersion withRuntimeVersion(String runtimeVersion) { } /** - * Get the isDefault value. + * Get <code>true</code> if this is the default minor version; otherwise, <code>false</code>. * * @return the isDefault value */ @@ -83,7 +83,7 @@ public Boolean isDefault() { } /** - * Set the isDefault value. + * Set <code>true</code> if this is the default minor version; otherwise, <code>false</code>. * * @param isDefault the isDefault value to set * @return the StackMinorVersion object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StampCapacity.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StampCapacity.java index 21cc264d0d2a7..6a80bf25f0d6d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StampCapacity.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StatusCodesBasedTrigger.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StatusCodesBasedTrigger.java index d218ed71a7a72..a0841781377df 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StatusCodesBasedTrigger.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StatusCodesBasedTrigger.java @@ -45,7 +45,7 @@ public class StatusCodesBasedTrigger { private String timeInterval; /** - * Get the status value. + * Get hTTP status code. * * @return the status value */ @@ -54,7 +54,7 @@ public Integer status() { } /** - * Set the status value. + * Set hTTP status code. * * @param status the status value to set * @return the StatusCodesBasedTrigger object itself. @@ -65,7 +65,7 @@ public StatusCodesBasedTrigger withStatus(Integer status) { } /** - * Get the subStatus value. + * Get request Sub Status. * * @return the subStatus value */ @@ -74,7 +74,7 @@ public Integer subStatus() { } /** - * Set the subStatus value. + * Set request Sub Status. * * @param subStatus the subStatus value to set * @return the StatusCodesBasedTrigger object itself. @@ -85,7 +85,7 @@ public StatusCodesBasedTrigger withSubStatus(Integer subStatus) { } /** - * Get the win32Status value. + * Get win32 error code. * * @return the win32Status value */ @@ -94,7 +94,7 @@ public Integer win32Status() { } /** - * Set the win32Status value. + * Set win32 error code. * * @param win32Status the win32Status value to set * @return the StatusCodesBasedTrigger object itself. @@ -105,7 +105,7 @@ public StatusCodesBasedTrigger withWin32Status(Integer win32Status) { } /** - * Get the count value. + * Get request Count. * * @return the count value */ @@ -114,7 +114,7 @@ public Integer count() { } /** - * Set the count value. + * Set request Count. * * @param count the count value to set * @return the StatusCodesBasedTrigger object itself. @@ -125,7 +125,7 @@ public StatusCodesBasedTrigger withCount(Integer count) { } /** - * Get the timeInterval value. + * Get time interval. * * @return the timeInterval value */ @@ -134,7 +134,7 @@ public String timeInterval() { } /** - * Set the timeInterval value. + * Set time interval. * * @param timeInterval the timeInterval value to set * @return the StatusCodesBasedTrigger object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationOptions.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationOptions.java index 2cdfb357c5608..e3d26f99330da 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationOptions.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationOptions.java @@ -43,7 +43,7 @@ public class StorageMigrationOptions extends ProxyOnlyResource { private Boolean blockWriteAccessToSite; /** - * Get the azurefilesConnectionString value. + * Get azureFiles connection string. * * @return the azurefilesConnectionString value */ @@ -52,7 +52,7 @@ public String azurefilesConnectionString() { } /** - * Set the azurefilesConnectionString value. + * Set azureFiles connection string. * * @param azurefilesConnectionString the azurefilesConnectionString value to set * @return the StorageMigrationOptions object itself. @@ -63,7 +63,7 @@ public StorageMigrationOptions withAzurefilesConnectionString(String azurefilesC } /** - * Get the azurefilesShare value. + * Get azureFiles share. * * @return the azurefilesShare value */ @@ -72,7 +72,7 @@ public String azurefilesShare() { } /** - * Set the azurefilesShare value. + * Set azureFiles share. * * @param azurefilesShare the azurefilesShare value to set * @return the StorageMigrationOptions object itself. @@ -83,7 +83,7 @@ public StorageMigrationOptions withAzurefilesShare(String azurefilesShare) { } /** - * Get the switchSiteAfterMigration value. + * Get <code>true</code>if the app should be switched over; otherwise, <code>false</code>. * * @return the switchSiteAfterMigration value */ @@ -92,7 +92,7 @@ public Boolean switchSiteAfterMigration() { } /** - * Set the switchSiteAfterMigration value. + * Set <code>true</code>if the app should be switched over; otherwise, <code>false</code>. * * @param switchSiteAfterMigration the switchSiteAfterMigration value to set * @return the StorageMigrationOptions object itself. @@ -103,7 +103,7 @@ public StorageMigrationOptions withSwitchSiteAfterMigration(Boolean switchSiteAf } /** - * Get the blockWriteAccessToSite value. + * Get <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>. * * @return the blockWriteAccessToSite value */ @@ -112,7 +112,7 @@ public Boolean blockWriteAccessToSite() { } /** - * Set the blockWriteAccessToSite value. + * Set <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>. * * @param blockWriteAccessToSite the blockWriteAccessToSite value to set * @return the StorageMigrationOptions object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationResponse.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationResponse.java index 27c1b6f8f854a..544f42a90f4a0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StorageMigrationResponse.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StringDictionary.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StringDictionary.java index a3176ecedea4e..100a585149374 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StringDictionary.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TldLegalAgreement.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TldLegalAgreement.java index c1d8fdf05ae09..58e5f2b1987be 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TldLegalAgreement.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomain.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomain.java index 2a40691b69f46..cf383a3d99b30 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomain.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomainAgreementOption.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomainAgreementOption.java index 8ee236743cd5c..6dfc3fbfdfbaf 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomainAgreementOption.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TopLevelDomainAgreementOption.java @@ -31,7 +31,7 @@ public class TopLevelDomainAgreementOption { private Boolean forTransfer; /** - * Get the includePrivacy value. + * Get if <code>true</code>, then the list of agreements will include agreements for domain privacy as well; otherwise, <code>false</code>. * * @return the includePrivacy value */ @@ -40,7 +40,7 @@ public Boolean includePrivacy() { } /** - * Set the includePrivacy value. + * Set if <code>true</code>, then the list of agreements will include agreements for domain privacy as well; otherwise, <code>false</code>. * * @param includePrivacy the includePrivacy value to set * @return the TopLevelDomainAgreementOption object itself. @@ -51,7 +51,7 @@ public TopLevelDomainAgreementOption withIncludePrivacy(Boolean includePrivacy) } /** - * Get the forTransfer value. + * Get if <code>true</code>, then the list of agreements will include agreements for domain transfer as well; otherwise, <code>false</code>. * * @return the forTransfer value */ @@ -60,7 +60,7 @@ public Boolean forTransfer() { } /** - * Set the forTransfer value. + * Set if <code>true</code>, then the list of agreements will include agreements for domain transfer as well; otherwise, <code>false</code>. * * @param forTransfer the forTransfer value to set * @return the TopLevelDomainAgreementOption object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobHistory.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobHistory.java index 605790afabe65..2f7dfb6daf534 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobHistory.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobRun.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobRun.java index b07fbb2ab200e..4c28a33a1643f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobRun.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredJobRun.java @@ -84,7 +84,7 @@ public class TriggeredJobRun extends ProxyOnlyResource { private String trigger; /** - * Get the webJobId value. + * Get job ID. * * @return the webJobId value */ @@ -93,7 +93,7 @@ public String webJobId() { } /** - * Set the webJobId value. + * Set job ID. * * @param webJobId the webJobId value to set * @return the TriggeredJobRun object itself. @@ -104,7 +104,7 @@ public TriggeredJobRun withWebJobId(String webJobId) { } /** - * Get the webJobName value. + * Get job name. * * @return the webJobName value */ @@ -113,7 +113,7 @@ public String webJobName() { } /** - * Set the webJobName value. + * Set job name. * * @param webJobName the webJobName value to set * @return the TriggeredJobRun object itself. @@ -124,7 +124,7 @@ public TriggeredJobRun withWebJobName(String webJobName) { } /** - * Get the status value. + * Get job status. Possible values include: 'Success', 'Failed', 'Error'. * * @return the status value */ @@ -133,7 +133,7 @@ public TriggeredWebJobStatus status() { } /** - * Set the status value. + * Set job status. Possible values include: 'Success', 'Failed', 'Error'. * * @param status the status value to set * @return the TriggeredJobRun object itself. @@ -144,7 +144,7 @@ public TriggeredJobRun withStatus(TriggeredWebJobStatus status) { } /** - * Get the startTime value. + * Get start time. * * @return the startTime value */ @@ -153,7 +153,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time. * * @param startTime the startTime value to set * @return the TriggeredJobRun object itself. @@ -164,7 +164,7 @@ public TriggeredJobRun withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time. * * @return the endTime value */ @@ -173,7 +173,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time. * * @param endTime the endTime value to set * @return the TriggeredJobRun object itself. @@ -184,7 +184,7 @@ public TriggeredJobRun withEndTime(DateTime endTime) { } /** - * Get the duration value. + * Get job duration. * * @return the duration value */ @@ -193,7 +193,7 @@ public String duration() { } /** - * Set the duration value. + * Set job duration. * * @param duration the duration value to set * @return the TriggeredJobRun object itself. @@ -204,7 +204,7 @@ public TriggeredJobRun withDuration(String duration) { } /** - * Get the outputUrl value. + * Get output URL. * * @return the outputUrl value */ @@ -213,7 +213,7 @@ public String outputUrl() { } /** - * Set the outputUrl value. + * Set output URL. * * @param outputUrl the outputUrl value to set * @return the TriggeredJobRun object itself. @@ -224,7 +224,7 @@ public TriggeredJobRun withOutputUrl(String outputUrl) { } /** - * Get the errorUrl value. + * Get error URL. * * @return the errorUrl value */ @@ -233,7 +233,7 @@ public String errorUrl() { } /** - * Set the errorUrl value. + * Set error URL. * * @param errorUrl the errorUrl value to set * @return the TriggeredJobRun object itself. @@ -244,7 +244,7 @@ public TriggeredJobRun withErrorUrl(String errorUrl) { } /** - * Get the url value. + * Get job URL. * * @return the url value */ @@ -253,7 +253,7 @@ public String url() { } /** - * Set the url value. + * Set job URL. * * @param url the url value to set * @return the TriggeredJobRun object itself. @@ -264,7 +264,7 @@ public TriggeredJobRun withUrl(String url) { } /** - * Get the jobName value. + * Get job name. * * @return the jobName value */ @@ -273,7 +273,7 @@ public String jobName() { } /** - * Set the jobName value. + * Set job name. * * @param jobName the jobName value to set * @return the TriggeredJobRun object itself. @@ -284,7 +284,7 @@ public TriggeredJobRun withJobName(String jobName) { } /** - * Get the trigger value. + * Get job trigger. * * @return the trigger value */ @@ -293,7 +293,7 @@ public String trigger() { } /** - * Set the trigger value. + * Set job trigger. * * @param trigger the trigger value to set * @return the TriggeredJobRun object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredWebJob.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredWebJob.java index 1c82d8e74eac1..7bc42565d2fb2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/TriggeredWebJob.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Usage.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Usage.java index aca653d010805..f3954f241fe99 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Usage.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/User.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/User.java index 852abf7942d3c..82110a83bdebe 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/User.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java index 7e8d26d721ce5..518a02f5abb69 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java @@ -75,7 +75,7 @@ public class ValidateRequest { private String hostingEnvironment; /** - * Get the name value. + * Get resource name to verify. * * @return the name value */ @@ -84,7 +84,7 @@ public String name() { } /** - * Set the name value. + * Set resource name to verify. * * @param name the name value to set * @return the ValidateRequest object itself. @@ -95,7 +95,7 @@ public ValidateRequest withName(String name) { } /** - * Get the type value. + * Get resource type used for verification. Possible values include: 'ServerFarm', 'Site'. * * @return the type value */ @@ -104,7 +104,7 @@ public ValidateResourceTypes type() { } /** - * Set the type value. + * Set resource type used for verification. Possible values include: 'ServerFarm', 'Site'. * * @param type the type value to set * @return the ValidateRequest object itself. @@ -115,7 +115,7 @@ public ValidateRequest withType(ValidateResourceTypes type) { } /** - * Get the location value. + * Get expected location of the resource. * * @return the location value */ @@ -124,7 +124,7 @@ public String location() { } /** - * Set the location value. + * Set expected location of the resource. * * @param location the location value to set * @return the ValidateRequest object itself. @@ -135,7 +135,7 @@ public ValidateRequest withLocation(String location) { } /** - * Get the serverFarmId value. + * Get aRM resource ID of an App Service plan that would host the app. * * @return the serverFarmId value */ @@ -144,7 +144,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set aRM resource ID of an App Service plan that would host the app. * * @param serverFarmId the serverFarmId value to set * @return the ValidateRequest object itself. @@ -155,7 +155,7 @@ public ValidateRequest withServerFarmId(String serverFarmId) { } /** - * Get the skuName value. + * Get name of the target SKU for the App Service plan. * * @return the skuName value */ @@ -164,7 +164,7 @@ public String skuName() { } /** - * Set the skuName value. + * Set name of the target SKU for the App Service plan. * * @param skuName the skuName value to set * @return the ValidateRequest object itself. @@ -175,7 +175,7 @@ public ValidateRequest withSkuName(String skuName) { } /** - * Get the needLinuxWorkers value. + * Get <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>. * * @return the needLinuxWorkers value */ @@ -184,7 +184,7 @@ public Boolean needLinuxWorkers() { } /** - * Set the needLinuxWorkers value. + * Set <code>true</code> if App Service plan is for Linux workers; otherwise, <code>false</code>. * * @param needLinuxWorkers the needLinuxWorkers value to set * @return the ValidateRequest object itself. @@ -195,7 +195,7 @@ public ValidateRequest withNeedLinuxWorkers(Boolean needLinuxWorkers) { } /** - * Get the isSpot value. + * Get <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>. * * @return the isSpot value */ @@ -204,7 +204,7 @@ public Boolean isSpot() { } /** - * Set the isSpot value. + * Set <code>true</code> if App Service plan is for Spot instances; otherwise, <code>false</code>. * * @param isSpot the isSpot value to set * @return the ValidateRequest object itself. @@ -215,7 +215,7 @@ public ValidateRequest withIsSpot(Boolean isSpot) { } /** - * Get the capacity value. + * Get target capacity of the App Service plan (number of VM's). * * @return the capacity value */ @@ -224,7 +224,7 @@ public Integer capacity() { } /** - * Set the capacity value. + * Set target capacity of the App Service plan (number of VM's). * * @param capacity the capacity value to set * @return the ValidateRequest object itself. @@ -235,7 +235,7 @@ public ValidateRequest withCapacity(Integer capacity) { } /** - * Get the hostingEnvironment value. + * Get name of App Service Environment where app or App Service plan should be created. * * @return the hostingEnvironment value */ @@ -244,7 +244,7 @@ public String hostingEnvironment() { } /** - * Set the hostingEnvironment value. + * Set name of App Service Environment where app or App Service plan should be created. * * @param hostingEnvironment the hostingEnvironment value to set * @return the ValidateRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateResponseError.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateResponseError.java index ea313ab676adc..4f86deec47193 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateResponseError.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateResponseError.java @@ -27,7 +27,7 @@ public class ValidateResponseError { private String message; /** - * Get the code value. + * Get validation error code. * * @return the code value */ @@ -36,7 +36,7 @@ public String code() { } /** - * Set the code value. + * Set validation error code. * * @param code the code value to set * @return the ValidateResponseError object itself. @@ -47,7 +47,7 @@ public ValidateResponseError withCode(String code) { } /** - * Get the message value. + * Get validation error message. * * @return the message value */ @@ -56,7 +56,7 @@ public String message() { } /** - * Set the message value. + * Set validation error message. * * @param message the message value to set * @return the ValidateResponseError object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualApplication.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualApplication.java index e30f6b4847ffb..5c5dd665ce306 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualApplication.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualApplication.java @@ -41,7 +41,7 @@ public class VirtualApplication { private List virtualDirectories; /** - * Get the virtualPath value. + * Get virtual path. * * @return the virtualPath value */ @@ -50,7 +50,7 @@ public String virtualPath() { } /** - * Set the virtualPath value. + * Set virtual path. * * @param virtualPath the virtualPath value to set * @return the VirtualApplication object itself. @@ -61,7 +61,7 @@ public VirtualApplication withVirtualPath(String virtualPath) { } /** - * Get the physicalPath value. + * Get physical path. * * @return the physicalPath value */ @@ -70,7 +70,7 @@ public String physicalPath() { } /** - * Set the physicalPath value. + * Set physical path. * * @param physicalPath the physicalPath value to set * @return the VirtualApplication object itself. @@ -81,7 +81,7 @@ public VirtualApplication withPhysicalPath(String physicalPath) { } /** - * Get the preloadEnabled value. + * Get <code>true</code> if preloading is enabled; otherwise, <code>false</code>. * * @return the preloadEnabled value */ @@ -90,7 +90,7 @@ public Boolean preloadEnabled() { } /** - * Set the preloadEnabled value. + * Set <code>true</code> if preloading is enabled; otherwise, <code>false</code>. * * @param preloadEnabled the preloadEnabled value to set * @return the VirtualApplication object itself. @@ -101,7 +101,7 @@ public VirtualApplication withPreloadEnabled(Boolean preloadEnabled) { } /** - * Get the virtualDirectories value. + * Get virtual directories for virtual application. * * @return the virtualDirectories value */ @@ -110,7 +110,7 @@ public List virtualDirectories() { } /** - * Set the virtualDirectories value. + * Set virtual directories for virtual application. * * @param virtualDirectories the virtualDirectories value to set * @return the VirtualApplication object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualDirectory.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualDirectory.java index fabe72841f0ca..2dc44d9f5612a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualDirectory.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualDirectory.java @@ -27,7 +27,7 @@ public class VirtualDirectory { private String physicalPath; /** - * Get the virtualPath value. + * Get path to virtual application. * * @return the virtualPath value */ @@ -36,7 +36,7 @@ public String virtualPath() { } /** - * Set the virtualPath value. + * Set path to virtual application. * * @param virtualPath the virtualPath value to set * @return the VirtualDirectory object itself. @@ -47,7 +47,7 @@ public VirtualDirectory withVirtualPath(String virtualPath) { } /** - * Get the physicalPath value. + * Get physical path. * * @return the physicalPath value */ @@ -56,7 +56,7 @@ public String physicalPath() { } /** - * Set the physicalPath value. + * Set physical path. * * @param physicalPath the physicalPath value to set * @return the VirtualDirectory object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualIPMapping.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualIPMapping.java index 6966c04951afa..0e43da6d53ab3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualIPMapping.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualIPMapping.java @@ -39,7 +39,7 @@ public class VirtualIPMapping { private Boolean inUse; /** - * Get the virtualIP value. + * Get virtual IP address. * * @return the virtualIP value */ @@ -48,7 +48,7 @@ public String virtualIP() { } /** - * Set the virtualIP value. + * Set virtual IP address. * * @param virtualIP the virtualIP value to set * @return the VirtualIPMapping object itself. @@ -59,7 +59,7 @@ public VirtualIPMapping withVirtualIP(String virtualIP) { } /** - * Get the internalHttpPort value. + * Get internal HTTP port. * * @return the internalHttpPort value */ @@ -68,7 +68,7 @@ public Integer internalHttpPort() { } /** - * Set the internalHttpPort value. + * Set internal HTTP port. * * @param internalHttpPort the internalHttpPort value to set * @return the VirtualIPMapping object itself. @@ -79,7 +79,7 @@ public VirtualIPMapping withInternalHttpPort(Integer internalHttpPort) { } /** - * Get the internalHttpsPort value. + * Get internal HTTPS port. * * @return the internalHttpsPort value */ @@ -88,7 +88,7 @@ public Integer internalHttpsPort() { } /** - * Set the internalHttpsPort value. + * Set internal HTTPS port. * * @param internalHttpsPort the internalHttpsPort value to set * @return the VirtualIPMapping object itself. @@ -99,7 +99,7 @@ public VirtualIPMapping withInternalHttpsPort(Integer internalHttpsPort) { } /** - * Get the inUse value. + * Get is virtual IP mapping in use. * * @return the inUse value */ @@ -108,7 +108,7 @@ public Boolean inUse() { } /** - * Set the inUse value. + * Set is virtual IP mapping in use. * * @param inUse the inUse value to set * @return the VirtualIPMapping object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualNetworkProfile.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualNetworkProfile.java index 33c5d1358fec7..1a7f326cd0b09 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualNetworkProfile.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VirtualNetworkProfile.java @@ -39,7 +39,7 @@ public class VirtualNetworkProfile { private String subnet; /** - * Get the id value. + * Get resource id of the Virtual Network. * * @return the id value */ @@ -48,7 +48,7 @@ public String id() { } /** - * Set the id value. + * Set resource id of the Virtual Network. * * @param id the id value to set * @return the VirtualNetworkProfile object itself. @@ -59,7 +59,7 @@ public VirtualNetworkProfile withId(String id) { } /** - * Get the name value. + * Get name of the Virtual Network (read-only). * * @return the name value */ @@ -68,7 +68,7 @@ public String name() { } /** - * Get the type value. + * Get resource type of the Virtual Network (read-only). * * @return the type value */ @@ -77,7 +77,7 @@ public String type() { } /** - * Get the subnet value. + * Get subnet within the Virtual Network. * * @return the subnet value */ @@ -86,7 +86,7 @@ public String subnet() { } /** - * Set the subnet value. + * Set subnet within the Virtual Network. * * @param subnet the subnet value to set * @return the VirtualNetworkProfile object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetParameters.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetParameters.java index 7565da98a1399..55f520a670351 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetParameters.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetParameters.java @@ -35,7 +35,7 @@ public class VnetParameters extends ProxyOnlyResource { private String vnetSubnetName; /** - * Get the vnetResourceGroup value. + * Get the Resource Group of the VNET to be validated. * * @return the vnetResourceGroup value */ @@ -44,7 +44,7 @@ public String vnetResourceGroup() { } /** - * Set the vnetResourceGroup value. + * Set the Resource Group of the VNET to be validated. * * @param vnetResourceGroup the vnetResourceGroup value to set * @return the VnetParameters object itself. @@ -55,7 +55,7 @@ public VnetParameters withVnetResourceGroup(String vnetResourceGroup) { } /** - * Get the vnetName value. + * Get the name of the VNET to be validated. * * @return the vnetName value */ @@ -64,7 +64,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set the name of the VNET to be validated. * * @param vnetName the vnetName value to set * @return the VnetParameters object itself. @@ -75,7 +75,7 @@ public VnetParameters withVnetName(String vnetName) { } /** - * Get the vnetSubnetName value. + * Get the subnet name to be validated. * * @return the vnetSubnetName value */ @@ -84,7 +84,7 @@ public String vnetSubnetName() { } /** - * Set the vnetSubnetName value. + * Set the subnet name to be validated. * * @param vnetSubnetName the vnetSubnetName value to set * @return the VnetParameters object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetRoute.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetRoute.java index 4c58e27445105..cf746dcb849e0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetRoute.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetValidationTestFailure.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetValidationTestFailure.java index 27587657fa010..fa2feb52d13ac 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetValidationTestFailure.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/VnetValidationTestFailure.java @@ -30,7 +30,7 @@ public class VnetValidationTestFailure extends ProxyOnlyResource { private String details; /** - * Get the testName value. + * Get the name of the test that failed. * * @return the testName value */ @@ -39,7 +39,7 @@ public String testName() { } /** - * Set the testName value. + * Set the name of the test that failed. * * @param testName the testName value to set * @return the VnetValidationTestFailure object itself. @@ -50,7 +50,7 @@ public VnetValidationTestFailure withTestName(String testName) { } /** - * Get the details value. + * Get the details of what caused the failure, e.g. the blocking rule name, etc. * * @return the details value */ @@ -59,7 +59,7 @@ public String details() { } /** - * Set the details value. + * Set the details of what caused the failure, e.g. the blocking rule name, etc. * * @param details the details value to set * @return the VnetValidationTestFailure object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index 329b786dbfc0a..e72aafc16f825 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -58,28 +58,88 @@ * Type representing WebApps. */ public interface WebApps { + /** + * Begins definition for a new Site resource. + * @param name resource name. + * @return the first stage of the new Site definition. + */ Sites.DefinitionStages.Blank defineSite(String name); + /** + * Begins definition for a new Deployment resource. + * @param name resource name. + * @return the first stage of the new Deployment definition. + */ Deployment.DefinitionStages.Blank defineDeployment(String name); + /** + * Begins definition for a new DomainOwnershipIdentifier resource. + * @param name resource name. + * @return the first stage of the new DomainOwnershipIdentifier definition. + */ Identifier.DefinitionStages.Blank defineDomainOwnershipIdentifier(String name); + /** + * Begins definition for a new Function resource. + * @param name resource name. + * @return the first stage of the new Function definition. + */ FunctionEnvelope.DefinitionStages.Blank defineFunction(String name); + /** + * Begins definition for a new HostNameBinding resource. + * @param name resource name. + * @return the first stage of the new HostNameBinding definition. + */ HostNameBinding.DefinitionStages.Blank defineHostNameBinding(String name); + /** + * Begins definition for a new Relay resource. + * @param name resource name. + * @return the first stage of the new Relay definition. + */ SiteHybridConnection.DefinitionStages.Blank defineRelay(String name); + /** + * Begins definition for a new Premieraddon resource. + * @param name resource name. + * @return the first stage of the new Premieraddon definition. + */ PremierAddOn.DefinitionStages.Blank definePremieraddon(String name); + /** + * Begins definition for a new PublicCertificate resource. + * @param name resource name. + * @return the first stage of the new PublicCertificate definition. + */ PublicCertificate.DefinitionStages.Blank definePublicCertificate(String name); + /** + * Begins definition for a new Siteextension resource. + * @param name resource name. + * @return the first stage of the new Siteextension definition. + */ SiteExtensionInfo.DefinitionStages.Blank defineSiteextension(String name); + /** + * Begins definition for a new Slot resource. + * @param name resource name. + * @return the first stage of the new Slot definition. + */ Slots.DefinitionStages.Blank defineSlot(String name); + /** + * Begins definition for a new VirtualNetworkConnection resource. + * @param name resource name. + * @return the first stage of the new VirtualNetworkConnection definition. + */ SiteVnetInfo.DefinitionStages.Blank defineVirtualNetworkConnection(String name); + /** + * Begins definition for a new Gateway resource. + * @param name resource name. + * @return the first stage of the new Gateway definition. + */ SiteVnetGateway.DefinitionStages.Blank defineGateway(String name); /** diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebJob.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebJob.java index d0c0d948b708b..df38044543dbc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebJob.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPool.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPool.java index 089762f75b74f..c679d9e3466b3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPool.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPool.java @@ -47,7 +47,7 @@ public class WorkerPool { private List instanceNames; /** - * Get the workerSizeId value. + * Get worker size ID for referencing this worker pool. * * @return the workerSizeId value */ @@ -56,7 +56,7 @@ public Integer workerSizeId() { } /** - * Set the workerSizeId value. + * Set worker size ID for referencing this worker pool. * * @param workerSizeId the workerSizeId value to set * @return the WorkerPool object itself. @@ -67,7 +67,7 @@ public WorkerPool withWorkerSizeId(Integer workerSizeId) { } /** - * Get the computeMode value. + * Get shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -76,7 +76,7 @@ public ComputeModeOptions computeMode() { } /** - * Set the computeMode value. + * Set shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @param computeMode the computeMode value to set * @return the WorkerPool object itself. @@ -87,7 +87,7 @@ public WorkerPool withComputeMode(ComputeModeOptions computeMode) { } /** - * Get the workerSize value. + * Get vM size of the worker pool instances. * * @return the workerSize value */ @@ -96,7 +96,7 @@ public String workerSize() { } /** - * Set the workerSize value. + * Set vM size of the worker pool instances. * * @param workerSize the workerSize value to set * @return the WorkerPool object itself. @@ -107,7 +107,7 @@ public WorkerPool withWorkerSize(String workerSize) { } /** - * Get the workerCount value. + * Get number of instances in the worker pool. * * @return the workerCount value */ @@ -116,7 +116,7 @@ public Integer workerCount() { } /** - * Set the workerCount value. + * Set number of instances in the worker pool. * * @param workerCount the workerCount value to set * @return the WorkerPool object itself. @@ -127,7 +127,7 @@ public WorkerPool withWorkerCount(Integer workerCount) { } /** - * Get the instanceNames value. + * Get names of all instances in the worker pool (read only). * * @return the instanceNames value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPools.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPools.java index 229b904ecb935..bae6d738a6452 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WorkerPools.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseImpl.java index 7123c7cbccd02..f02cd61c30817 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseInner.java index ccecdad09120f..3c652e1216447 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AddressResponseInner.java @@ -42,7 +42,7 @@ public class AddressResponseInner { private List vipMappings; /** - * Get the serviceIpAddress value. + * Get main public virtual IP. * * @return the serviceIpAddress value */ @@ -51,7 +51,7 @@ public String serviceIpAddress() { } /** - * Set the serviceIpAddress value. + * Set main public virtual IP. * * @param serviceIpAddress the serviceIpAddress value to set * @return the AddressResponseInner object itself. @@ -62,7 +62,7 @@ public AddressResponseInner withServiceIpAddress(String serviceIpAddress) { } /** - * Get the internalIpAddress value. + * Get virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode. * * @return the internalIpAddress value */ @@ -71,7 +71,7 @@ public String internalIpAddress() { } /** - * Set the internalIpAddress value. + * Set virtual Network internal IP address of the App Service Environment if it is in internal load-balancing mode. * * @param internalIpAddress the internalIpAddress value to set * @return the AddressResponseInner object itself. @@ -82,7 +82,7 @@ public AddressResponseInner withInternalIpAddress(String internalIpAddress) { } /** - * Get the outboundIpAddresses value. + * Get iP addresses appearing on outbound connections. * * @return the outboundIpAddresses value */ @@ -91,7 +91,7 @@ public List outboundIpAddresses() { } /** - * Set the outboundIpAddresses value. + * Set iP addresses appearing on outbound connections. * * @param outboundIpAddresses the outboundIpAddresses value to set * @return the AddressResponseInner object itself. @@ -102,7 +102,7 @@ public AddressResponseInner withOutboundIpAddresses(List outboundIpAddre } /** - * Get the vipMappings value. + * Get additional virtual IPs. * * @return the vipMappings value */ @@ -111,7 +111,7 @@ public List vipMappings() { } /** - * Set the vipMappings value. + * Set additional virtual IPs. * * @param vipMappings the vipMappings value to set * @return the AddressResponseInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionImpl.java index 1684e4259edf8..eed72cb2c0269 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionInner.java index af9effed1b9a0..84452807c4b4e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AnalysisDefinitionInner.java @@ -24,7 +24,7 @@ public class AnalysisDefinitionInner extends ProxyOnlyResource { private String description; /** - * Get the description value. + * Get description of the Analysis. * * @return the description value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderImpl.java index 1fa7bb5ada840..737f428f27447 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderInner.java index 064cca5a468e5..cf5598d01bea0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrderInner.java @@ -153,7 +153,7 @@ public class AppServiceCertificateOrderInner extends Resource { private String kind; /** - * Get the certificates value. + * Get state of the Key Vault secret. * * @return the certificates value */ @@ -162,7 +162,7 @@ public Map certificates() { } /** - * Set the certificates value. + * Set state of the Key Vault secret. * * @param certificates the certificates value to set * @return the AppServiceCertificateOrderInner object itself. @@ -173,7 +173,7 @@ public AppServiceCertificateOrderInner withCertificates(Map appServiceCertificateNotRenewableReasons() { } /** - * Get the nextAutoRenewalTimeStamp value. + * Get time stamp when the certificate would be auto renewed next. * * @return the nextAutoRenewalTimeStamp value */ @@ -401,7 +401,7 @@ public DateTime nextAutoRenewalTimeStamp() { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -410,7 +410,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the AppServiceCertificateOrderInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersImpl.java index dbe911de68c0d..563e88ecc5835 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersImpl.java +++ b/appservice/resource-manager/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; } @@ -178,7 +178,8 @@ public Observable retrieveCertificateActionsAsync(String public Observable call(List innerList) { return Observable.from(innerList); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public CertificateOrderAction call(CertificateOrderActionInner inner) { return new CertificateOrderActionImpl(inner, manager()); @@ -195,7 +196,8 @@ public Observable retrieveCertificateEmailHistoryAsync(String public Observable call(List innerList) { return Observable.from(innerList); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public CertificateEmail call(CertificateEmailInner inner) { return new CertificateEmailImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateResourceImpl.java index aa10674091fdc..5727afb3aa2d1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateResourceImpl.java +++ b/appservice/resource-manager/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 workerPools() { } /** - * Set the workerPools value. + * Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @param workerPools the workerPools value to set * @return the AppServiceEnvironmentInner object itself. @@ -483,7 +483,7 @@ public AppServiceEnvironmentInner withWorkerPools(List workerPools) } /** - * Get the ipsslAddressCount value. + * Get number of IP SSL addresses reserved for the App Service Environment. * * @return the ipsslAddressCount value */ @@ -492,7 +492,7 @@ public Integer ipsslAddressCount() { } /** - * Set the ipsslAddressCount value. + * Set number of IP SSL addresses reserved for the App Service Environment. * * @param ipsslAddressCount the ipsslAddressCount value to set * @return the AppServiceEnvironmentInner object itself. @@ -503,7 +503,7 @@ public AppServiceEnvironmentInner withIpsslAddressCount(Integer ipsslAddressCoun } /** - * Get the databaseEdition value. + * Get edition of the metadata database for the App Service Environment, e.g. "Standard". * * @return the databaseEdition value */ @@ -512,7 +512,7 @@ public String databaseEdition() { } /** - * Get the databaseServiceObjective value. + * Get service objective of the metadata database for the App Service Environment, e.g. "S0". * * @return the databaseServiceObjective value */ @@ -521,7 +521,7 @@ public String databaseServiceObjective() { } /** - * Get the upgradeDomains value. + * Get number of upgrade domains of the App Service Environment. * * @return the upgradeDomains value */ @@ -530,7 +530,7 @@ public Integer upgradeDomains() { } /** - * Get the subscriptionId value. + * Get subscription of the App Service Environment. * * @return the subscriptionId value */ @@ -539,7 +539,7 @@ public String subscriptionId() { } /** - * Get the dnsSuffix value. + * Get dNS suffix of the App Service Environment. * * @return the dnsSuffix value */ @@ -548,7 +548,7 @@ public String dnsSuffix() { } /** - * Set the dnsSuffix value. + * Set dNS suffix of the App Service Environment. * * @param dnsSuffix the dnsSuffix value to set * @return the AppServiceEnvironmentInner object itself. @@ -559,7 +559,7 @@ public AppServiceEnvironmentInner withDnsSuffix(String dnsSuffix) { } /** - * Get the lastAction value. + * Get last deployment action on the App Service Environment. * * @return the lastAction value */ @@ -568,7 +568,7 @@ public String lastAction() { } /** - * Get the lastActionResult value. + * Get result of the last deployment action on the App Service Environment. * * @return the lastActionResult value */ @@ -577,7 +577,7 @@ public String lastActionResult() { } /** - * Get the allowedMultiSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for front-ends. * * @return the allowedMultiSizes value */ @@ -586,7 +586,7 @@ public String allowedMultiSizes() { } /** - * Get the allowedWorkerSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for workers. * * @return the allowedWorkerSizes value */ @@ -595,7 +595,7 @@ public String allowedWorkerSizes() { } /** - * Get the maximumNumberOfMachines value. + * Get maximum number of VMs in the App Service Environment. * * @return the maximumNumberOfMachines value */ @@ -604,7 +604,7 @@ public Integer maximumNumberOfMachines() { } /** - * Get the vipMappings value. + * Get description of IP SSL mapping for the App Service Environment. * * @return the vipMappings value */ @@ -613,7 +613,7 @@ public List vipMappings() { } /** - * Get the environmentCapacities value. + * Get current total, used, and available worker capacities. * * @return the environmentCapacities value */ @@ -622,7 +622,7 @@ public List environmentCapacities() { } /** - * Get the networkAccessControlList value. + * Get access control list for controlling traffic to the App Service Environment. * * @return the networkAccessControlList value */ @@ -631,7 +631,7 @@ public List networkAccessControlList() { } /** - * Set the networkAccessControlList value. + * Set access control list for controlling traffic to the App Service Environment. * * @param networkAccessControlList the networkAccessControlList value to set * @return the AppServiceEnvironmentInner object itself. @@ -642,7 +642,7 @@ public AppServiceEnvironmentInner withNetworkAccessControlList(List clusterSettings() { } /** - * Set the clusterSettings value. + * Set custom settings for changing the behavior of the App Service Environment. * * @param clusterSettings the clusterSettings value to set * @return the AppServiceEnvironmentInner object itself. @@ -778,7 +782,7 @@ public AppServiceEnvironmentInner withClusterSettings(List cluste } /** - * Get the userWhitelistedIpRanges value. + * Get user added ip ranges to whitelist on ASE db. * * @return the userWhitelistedIpRanges value */ @@ -787,7 +791,7 @@ public List userWhitelistedIpRanges() { } /** - * Set the userWhitelistedIpRanges value. + * Set user added ip ranges to whitelist on ASE db. * * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set * @return the AppServiceEnvironmentInner object itself. @@ -798,7 +802,7 @@ public AppServiceEnvironmentInner withUserWhitelistedIpRanges(List userW } /** - * Get the hasLinuxWorkers value. + * Get flag that displays whether an ASE has linux workers or not. * * @return the hasLinuxWorkers value */ @@ -807,7 +811,7 @@ public Boolean hasLinuxWorkers() { } /** - * Set the hasLinuxWorkers value. + * Set flag that displays whether an ASE has linux workers or not. * * @param hasLinuxWorkers the hasLinuxWorkers value to set * @return the AppServiceEnvironmentInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceImpl.java index 60b94949cfd93..7ae50be3e463c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceImpl.java @@ -25,9 +25,9 @@ import com.microsoft.azure.management.appservice.v2018_02_01.StampCapacity; import rx.functions.Func1; -class AppServiceEnvironmentResourceImpl extends GroupableResourceCoreImpl 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceInner.java index e406af62a529c..d57918b91ad1b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceInner.java @@ -274,7 +274,7 @@ public class AppServiceEnvironmentResourceInner extends Resource { private String kind; /** - * Get the appServiceEnvironmentResourceName value. + * Get name of the App Service Environment. * * @return the appServiceEnvironmentResourceName value */ @@ -283,7 +283,7 @@ public String appServiceEnvironmentResourceName() { } /** - * Set the appServiceEnvironmentResourceName value. + * Set name of the App Service Environment. * * @param appServiceEnvironmentResourceName the appServiceEnvironmentResourceName value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -294,7 +294,7 @@ public AppServiceEnvironmentResourceInner withAppServiceEnvironmentResourceName( } /** - * Get the appServiceEnvironmentResourceLocation value. + * Get location of the App Service Environment, e.g. "West US". * * @return the appServiceEnvironmentResourceLocation value */ @@ -303,7 +303,7 @@ public String appServiceEnvironmentResourceLocation() { } /** - * Set the appServiceEnvironmentResourceLocation value. + * Set location of the App Service Environment, e.g. "West US". * * @param appServiceEnvironmentResourceLocation the appServiceEnvironmentResourceLocation value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -314,7 +314,7 @@ public AppServiceEnvironmentResourceInner withAppServiceEnvironmentResourceLocat } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -323,7 +323,7 @@ public ProvisioningState provisioningState() { } /** - * Get the status value. + * Get current status of the App Service Environment. Possible values include: 'Preparing', 'Ready', 'Scaling', 'Deleting'. * * @return the status value */ @@ -332,7 +332,7 @@ public HostingEnvironmentStatus status() { } /** - * Get the vnetName value. + * Get name of the Virtual Network for the App Service Environment. * * @return the vnetName value */ @@ -341,7 +341,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set name of the Virtual Network for the App Service Environment. * * @param vnetName the vnetName value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -352,7 +352,7 @@ public AppServiceEnvironmentResourceInner withVnetName(String vnetName) { } /** - * Get the vnetResourceGroupName value. + * Get resource group of the Virtual Network. * * @return the vnetResourceGroupName value */ @@ -361,7 +361,7 @@ public String vnetResourceGroupName() { } /** - * Set the vnetResourceGroupName value. + * Set resource group of the Virtual Network. * * @param vnetResourceGroupName the vnetResourceGroupName value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -372,7 +372,7 @@ public AppServiceEnvironmentResourceInner withVnetResourceGroupName(String vnetR } /** - * Get the vnetSubnetName value. + * Get subnet of the Virtual Network. * * @return the vnetSubnetName value */ @@ -381,7 +381,7 @@ public String vnetSubnetName() { } /** - * Set the vnetSubnetName value. + * Set subnet of the Virtual Network. * * @param vnetSubnetName the vnetSubnetName value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -392,7 +392,7 @@ public AppServiceEnvironmentResourceInner withVnetSubnetName(String vnetSubnetNa } /** - * Get the virtualNetwork value. + * Get description of the Virtual Network. * * @return the virtualNetwork value */ @@ -401,7 +401,7 @@ public VirtualNetworkProfile virtualNetwork() { } /** - * Set the virtualNetwork value. + * Set description of the Virtual Network. * * @param virtualNetwork the virtualNetwork value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -412,7 +412,7 @@ public AppServiceEnvironmentResourceInner withVirtualNetwork(VirtualNetworkProfi } /** - * Get the internalLoadBalancingMode value. + * Get specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @return the internalLoadBalancingMode value */ @@ -421,7 +421,7 @@ public InternalLoadBalancingMode internalLoadBalancingMode() { } /** - * Set the internalLoadBalancingMode value. + * Set specifies which endpoints to serve internally in the Virtual Network for the App Service Environment. Possible values include: 'None', 'Web', 'Publishing'. * * @param internalLoadBalancingMode the internalLoadBalancingMode value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -432,7 +432,7 @@ public AppServiceEnvironmentResourceInner withInternalLoadBalancingMode(Internal } /** - * Get the multiSize value. + * Get front-end VM size, e.g. "Medium", "Large". * * @return the multiSize value */ @@ -441,7 +441,7 @@ public String multiSize() { } /** - * Set the multiSize value. + * Set front-end VM size, e.g. "Medium", "Large". * * @param multiSize the multiSize value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -452,7 +452,7 @@ public AppServiceEnvironmentResourceInner withMultiSize(String multiSize) { } /** - * Get the multiRoleCount value. + * Get number of front-end instances. * * @return the multiRoleCount value */ @@ -461,7 +461,7 @@ public Integer multiRoleCount() { } /** - * Set the multiRoleCount value. + * Set number of front-end instances. * * @param multiRoleCount the multiRoleCount value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -472,7 +472,7 @@ public AppServiceEnvironmentResourceInner withMultiRoleCount(Integer multiRoleCo } /** - * Get the workerPools value. + * Get description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @return the workerPools value */ @@ -481,7 +481,7 @@ public List workerPools() { } /** - * Set the workerPools value. + * Set description of worker pools with worker size IDs, VM sizes, and number of workers in each pool. * * @param workerPools the workerPools value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -492,7 +492,7 @@ public AppServiceEnvironmentResourceInner withWorkerPools(List worke } /** - * Get the ipsslAddressCount value. + * Get number of IP SSL addresses reserved for the App Service Environment. * * @return the ipsslAddressCount value */ @@ -501,7 +501,7 @@ public Integer ipsslAddressCount() { } /** - * Set the ipsslAddressCount value. + * Set number of IP SSL addresses reserved for the App Service Environment. * * @param ipsslAddressCount the ipsslAddressCount value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -512,7 +512,7 @@ public AppServiceEnvironmentResourceInner withIpsslAddressCount(Integer ipsslAdd } /** - * Get the databaseEdition value. + * Get edition of the metadata database for the App Service Environment, e.g. "Standard". * * @return the databaseEdition value */ @@ -521,7 +521,7 @@ public String databaseEdition() { } /** - * Get the databaseServiceObjective value. + * Get service objective of the metadata database for the App Service Environment, e.g. "S0". * * @return the databaseServiceObjective value */ @@ -530,7 +530,7 @@ public String databaseServiceObjective() { } /** - * Get the upgradeDomains value. + * Get number of upgrade domains of the App Service Environment. * * @return the upgradeDomains value */ @@ -539,7 +539,7 @@ public Integer upgradeDomains() { } /** - * Get the subscriptionId value. + * Get subscription of the App Service Environment. * * @return the subscriptionId value */ @@ -548,7 +548,7 @@ public String subscriptionId() { } /** - * Get the dnsSuffix value. + * Get dNS suffix of the App Service Environment. * * @return the dnsSuffix value */ @@ -557,7 +557,7 @@ public String dnsSuffix() { } /** - * Set the dnsSuffix value. + * Set dNS suffix of the App Service Environment. * * @param dnsSuffix the dnsSuffix value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -568,7 +568,7 @@ public AppServiceEnvironmentResourceInner withDnsSuffix(String dnsSuffix) { } /** - * Get the lastAction value. + * Get last deployment action on the App Service Environment. * * @return the lastAction value */ @@ -577,7 +577,7 @@ public String lastAction() { } /** - * Get the lastActionResult value. + * Get result of the last deployment action on the App Service Environment. * * @return the lastActionResult value */ @@ -586,7 +586,7 @@ public String lastActionResult() { } /** - * Get the allowedMultiSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for front-ends. * * @return the allowedMultiSizes value */ @@ -595,7 +595,7 @@ public String allowedMultiSizes() { } /** - * Get the allowedWorkerSizes value. + * Get list of comma separated strings describing which VM sizes are allowed for workers. * * @return the allowedWorkerSizes value */ @@ -604,7 +604,7 @@ public String allowedWorkerSizes() { } /** - * Get the maximumNumberOfMachines value. + * Get maximum number of VMs in the App Service Environment. * * @return the maximumNumberOfMachines value */ @@ -613,7 +613,7 @@ public Integer maximumNumberOfMachines() { } /** - * Get the vipMappings value. + * Get description of IP SSL mapping for the App Service Environment. * * @return the vipMappings value */ @@ -622,7 +622,7 @@ public List vipMappings() { } /** - * Get the environmentCapacities value. + * Get current total, used, and available worker capacities. * * @return the environmentCapacities value */ @@ -631,7 +631,7 @@ public List environmentCapacities() { } /** - * Get the networkAccessControlList value. + * Get access control list for controlling traffic to the App Service Environment. * * @return the networkAccessControlList value */ @@ -640,7 +640,7 @@ public List networkAccessControlList() { } /** - * Set the networkAccessControlList value. + * Set access control list for controlling traffic to the App Service Environment. * * @param networkAccessControlList the networkAccessControlList value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -651,7 +651,7 @@ public AppServiceEnvironmentResourceInner withNetworkAccessControlList(List clusterSettings() { } /** - * Set the clusterSettings value. + * Set custom settings for changing the behavior of the App Service Environment. * * @param clusterSettings the clusterSettings value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -787,7 +791,7 @@ public AppServiceEnvironmentResourceInner withClusterSettings(List userWhitelistedIpRanges() { } /** - * Set the userWhitelistedIpRanges value. + * Set user added ip ranges to whitelist on ASE db. * * @param userWhitelistedIpRanges the userWhitelistedIpRanges value to set * @return the AppServiceEnvironmentResourceInner object itself. @@ -807,7 +811,7 @@ public AppServiceEnvironmentResourceInner withUserWhitelistedIpRanges(List 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; } @@ -178,7 +178,8 @@ public Observable changeVnetAsync(final String resourceGroupName, final S public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Sites call(SiteInner inner) { return new SitesImpl(inner.name(), inner, manager()); @@ -201,7 +202,8 @@ public Observable resumeAsync(final String resourceGroupName, final Strin public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Sites call(SiteInner inner) { return new SitesImpl(inner.name(), inner, manager()); @@ -218,7 +220,8 @@ public Observable suspendAsync(final String resourceGroupName, final Stri public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Sites call(SiteInner inner) { return new SitesImpl(inner.name(), inner, manager()); @@ -241,7 +244,8 @@ public Observable listCapacitiesAsync(final String resourceGroupN public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public StampCapacity call(StampCapacityInner inner) { return new StampCapacityImpl(inner, manager()); @@ -312,7 +316,8 @@ public Observable listMultiRolePoolInstanceMetricD public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new SiteResourceMetricDefinitionImpl(inner, manager()); @@ -329,7 +334,8 @@ public Observable listMultiRoleMetricDefinitionsAs public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new SiteResourceMetricDefinitionImpl(inner, manager()); @@ -346,7 +352,8 @@ public Observable listWorkerPoolInstanceMetricDefi public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new SiteResourceMetricDefinitionImpl(inner, manager()); @@ -363,7 +370,8 @@ public Observable listWebWorkerMetricDefinitionsAs public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new SiteResourceMetricDefinitionImpl(inner, manager()); @@ -398,7 +406,8 @@ public Observable listMultiRolePoolInstanceMetricsAsync(fina public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetric call(ResourceMetricInner inner) { return new SiteResourceMetricImpl(inner, manager()); @@ -415,7 +424,8 @@ public Observable listMultiRoleMetricsAsync(final String res public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetric call(ResourceMetricInner inner) { return new SiteResourceMetricImpl(inner, manager()); @@ -432,7 +442,8 @@ public Observable listWorkerPoolInstanceMetricsAsync(final S public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetric call(ResourceMetricInner inner) { return new SiteResourceMetricImpl(inner, manager()); @@ -449,7 +460,8 @@ public Observable listWebWorkerMetricsAsync(final String res public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetric call(ResourceMetricInner inner) { return new SiteResourceMetricImpl(inner, manager()); @@ -520,7 +532,8 @@ public Observable listMultiRolePoolSkusAsync(final String resourceGroup public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SkuInfo call(SkuInfoInner inner) { return new SkuInfoImpl(inner, manager()); @@ -537,7 +550,8 @@ public Observable listWorkerPoolSkusAsync(final String resourceGroupNam public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SkuInfo call(SkuInfoInner inner) { return new SkuInfoImpl(inner, manager()); @@ -554,7 +568,8 @@ public Observable listMultiRoleUsagesAsync(final String resourceGroupName public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Usage call(UsageInner inner) { return new UsageImpl(inner, manager()); @@ -571,7 +586,8 @@ public Observable listUsagesAsync(final String resourceGroupN public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteCsmUsageQuota call(CsmUsageQuotaInner inner) { return new SiteCsmUsageQuotaImpl(inner, manager()); @@ -588,7 +604,8 @@ public Observable listWebWorkerUsagesAsync(final String resourceGroupName public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Usage call(UsageInner inner) { return new UsageImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java index a53c007344486..5a7a77bfa7bff 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java index 3604d3ae00cdc..8c81eaa04eddc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java @@ -148,7 +148,7 @@ public class AppServicePlanInner extends Resource { private String kind; /** - * Get the workerTierName value. + * Get target worker tier assigned to the App Service plan. * * @return the workerTierName value */ @@ -157,7 +157,7 @@ public String workerTierName() { } /** - * Set the workerTierName value. + * Set target worker tier assigned to the App Service plan. * * @param workerTierName the workerTierName value to set * @return the AppServicePlanInner object itself. @@ -168,7 +168,7 @@ public AppServicePlanInner withWorkerTierName(String workerTierName) { } /** - * Get the status value. + * Get app Service plan status. Possible values include: 'Ready', 'Pending', 'Creating'. * * @return the status value */ @@ -177,7 +177,7 @@ public StatusOptions status() { } /** - * Get the subscription value. + * Get app Service plan subscription. * * @return the subscription value */ @@ -186,7 +186,7 @@ public String subscription() { } /** - * Get the adminSiteName value. + * Get app Service plan administration site. * * @return the adminSiteName value */ @@ -195,7 +195,7 @@ public String adminSiteName() { } /** - * Set the adminSiteName value. + * Set app Service plan administration site. * * @param adminSiteName the adminSiteName value to set * @return the AppServicePlanInner object itself. @@ -206,7 +206,7 @@ public AppServicePlanInner withAdminSiteName(String adminSiteName) { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the App Service plan. * * @return the hostingEnvironmentProfile value */ @@ -215,7 +215,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set specification for the App Service Environment to use for the App Service plan. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the AppServicePlanInner object itself. @@ -226,7 +226,7 @@ public AppServicePlanInner withHostingEnvironmentProfile(HostingEnvironmentProfi } /** - * Get the maximumNumberOfWorkers value. + * Get maximum number of instances that can be assigned to this App Service plan. * * @return the maximumNumberOfWorkers value */ @@ -235,7 +235,7 @@ public Integer maximumNumberOfWorkers() { } /** - * Get the geoRegion value. + * Get geographical location for the App Service plan. * * @return the geoRegion value */ @@ -244,7 +244,8 @@ public String geoRegion() { } /** - * Get the perSiteScaling value. + * Get if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @return the perSiteScaling value */ @@ -253,7 +254,8 @@ public Boolean perSiteScaling() { } /** - * Set the perSiteScaling value. + * Set if <code>true</code>, apps assigned to this App Service plan can be scaled independently. + If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. * * @param perSiteScaling the perSiteScaling value to set * @return the AppServicePlanInner object itself. @@ -264,7 +266,7 @@ public AppServicePlanInner withPerSiteScaling(Boolean perSiteScaling) { } /** - * Get the numberOfSites value. + * Get number of apps assigned to this App Service plan. * * @return the numberOfSites value */ @@ -273,7 +275,7 @@ public Integer numberOfSites() { } /** - * Get the isSpot value. + * Get if <code>true</code>, this App Service Plan owns spot instances. * * @return the isSpot value */ @@ -282,7 +284,7 @@ public Boolean isSpot() { } /** - * Set the isSpot value. + * Set if <code>true</code>, this App Service Plan owns spot instances. * * @param isSpot the isSpot value to set * @return the AppServicePlanInner object itself. @@ -293,7 +295,7 @@ public AppServicePlanInner withIsSpot(Boolean isSpot) { } /** - * Get the spotExpirationTime value. + * Get the time when the server farm expires. Valid only if it is a spot server farm. * * @return the spotExpirationTime value */ @@ -302,7 +304,7 @@ public DateTime spotExpirationTime() { } /** - * Set the spotExpirationTime value. + * Set the time when the server farm expires. Valid only if it is a spot server farm. * * @param spotExpirationTime the spotExpirationTime value to set * @return the AppServicePlanInner object itself. @@ -313,7 +315,7 @@ public AppServicePlanInner withSpotExpirationTime(DateTime spotExpirationTime) { } /** - * Get the resourceGroup value. + * Get resource group of the App Service plan. * * @return the resourceGroup value */ @@ -322,7 +324,7 @@ public String resourceGroup() { } /** - * Get the reserved value. + * Get if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @return the reserved value */ @@ -331,7 +333,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set if Linux app service plan <code>true</code>, <code>false</code> otherwise. * * @param reserved the reserved value to set * @return the AppServicePlanInner object itself. @@ -342,7 +344,7 @@ public AppServicePlanInner withReserved(Boolean reserved) { } /** - * Get the isXenon value. + * Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. * * @return the isXenon value */ @@ -351,7 +353,7 @@ public Boolean isXenon() { } /** - * Set the isXenon value. + * Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. * * @param isXenon the isXenon value to set * @return the AppServicePlanInner object itself. @@ -362,7 +364,7 @@ public AppServicePlanInner withIsXenon(Boolean isXenon) { } /** - * Get the targetWorkerCount value. + * Get scaling worker count. * * @return the targetWorkerCount value */ @@ -371,7 +373,7 @@ public Integer targetWorkerCount() { } /** - * Set the targetWorkerCount value. + * Set scaling worker count. * * @param targetWorkerCount the targetWorkerCount value to set * @return the AppServicePlanInner object itself. @@ -382,7 +384,7 @@ public AppServicePlanInner withTargetWorkerCount(Integer targetWorkerCount) { } /** - * Get the targetWorkerSizeId value. + * Get scaling worker size ID. * * @return the targetWorkerSizeId value */ @@ -391,7 +393,7 @@ public Integer targetWorkerSizeId() { } /** - * Set the targetWorkerSizeId value. + * Set scaling worker size ID. * * @param targetWorkerSizeId the targetWorkerSizeId value to set * @return the AppServicePlanInner object itself. @@ -402,7 +404,7 @@ public AppServicePlanInner withTargetWorkerSizeId(Integer targetWorkerSizeId) { } /** - * Get the provisioningState value. + * Get provisioning state of the App Service Environment. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -431,7 +433,7 @@ public AppServicePlanInner withSku(SkuDescription sku) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -440,7 +442,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the AppServicePlanInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansImpl.java index 74fe9674febc3..7d970f83cad66 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansImpl.java +++ b/appservice/resource-manager/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; } @@ -429,7 +429,8 @@ public Observable getRouteForVnetAsync(String resourceGroupName, Stri public Observable call(List innerList) { return Observable.from(innerList); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public VnetRoute call(VnetRouteInner inner) { return new VnetRouteImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackImpl.java index 8640f6dc23474..4e67514c0cc0b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackInner.java index 3b65e1bb85ce9..56e9319aafe38 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ApplicationStackInner.java @@ -47,7 +47,7 @@ public class ApplicationStackInner { private List frameworks; /** - * Get the name value. + * Get application stack name. * * @return the name value */ @@ -56,7 +56,7 @@ public String name() { } /** - * Set the name value. + * Set application stack name. * * @param name the name value to set * @return the ApplicationStackInner object itself. @@ -67,7 +67,7 @@ public ApplicationStackInner withName(String name) { } /** - * Get the display value. + * Get application stack display name. * * @return the display value */ @@ -76,7 +76,7 @@ public String display() { } /** - * Set the display value. + * Set application stack display name. * * @param display the display value to set * @return the ApplicationStackInner object itself. @@ -87,7 +87,7 @@ public ApplicationStackInner withDisplay(String display) { } /** - * Get the dependency value. + * Get application stack dependency. * * @return the dependency value */ @@ -96,7 +96,7 @@ public String dependency() { } /** - * Set the dependency value. + * Set application stack dependency. * * @param dependency the dependency value to set * @return the ApplicationStackInner object itself. @@ -107,7 +107,7 @@ public ApplicationStackInner withDependency(String dependency) { } /** - * Get the majorVersions value. + * Get list of major versions available. * * @return the majorVersions value */ @@ -116,7 +116,7 @@ public List majorVersions() { } /** - * Set the majorVersions value. + * Set list of major versions available. * * @param majorVersions the majorVersions value to set * @return the ApplicationStackInner object itself. @@ -127,7 +127,7 @@ public ApplicationStackInner withMajorVersions(List majorVers } /** - * Get the frameworks value. + * Get list of frameworks associated with application stack. * * @return the frameworks value */ @@ -136,7 +136,7 @@ public List frameworks() { } /** - * Set the frameworks value. + * Set list of frameworks associated with application stack. * * @param frameworks the frameworks value to set * @return the ApplicationStackInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupItemImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupItemImpl.java index 9d036ccebb5a8..d8e13e76677c6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupItemImpl.java +++ b/appservice/resource-manager/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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -31,7 +31,7 @@ class BackupItemImpl extends IndexableRefreshableWrapperImpl databases() { } /** - * Get the scheduled value. + * Get true if this backup has been created due to a schedule being triggered. * * @return the scheduled value */ @@ -199,7 +199,7 @@ public Boolean scheduled() { } /** - * Get the lastRestoreTimeStamp value. + * Get timestamp of a last restore operation which used this backup. * * @return the lastRestoreTimeStamp value */ @@ -208,7 +208,7 @@ public DateTime lastRestoreTimeStamp() { } /** - * Get the finishedTimeStamp value. + * Get timestamp when this backup finished. * * @return the finishedTimeStamp value */ @@ -217,7 +217,7 @@ public DateTime finishedTimeStamp() { } /** - * Get the correlationId value. + * Get unique correlation identifier. Please use this along with the timestamp while communicating with Azure support. * * @return the correlationId value */ @@ -226,7 +226,7 @@ public String correlationId() { } /** - * Get the websiteSizeInBytes value. + * Get size of the original web app which has been backed up. * * @return the websiteSizeInBytes value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java index 898af0308d1bf..b5045b977f38e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java @@ -15,14 +15,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DatabaseBackupSetting; class BackupRequestImpl extends WrapperImpl 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java index cc0f6032933fe..e761a1d8b2cb1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java @@ -46,7 +46,7 @@ public class BackupRequestInner extends ProxyOnlyResource { private List databases; /** - * Get the enabled value. + * Get true if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. * * @return the enabled value */ @@ -55,7 +55,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set true if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. * * @param enabled the enabled value to set * @return the BackupRequestInner object itself. @@ -66,7 +66,7 @@ public BackupRequestInner withEnabled(Boolean enabled) { } /** - * Get the storageAccountUrl value. + * Get sAS URL to the container. * * @return the storageAccountUrl value */ @@ -75,7 +75,7 @@ public String storageAccountUrl() { } /** - * Set the storageAccountUrl value. + * Set sAS URL to the container. * * @param storageAccountUrl the storageAccountUrl value to set * @return the BackupRequestInner object itself. @@ -86,7 +86,7 @@ public BackupRequestInner withStorageAccountUrl(String storageAccountUrl) { } /** - * Get the backupSchedule value. + * Get schedule for the backup if it is executed periodically. * * @return the backupSchedule value */ @@ -95,7 +95,7 @@ public BackupSchedule backupSchedule() { } /** - * Set the backupSchedule value. + * Set schedule for the backup if it is executed periodically. * * @param backupSchedule the backupSchedule value to set * @return the BackupRequestInner object itself. @@ -106,7 +106,7 @@ public BackupRequestInner withBackupSchedule(BackupSchedule backupSchedule) { } /** - * Get the databases value. + * Get databases included in the backup. * * @return the databases value */ @@ -115,7 +115,7 @@ public List databases() { } /** - * Set the databases value. + * Set databases included in the backup. * * @param databases the databases value to set * @return the BackupRequestInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BillingMeterInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BillingMeterInner.java index 5521d66e28d88..8cee7b82e345e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BillingMeterInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BillingMeterInner.java @@ -49,7 +49,7 @@ public class BillingMeterInner extends ProxyOnlyResource { private String resourceType; /** - * Get the meterId value. + * Get meter GUID onboarded in Commerce. * * @return the meterId value */ @@ -58,7 +58,7 @@ public String meterId() { } /** - * Set the meterId value. + * Set meter GUID onboarded in Commerce. * * @param meterId the meterId value to set * @return the BillingMeterInner object itself. @@ -69,7 +69,7 @@ public BillingMeterInner withMeterId(String meterId) { } /** - * Get the billingLocation value. + * Get azure Location of billable resource. * * @return the billingLocation value */ @@ -78,7 +78,7 @@ public String billingLocation() { } /** - * Set the billingLocation value. + * Set azure Location of billable resource. * * @param billingLocation the billingLocation value to set * @return the BillingMeterInner object itself. @@ -89,7 +89,7 @@ public BillingMeterInner withBillingLocation(String billingLocation) { } /** - * Get the shortName value. + * Get short Name from App Service Azure pricing Page. * * @return the shortName value */ @@ -98,7 +98,7 @@ public String shortName() { } /** - * Set the shortName value. + * Set short Name from App Service Azure pricing Page. * * @param shortName the shortName value to set * @return the BillingMeterInner object itself. @@ -109,7 +109,7 @@ public BillingMeterInner withShortName(String shortName) { } /** - * Get the friendlyName value. + * Get friendly name of the meter. * * @return the friendlyName value */ @@ -118,7 +118,7 @@ public String friendlyName() { } /** - * Set the friendlyName value. + * Set friendly name of the meter. * * @param friendlyName the friendlyName value to set * @return the BillingMeterInner object itself. @@ -129,7 +129,7 @@ public BillingMeterInner withFriendlyName(String friendlyName) { } /** - * Get the resourceType value. + * Get app Service ResourceType meter used for. * * @return the resourceType value */ @@ -138,7 +138,7 @@ public String resourceType() { } /** - * Set the resourceType value. + * Set app Service ResourceType meter used for. * * @param resourceType the resourceType value to set * @return the BillingMeterInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityImpl.java index 6d26a463cdbde..25252815599f5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityInner.java index 6b21791e66ceb..4ca422d3328b3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CapabilityInner.java @@ -33,7 +33,7 @@ public class CapabilityInner { private String reason; /** - * Get the name value. + * Get name of the SKU capability. * * @return the name value */ @@ -42,7 +42,7 @@ public String name() { } /** - * Set the name value. + * Set name of the SKU capability. * * @param name the name value to set * @return the CapabilityInner object itself. @@ -53,7 +53,7 @@ public CapabilityInner withName(String name) { } /** - * Get the value value. + * Get value of the SKU capability. * * @return the value value */ @@ -62,7 +62,7 @@ public String value() { } /** - * Set the value value. + * Set value of the SKU capability. * * @param value the value value to set * @return the CapabilityInner object itself. @@ -73,7 +73,7 @@ public CapabilityInner withValue(String value) { } /** - * Get the reason value. + * Get reason of the SKU capability. * * @return the reason value */ @@ -82,7 +82,7 @@ public String reason() { } /** - * Set the reason value. + * Set reason of the SKU capability. * * @param reason the reason value to set * @return the CapabilityInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailImpl.java index 3f030093ed7f9..d0a62ecf079d4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailInner.java index 7a460763b054b..43f2af8348c1f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateEmailInner.java @@ -31,7 +31,7 @@ public class CertificateEmailInner extends ProxyOnlyResource { private DateTime timeStamp; /** - * Get the emailId value. + * Get email id. * * @return the emailId value */ @@ -40,7 +40,7 @@ public String emailId() { } /** - * Set the emailId value. + * Set email id. * * @param emailId the emailId value to set * @return the CertificateEmailInner object itself. @@ -51,7 +51,7 @@ public CertificateEmailInner withEmailId(String emailId) { } /** - * Get the timeStamp value. + * Get time stamp. * * @return the timeStamp value */ @@ -60,7 +60,7 @@ public DateTime timeStamp() { } /** - * Set the timeStamp value. + * Set time stamp. * * @param timeStamp the timeStamp value to set * @return the CertificateEmailInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateImpl.java index b8c0b5d34c49b..583a814a9db69 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateInner.java index 446fe9e5b8eaa..d7834c91158ab 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateInner.java @@ -149,7 +149,7 @@ public class CertificateInner extends Resource { private String kind; /** - * Get the friendlyName value. + * Get friendly name of the certificate. * * @return the friendlyName value */ @@ -158,7 +158,7 @@ public String friendlyName() { } /** - * Get the subjectName value. + * Get subject name of the certificate. * * @return the subjectName value */ @@ -167,7 +167,7 @@ public String subjectName() { } /** - * Get the hostNames value. + * Get host names the certificate applies to. * * @return the hostNames value */ @@ -176,7 +176,7 @@ public List hostNames() { } /** - * Set the hostNames value. + * Set host names the certificate applies to. * * @param hostNames the hostNames value to set * @return the CertificateInner object itself. @@ -187,7 +187,7 @@ public CertificateInner withHostNames(List hostNames) { } /** - * Get the pfxBlob value. + * Get pfx blob. * * @return the pfxBlob value */ @@ -196,7 +196,7 @@ public byte[] pfxBlob() { } /** - * Set the pfxBlob value. + * Set pfx blob. * * @param pfxBlob the pfxBlob value to set * @return the CertificateInner object itself. @@ -207,7 +207,7 @@ public CertificateInner withPfxBlob(byte[] pfxBlob) { } /** - * Get the siteName value. + * Get app name. * * @return the siteName value */ @@ -216,7 +216,7 @@ public String siteName() { } /** - * Get the selfLink value. + * Get self link. * * @return the selfLink value */ @@ -225,7 +225,7 @@ public String selfLink() { } /** - * Get the issuer value. + * Get certificate issuer. * * @return the issuer value */ @@ -234,7 +234,7 @@ public String issuer() { } /** - * Get the issueDate value. + * Get certificate issue Date. * * @return the issueDate value */ @@ -243,7 +243,7 @@ public DateTime issueDate() { } /** - * Get the expirationDate value. + * Get certificate expriration date. * * @return the expirationDate value */ @@ -252,7 +252,7 @@ public DateTime expirationDate() { } /** - * Get the password value. + * Get certificate password. * * @return the password value */ @@ -261,7 +261,7 @@ public String password() { } /** - * Set the password value. + * Set certificate password. * * @param password the password value to set * @return the CertificateInner object itself. @@ -272,7 +272,7 @@ public CertificateInner withPassword(String password) { } /** - * Get the thumbprint value. + * Get certificate thumbprint. * * @return the thumbprint value */ @@ -281,7 +281,7 @@ public String thumbprint() { } /** - * Get the valid value. + * Get is the certificate valid?. * * @return the valid value */ @@ -290,7 +290,7 @@ public Boolean valid() { } /** - * Get the cerBlob value. + * Get raw bytes of .cer file. * * @return the cerBlob value */ @@ -299,7 +299,7 @@ public byte[] cerBlob() { } /** - * Get the publicKeyHash value. + * Get public key hash. * * @return the publicKeyHash value */ @@ -308,7 +308,7 @@ public String publicKeyHash() { } /** - * Get the hostingEnvironmentProfile value. + * Get specification for the App Service Environment to use for the certificate. * * @return the hostingEnvironmentProfile value */ @@ -317,7 +317,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Get the keyVaultId value. + * Get key Vault Csm resource Id. * * @return the keyVaultId value */ @@ -326,7 +326,7 @@ public String keyVaultId() { } /** - * Set the keyVaultId value. + * Set key Vault Csm resource Id. * * @param keyVaultId the keyVaultId value to set * @return the CertificateInner object itself. @@ -337,7 +337,7 @@ public CertificateInner withKeyVaultId(String keyVaultId) { } /** - * Get the keyVaultSecretName value. + * Get key Vault secret name. * * @return the keyVaultSecretName value */ @@ -346,7 +346,7 @@ public String keyVaultSecretName() { } /** - * Set the keyVaultSecretName value. + * Set key Vault secret name. * * @param keyVaultSecretName the keyVaultSecretName value to set * @return the CertificateInner object itself. @@ -357,7 +357,7 @@ public CertificateInner withKeyVaultSecretName(String keyVaultSecretName) { } /** - * Get the keyVaultSecretStatus value. + * Get status of the Key Vault secret. Possible values include: 'Initialized', 'WaitingOnCertificateOrder', 'Succeeded', 'CertificateOrderFailed', 'OperationNotPermittedOnKeyVault', 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist', 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey', 'Unknown'. * * @return the keyVaultSecretStatus value */ @@ -366,7 +366,7 @@ public KeyVaultSecretStatus keyVaultSecretStatus() { } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -375,7 +375,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the CertificateInner object itself. @@ -386,7 +386,7 @@ public CertificateInner withServerFarmId(String serverFarmId) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -395,7 +395,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the CertificateInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionImpl.java index ab5bca8f95ded..bb7d0facacd58 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionInner.java index 02ed7ae273482..ab76983ba6cea 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateOrderActionInner.java @@ -37,7 +37,7 @@ public class CertificateOrderActionInner extends ProxyOnlyResource { private DateTime createdAt; /** - * Get the actionType value. + * Get action type. Possible values include: 'CertificateIssued', 'CertificateOrderCanceled', 'CertificateOrderCreated', 'CertificateRevoked', 'DomainValidationComplete', 'FraudDetected', 'OrgNameChange', 'OrgValidationComplete', 'SanDrop', 'FraudCleared', 'CertificateExpired', 'CertificateExpirationWarning', 'FraudDocumentationRequired', 'Unknown'. * * @return the actionType value */ @@ -46,7 +46,7 @@ public CertificateOrderActionType actionType() { } /** - * Get the createdAt value. + * Get time at which the certificate action was performed. * * @return the createdAt value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java new file mode 100644 index 0000000000000..3e2c43d2abb13 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java @@ -0,0 +1,243 @@ +/** + * 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.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; + /** + * 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; + } + + /** + * 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationProvidersImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationProvidersImpl.java index 04d9e11009907..808389f33f0d7 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationProvidersImpl.java +++ b/appservice/resource-manager/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; } @@ -37,7 +37,8 @@ public Observable listOperationsAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public CsmOperationDescription call(CsmOperationDescriptionInner inner) { return new CsmOperationDescriptionImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificatesImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificatesImpl.java index 84256c75e8427..7a90aea6dc1ae 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificatesImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryImpl.java index 1a4177624c736..1073f001071c2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryInner.java index 7c8afdb97c322..a78c678d46dcf 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ConnectionStringDictionaryInner.java @@ -24,7 +24,7 @@ public class ConnectionStringDictionaryInner extends ProxyOnlyResource { private Map properties; /** - * Get the properties value. + * Get connection strings. * * @return the properties value */ @@ -33,7 +33,7 @@ public Map properties() { } /** - * Set the properties value. + * Set connection strings. * * @param properties the properties value to set * @return the ConnectionStringDictionaryInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ContinuousWebJobImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ContinuousWebJobImpl.java index 3a4a9b2be6156..de4e836ec464b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ContinuousWebJobImpl.java +++ b/appservice/resource-manager/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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -30,7 +30,7 @@ class ContinuousWebJobImpl extends IndexableRefreshableWrapperImpl settings; /** - * Get the status value. + * Get job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped'. * * @return the status value */ @@ -91,7 +91,7 @@ public ContinuousWebJobStatus status() { } /** - * Set the status value. + * Set job status. Possible values include: 'Initializing', 'Starting', 'Running', 'PendingRestart', 'Stopped'. * * @param status the status value to set * @return the ContinuousWebJobInner object itself. @@ -102,7 +102,7 @@ public ContinuousWebJobInner withStatus(ContinuousWebJobStatus status) { } /** - * Get the detailedStatus value. + * Get detailed status. * * @return the detailedStatus value */ @@ -111,7 +111,7 @@ public String detailedStatus() { } /** - * Set the detailedStatus value. + * Set detailed status. * * @param detailedStatus the detailedStatus value to set * @return the ContinuousWebJobInner object itself. @@ -122,7 +122,7 @@ public ContinuousWebJobInner withDetailedStatus(String detailedStatus) { } /** - * Get the logUrl value. + * Get log URL. * * @return the logUrl value */ @@ -131,7 +131,7 @@ public String logUrl() { } /** - * Set the logUrl value. + * Set log URL. * * @param logUrl the logUrl value to set * @return the ContinuousWebJobInner object itself. @@ -142,7 +142,7 @@ public ContinuousWebJobInner withLogUrl(String logUrl) { } /** - * Get the runCommand value. + * Get run command. * * @return the runCommand value */ @@ -151,7 +151,7 @@ public String runCommand() { } /** - * Set the runCommand value. + * Set run command. * * @param runCommand the runCommand value to set * @return the ContinuousWebJobInner object itself. @@ -162,7 +162,7 @@ public ContinuousWebJobInner withRunCommand(String runCommand) { } /** - * Get the url value. + * Get job URL. * * @return the url value */ @@ -171,7 +171,7 @@ public String url() { } /** - * Set the url value. + * Set job URL. * * @param url the url value to set * @return the ContinuousWebJobInner object itself. @@ -182,7 +182,7 @@ public ContinuousWebJobInner withUrl(String url) { } /** - * Get the extraInfoUrl value. + * Get extra Info URL. * * @return the extraInfoUrl value */ @@ -191,7 +191,7 @@ public String extraInfoUrl() { } /** - * Set the extraInfoUrl value. + * Set extra Info URL. * * @param extraInfoUrl the extraInfoUrl value to set * @return the ContinuousWebJobInner object itself. @@ -202,7 +202,7 @@ public ContinuousWebJobInner withExtraInfoUrl(String extraInfoUrl) { } /** - * Get the webJobType value. + * Get job type. Possible values include: 'Continuous', 'Triggered'. * * @return the webJobType value */ @@ -211,7 +211,7 @@ public WebJobType webJobType() { } /** - * Set the webJobType value. + * Set job type. Possible values include: 'Continuous', 'Triggered'. * * @param webJobType the webJobType value to set * @return the ContinuousWebJobInner object itself. @@ -222,7 +222,7 @@ public ContinuousWebJobInner withWebJobType(WebJobType webJobType) { } /** - * Get the error value. + * Get error information. * * @return the error value */ @@ -231,7 +231,7 @@ public String error() { } /** - * Set the error value. + * Set error information. * * @param error the error value to set * @return the ContinuousWebJobInner object itself. @@ -242,7 +242,7 @@ public ContinuousWebJobInner withError(String error) { } /** - * Get the usingSdk value. + * Get using SDK?. * * @return the usingSdk value */ @@ -251,7 +251,7 @@ public Boolean usingSdk() { } /** - * Set the usingSdk value. + * Set using SDK?. * * @param usingSdk the usingSdk value to set * @return the ContinuousWebJobInner object itself. @@ -262,7 +262,7 @@ public ContinuousWebJobInner withUsingSdk(Boolean usingSdk) { } /** - * Get the settings value. + * Get job settings. * * @return the settings value */ @@ -271,7 +271,7 @@ public Map settings() { } /** - * Set the settings value. + * Set job settings. * * @param settings the settings value to set * @return the ContinuousWebJobInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmOperationDescriptionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmOperationDescriptionImpl.java index 83cea4dc2572f..088df6bc9550e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmOperationDescriptionImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmOperationDescriptionImpl.java @@ -14,14 +14,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.CsmOperationDescriptionProperties; class CsmOperationDescriptionImpl extends WrapperImpl 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmUsageQuotaInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmUsageQuotaInner.java index 43b41f8e23fb5..296e3dfa4f072 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmUsageQuotaInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmUsageQuotaInner.java @@ -47,7 +47,7 @@ public class CsmUsageQuotaInner { private LocalizableString name; /** - * Get the unit value. + * Get units of measurement for the quota resourse. * * @return the unit value */ @@ -56,7 +56,7 @@ public String unit() { } /** - * Set the unit value. + * Set units of measurement for the quota resourse. * * @param unit the unit value to set * @return the CsmUsageQuotaInner object itself. @@ -67,7 +67,7 @@ public CsmUsageQuotaInner withUnit(String unit) { } /** - * Get the nextResetTime value. + * Get next reset time for the resource counter. * * @return the nextResetTime value */ @@ -76,7 +76,7 @@ public DateTime nextResetTime() { } /** - * Set the nextResetTime value. + * Set next reset time for the resource counter. * * @param nextResetTime the nextResetTime value to set * @return the CsmUsageQuotaInner object itself. @@ -87,7 +87,7 @@ public CsmUsageQuotaInner withNextResetTime(DateTime nextResetTime) { } /** - * Get the currentValue value. + * Get the current value of the resource counter. * * @return the currentValue value */ @@ -96,7 +96,7 @@ public Long currentValue() { } /** - * Set the currentValue value. + * Set the current value of the resource counter. * * @param currentValue the currentValue value to set * @return the CsmUsageQuotaInner object itself. @@ -107,7 +107,7 @@ public CsmUsageQuotaInner withCurrentValue(Long currentValue) { } /** - * Get the limit value. + * Get the resource limit. * * @return the limit value */ @@ -116,7 +116,7 @@ public Long limit() { } /** - * Set the limit value. + * Set the resource limit. * * @param limit the limit value to set * @return the CsmUsageQuotaInner object itself. @@ -127,7 +127,7 @@ public CsmUsageQuotaInner withLimit(Long limit) { } /** - * Get the name value. + * Get quota name. * * @return the name value */ @@ -136,7 +136,7 @@ public LocalizableString name() { } /** - * Set the name value. + * Set quota name. * * @param name the name value to set * @return the CsmUsageQuotaInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultImpl.java index e8b8fef5bda43..6f73e246d3e1f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultInner.java index ee65d8dd92854..562422ac933fa 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultInner.java @@ -92,7 +92,7 @@ public class CustomHostnameAnalysisResultInner extends ProxyOnlyResource { private List alternateTxtRecords; /** - * Get the isHostnameAlreadyVerified value. + * Get <code>true</code> if hostname is already verified; otherwise, <code>false</code>. * * @return the isHostnameAlreadyVerified value */ @@ -101,7 +101,7 @@ public Boolean isHostnameAlreadyVerified() { } /** - * Get the customDomainVerificationTest value. + * Get dNS verification test result. Possible values include: 'Passed', 'Failed', 'Skipped'. * * @return the customDomainVerificationTest value */ @@ -110,7 +110,7 @@ public DnsVerificationTestResult customDomainVerificationTest() { } /** - * Get the customDomainVerificationFailureInfo value. + * Get raw failure information if DNS verification fails. * * @return the customDomainVerificationFailureInfo value */ @@ -119,7 +119,7 @@ public ErrorEntity customDomainVerificationFailureInfo() { } /** - * Get the hasConflictOnScaleUnit value. + * Get <code>true</code> if there is a conflict on a scale unit; otherwise, <code>false</code>. * * @return the hasConflictOnScaleUnit value */ @@ -128,7 +128,7 @@ public Boolean hasConflictOnScaleUnit() { } /** - * Get the hasConflictAcrossSubscription value. + * Get <code>true</code> if htere is a conflict across subscriptions; otherwise, <code>false</code>. * * @return the hasConflictAcrossSubscription value */ @@ -137,7 +137,7 @@ public Boolean hasConflictAcrossSubscription() { } /** - * Get the conflictingAppResourceId value. + * Get name of the conflicting app on scale unit if it's within the same subscription. * * @return the conflictingAppResourceId value */ @@ -146,7 +146,7 @@ public String conflictingAppResourceId() { } /** - * Get the cNameRecords value. + * Get cName records controller can see for this hostname. * * @return the cNameRecords value */ @@ -155,7 +155,7 @@ public List cNameRecords() { } /** - * Set the cNameRecords value. + * Set cName records controller can see for this hostname. * * @param cNameRecords the cNameRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. @@ -166,7 +166,7 @@ public CustomHostnameAnalysisResultInner withCNameRecords(List cNameReco } /** - * Get the txtRecords value. + * Get tXT records controller can see for this hostname. * * @return the txtRecords value */ @@ -175,7 +175,7 @@ public List txtRecords() { } /** - * Set the txtRecords value. + * Set tXT records controller can see for this hostname. * * @param txtRecords the txtRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. @@ -186,7 +186,7 @@ public CustomHostnameAnalysisResultInner withTxtRecords(List txtRecords) } /** - * Get the aRecords value. + * Get a records controller can see for this hostname. * * @return the aRecords value */ @@ -195,7 +195,7 @@ public List aRecords() { } /** - * Set the aRecords value. + * Set a records controller can see for this hostname. * * @param aRecords the aRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. @@ -206,7 +206,7 @@ public CustomHostnameAnalysisResultInner withARecords(List aRecords) { } /** - * Get the alternateCNameRecords value. + * Get alternate CName records controller can see for this hostname. * * @return the alternateCNameRecords value */ @@ -215,7 +215,7 @@ public List alternateCNameRecords() { } /** - * Set the alternateCNameRecords value. + * Set alternate CName records controller can see for this hostname. * * @param alternateCNameRecords the alternateCNameRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. @@ -226,7 +226,7 @@ public CustomHostnameAnalysisResultInner withAlternateCNameRecords(List } /** - * Get the alternateTxtRecords value. + * Get alternate TXT records controller can see for this hostname. * * @return the alternateTxtRecords value */ @@ -235,7 +235,7 @@ public List alternateTxtRecords() { } /** - * Set the alternateTxtRecords value. + * Set alternate TXT records controller can see for this hostname. * * @param alternateTxtRecords the alternateTxtRecords value to set * @return the CustomHostnameAnalysisResultInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteImpl.java index e608bff8b175f..cc776f8146dd7 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class DeletedSiteImpl extends WrapperImpl implements DeletedSite { - private final AppServiceManager manager; - DeletedSiteImpl(DeletedSiteInner inner, AppServiceManager manager) { + private final CertificateRegistrationManager manager; + DeletedSiteImpl(DeletedSiteInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteInner.java index 6373538c03ce7..8a6bda15e34df 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteInner.java @@ -51,7 +51,7 @@ public class DeletedSiteInner { private String slot; /** - * Get the deletedSiteId value. + * Get numeric id for the deleted site. * * @return the deletedSiteId value */ @@ -60,7 +60,7 @@ public Integer deletedSiteId() { } /** - * Set the deletedSiteId value. + * Set numeric id for the deleted site. * * @param deletedSiteId the deletedSiteId value to set * @return the DeletedSiteInner object itself. @@ -71,7 +71,7 @@ public DeletedSiteInner withDeletedSiteId(Integer deletedSiteId) { } /** - * Get the deletedTimestamp value. + * Get time in UTC when the app was deleted. * * @return the deletedTimestamp value */ @@ -80,7 +80,7 @@ public String deletedTimestamp() { } /** - * Get the subscription value. + * Get subscription containing the deleted site. * * @return the subscription value */ @@ -89,7 +89,7 @@ public String subscription() { } /** - * Get the resourceGroup value. + * Get resourceGroup that contained the deleted site. * * @return the resourceGroup value */ @@ -98,7 +98,7 @@ public String resourceGroup() { } /** - * Get the deletedSiteName value. + * Get name of the deleted site. * * @return the deletedSiteName value */ @@ -107,7 +107,7 @@ public String deletedSiteName() { } /** - * Get the slot value. + * Get slot of the deleted site. * * @return the slot value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedWebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedWebAppsImpl.java index daa732fd72525..18515771c1d94 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedWebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedWebAppsImpl.java @@ -17,14 +17,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DeletedSite; class DeletedWebAppsImpl extends WrapperImpl 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; } @@ -37,7 +37,8 @@ public Observable listAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DeletedSite call(DeletedSiteInner inner) { return new DeletedSiteImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentImpl.java index 303462f7c2d77..5343b88d833b4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentImpl.java +++ b/appservice/resource-manager/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 hostingEnvironmentDeploymentInfos; /** - * Get the locations value. + * Get available regions. * * @return the locations value */ @@ -46,7 +46,7 @@ public List locations() { } /** - * Set the locations value. + * Set available regions. * * @param locations the locations value to set * @return the DeploymentLocationsInner object itself. @@ -57,7 +57,7 @@ public DeploymentLocationsInner withLocations(List locations) { } /** - * Get the hostingEnvironments value. + * Get available App Service Environments with full descriptions of the environments. * * @return the hostingEnvironments value */ @@ -66,7 +66,7 @@ public List hostingEnvironments() { } /** - * Set the hostingEnvironments value. + * Set available App Service Environments with full descriptions of the environments. * * @param hostingEnvironments the hostingEnvironments value to set * @return the DeploymentLocationsInner object itself. @@ -77,7 +77,7 @@ public DeploymentLocationsInner withHostingEnvironments(List hostingEnvironmentDeploymentInfos( } /** - * Set the hostingEnvironmentDeploymentInfos value. + * Set available App Service Environments with basic information. * * @param hostingEnvironmentDeploymentInfos the hostingEnvironmentDeploymentInfos value to set * @return the DeploymentLocationsInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionImpl.java index bbe8e81e7c44c..ff453f74c19da 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionImpl.java @@ -13,15 +13,15 @@ import rx.Observable; class DetectorDefinitionImpl extends WrapperImpl implements DetectorDefinition { - private final AppServiceManager manager; + private final CertificateRegistrationManager manager; - DetectorDefinitionImpl(DetectorDefinitionInner inner, AppServiceManager manager) { + DetectorDefinitionImpl(DetectorDefinitionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionInner.java index 055c7ff5debe7..7854576640acb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionInner.java @@ -42,7 +42,7 @@ public class DetectorDefinitionInner extends ProxyOnlyResource { private Boolean isEnabled; /** - * Get the displayName value. + * Get display name of the detector. * * @return the displayName value */ @@ -51,7 +51,7 @@ public String displayName() { } /** - * Get the description value. + * Get description of the detector. * * @return the description value */ @@ -60,7 +60,7 @@ public String description() { } /** - * Get the rank value. + * Get detector Rank. * * @return the rank value */ @@ -69,7 +69,7 @@ public Double rank() { } /** - * Get the isEnabled value. + * Get flag representing whether detector is enabled or not. * * @return the isEnabled value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticAnalysisImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticAnalysisImpl.java index e0a7f5abc3a14..623fa7cebbe3e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticAnalysisImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticAnalysisImpl.java @@ -19,13 +19,13 @@ import com.microsoft.azure.management.appservice.v2018_02_01.AnalysisData; class DiagnosticAnalysisImpl 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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -35,7 +35,7 @@ class DiagnosticAnalysisImpl extends IndexableRefreshableWrapperImpl nonCorrelatedDetectors; /** - * Get the startTime value. + * Get start time of the period. * * @return the startTime value */ @@ -61,7 +61,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the period. * * @param startTime the startTime value to set * @return the DiagnosticAnalysisInner object itself. @@ -72,7 +72,7 @@ public DiagnosticAnalysisInner withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the period. * * @return the endTime value */ @@ -81,7 +81,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the period. * * @param endTime the endTime value to set * @return the DiagnosticAnalysisInner object itself. @@ -92,7 +92,7 @@ public DiagnosticAnalysisInner withEndTime(DateTime endTime) { } /** - * Get the abnormalTimePeriods value. + * Get list of time periods. * * @return the abnormalTimePeriods value */ @@ -101,7 +101,7 @@ public List abnormalTimePeriods() { } /** - * Set the abnormalTimePeriods value. + * Set list of time periods. * * @param abnormalTimePeriods the abnormalTimePeriods value to set * @return the DiagnosticAnalysisInner object itself. @@ -112,7 +112,7 @@ public DiagnosticAnalysisInner withAbnormalTimePeriods(List } /** - * Get the payload value. + * Get data by each detector. * * @return the payload value */ @@ -121,7 +121,7 @@ public List payload() { } /** - * Set the payload value. + * Set data by each detector. * * @param payload the payload value to set * @return the DiagnosticAnalysisInner object itself. @@ -132,7 +132,7 @@ public DiagnosticAnalysisInner withPayload(List payload) { } /** - * Get the nonCorrelatedDetectors value. + * Get data by each detector for detectors that did not corelate. * * @return the nonCorrelatedDetectors value */ @@ -141,7 +141,7 @@ public List nonCorrelatedDetectors() { } /** - * Set the nonCorrelatedDetectors value. + * Set data by each detector for detectors that did not corelate. * * @param nonCorrelatedDetectors the nonCorrelatedDetectors value to set * @return the DiagnosticAnalysisInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticCategoryImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticCategoryImpl.java index 946e2f6c4371f..b1bcbe4ef8c0e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticCategoryImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticCategoryImpl.java @@ -13,12 +13,12 @@ import rx.Observable; class DiagnosticCategoryImpl 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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -27,7 +27,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticDetectorResponseInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticDetectorResponseInner.java index e3a585f6aa8d8..adf77e6763f9f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticDetectorResponseInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticDetectorResponseInner.java @@ -72,7 +72,7 @@ public class DiagnosticDetectorResponseInner extends ProxyOnlyResource { private ResponseMetaData responseMetaData; /** - * Get the startTime value. + * Get start time of the period. * * @return the startTime value */ @@ -81,7 +81,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time of the period. * * @param startTime the startTime value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -92,7 +92,7 @@ public DiagnosticDetectorResponseInner withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get end time of the period. * * @return the endTime value */ @@ -101,7 +101,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set end time of the period. * * @param endTime the endTime value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -112,7 +112,7 @@ public DiagnosticDetectorResponseInner withEndTime(DateTime endTime) { } /** - * Get the issueDetected value. + * Get flag representing Issue was detected. * * @return the issueDetected value */ @@ -121,7 +121,7 @@ public Boolean issueDetected() { } /** - * Set the issueDetected value. + * Set flag representing Issue was detected. * * @param issueDetected the issueDetected value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -132,7 +132,7 @@ public DiagnosticDetectorResponseInner withIssueDetected(Boolean issueDetected) } /** - * Get the detectorDefinition value. + * Get detector's definition. * * @return the detectorDefinition value */ @@ -141,7 +141,7 @@ public DetectorDefinitionInner detectorDefinition() { } /** - * Set the detectorDefinition value. + * Set detector's definition. * * @param detectorDefinition the detectorDefinition value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -152,7 +152,7 @@ public DiagnosticDetectorResponseInner withDetectorDefinition(DetectorDefinition } /** - * Get the metrics value. + * Get metrics provided by the detector. * * @return the metrics value */ @@ -161,7 +161,7 @@ public List metrics() { } /** - * Set the metrics value. + * Set metrics provided by the detector. * * @param metrics the metrics value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -172,7 +172,7 @@ public DiagnosticDetectorResponseInner withMetrics(List met } /** - * Get the abnormalTimePeriods value. + * Get list of Correlated events found by the detector. * * @return the abnormalTimePeriods value */ @@ -181,7 +181,7 @@ public List abnormalTimePeriods() { } /** - * Set the abnormalTimePeriods value. + * Set list of Correlated events found by the detector. * * @param abnormalTimePeriods the abnormalTimePeriods value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -192,7 +192,7 @@ public DiagnosticDetectorResponseInner withAbnormalTimePeriods(List> data() { } /** - * Set the data value. + * Set additional Data that detector wants to send. * * @param data the data value to set * @return the DiagnosticDetectorResponseInner object itself. @@ -212,7 +212,7 @@ public DiagnosticDetectorResponseInner withData(List> data) } /** - * Get the responseMetaData value. + * Get meta Data. * * @return the responseMetaData value */ @@ -221,7 +221,7 @@ public ResponseMetaData responseMetaData() { } /** - * Set the responseMetaData value. + * Set meta Data. * * @param responseMetaData the responseMetaData value to set * @return the DiagnosticDetectorResponseInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java index 58adcbd8c681d..013e953fba6b2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java @@ -21,14 +21,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DiagnosticDetectorResponse; 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; } @@ -45,7 +45,8 @@ public Observable listSiteDiagnosticCategoriesSlotAsync(fina public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DiagnosticCategory call(DiagnosticCategoryInner inner) { return new DiagnosticCategoryImpl(inner, manager()); @@ -169,7 +170,8 @@ public Observable listSiteAnalysesSlotAsync(final String res public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public AnalysisDefinition call(AnalysisDefinitionInner inner) { return new AnalysisDefinitionImpl(inner, manager()); @@ -228,7 +230,8 @@ public Observable getSiteDetectorAsync(final String resource public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorDefinition call(DetectorDefinitionInner inner) { return new DetectorDefinitionImpl(inner, manager()); @@ -257,7 +260,8 @@ public Observable listSiteDetectorsSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorDefinition call(DetectorDefinitionInner inner) { return new DetectorDefinitionImpl(inner, manager()); @@ -274,7 +278,8 @@ public Observable getSiteDetectorSlotAsync(final String reso public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public DetectorDefinition call(DetectorDefinitionInner inner) { return new DetectorDefinitionImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultImpl.java index 4feaf79e22e56..0a3a03ca02e55 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultInner.java index 82f4b586ba9e2..5d34fbfce813c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultInner.java @@ -38,7 +38,7 @@ public class DomainAvailablilityCheckResultInner { private DomainType domainType; /** - * Get the name value. + * Get name of the domain. * * @return the name value */ @@ -47,7 +47,7 @@ public String name() { } /** - * Set the name value. + * Set name of the domain. * * @param name the name value to set * @return the DomainAvailablilityCheckResultInner object itself. @@ -58,7 +58,7 @@ public DomainAvailablilityCheckResultInner withName(String name) { } /** - * Get the available value. + * Get <code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>. * * @return the available value */ @@ -67,7 +67,7 @@ public Boolean available() { } /** - * Set the available value. + * Set <code>true</code> if domain can be purchased using CreateDomain API; otherwise, <code>false</code>. * * @param available the available value to set * @return the DomainAvailablilityCheckResultInner object itself. @@ -78,7 +78,7 @@ public DomainAvailablilityCheckResultInner withAvailable(Boolean available) { } /** - * Get the domainType value. + * Get valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: 'Regular', 'SoftDeleted'. * * @return the domainType value */ @@ -87,7 +87,7 @@ public DomainType domainType() { } /** - * Set the domainType value. + * Set valid values are Regular domain: Azure will charge the full price of domain registration, SoftDeleted: Purchasing this domain will simply restore it and this operation will not cost anything. Possible values include: 'Regular', 'SoftDeleted'. * * @param domainType the domainType value to set * @return the DomainAvailablilityCheckResultInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestImpl.java index 74e0862255784..98cd5c1468ca3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestInner.java index bd94cb0bc9c8a..e2c3642e52f01 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainControlCenterSsoRequestInner.java @@ -34,7 +34,7 @@ public class DomainControlCenterSsoRequestInner { private String postParameterValue; /** - * Get the url value. + * Get uRL where the single sign-on request is to be made. * * @return the url value */ @@ -43,7 +43,7 @@ public String url() { } /** - * Get the postParameterKey value. + * Get post parameter key. * * @return the postParameterKey value */ @@ -52,7 +52,7 @@ public String postParameterKey() { } /** - * Get the postParameterValue value. + * Get post parameter value. Client should use 'application/x-www-form-urlencoded' encoding for this value. * * @return the postParameterValue value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainImpl.java index dea347ef52ba4..1bebeb08901de 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainInner.java index 20175e429876c..df7914a2d77d3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainInner.java @@ -165,7 +165,7 @@ public class DomainInner extends Resource { private String kind; /** - * Get the contactAdmin value. + * Get administrative contact. * * @return the contactAdmin value */ @@ -174,7 +174,7 @@ public Contact contactAdmin() { } /** - * Set the contactAdmin value. + * Set administrative contact. * * @param contactAdmin the contactAdmin value to set * @return the DomainInner object itself. @@ -185,7 +185,7 @@ public DomainInner withContactAdmin(Contact contactAdmin) { } /** - * Get the contactBilling value. + * Get billing contact. * * @return the contactBilling value */ @@ -194,7 +194,7 @@ public Contact contactBilling() { } /** - * Set the contactBilling value. + * Set billing contact. * * @param contactBilling the contactBilling value to set * @return the DomainInner object itself. @@ -205,7 +205,7 @@ public DomainInner withContactBilling(Contact contactBilling) { } /** - * Get the contactRegistrant value. + * Get registrant contact. * * @return the contactRegistrant value */ @@ -214,7 +214,7 @@ public Contact contactRegistrant() { } /** - * Set the contactRegistrant value. + * Set registrant contact. * * @param contactRegistrant the contactRegistrant value to set * @return the DomainInner object itself. @@ -225,7 +225,7 @@ public DomainInner withContactRegistrant(Contact contactRegistrant) { } /** - * Get the contactTech value. + * Get technical contact. * * @return the contactTech value */ @@ -234,7 +234,7 @@ public Contact contactTech() { } /** - * Set the contactTech value. + * Set technical contact. * * @param contactTech the contactTech value to set * @return the DomainInner object itself. @@ -245,7 +245,7 @@ public DomainInner withContactTech(Contact contactTech) { } /** - * Get the registrationStatus value. + * Get domain registration status. Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled', 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', 'Reverted', 'Suspended', 'Transferred', 'Unknown', 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed'. * * @return the registrationStatus value */ @@ -254,7 +254,7 @@ public DomainStatus registrationStatus() { } /** - * Get the provisioningState value. + * Get domain provisioning state. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'. * * @return the provisioningState value */ @@ -263,7 +263,7 @@ public ProvisioningState provisioningState() { } /** - * Get the nameServers value. + * Get name servers. * * @return the nameServers value */ @@ -272,7 +272,7 @@ public List nameServers() { } /** - * Get the privacy value. + * Get <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>. * * @return the privacy value */ @@ -281,7 +281,7 @@ public Boolean privacy() { } /** - * Set the privacy value. + * Set <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>. * * @param privacy the privacy value to set * @return the DomainInner object itself. @@ -292,7 +292,7 @@ public DomainInner withPrivacy(Boolean privacy) { } /** - * Get the createdTime value. + * Get domain creation timestamp. * * @return the createdTime value */ @@ -301,7 +301,7 @@ public DateTime createdTime() { } /** - * Get the expirationTime value. + * Get domain expiration timestamp. * * @return the expirationTime value */ @@ -310,7 +310,7 @@ public DateTime expirationTime() { } /** - * Get the lastRenewedTime value. + * Get timestamp when the domain was renewed last time. * * @return the lastRenewedTime value */ @@ -319,7 +319,7 @@ public DateTime lastRenewedTime() { } /** - * Get the autoRenew value. + * Get <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>. * * @return the autoRenew value */ @@ -328,7 +328,7 @@ public Boolean autoRenew() { } /** - * Set the autoRenew value. + * Set <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>. * * @param autoRenew the autoRenew value to set * @return the DomainInner object itself. @@ -339,7 +339,8 @@ public DomainInner withAutoRenew(Boolean autoRenew) { } /** - * Get the readyForDnsRecordManagement value. + * Get <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and + it is hosted on name servers Azure has programmatic access to. * * @return the readyForDnsRecordManagement value */ @@ -348,7 +349,7 @@ public Boolean readyForDnsRecordManagement() { } /** - * Get the managedHostNames value. + * Get all hostnames derived from the domain and assigned to Azure resources. * * @return the managedHostNames value */ @@ -357,7 +358,7 @@ public List managedHostNames() { } /** - * Get the consent value. + * Get legal agreement consent. * * @return the consent value */ @@ -366,7 +367,7 @@ public DomainPurchaseConsent consent() { } /** - * Set the consent value. + * Set legal agreement consent. * * @param consent the consent value to set * @return the DomainInner object itself. @@ -377,7 +378,7 @@ public DomainInner withConsent(DomainPurchaseConsent consent) { } /** - * Get the domainNotRenewableReasons value. + * Get reasons why domain is not renewable. * * @return the domainNotRenewableReasons value */ @@ -386,7 +387,7 @@ public List domainNotRenewableReasons() { } /** - * Get the dnsType value. + * Get current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'. * * @return the dnsType value */ @@ -395,7 +396,7 @@ public DnsType dnsType() { } /** - * Set the dnsType value. + * Set current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'. * * @param dnsType the dnsType value to set * @return the DomainInner object itself. @@ -406,7 +407,7 @@ public DomainInner withDnsType(DnsType dnsType) { } /** - * Get the dnsZoneId value. + * Get azure DNS Zone to use. * * @return the dnsZoneId value */ @@ -415,7 +416,7 @@ public String dnsZoneId() { } /** - * Set the dnsZoneId value. + * Set azure DNS Zone to use. * * @param dnsZoneId the dnsZoneId value to set * @return the DomainInner object itself. @@ -426,7 +427,7 @@ public DomainInner withDnsZoneId(String dnsZoneId) { } /** - * Get the targetDnsType value. + * Get target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'. * * @return the targetDnsType value */ @@ -435,7 +436,7 @@ public DnsType targetDnsType() { } /** - * Set the targetDnsType value. + * Set target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'. * * @param targetDnsType the targetDnsType value to set * @return the DomainInner object itself. @@ -466,7 +467,7 @@ public DomainInner withAuthCode(String authCode) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -475,7 +476,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the DomainInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainOwnershipIdentifierImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainOwnershipIdentifierImpl.java index 6d8dbf17a2683..0d612f2385634 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainOwnershipIdentifierImpl.java +++ b/appservice/resource-manager/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; } @@ -37,7 +37,8 @@ public Observable listOperationsAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public CsmOperationDescription call(CsmOperationDescriptionInner inner) { return new CsmOperationDescriptionImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainsImpl.java index 218251b9eeee5..696d42f962fd3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainsImpl.java +++ b/appservice/resource-manager/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); } @@ -169,7 +169,8 @@ public Observable listRecommendationsAsync(final DomainRecommend public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public NameIdentifier call(NameIdentifierInner inner) { return new NameIdentifierImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionEnvelopeImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionEnvelopeImpl.java index a6450946278b4..72f0e84583d17 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionEnvelopeImpl.java +++ b/appservice/resource-manager/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 files() { } /** - * Set the files value. + * Set file list. * * @param files the files value to set * @return the FunctionEnvelopeInner object itself. @@ -233,7 +233,7 @@ public FunctionEnvelopeInner withFiles(Map files) { } /** - * Get the testData value. + * Get test data used when testing via the Azure Portal. * * @return the testData value */ @@ -242,7 +242,7 @@ public String testData() { } /** - * Set the testData value. + * Set test data used when testing via the Azure Portal. * * @param testData the testData value to set * @return the FunctionEnvelopeInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionSecretsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionSecretsImpl.java index 0d05147b57d06..97057535c0f41 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionSecretsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionSecretsImpl.java @@ -12,14 +12,14 @@ import com.microsoft.azure.arm.model.implementation.WrapperImpl; class FunctionSecretsImpl extends WrapperImpl 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionSecretsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionSecretsInner.java index db9285df7959a..af8d7f49975f4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionSecretsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/FunctionSecretsInner.java @@ -30,7 +30,7 @@ public class FunctionSecretsInner extends ProxyOnlyResource { private String triggerUrl; /** - * Get the key value. + * Get secret key. * * @return the key value */ @@ -39,7 +39,7 @@ public String key() { } /** - * Set the key value. + * Set secret key. * * @param key the key value to set * @return the FunctionSecretsInner object itself. @@ -50,7 +50,7 @@ public FunctionSecretsInner withKey(String key) { } /** - * Get the triggerUrl value. + * Get trigger URL. * * @return the triggerUrl value */ @@ -59,7 +59,7 @@ public String triggerUrl() { } /** - * Set the triggerUrl value. + * Set trigger URL. * * @param triggerUrl the triggerUrl value to set * @return the FunctionSecretsInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/GeoRegionInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/GeoRegionInner.java index 43cbdc408f635..abd9d3715a78e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/GeoRegionInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/GeoRegionInner.java @@ -30,7 +30,7 @@ public class GeoRegionInner extends ProxyOnlyResource { private String displayName; /** - * Get the description value. + * Get region description. * * @return the description value */ @@ -39,7 +39,7 @@ public String description() { } /** - * Get the displayName value. + * Get display name for region. * * @return the displayName value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostNameBindingImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostNameBindingImpl.java index 5bf5f50a4d41f..e32c690485ceb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostNameBindingImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsImpl.java index eb9ccb2699e58..b6cb384f3a3c9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsInner.java index 9f0a75c90f8fc..fd384dd1effe6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentDiagnosticsInner.java @@ -27,7 +27,7 @@ public class HostingEnvironmentDiagnosticsInner { private String diagnosicsOutput; /** - * Get the name value. + * Get name/identifier of the diagnostics. * * @return the name value */ @@ -36,7 +36,7 @@ public String name() { } /** - * Set the name value. + * Set name/identifier of the diagnostics. * * @param name the name value to set * @return the HostingEnvironmentDiagnosticsInner object itself. @@ -47,7 +47,7 @@ public HostingEnvironmentDiagnosticsInner withName(String name) { } /** - * Get the diagnosicsOutput value. + * Get diagnostics output. * * @return the diagnosicsOutput value */ @@ -56,7 +56,7 @@ public String diagnosicsOutput() { } /** - * Set the diagnosicsOutput value. + * Set diagnostics output. * * @param diagnosicsOutput the diagnosicsOutput value to set * @return the HostingEnvironmentDiagnosticsInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentResourceMetricImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentResourceMetricImpl.java index f948db7e05134..495aefe0b31c4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentResourceMetricImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java index b6f608fbb5014..e74e462b1d4ca 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java @@ -25,15 +25,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionImpl.java index 51f2d4b08a3e3..36d1ea278fa06 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionInner.java index e004f68cbd63e..18dc5e5d7999b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionInner.java @@ -70,7 +70,7 @@ public class HybridConnectionInner extends ProxyOnlyResource { private String serviceBusSuffix; /** - * Get the serviceBusNamespace value. + * Get the name of the Service Bus namespace. * * @return the serviceBusNamespace value */ @@ -79,7 +79,7 @@ public String serviceBusNamespace() { } /** - * Set the serviceBusNamespace value. + * Set the name of the Service Bus namespace. * * @param serviceBusNamespace the serviceBusNamespace value to set * @return the HybridConnectionInner object itself. @@ -90,7 +90,7 @@ public HybridConnectionInner withServiceBusNamespace(String serviceBusNamespace) } /** - * Get the relayName value. + * Get the name of the Service Bus relay. * * @return the relayName value */ @@ -99,7 +99,7 @@ public String relayName() { } /** - * Set the relayName value. + * Set the name of the Service Bus relay. * * @param relayName the relayName value to set * @return the HybridConnectionInner object itself. @@ -110,7 +110,7 @@ public HybridConnectionInner withRelayName(String relayName) { } /** - * Get the relayArmUri value. + * Get the ARM URI to the Service Bus relay. * * @return the relayArmUri value */ @@ -119,7 +119,7 @@ public String relayArmUri() { } /** - * Set the relayArmUri value. + * Set the ARM URI to the Service Bus relay. * * @param relayArmUri the relayArmUri value to set * @return the HybridConnectionInner object itself. @@ -130,7 +130,7 @@ public HybridConnectionInner withRelayArmUri(String relayArmUri) { } /** - * Get the hostname value. + * Get the hostname of the endpoint. * * @return the hostname value */ @@ -139,7 +139,7 @@ public String hostname() { } /** - * Set the hostname value. + * Set the hostname of the endpoint. * * @param hostname the hostname value to set * @return the HybridConnectionInner object itself. @@ -150,7 +150,7 @@ public HybridConnectionInner withHostname(String hostname) { } /** - * Get the port value. + * Get the port of the endpoint. * * @return the port value */ @@ -159,7 +159,7 @@ public Integer port() { } /** - * Set the port value. + * Set the port of the endpoint. * * @param port the port value to set * @return the HybridConnectionInner object itself. @@ -170,7 +170,7 @@ public HybridConnectionInner withPort(Integer port) { } /** - * Get the sendKeyName value. + * Get the name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. * * @return the sendKeyName value */ @@ -179,7 +179,7 @@ public String sendKeyName() { } /** - * Set the sendKeyName value. + * Set the name of the Service Bus key which has Send permissions. This is used to authenticate to Service Bus. * * @param sendKeyName the sendKeyName value to set * @return the HybridConnectionInner object itself. @@ -190,7 +190,8 @@ public HybridConnectionInner withSendKeyName(String sendKeyName) { } /** - * Get the sendKeyValue value. + * Get the value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned + normally, use the POST /listKeys API instead. * * @return the sendKeyValue value */ @@ -199,7 +200,8 @@ public String sendKeyValue() { } /** - * Set the sendKeyValue value. + * Set the value of the Service Bus key. This is used to authenticate to Service Bus. In ARM this key will not be returned + normally, use the POST /listKeys API instead. * * @param sendKeyValue the sendKeyValue value to set * @return the HybridConnectionInner object itself. @@ -210,7 +212,7 @@ public HybridConnectionInner withSendKeyValue(String sendKeyValue) { } /** - * Get the serviceBusSuffix value. + * Get the suffix for the service bus endpoint. By default this is .servicebus.windows.net. * * @return the serviceBusSuffix value */ @@ -219,7 +221,7 @@ public String serviceBusSuffix() { } /** - * Set the serviceBusSuffix value. + * Set the suffix for the service bus endpoint. By default this is .servicebus.windows.net. * * @param serviceBusSuffix the serviceBusSuffix value to set * @return the HybridConnectionInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyImpl.java index e36f0a4605c2d..08fd4833e5d62 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyInner.java index 45021f31f3dd7..2ed8eb0bb5a2f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionKeyInner.java @@ -31,7 +31,7 @@ public class HybridConnectionKeyInner extends ProxyOnlyResource { private String sendKeyValue; /** - * Get the sendKeyName value. + * Get the name of the send key. * * @return the sendKeyName value */ @@ -40,7 +40,7 @@ public String sendKeyName() { } /** - * Get the sendKeyValue value. + * Get the value of the send key. * * @return the sendKeyValue value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsImpl.java index 80198832955f5..7f14e36257f7c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsInner.java index 3de0e742d2532..4286a483b30e8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HybridConnectionLimitsInner.java @@ -31,7 +31,7 @@ public class HybridConnectionLimitsInner extends ProxyOnlyResource { private Integer maximum; /** - * Get the current value. + * Get the current number of Hybrid Connections. * * @return the current value */ @@ -40,7 +40,7 @@ public Integer current() { } /** - * Get the maximum value. + * Get the maximum number of Hybrid Connections allowed. * * @return the maximum value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/IdentifierImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/IdentifierImpl.java index 8e2c2f038f929..eba03204b8ff2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/IdentifierImpl.java +++ b/appservice/resource-manager/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 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployLogInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployLogInner.java index 5dbde38ad5f5b..2c5b977aeeb33 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployLogInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployLogInner.java @@ -26,7 +26,7 @@ public class MSDeployLogInner extends ProxyOnlyResource { private List entries; /** - * Get the entries value. + * Get list of log entry messages. * * @return the entries value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusImpl.java index fde126df67407..67fc742ae0200 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusInner.java index f69b571770bd0..888a97f8d7fe3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MSDeployStatusInner.java @@ -51,7 +51,7 @@ public class MSDeployStatusInner extends ProxyOnlyResource { private Boolean complete; /** - * Get the deployer value. + * Get username of deployer. * * @return the deployer value */ @@ -60,7 +60,7 @@ public String deployer() { } /** - * Get the provisioningState value. + * Get provisioning state. Possible values include: 'accepted', 'running', 'succeeded', 'failed', 'canceled'. * * @return the provisioningState value */ @@ -69,7 +69,7 @@ public MSDeployProvisioningState provisioningState() { } /** - * Get the startTime value. + * Get start time of deploy operation. * * @return the startTime value */ @@ -78,7 +78,7 @@ public DateTime startTime() { } /** - * Get the endTime value. + * Get end time of deploy operation. * * @return the endTime value */ @@ -87,7 +87,7 @@ public DateTime endTime() { } /** - * Get the complete value. + * Get whether the deployment operation has completed. * * @return the complete value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionImpl.java index 3a593f9fe0ce1..de7fd30bb0184 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionInner.java index 292c9fa726848..c9cd9096054e6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MetricDefinitionInner.java @@ -45,7 +45,7 @@ public class MetricDefinitionInner extends ProxyOnlyResource { private String displayName; /** - * Get the unit value. + * Get unit of the metric. * * @return the unit value */ @@ -54,7 +54,7 @@ public String unit() { } /** - * Get the primaryAggregationType value. + * Get primary aggregation type. * * @return the primaryAggregationType value */ @@ -63,7 +63,7 @@ public String primaryAggregationType() { } /** - * Get the metricAvailabilities value. + * Get list of time grains supported for the metric together with retention period. * * @return the metricAvailabilities value */ @@ -72,7 +72,7 @@ public List metricAvailabilities() { } /** - * Get the displayName value. + * Get friendly name shown in the UI. * * @return the displayName value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusImpl.java index aa1a3a68388e8..8cb76d824ec74 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusInner.java index af2e89bc1d4a6..32ed34ec12e33 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MigrateMySqlStatusInner.java @@ -38,7 +38,7 @@ public class MigrateMySqlStatusInner extends ProxyOnlyResource { private Boolean localMySqlEnabled; /** - * Get the migrationOperationStatus value. + * Get status of the migration task. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @return the migrationOperationStatus value */ @@ -47,7 +47,7 @@ public OperationStatus migrationOperationStatus() { } /** - * Get the operationId value. + * Get operation ID for the migration task. * * @return the operationId value */ @@ -56,7 +56,7 @@ public String operationId() { } /** - * Get the localMySqlEnabled value. + * Get true if the web app has in app MySql enabled. * * @return the localMySqlEnabled value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MultiRolePoolsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MultiRolePoolsImpl.java index 482c010b1bbd6..6d5a5b3463976 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/MultiRolePoolsImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierImpl.java index 311f5cda15b6f..ac702d3c686c5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierInner.java index 8a17712db671f..a043156372854 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NameIdentifierInner.java @@ -21,7 +21,7 @@ public class NameIdentifierInner { private String name; /** - * Get the name value. + * Get name of the object. * * @return the name value */ @@ -30,7 +30,7 @@ public String name() { } /** - * Set the name value. + * Set name of the object. * * @param name the name value to set * @return the NameIdentifierInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkFeaturesImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkFeaturesImpl.java index 6331613a0e78e..b423b79be654b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkFeaturesImpl.java +++ b/appservice/resource-manager/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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -32,7 +32,7 @@ class NetworkFeaturesImpl extends IndexableRefreshableWrapperImpl hybridConnectionsV2; /** - * Get the virtualNetworkName value. + * Get the Virtual Network name. * * @return the virtualNetworkName value */ @@ -53,7 +53,7 @@ public String virtualNetworkName() { } /** - * Get the virtualNetworkConnection value. + * Get the Virtual Network summary view. * * @return the virtualNetworkConnection value */ @@ -62,7 +62,7 @@ public VnetInfoInner virtualNetworkConnection() { } /** - * Get the hybridConnections value. + * Get the Hybrid Connections summary view. * * @return the hybridConnections value */ @@ -71,7 +71,7 @@ public List hybridConnections() { } /** - * Get the hybridConnectionsV2 value. + * Get the Hybrid Connection V2 (Service Bus) view. * * @return the hybridConnectionsV2 value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationImpl.java index 98eca1f42064b..80f0e23e6cdb1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationInner.java index eae38025f63b3..b8e1962ba3886 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/OperationInner.java @@ -69,7 +69,7 @@ public class OperationInner { private UUID geoMasterOperationId; /** - * Get the id value. + * Get operation ID. * * @return the id value */ @@ -78,7 +78,7 @@ public String id() { } /** - * Set the id value. + * Set operation ID. * * @param id the id value to set * @return the OperationInner object itself. @@ -89,7 +89,7 @@ public OperationInner withId(String id) { } /** - * Get the name value. + * Get operation name. * * @return the name value */ @@ -98,7 +98,7 @@ public String name() { } /** - * Set the name value. + * Set operation name. * * @param name the name value to set * @return the OperationInner object itself. @@ -109,7 +109,7 @@ public OperationInner withName(String name) { } /** - * Get the status value. + * Get the current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @return the status value */ @@ -118,7 +118,7 @@ public OperationStatus status() { } /** - * Set the status value. + * Set the current status of the operation. Possible values include: 'InProgress', 'Failed', 'Succeeded', 'TimedOut', 'Created'. * * @param status the status value to set * @return the OperationInner object itself. @@ -129,7 +129,7 @@ public OperationInner withStatus(OperationStatus status) { } /** - * Get the errors value. + * Get any errors associate with the operation. * * @return the errors value */ @@ -138,7 +138,7 @@ public List errors() { } /** - * Set the errors value. + * Set any errors associate with the operation. * * @param errors the errors value to set * @return the OperationInner object itself. @@ -149,7 +149,7 @@ public OperationInner withErrors(List errors) { } /** - * Get the createdTime value. + * Get time when operation has started. * * @return the createdTime value */ @@ -158,7 +158,7 @@ public DateTime createdTime() { } /** - * Set the createdTime value. + * Set time when operation has started. * * @param createdTime the createdTime value to set * @return the OperationInner object itself. @@ -169,7 +169,7 @@ public OperationInner withCreatedTime(DateTime createdTime) { } /** - * Get the modifiedTime value. + * Get time when operation has been updated. * * @return the modifiedTime value */ @@ -178,7 +178,7 @@ public DateTime modifiedTime() { } /** - * Set the modifiedTime value. + * Set time when operation has been updated. * * @param modifiedTime the modifiedTime value to set * @return the OperationInner object itself. @@ -189,7 +189,7 @@ public OperationInner withModifiedTime(DateTime modifiedTime) { } /** - * Get the expirationTime value. + * Get time when operation will expire. * * @return the expirationTime value */ @@ -198,7 +198,7 @@ public DateTime expirationTime() { } /** - * Set the expirationTime value. + * Set time when operation will expire. * * @param expirationTime the expirationTime value to set * @return the OperationInner object itself. @@ -209,7 +209,7 @@ public OperationInner withExpirationTime(DateTime expirationTime) { } /** - * Get the geoMasterOperationId value. + * Get applicable only for stamp operation ids. * * @return the geoMasterOperationId value */ @@ -218,7 +218,7 @@ public UUID geoMasterOperationId() { } /** - * Set the geoMasterOperationId value. + * Set applicable only for stamp operation ids. * * @param geoMasterOperationId the geoMasterOperationId value to set * @return the OperationInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseImpl.java index 19a1f3f8d11cb..0c26493b35906 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseInner.java index 635af424f441c..9b4d47038dc9c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PerfMonResponseInner.java @@ -34,7 +34,7 @@ public class PerfMonResponseInner { private PerfMonSet data; /** - * Get the code value. + * Get the response code. * * @return the code value */ @@ -43,7 +43,7 @@ public String code() { } /** - * Set the code value. + * Set the response code. * * @param code the code value to set * @return the PerfMonResponseInner object itself. @@ -54,7 +54,7 @@ public PerfMonResponseInner withCode(String code) { } /** - * Get the message value. + * Get the message. * * @return the message value */ @@ -63,7 +63,7 @@ public String message() { } /** - * Set the message value. + * Set the message. * * @param message the message value to set * @return the PerfMonResponseInner object itself. @@ -74,7 +74,7 @@ public PerfMonResponseInner withMessage(String message) { } /** - * Get the data value. + * Get the performance monitor counters. * * @return the data value */ @@ -83,7 +83,7 @@ public PerfMonSet data() { } /** - * Set the data value. + * Set the performance monitor counters. * * @param data the data value to set * @return the PerfMonResponseInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java index aace60013e5ec..9d6ff7a8bda0a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java @@ -14,12 +14,12 @@ import java.util.Map; 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; - PremierAddOnImpl(String name, AppServiceManager manager) { + PremierAddOnImpl(String name, CertificateRegistrationManager manager) { super(name, new PremierAddOnInner()); this.manager = manager; // Set resource name @@ -27,7 +27,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PrivateAccessInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PrivateAccessInner.java index e4d8884b30bc9..535af4b3f7deb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PrivateAccessInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PrivateAccessInner.java @@ -32,7 +32,7 @@ public class PrivateAccessInner extends ProxyOnlyResource { private List virtualNetworks; /** - * Get the enabled value. + * Get whether private access is enabled or not. * * @return the enabled value */ @@ -41,7 +41,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set whether private access is enabled or not. * * @param enabled the enabled value to set * @return the PrivateAccessInner object itself. @@ -52,7 +52,7 @@ public PrivateAccessInner withEnabled(Boolean enabled) { } /** - * Get the virtualNetworks value. + * Get the Virtual Networks (and subnets) allowed to access the site privately. * * @return the virtualNetworks value */ @@ -61,7 +61,7 @@ public List virtualNetworks() { } /** - * Set the virtualNetworks value. + * Set the Virtual Networks (and subnets) allowed to access the site privately. * * @param virtualNetworks the virtualNetworks value to set * @return the PrivateAccessInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessInfoImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessInfoImpl.java index fd5a0e1628adb..8db8a41591dc9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessInfoImpl.java +++ b/appservice/resource-manager/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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -35,7 +35,7 @@ class ProcessInfoImpl extends IndexableRefreshableWrapperImpl children() { } /** - * Set the children value. + * Set child process list. * * @param children the children value to set * @return the ProcessInfoInner object itself. @@ -406,7 +406,7 @@ public ProcessInfoInner withChildren(List children) { } /** - * Get the threads value. + * Get thread list. * * @return the threads value */ @@ -415,7 +415,7 @@ public List threads() { } /** - * Set the threads value. + * Set thread list. * * @param threads the threads value to set * @return the ProcessInfoInner object itself. @@ -426,7 +426,7 @@ public ProcessInfoInner withThreads(List threads) { } /** - * Get the openFileHandles value. + * Get list of open files. * * @return the openFileHandles value */ @@ -435,7 +435,7 @@ public List openFileHandles() { } /** - * Set the openFileHandles value. + * Set list of open files. * * @param openFileHandles the openFileHandles value to set * @return the ProcessInfoInner object itself. @@ -446,7 +446,7 @@ public ProcessInfoInner withOpenFileHandles(List openFileHandles) { } /** - * Get the modules value. + * Get list of modules. * * @return the modules value */ @@ -455,7 +455,7 @@ public List modules() { } /** - * Set the modules value. + * Set list of modules. * * @param modules the modules value to set * @return the ProcessInfoInner object itself. @@ -466,7 +466,7 @@ public ProcessInfoInner withModules(List modules) { } /** - * Get the fileName value. + * Get file name of this process. * * @return the fileName value */ @@ -475,7 +475,7 @@ public String fileName() { } /** - * Set the fileName value. + * Set file name of this process. * * @param fileName the fileName value to set * @return the ProcessInfoInner object itself. @@ -486,7 +486,7 @@ public ProcessInfoInner withFileName(String fileName) { } /** - * Get the commandLine value. + * Get command line. * * @return the commandLine value */ @@ -495,7 +495,7 @@ public String commandLine() { } /** - * Set the commandLine value. + * Set command line. * * @param commandLine the commandLine value to set * @return the ProcessInfoInner object itself. @@ -506,7 +506,7 @@ public ProcessInfoInner withCommandLine(String commandLine) { } /** - * Get the userName value. + * Get user name. * * @return the userName value */ @@ -515,7 +515,7 @@ public String userName() { } /** - * Set the userName value. + * Set user name. * * @param userName the userName value to set * @return the ProcessInfoInner object itself. @@ -526,7 +526,7 @@ public ProcessInfoInner withUserName(String userName) { } /** - * Get the handleCount value. + * Get handle count. * * @return the handleCount value */ @@ -535,7 +535,7 @@ public Integer handleCount() { } /** - * Set the handleCount value. + * Set handle count. * * @param handleCount the handleCount value to set * @return the ProcessInfoInner object itself. @@ -546,7 +546,7 @@ public ProcessInfoInner withHandleCount(Integer handleCount) { } /** - * Get the moduleCount value. + * Get module count. * * @return the moduleCount value */ @@ -555,7 +555,7 @@ public Integer moduleCount() { } /** - * Set the moduleCount value. + * Set module count. * * @param moduleCount the moduleCount value to set * @return the ProcessInfoInner object itself. @@ -566,7 +566,7 @@ public ProcessInfoInner withModuleCount(Integer moduleCount) { } /** - * Get the threadCount value. + * Get thread count. * * @return the threadCount value */ @@ -575,7 +575,7 @@ public Integer threadCount() { } /** - * Set the threadCount value. + * Set thread count. * * @param threadCount the threadCount value to set * @return the ProcessInfoInner object itself. @@ -586,7 +586,7 @@ public ProcessInfoInner withThreadCount(Integer threadCount) { } /** - * Get the startTime value. + * Get start time. * * @return the startTime value */ @@ -595,7 +595,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set start time. * * @param startTime the startTime value to set * @return the ProcessInfoInner object itself. @@ -606,7 +606,7 @@ public ProcessInfoInner withStartTime(DateTime startTime) { } /** - * Get the totalCpuTime value. + * Get total CPU time. * * @return the totalCpuTime value */ @@ -615,7 +615,7 @@ public String totalCpuTime() { } /** - * Set the totalCpuTime value. + * Set total CPU time. * * @param totalCpuTime the totalCpuTime value to set * @return the ProcessInfoInner object itself. @@ -626,7 +626,7 @@ public ProcessInfoInner withTotalCpuTime(String totalCpuTime) { } /** - * Get the userCpuTime value. + * Get user CPU time. * * @return the userCpuTime value */ @@ -635,7 +635,7 @@ public String userCpuTime() { } /** - * Set the userCpuTime value. + * Set user CPU time. * * @param userCpuTime the userCpuTime value to set * @return the ProcessInfoInner object itself. @@ -646,7 +646,7 @@ public ProcessInfoInner withUserCpuTime(String userCpuTime) { } /** - * Get the privilegedCpuTime value. + * Get privileged CPU time. * * @return the privilegedCpuTime value */ @@ -655,7 +655,7 @@ public String privilegedCpuTime() { } /** - * Set the privilegedCpuTime value. + * Set privileged CPU time. * * @param privilegedCpuTime the privilegedCpuTime value to set * @return the ProcessInfoInner object itself. @@ -666,7 +666,7 @@ public ProcessInfoInner withPrivilegedCpuTime(String privilegedCpuTime) { } /** - * Get the workingSet value. + * Get working set. * * @return the workingSet value */ @@ -675,7 +675,7 @@ public Long workingSet() { } /** - * Set the workingSet value. + * Set working set. * * @param workingSet the workingSet value to set * @return the ProcessInfoInner object itself. @@ -686,7 +686,7 @@ public ProcessInfoInner withWorkingSet(Long workingSet) { } /** - * Get the peakWorkingSet value. + * Get peak working set. * * @return the peakWorkingSet value */ @@ -695,7 +695,7 @@ public Long peakWorkingSet() { } /** - * Set the peakWorkingSet value. + * Set peak working set. * * @param peakWorkingSet the peakWorkingSet value to set * @return the ProcessInfoInner object itself. @@ -706,7 +706,7 @@ public ProcessInfoInner withPeakWorkingSet(Long peakWorkingSet) { } /** - * Get the privateMemory value. + * Get private memory size. * * @return the privateMemory value */ @@ -715,7 +715,7 @@ public Long privateMemory() { } /** - * Set the privateMemory value. + * Set private memory size. * * @param privateMemory the privateMemory value to set * @return the ProcessInfoInner object itself. @@ -726,7 +726,7 @@ public ProcessInfoInner withPrivateMemory(Long privateMemory) { } /** - * Get the virtualMemory value. + * Get virtual memory size. * * @return the virtualMemory value */ @@ -735,7 +735,7 @@ public Long virtualMemory() { } /** - * Set the virtualMemory value. + * Set virtual memory size. * * @param virtualMemory the virtualMemory value to set * @return the ProcessInfoInner object itself. @@ -746,7 +746,7 @@ public ProcessInfoInner withVirtualMemory(Long virtualMemory) { } /** - * Get the peakVirtualMemory value. + * Get peak virtual memory usage. * * @return the peakVirtualMemory value */ @@ -755,7 +755,7 @@ public Long peakVirtualMemory() { } /** - * Set the peakVirtualMemory value. + * Set peak virtual memory usage. * * @param peakVirtualMemory the peakVirtualMemory value to set * @return the ProcessInfoInner object itself. @@ -766,7 +766,7 @@ public ProcessInfoInner withPeakVirtualMemory(Long peakVirtualMemory) { } /** - * Get the pagedSystemMemory value. + * Get paged system memory. * * @return the pagedSystemMemory value */ @@ -775,7 +775,7 @@ public Long pagedSystemMemory() { } /** - * Set the pagedSystemMemory value. + * Set paged system memory. * * @param pagedSystemMemory the pagedSystemMemory value to set * @return the ProcessInfoInner object itself. @@ -786,7 +786,7 @@ public ProcessInfoInner withPagedSystemMemory(Long pagedSystemMemory) { } /** - * Get the nonPagedSystemMemory value. + * Get non-paged system memory. * * @return the nonPagedSystemMemory value */ @@ -795,7 +795,7 @@ public Long nonPagedSystemMemory() { } /** - * Set the nonPagedSystemMemory value. + * Set non-paged system memory. * * @param nonPagedSystemMemory the nonPagedSystemMemory value to set * @return the ProcessInfoInner object itself. @@ -806,7 +806,7 @@ public ProcessInfoInner withNonPagedSystemMemory(Long nonPagedSystemMemory) { } /** - * Get the pagedMemory value. + * Get paged memory. * * @return the pagedMemory value */ @@ -815,7 +815,7 @@ public Long pagedMemory() { } /** - * Set the pagedMemory value. + * Set paged memory. * * @param pagedMemory the pagedMemory value to set * @return the ProcessInfoInner object itself. @@ -826,7 +826,7 @@ public ProcessInfoInner withPagedMemory(Long pagedMemory) { } /** - * Get the peakPagedMemory value. + * Get peak paged memory. * * @return the peakPagedMemory value */ @@ -835,7 +835,7 @@ public Long peakPagedMemory() { } /** - * Set the peakPagedMemory value. + * Set peak paged memory. * * @param peakPagedMemory the peakPagedMemory value to set * @return the ProcessInfoInner object itself. @@ -846,7 +846,7 @@ public ProcessInfoInner withPeakPagedMemory(Long peakPagedMemory) { } /** - * Get the timeStamp value. + * Get time stamp. * * @return the timeStamp value */ @@ -855,7 +855,7 @@ public DateTime timeStamp() { } /** - * Set the timeStamp value. + * Set time stamp. * * @param timeStamp the timeStamp value to set * @return the ProcessInfoInner object itself. @@ -866,7 +866,7 @@ public ProcessInfoInner withTimeStamp(DateTime timeStamp) { } /** - * Get the environmentVariables value. + * Get list of environment variables. * * @return the environmentVariables value */ @@ -875,7 +875,7 @@ public Map environmentVariables() { } /** - * Set the environmentVariables value. + * Set list of environment variables. * * @param environmentVariables the environmentVariables value to set * @return the ProcessInfoInner object itself. @@ -886,7 +886,7 @@ public ProcessInfoInner withEnvironmentVariables(Map environment } /** - * Get the isScmSite value. + * Get is this the SCM site?. * * @return the isScmSite value */ @@ -895,7 +895,7 @@ public Boolean isScmSite() { } /** - * Set the isScmSite value. + * Set is this the SCM site?. * * @param isScmSite the isScmSite value to set * @return the ProcessInfoInner object itself. @@ -906,7 +906,7 @@ public ProcessInfoInner withIsScmSite(Boolean isScmSite) { } /** - * Get the isWebjob value. + * Get is this a Web Job?. * * @return the isWebjob value */ @@ -915,7 +915,7 @@ public Boolean isWebjob() { } /** - * Set the isWebjob value. + * Set is this a Web Job?. * * @param isWebjob the isWebjob value to set * @return the ProcessInfoInner object itself. @@ -926,7 +926,7 @@ public ProcessInfoInner withIsWebjob(Boolean isWebjob) { } /** - * Get the description value. + * Get description of process. * * @return the description value */ @@ -935,7 +935,7 @@ public String description() { } /** - * Set the description value. + * Set description of process. * * @param description the description value to set * @return the ProcessInfoInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessModuleInfoImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessModuleInfoImpl.java index 700cc078e8882..84753b116174f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessModuleInfoImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessModuleInfoImpl.java @@ -13,14 +13,14 @@ import rx.Observable; class ProcessModuleInfoImpl 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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -31,7 +31,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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -32,7 +32,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; } @@ -38,7 +38,8 @@ public Observable getAvailableStacksAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ApplicationStack call(ApplicationStackInner inner) { return new ApplicationStackImpl(inner, manager()); @@ -55,7 +56,8 @@ public Observable listAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ApplicationStack call(ApplicationStackInner inner) { return new ApplicationStackImpl(inner, manager()); @@ -72,7 +74,8 @@ public Observable listOperationsAsync() { public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public CsmOperationDescription call(CsmOperationDescriptionInner inner) { return new CsmOperationDescriptionImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PublicCertificateImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PublicCertificateImpl.java index 6a3e46227f99b..407d32d4861c6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PublicCertificateImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PushSettingsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PushSettingsInner.java index d7cd5c5177f21..2af4607807873 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PushSettingsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PushSettingsInner.java @@ -48,7 +48,7 @@ public class PushSettingsInner extends ProxyOnlyResource { private String dynamicTagsJson; /** - * Get the isPushEnabled value. + * Get gets or sets a flag indicating whether the Push endpoint is enabled. * * @return the isPushEnabled value */ @@ -57,7 +57,7 @@ public boolean isPushEnabled() { } /** - * Set the isPushEnabled value. + * Set gets or sets a flag indicating whether the Push endpoint is enabled. * * @param isPushEnabled the isPushEnabled value to set * @return the PushSettingsInner object itself. @@ -68,7 +68,7 @@ public PushSettingsInner withIsPushEnabled(boolean isPushEnabled) { } /** - * Get the tagWhitelistJson value. + * Get gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. * * @return the tagWhitelistJson value */ @@ -77,7 +77,7 @@ public String tagWhitelistJson() { } /** - * Set the tagWhitelistJson value. + * Set gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. * * @param tagWhitelistJson the tagWhitelistJson value to set * @return the PushSettingsInner object itself. @@ -88,7 +88,10 @@ public PushSettingsInner withTagWhitelistJson(String tagWhitelistJson) { } /** - * Get the tagsRequiringAuth value. + * Get gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. * * @return the tagsRequiringAuth value */ @@ -97,7 +100,10 @@ public String tagsRequiringAuth() { } /** - * Set the tagsRequiringAuth value. + * Set gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. + Tags can consist of alphanumeric characters and the following: + '_', '@', '#', '.', ':', '-'. + Validation should be performed at the PushRequestHandler. * * @param tagsRequiringAuth the tagsRequiringAuth value to set * @return the PushSettingsInner object itself. @@ -108,7 +114,7 @@ public PushSettingsInner withTagsRequiringAuth(String tagsRequiringAuth) { } /** - * Get the dynamicTagsJson value. + * Get gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. * * @return the dynamicTagsJson value */ @@ -117,7 +123,7 @@ public String dynamicTagsJson() { } /** - * Set the dynamicTagsJson value. + * Set gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. * * @param dynamicTagsJson the dynamicTagsJson value to set * @return the PushSettingsInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationImpl.java index 849129b556b3a..453dfe86cb5ae 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationInner.java index b023c8fca95d4..d14a48c3dd4b4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationInner.java @@ -172,7 +172,7 @@ public class RecommendationInner extends ProxyOnlyResource { private String forwardLink; /** - * Get the creationTime value. + * Get timestamp when this instance was created. * * @return the creationTime value */ @@ -181,7 +181,7 @@ public DateTime creationTime() { } /** - * Set the creationTime value. + * Set timestamp when this instance was created. * * @param creationTime the creationTime value to set * @return the RecommendationInner object itself. @@ -192,7 +192,7 @@ public RecommendationInner withCreationTime(DateTime creationTime) { } /** - * Get the recommendationId value. + * Get a GUID value that each recommendation object is associated with. * * @return the recommendationId value */ @@ -201,7 +201,7 @@ public UUID recommendationId() { } /** - * Set the recommendationId value. + * Set a GUID value that each recommendation object is associated with. * * @param recommendationId the recommendationId value to set * @return the RecommendationInner object itself. @@ -212,7 +212,7 @@ public RecommendationInner withRecommendationId(UUID recommendationId) { } /** - * Get the resourceId value. + * Get full ARM resource ID string that this recommendation object is associated with. * * @return the resourceId value */ @@ -221,7 +221,7 @@ public String resourceId() { } /** - * Set the resourceId value. + * Set full ARM resource ID string that this recommendation object is associated with. * * @param resourceId the resourceId value to set * @return the RecommendationInner object itself. @@ -232,7 +232,7 @@ public RecommendationInner withResourceId(String resourceId) { } /** - * Get the resourceScope value. + * Get name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: 'ServerFarm', 'Subscription', 'WebSite'. * * @return the resourceScope value */ @@ -241,7 +241,7 @@ public ResourceScopeType resourceScope() { } /** - * Set the resourceScope value. + * Set name of a resource type this recommendation applies, e.g. Subscription, ServerFarm, Site. Possible values include: 'ServerFarm', 'Subscription', 'WebSite'. * * @param resourceScope the resourceScope value to set * @return the RecommendationInner object itself. @@ -252,7 +252,7 @@ public RecommendationInner withResourceScope(ResourceScopeType resourceScope) { } /** - * Get the ruleName value. + * Get unique name of the rule. * * @return the ruleName value */ @@ -261,7 +261,7 @@ public String ruleName() { } /** - * Set the ruleName value. + * Set unique name of the rule. * * @param ruleName the ruleName value to set * @return the RecommendationInner object itself. @@ -272,7 +272,7 @@ public RecommendationInner withRuleName(String ruleName) { } /** - * Get the displayName value. + * Get uI friendly name of the rule (may not be unique). * * @return the displayName value */ @@ -281,7 +281,7 @@ public String displayName() { } /** - * Set the displayName value. + * Set uI friendly name of the rule (may not be unique). * * @param displayName the displayName value to set * @return the RecommendationInner object itself. @@ -292,7 +292,7 @@ public RecommendationInner withDisplayName(String displayName) { } /** - * Get the message value. + * Get recommendation text. * * @return the message value */ @@ -301,7 +301,7 @@ public String message() { } /** - * Set the message value. + * Set recommendation text. * * @param message the message value to set * @return the RecommendationInner object itself. @@ -312,7 +312,7 @@ public RecommendationInner withMessage(String message) { } /** - * Get the level value. + * Get level indicating how critical this recommendation can impact. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'. * * @return the level value */ @@ -321,7 +321,7 @@ public NotificationLevel level() { } /** - * Set the level value. + * Set level indicating how critical this recommendation can impact. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'. * * @param level the level value to set * @return the RecommendationInner object itself. @@ -332,7 +332,7 @@ public RecommendationInner withLevel(NotificationLevel level) { } /** - * Get the channels value. + * Get list of channels that this recommendation can apply. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'. * * @return the channels value */ @@ -341,7 +341,7 @@ public Channels channels() { } /** - * Set the channels value. + * Set list of channels that this recommendation can apply. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'. * * @param channels the channels value to set * @return the RecommendationInner object itself. @@ -352,7 +352,7 @@ public RecommendationInner withChannels(Channels channels) { } /** - * Get the categoryTags value. + * Get the list of category tags that this recommendation belongs to. * * @return the categoryTags value */ @@ -361,7 +361,7 @@ public List categoryTags() { } /** - * Get the actionName value. + * Get name of action recommended by this object. * * @return the actionName value */ @@ -370,7 +370,7 @@ public String actionName() { } /** - * Set the actionName value. + * Set name of action recommended by this object. * * @param actionName the actionName value to set * @return the RecommendationInner object itself. @@ -381,7 +381,7 @@ public RecommendationInner withActionName(String actionName) { } /** - * Get the enabled value. + * Get true if this recommendation is still valid (i.e. "actionable"). False if it is invalid. * * @return the enabled value */ @@ -390,7 +390,7 @@ public Integer enabled() { } /** - * Set the enabled value. + * Set true if this recommendation is still valid (i.e. "actionable"). False if it is invalid. * * @param enabled the enabled value to set * @return the RecommendationInner object itself. @@ -401,7 +401,7 @@ public RecommendationInner withEnabled(Integer enabled) { } /** - * Get the states value. + * Get the list of states of this recommendation. If it's null then it shoud be considered "Active". * * @return the states value */ @@ -410,7 +410,7 @@ public List states() { } /** - * Set the states value. + * Set the list of states of this recommendation. If it's null then it shoud be considered "Active". * * @param states the states value to set * @return the RecommendationInner object itself. @@ -421,7 +421,7 @@ public RecommendationInner withStates(List states) { } /** - * Get the startTime value. + * Get the beginning time in UTC of a range that the recommendation refers to. * * @return the startTime value */ @@ -430,7 +430,7 @@ public DateTime startTime() { } /** - * Set the startTime value. + * Set the beginning time in UTC of a range that the recommendation refers to. * * @param startTime the startTime value to set * @return the RecommendationInner object itself. @@ -441,7 +441,7 @@ public RecommendationInner withStartTime(DateTime startTime) { } /** - * Get the endTime value. + * Get the end time in UTC of a range that the recommendation refers to. * * @return the endTime value */ @@ -450,7 +450,7 @@ public DateTime endTime() { } /** - * Set the endTime value. + * Set the end time in UTC of a range that the recommendation refers to. * * @param endTime the endTime value to set * @return the RecommendationInner object itself. @@ -461,7 +461,7 @@ public RecommendationInner withEndTime(DateTime endTime) { } /** - * Get the nextNotificationTime value. + * Get when to notify this recommendation next in UTC. Null means that this will never be notified anymore. * * @return the nextNotificationTime value */ @@ -470,7 +470,7 @@ public DateTime nextNotificationTime() { } /** - * Set the nextNotificationTime value. + * Set when to notify this recommendation next in UTC. Null means that this will never be notified anymore. * * @param nextNotificationTime the nextNotificationTime value to set * @return the RecommendationInner object itself. @@ -481,7 +481,7 @@ public RecommendationInner withNextNotificationTime(DateTime nextNotificationTim } /** - * Get the notificationExpirationTime value. + * Get date and time in UTC when this notification expires. * * @return the notificationExpirationTime value */ @@ -490,7 +490,7 @@ public DateTime notificationExpirationTime() { } /** - * Set the notificationExpirationTime value. + * Set date and time in UTC when this notification expires. * * @param notificationExpirationTime the notificationExpirationTime value to set * @return the RecommendationInner object itself. @@ -501,7 +501,7 @@ public RecommendationInner withNotificationExpirationTime(DateTime notificationE } /** - * Get the notifiedTime value. + * Get last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet. * * @return the notifiedTime value */ @@ -510,7 +510,7 @@ public DateTime notifiedTime() { } /** - * Set the notifiedTime value. + * Set last timestamp in UTC this instance was actually notified. Null means that this recommendation hasn't been notified yet. * * @param notifiedTime the notifiedTime value to set * @return the RecommendationInner object itself. @@ -521,7 +521,7 @@ public RecommendationInner withNotifiedTime(DateTime notifiedTime) { } /** - * Get the score value. + * Get a metric value measured by the rule. * * @return the score value */ @@ -530,7 +530,7 @@ public Double score() { } /** - * Set the score value. + * Set a metric value measured by the rule. * * @param score the score value to set * @return the RecommendationInner object itself. @@ -541,7 +541,7 @@ public RecommendationInner withScore(Double score) { } /** - * Get the isDynamic value. + * Get true if this is associated with a dynamically added rule. * * @return the isDynamic value */ @@ -550,7 +550,7 @@ public Boolean isDynamic() { } /** - * Set the isDynamic value. + * Set true if this is associated with a dynamically added rule. * * @param isDynamic the isDynamic value to set * @return the RecommendationInner object itself. @@ -561,7 +561,7 @@ public RecommendationInner withIsDynamic(Boolean isDynamic) { } /** - * Get the extensionName value. + * Get extension name of the portal if exists. * * @return the extensionName value */ @@ -570,7 +570,7 @@ public String extensionName() { } /** - * Set the extensionName value. + * Set extension name of the portal if exists. * * @param extensionName the extensionName value to set * @return the RecommendationInner object itself. @@ -581,7 +581,7 @@ public RecommendationInner withExtensionName(String extensionName) { } /** - * Get the bladeName value. + * Get deep link to a blade on the portal. * * @return the bladeName value */ @@ -590,7 +590,7 @@ public String bladeName() { } /** - * Set the bladeName value. + * Set deep link to a blade on the portal. * * @param bladeName the bladeName value to set * @return the RecommendationInner object itself. @@ -601,7 +601,7 @@ public RecommendationInner withBladeName(String bladeName) { } /** - * Get the forwardLink value. + * Get forward link to an external document associated with the rule. * * @return the forwardLink value */ @@ -610,7 +610,7 @@ public String forwardLink() { } /** - * Set the forwardLink value. + * Set forward link to an external document associated with the rule. * * @param forwardLink the forwardLink value to set * @return the RecommendationInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleImpl.java index 1752f60f420a3..2b06f23653881 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleInner.java index f407082ced34d..6d5d8729a846d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationRuleInner.java @@ -105,7 +105,7 @@ public class RecommendationRuleInner extends ProxyOnlyResource { private String forwardLink; /** - * Get the recommendationName value. + * Get unique name of the rule. * * @return the recommendationName value */ @@ -114,7 +114,7 @@ public String recommendationName() { } /** - * Set the recommendationName value. + * Set unique name of the rule. * * @param recommendationName the recommendationName value to set * @return the RecommendationRuleInner object itself. @@ -125,7 +125,7 @@ public RecommendationRuleInner withRecommendationName(String recommendationName) } /** - * Get the displayName value. + * Get uI friendly name of the rule. * * @return the displayName value */ @@ -134,7 +134,7 @@ public String displayName() { } /** - * Set the displayName value. + * Set uI friendly name of the rule. * * @param displayName the displayName value to set * @return the RecommendationRuleInner object itself. @@ -145,7 +145,7 @@ public RecommendationRuleInner withDisplayName(String displayName) { } /** - * Get the message value. + * Get localized name of the rule (Good for UI). * * @return the message value */ @@ -154,7 +154,7 @@ public String message() { } /** - * Set the message value. + * Set localized name of the rule (Good for UI). * * @param message the message value to set * @return the RecommendationRuleInner object itself. @@ -165,7 +165,8 @@ public RecommendationRuleInner withMessage(String message) { } /** - * Get the recommendationId value. + * Get recommendation ID of an associated recommendation object tied to the rule, if exists. + If such an object doesn't exist, it is set to null. * * @return the recommendationId value */ @@ -174,7 +175,8 @@ public UUID recommendationId() { } /** - * Set the recommendationId value. + * Set recommendation ID of an associated recommendation object tied to the rule, if exists. + If such an object doesn't exist, it is set to null. * * @param recommendationId the recommendationId value to set * @return the RecommendationRuleInner object itself. @@ -185,7 +187,7 @@ public RecommendationRuleInner withRecommendationId(UUID recommendationId) { } /** - * Get the description value. + * Get localized detailed description of the rule. * * @return the description value */ @@ -194,7 +196,7 @@ public String description() { } /** - * Set the description value. + * Set localized detailed description of the rule. * * @param description the description value to set * @return the RecommendationRuleInner object itself. @@ -205,7 +207,7 @@ public RecommendationRuleInner withDescription(String description) { } /** - * Get the actionName value. + * Get name of action that is recommended by this rule in string. * * @return the actionName value */ @@ -214,7 +216,7 @@ public String actionName() { } /** - * Set the actionName value. + * Set name of action that is recommended by this rule in string. * * @param actionName the actionName value to set * @return the RecommendationRuleInner object itself. @@ -225,7 +227,7 @@ public RecommendationRuleInner withActionName(String actionName) { } /** - * Get the level value. + * Get level of impact indicating how critical this rule is. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'. * * @return the level value */ @@ -234,7 +236,7 @@ public NotificationLevel level() { } /** - * Set the level value. + * Set level of impact indicating how critical this rule is. Possible values include: 'Critical', 'Warning', 'Information', 'NonUrgentSuggestion'. * * @param level the level value to set * @return the RecommendationRuleInner object itself. @@ -245,7 +247,7 @@ public RecommendationRuleInner withLevel(NotificationLevel level) { } /** - * Get the channels value. + * Get list of available channels that this rule applies. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'. * * @return the channels value */ @@ -254,7 +256,7 @@ public Channels channels() { } /** - * Set the channels value. + * Set list of available channels that this rule applies. Possible values include: 'Notification', 'Api', 'Email', 'Webhook', 'All'. * * @param channels the channels value to set * @return the RecommendationRuleInner object itself. @@ -265,7 +267,7 @@ public RecommendationRuleInner withChannels(Channels channels) { } /** - * Get the categoryTags value. + * Get the list of category tags that this recommendation rule belongs to. * * @return the categoryTags value */ @@ -274,7 +276,7 @@ public List categoryTags() { } /** - * Get the isDynamic value. + * Get true if this is associated with a dynamically added rule. * * @return the isDynamic value */ @@ -283,7 +285,7 @@ public Boolean isDynamic() { } /** - * Set the isDynamic value. + * Set true if this is associated with a dynamically added rule. * * @param isDynamic the isDynamic value to set * @return the RecommendationRuleInner object itself. @@ -294,7 +296,7 @@ public RecommendationRuleInner withIsDynamic(Boolean isDynamic) { } /** - * Get the extensionName value. + * Get extension name of the portal if exists. Applicable to dynamic rule only. * * @return the extensionName value */ @@ -303,7 +305,7 @@ public String extensionName() { } /** - * Set the extensionName value. + * Set extension name of the portal if exists. Applicable to dynamic rule only. * * @param extensionName the extensionName value to set * @return the RecommendationRuleInner object itself. @@ -314,7 +316,7 @@ public RecommendationRuleInner withExtensionName(String extensionName) { } /** - * Get the bladeName value. + * Get deep link to a blade on the portal. Applicable to dynamic rule only. * * @return the bladeName value */ @@ -323,7 +325,7 @@ public String bladeName() { } /** - * Set the bladeName value. + * Set deep link to a blade on the portal. Applicable to dynamic rule only. * * @param bladeName the bladeName value to set * @return the RecommendationRuleInner object itself. @@ -334,7 +336,7 @@ public RecommendationRuleInner withBladeName(String bladeName) { } /** - * Get the forwardLink value. + * Get forward link to an external document associated with the rule. Applicable to dynamic rule only. * * @return the forwardLink value */ @@ -343,7 +345,7 @@ public String forwardLink() { } /** - * Set the forwardLink value. + * Set forward link to an external document associated with the rule. Applicable to dynamic rule only. * * @param forwardLink the forwardLink value to set * @return the RecommendationRuleInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsImpl.java index 125913b5560fa..09897eae152cc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsImpl.java +++ b/appservice/resource-manager/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; } @@ -64,7 +64,8 @@ public Observable listRecommendedRulesForWebAppAsync(final Strin public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Recommendation call(RecommendationInner inner) { return new RecommendationImpl(inner, manager()); @@ -135,7 +136,8 @@ public Observable listHistoryForWebAppAsync(final String resourc public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Recommendation call(RecommendationInner inner) { return new RecommendationImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RelayServiceConnectionEntityImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RelayServiceConnectionEntityImpl.java index b5e9eba714e70..49151e38c9863 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RelayServiceConnectionEntityImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceMetricDefinitionInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceMetricDefinitionInner.java index 3f932ab5cb5a3..407b7bba29f72 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceMetricDefinitionInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceMetricDefinitionInner.java @@ -52,7 +52,7 @@ public class ResourceMetricDefinitionInner extends ProxyOnlyResource { private Map properties; /** - * Get the unit value. + * Get unit of the metric. * * @return the unit value */ @@ -61,7 +61,7 @@ public String unit() { } /** - * Get the primaryAggregationType value. + * Get primary aggregation type. * * @return the primaryAggregationType value */ @@ -70,7 +70,7 @@ public String primaryAggregationType() { } /** - * Get the metricAvailabilities value. + * Get list of time grains supported for the metric together with retention period. * * @return the metricAvailabilities value */ @@ -79,7 +79,7 @@ public List metricAvailabilities() { } /** - * Get the resourceUri value. + * Get resource URI. * * @return the resourceUri value */ @@ -88,7 +88,7 @@ public String resourceUri() { } /** - * Get the properties value. + * Get resource metric definition properties. * * @return the properties value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceMetricInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceMetricInner.java index f7f9592e91db6..a197dd39df413 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceMetricInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceMetricInner.java @@ -74,7 +74,7 @@ public class ResourceMetricInner { private List properties; /** - * Get the name value. + * Get name of metric. * * @return the name value */ @@ -83,7 +83,7 @@ public ResourceMetricName name() { } /** - * Get the unit value. + * Get metric unit. * * @return the unit value */ @@ -92,7 +92,7 @@ public String unit() { } /** - * Get the timeGrain value. + * Get metric granularity. E.g PT1H, PT5M, P1D. * * @return the timeGrain value */ @@ -101,7 +101,7 @@ public String timeGrain() { } /** - * Get the startTime value. + * Get metric start time. * * @return the startTime value */ @@ -110,7 +110,7 @@ public DateTime startTime() { } /** - * Get the endTime value. + * Get metric end time. * * @return the endTime value */ @@ -119,7 +119,7 @@ public DateTime endTime() { } /** - * Get the resourceId value. + * Get metric resource Id. * * @return the resourceId value */ @@ -128,7 +128,7 @@ public String resourceId() { } /** - * Get the id value. + * Get resource Id. * * @return the id value */ @@ -137,7 +137,7 @@ public String id() { } /** - * Get the metricValues value. + * Get metric values. * * @return the metricValues value */ @@ -146,7 +146,7 @@ public List metricValues() { } /** - * Get the properties value. + * Get resource metric properties collection. * * @return the properties value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceNameAvailabilityInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceNameAvailabilityInner.java index e9387f146c987..43b4e17c7785c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceNameAvailabilityInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceNameAvailabilityInner.java @@ -44,7 +44,7 @@ public class ResourceNameAvailabilityInner { private String message; /** - * Get the nameAvailable value. + * Get <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. * * @return the nameAvailable value */ @@ -53,7 +53,7 @@ public Boolean nameAvailable() { } /** - * Set the nameAvailable value. + * Set <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both. * * @param nameAvailable the nameAvailable value to set * @return the ResourceNameAvailabilityInner object itself. @@ -64,7 +64,7 @@ public ResourceNameAvailabilityInner withNameAvailable(Boolean nameAvailable) { } /** - * Get the reason value. + * Get <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'. * * @return the reason value */ @@ -73,7 +73,7 @@ public InAvailabilityReasonType reason() { } /** - * Set the reason value. + * Set <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable. Possible values include: 'Invalid', 'AlreadyExists'. * * @param reason the reason value to set * @return the ResourceNameAvailabilityInner object itself. @@ -84,7 +84,7 @@ public ResourceNameAvailabilityInner withReason(InAvailabilityReasonType reason) } /** - * Get the message value. + * Get if reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. * * @return the message value */ @@ -93,7 +93,7 @@ public String message() { } /** - * Set the message value. + * Set if reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name. * * @param message the message value to set * @return the ResourceNameAvailabilityInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestImpl.java index 436396bac0c83..b07de0571eaa1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestInner.java index 937213451617d..e723866f5e8c0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RestoreRequestInner.java @@ -98,7 +98,7 @@ public class RestoreRequestInner extends ProxyOnlyResource { private String hostingEnvironment; /** - * Get the storageAccountUrl value. + * Get sAS URL to the container. * * @return the storageAccountUrl value */ @@ -107,7 +107,7 @@ public String storageAccountUrl() { } /** - * Set the storageAccountUrl value. + * Set sAS URL to the container. * * @param storageAccountUrl the storageAccountUrl value to set * @return the RestoreRequestInner object itself. @@ -118,7 +118,7 @@ public RestoreRequestInner withStorageAccountUrl(String storageAccountUrl) { } /** - * Get the blobName value. + * Get name of a blob which contains the backup. * * @return the blobName value */ @@ -127,7 +127,7 @@ public String blobName() { } /** - * Set the blobName value. + * Set name of a blob which contains the backup. * * @param blobName the blobName value to set * @return the RestoreRequestInner object itself. @@ -138,7 +138,7 @@ public RestoreRequestInner withBlobName(String blobName) { } /** - * Get the overwrite value. + * Get <code>true</code> if the restore operation can overwrite target app; otherwise, <code>false</code>. <code>true</code> is needed if trying to restore over an existing app. * * @return the overwrite value */ @@ -147,7 +147,7 @@ public boolean overwrite() { } /** - * Set the overwrite value. + * Set <code>true</code> if the restore operation can overwrite target app; otherwise, <code>false</code>. <code>true</code> is needed if trying to restore over an existing app. * * @param overwrite the overwrite value to set * @return the RestoreRequestInner object itself. @@ -158,7 +158,7 @@ public RestoreRequestInner withOverwrite(boolean overwrite) { } /** - * Get the siteName value. + * Get name of an app. * * @return the siteName value */ @@ -167,7 +167,7 @@ public String siteName() { } /** - * Set the siteName value. + * Set name of an app. * * @param siteName the siteName value to set * @return the RestoreRequestInner object itself. @@ -178,7 +178,7 @@ public RestoreRequestInner withSiteName(String siteName) { } /** - * Get the databases value. + * Get collection of databases which should be restored. This list has to match the list of databases included in the backup. * * @return the databases value */ @@ -187,7 +187,7 @@ public List databases() { } /** - * Set the databases value. + * Set collection of databases which should be restored. This list has to match the list of databases included in the backup. * * @param databases the databases value to set * @return the RestoreRequestInner object itself. @@ -198,7 +198,8 @@ public RestoreRequestInner withDatabases(List databases) } /** - * Get the ignoreConflictingHostNames value. + * Get changes a logic when restoring an app with custom domains. <code>true</code> to remove custom domains automatically. If <code>false</code>, custom domains are added to + the app's object when it is being restored, but that might fail due to conflicts during the operation. * * @return the ignoreConflictingHostNames value */ @@ -207,7 +208,8 @@ public Boolean ignoreConflictingHostNames() { } /** - * Set the ignoreConflictingHostNames value. + * Set changes a logic when restoring an app with custom domains. <code>true</code> to remove custom domains automatically. If <code>false</code>, custom domains are added to + the app's object when it is being restored, but that might fail due to conflicts during the operation. * * @param ignoreConflictingHostNames the ignoreConflictingHostNames value to set * @return the RestoreRequestInner object itself. @@ -218,7 +220,7 @@ public RestoreRequestInner withIgnoreConflictingHostNames(Boolean ignoreConflict } /** - * Get the ignoreDatabases value. + * Get ignore the databases and only restore the site content. * * @return the ignoreDatabases value */ @@ -227,7 +229,7 @@ public Boolean ignoreDatabases() { } /** - * Set the ignoreDatabases value. + * Set ignore the databases and only restore the site content. * * @param ignoreDatabases the ignoreDatabases value to set * @return the RestoreRequestInner object itself. @@ -238,7 +240,7 @@ public RestoreRequestInner withIgnoreDatabases(Boolean ignoreDatabases) { } /** - * Get the appServicePlan value. + * Get specify app service plan that will own restored site. * * @return the appServicePlan value */ @@ -247,7 +249,7 @@ public String appServicePlan() { } /** - * Set the appServicePlan value. + * Set specify app service plan that will own restored site. * * @param appServicePlan the appServicePlan value to set * @return the RestoreRequestInner object itself. @@ -258,7 +260,7 @@ public RestoreRequestInner withAppServicePlan(String appServicePlan) { } /** - * Get the operationType value. + * Get operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS'. * * @return the operationType value */ @@ -267,7 +269,7 @@ public BackupRestoreOperationType operationType() { } /** - * Set the operationType value. + * Set operation type. Possible values include: 'Default', 'Clone', 'Relocation', 'Snapshot', 'CloudFS'. * * @param operationType the operationType value to set * @return the RestoreRequestInner object itself. @@ -278,7 +280,7 @@ public RestoreRequestInner withOperationType(BackupRestoreOperationType operatio } /** - * Get the adjustConnectionStrings value. + * Get <code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. * * @return the adjustConnectionStrings value */ @@ -287,7 +289,7 @@ public Boolean adjustConnectionStrings() { } /** - * Set the adjustConnectionStrings value. + * Set <code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. * * @param adjustConnectionStrings the adjustConnectionStrings value to set * @return the RestoreRequestInner object itself. @@ -298,7 +300,7 @@ public RestoreRequestInner withAdjustConnectionStrings(Boolean adjustConnectionS } /** - * Get the hostingEnvironment value. + * Get app Service Environment name, if needed (only when restoring an app to an App Service Environment). * * @return the hostingEnvironment value */ @@ -307,7 +309,7 @@ public String hostingEnvironment() { } /** - * Set the hostingEnvironment value. + * Set app Service Environment name, if needed (only when restoring an app to an App Service Environment). * * @param hostingEnvironment the hostingEnvironment value to set * @return the RestoreRequestInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmCsmUsageQuotaImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmCsmUsageQuotaImpl.java index 0d0a73177b892..bae7e82311809 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmCsmUsageQuotaImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmHybridConnectionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmHybridConnectionImpl.java index e0bf060611f3c..f54f159c30cf4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmHybridConnectionImpl.java +++ b/appservice/resource-manager/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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -29,7 +29,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmResourceMetricImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmResourceMetricImpl.java index 02f47d3e334e8..f0f3e28e188d5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmResourceMetricImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java index d473580dd28f9..1f010b721f6d5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java @@ -25,15 +25,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetGatewayImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetGatewayImpl.java index b7ae57967f072..be6800c705954 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetGatewayImpl.java +++ b/appservice/resource-manager/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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -30,7 +30,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsInner.java index 9615b42fbbbea..f0d378ed38975 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsInner.java @@ -250,7 +250,7 @@ public class SiteAuthSettingsInner extends ProxyOnlyResource { private List microsoftAccountOAuthScopes; /** - * Get the enabled value. + * Get <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>. * * @return the enabled value */ @@ -259,7 +259,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set <code>true</code> if the Authentication / Authorization feature is enabled for the current app; otherwise, <code>false</code>. * * @param enabled the enabled value to set * @return the SiteAuthSettingsInner object itself. @@ -270,7 +270,8 @@ public SiteAuthSettingsInner withEnabled(Boolean enabled) { } /** - * Get the runtimeVersion value. + * Get the RuntimeVersion of the Authentication / Authorization feature in use for the current app. + The setting in this value can control the behavior of certain features in the Authentication / Authorization module. * * @return the runtimeVersion value */ @@ -279,7 +280,8 @@ public String runtimeVersion() { } /** - * Set the runtimeVersion value. + * Set the RuntimeVersion of the Authentication / Authorization feature in use for the current app. + The setting in this value can control the behavior of certain features in the Authentication / Authorization module. * * @param runtimeVersion the runtimeVersion value to set * @return the SiteAuthSettingsInner object itself. @@ -290,7 +292,7 @@ public SiteAuthSettingsInner withRuntimeVersion(String runtimeVersion) { } /** - * Get the unauthenticatedClientAction value. + * Get the action to take when an unauthenticated client attempts to access the app. Possible values include: 'RedirectToLoginPage', 'AllowAnonymous'. * * @return the unauthenticatedClientAction value */ @@ -299,7 +301,7 @@ public UnauthenticatedClientAction unauthenticatedClientAction() { } /** - * Set the unauthenticatedClientAction value. + * Set the action to take when an unauthenticated client attempts to access the app. Possible values include: 'RedirectToLoginPage', 'AllowAnonymous'. * * @param unauthenticatedClientAction the unauthenticatedClientAction value to set * @return the SiteAuthSettingsInner object itself. @@ -310,7 +312,8 @@ public SiteAuthSettingsInner withUnauthenticatedClientAction(UnauthenticatedClie } /** - * Get the tokenStoreEnabled value. + * Get <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>. + The default is <code>false</code>. * * @return the tokenStoreEnabled value */ @@ -319,7 +322,8 @@ public Boolean tokenStoreEnabled() { } /** - * Set the tokenStoreEnabled value. + * Set <code>true</code> to durably store platform-specific security tokens that are obtained during login flows; otherwise, <code>false</code>. + The default is <code>false</code>. * * @param tokenStoreEnabled the tokenStoreEnabled value to set * @return the SiteAuthSettingsInner object itself. @@ -330,7 +334,9 @@ public SiteAuthSettingsInner withTokenStoreEnabled(Boolean tokenStoreEnabled) { } /** - * Get the allowedExternalRedirectUrls value. + * Get external URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. + This is an advanced setting typically only needed by Windows Store application backends. + Note that URLs within the current domain are always implicitly allowed. * * @return the allowedExternalRedirectUrls value */ @@ -339,7 +345,9 @@ public List allowedExternalRedirectUrls() { } /** - * Set the allowedExternalRedirectUrls value. + * Set external URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. + This is an advanced setting typically only needed by Windows Store application backends. + Note that URLs within the current domain are always implicitly allowed. * * @param allowedExternalRedirectUrls the allowedExternalRedirectUrls value to set * @return the SiteAuthSettingsInner object itself. @@ -350,7 +358,9 @@ public SiteAuthSettingsInner withAllowedExternalRedirectUrls(List allowe } /** - * Get the defaultProvider value. + * Get the default authentication provider to use when multiple providers are configured. + This setting is only needed if multiple providers are configured and the unauthenticated client + action is set to "RedirectToLoginPage". Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', 'Twitter'. * * @return the defaultProvider value */ @@ -359,7 +369,9 @@ public BuiltInAuthenticationProvider defaultProvider() { } /** - * Set the defaultProvider value. + * Set the default authentication provider to use when multiple providers are configured. + This setting is only needed if multiple providers are configured and the unauthenticated client + action is set to "RedirectToLoginPage". Possible values include: 'AzureActiveDirectory', 'Facebook', 'Google', 'MicrosoftAccount', 'Twitter'. * * @param defaultProvider the defaultProvider value to set * @return the SiteAuthSettingsInner object itself. @@ -370,7 +382,8 @@ public SiteAuthSettingsInner withDefaultProvider(BuiltInAuthenticationProvider d } /** - * Get the tokenRefreshExtensionHours value. + * Get the number of hours after session token expiration that a session token can be used to + call the token refresh API. The default is 72 hours. * * @return the tokenRefreshExtensionHours value */ @@ -379,7 +392,8 @@ public Double tokenRefreshExtensionHours() { } /** - * Set the tokenRefreshExtensionHours value. + * Set the number of hours after session token expiration that a session token can be used to + call the token refresh API. The default is 72 hours. * * @param tokenRefreshExtensionHours the tokenRefreshExtensionHours value to set * @return the SiteAuthSettingsInner object itself. @@ -390,7 +404,10 @@ public SiteAuthSettingsInner withTokenRefreshExtensionHours(Double tokenRefreshE } /** - * Get the clientId value. + * Get the Client ID of this relying party application, known as the client_id. + This setting is required for enabling OpenID Connection authentication with Azure Active Directory or + other 3rd party OpenID Connect providers. + More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. * * @return the clientId value */ @@ -399,7 +416,10 @@ public String clientId() { } /** - * Set the clientId value. + * Set the Client ID of this relying party application, known as the client_id. + This setting is required for enabling OpenID Connection authentication with Azure Active Directory or + other 3rd party OpenID Connect providers. + More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. * * @param clientId the clientId value to set * @return the SiteAuthSettingsInner object itself. @@ -410,7 +430,10 @@ public SiteAuthSettingsInner withClientId(String clientId) { } /** - * Get the clientSecret value. + * Get the Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). + This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. + Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. + More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. * * @return the clientSecret value */ @@ -419,7 +442,10 @@ public String clientSecret() { } /** - * Set the clientSecret value. + * Set the Client Secret of this relying party application (in Azure Active Directory, this is also referred to as the Key). + This setting is optional. If no client secret is configured, the OpenID Connect implicit auth flow is used to authenticate end users. + Otherwise, the OpenID Connect Authorization Code Flow is used to authenticate end users. + More information on OpenID Connect: http://openid.net/specs/openid-connect-core-1_0.html. * * @param clientSecret the clientSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -430,7 +456,10 @@ public SiteAuthSettingsInner withClientSecret(String clientSecret) { } /** - * Get the issuer value. + * Get the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. + When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. + This URI is a case-sensitive identifier for the token issuer. + More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html. * * @return the issuer value */ @@ -439,7 +468,10 @@ public String issuer() { } /** - * Set the issuer value. + * Set the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. + When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. + This URI is a case-sensitive identifier for the token issuer. + More information on OpenID Connect Discovery: http://openid.net/specs/openid-connect-discovery-1_0.html. * * @param issuer the issuer value to set * @return the SiteAuthSettingsInner object itself. @@ -450,7 +482,7 @@ public SiteAuthSettingsInner withIssuer(String issuer) { } /** - * Get the validateIssuer value. + * Get gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such. * * @return the validateIssuer value */ @@ -459,7 +491,7 @@ public Boolean validateIssuer() { } /** - * Set the validateIssuer value. + * Set gets a value indicating whether the issuer should be a valid HTTPS url and be validated as such. * * @param validateIssuer the validateIssuer value to set * @return the SiteAuthSettingsInner object itself. @@ -470,7 +502,9 @@ public SiteAuthSettingsInner withValidateIssuer(Boolean validateIssuer) { } /** - * Get the allowedAudiences value. + * Get allowed audience values to consider when validating JWTs issued by + Azure Active Directory. Note that the <code>ClientID</code> value is always considered an + allowed audience, regardless of this setting. * * @return the allowedAudiences value */ @@ -479,7 +513,9 @@ public List allowedAudiences() { } /** - * Set the allowedAudiences value. + * Set allowed audience values to consider when validating JWTs issued by + Azure Active Directory. Note that the <code>ClientID</code> value is always considered an + allowed audience, regardless of this setting. * * @param allowedAudiences the allowedAudiences value to set * @return the SiteAuthSettingsInner object itself. @@ -490,7 +526,8 @@ public SiteAuthSettingsInner withAllowedAudiences(List allowedAudiences) } /** - * Get the additionalLoginParams value. + * Get login parameters to send to the OpenID Connect authorization endpoint when + a user logs in. Each parameter must be in the form "key=value". * * @return the additionalLoginParams value */ @@ -499,7 +536,8 @@ public List additionalLoginParams() { } /** - * Set the additionalLoginParams value. + * Set login parameters to send to the OpenID Connect authorization endpoint when + a user logs in. Each parameter must be in the form "key=value". * * @param additionalLoginParams the additionalLoginParams value to set * @return the SiteAuthSettingsInner object itself. @@ -510,7 +548,9 @@ public SiteAuthSettingsInner withAdditionalLoginParams(List additionalLo } /** - * Get the googleClientId value. + * Get the OpenID Connect Client ID for the Google web application. + This setting is required for enabling Google Sign-In. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @return the googleClientId value */ @@ -519,7 +559,9 @@ public String googleClientId() { } /** - * Set the googleClientId value. + * Set the OpenID Connect Client ID for the Google web application. + This setting is required for enabling Google Sign-In. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @param googleClientId the googleClientId value to set * @return the SiteAuthSettingsInner object itself. @@ -530,7 +572,9 @@ public SiteAuthSettingsInner withGoogleClientId(String googleClientId) { } /** - * Get the googleClientSecret value. + * Get the client secret associated with the Google web application. + This setting is required for enabling Google Sign-In. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @return the googleClientSecret value */ @@ -539,7 +583,9 @@ public String googleClientSecret() { } /** - * Set the googleClientSecret value. + * Set the client secret associated with the Google web application. + This setting is required for enabling Google Sign-In. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @param googleClientSecret the googleClientSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -550,7 +596,9 @@ public SiteAuthSettingsInner withGoogleClientSecret(String googleClientSecret) { } /** - * Get the googleOAuthScopes value. + * Get the OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. + This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @return the googleOAuthScopes value */ @@ -559,7 +607,9 @@ public List googleOAuthScopes() { } /** - * Set the googleOAuthScopes value. + * Set the OAuth 2.0 scopes that will be requested as part of Google Sign-In authentication. + This setting is optional. If not specified, "openid", "profile", and "email" are used as default scopes. + Google Sign-In documentation: https://developers.google.com/identity/sign-in/web/. * * @param googleOAuthScopes the googleOAuthScopes value to set * @return the SiteAuthSettingsInner object itself. @@ -570,7 +620,9 @@ public SiteAuthSettingsInner withGoogleOAuthScopes(List googleOAuthScope } /** - * Get the facebookAppId value. + * Get the App ID of the Facebook app used for login. + This setting is required for enabling Facebook Login. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @return the facebookAppId value */ @@ -579,7 +631,9 @@ public String facebookAppId() { } /** - * Set the facebookAppId value. + * Set the App ID of the Facebook app used for login. + This setting is required for enabling Facebook Login. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @param facebookAppId the facebookAppId value to set * @return the SiteAuthSettingsInner object itself. @@ -590,7 +644,9 @@ public SiteAuthSettingsInner withFacebookAppId(String facebookAppId) { } /** - * Get the facebookAppSecret value. + * Get the App Secret of the Facebook app used for Facebook Login. + This setting is required for enabling Facebook Login. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @return the facebookAppSecret value */ @@ -599,7 +655,9 @@ public String facebookAppSecret() { } /** - * Set the facebookAppSecret value. + * Set the App Secret of the Facebook app used for Facebook Login. + This setting is required for enabling Facebook Login. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @param facebookAppSecret the facebookAppSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -610,7 +668,9 @@ public SiteAuthSettingsInner withFacebookAppSecret(String facebookAppSecret) { } /** - * Get the facebookOAuthScopes value. + * Get the OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. + This setting is optional. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @return the facebookOAuthScopes value */ @@ -619,7 +679,9 @@ public List facebookOAuthScopes() { } /** - * Set the facebookOAuthScopes value. + * Set the OAuth 2.0 scopes that will be requested as part of Facebook Login authentication. + This setting is optional. + Facebook Login documentation: https://developers.facebook.com/docs/facebook-login. * * @param facebookOAuthScopes the facebookOAuthScopes value to set * @return the SiteAuthSettingsInner object itself. @@ -630,7 +692,9 @@ public SiteAuthSettingsInner withFacebookOAuthScopes(List facebookOAuthS } /** - * Get the twitterConsumerKey value. + * Get the OAuth 1.0a consumer key of the Twitter application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. * * @return the twitterConsumerKey value */ @@ -639,7 +703,9 @@ public String twitterConsumerKey() { } /** - * Set the twitterConsumerKey value. + * Set the OAuth 1.0a consumer key of the Twitter application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. * * @param twitterConsumerKey the twitterConsumerKey value to set * @return the SiteAuthSettingsInner object itself. @@ -650,7 +716,9 @@ public SiteAuthSettingsInner withTwitterConsumerKey(String twitterConsumerKey) { } /** - * Get the twitterConsumerSecret value. + * Get the OAuth 1.0a consumer secret of the Twitter application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. * * @return the twitterConsumerSecret value */ @@ -659,7 +727,9 @@ public String twitterConsumerSecret() { } /** - * Set the twitterConsumerSecret value. + * Set the OAuth 1.0a consumer secret of the Twitter application used for sign-in. + This setting is required for enabling Twitter Sign-In. + Twitter Sign-In documentation: https://dev.twitter.com/web/sign-in. * * @param twitterConsumerSecret the twitterConsumerSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -670,7 +740,9 @@ public SiteAuthSettingsInner withTwitterConsumerSecret(String twitterConsumerSec } /** - * Get the microsoftAccountClientId value. + * Get the OAuth 2.0 client ID that was created for the app used for authentication. + This setting is required for enabling Microsoft Account authentication. + Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm. * * @return the microsoftAccountClientId value */ @@ -679,7 +751,9 @@ public String microsoftAccountClientId() { } /** - * Set the microsoftAccountClientId value. + * Set the OAuth 2.0 client ID that was created for the app used for authentication. + This setting is required for enabling Microsoft Account authentication. + Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm. * * @param microsoftAccountClientId the microsoftAccountClientId value to set * @return the SiteAuthSettingsInner object itself. @@ -690,7 +764,9 @@ public SiteAuthSettingsInner withMicrosoftAccountClientId(String microsoftAccoun } /** - * Get the microsoftAccountClientSecret value. + * Get the OAuth 2.0 client secret that was created for the app used for authentication. + This setting is required for enabling Microsoft Account authentication. + Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm. * * @return the microsoftAccountClientSecret value */ @@ -699,7 +775,9 @@ public String microsoftAccountClientSecret() { } /** - * Set the microsoftAccountClientSecret value. + * Set the OAuth 2.0 client secret that was created for the app used for authentication. + This setting is required for enabling Microsoft Account authentication. + Microsoft Account OAuth documentation: https://dev.onedrive.com/auth/msa_oauth.htm. * * @param microsoftAccountClientSecret the microsoftAccountClientSecret value to set * @return the SiteAuthSettingsInner object itself. @@ -710,7 +788,9 @@ public SiteAuthSettingsInner withMicrosoftAccountClientSecret(String microsoftAc } /** - * Get the microsoftAccountOAuthScopes value. + * Get the OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. + This setting is optional. If not specified, "wl.basic" is used as the default scope. + Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx. * * @return the microsoftAccountOAuthScopes value */ @@ -719,7 +799,9 @@ public List microsoftAccountOAuthScopes() { } /** - * Set the microsoftAccountOAuthScopes value. + * Set the OAuth 2.0 scopes that will be requested as part of Microsoft Account authentication. + This setting is optional. If not specified, "wl.basic" is used as the default scope. + Microsoft Account Scopes and permissions documentation: https://msdn.microsoft.com/en-us/library/dn631845.aspx. * * @param microsoftAccountOAuthScopes the microsoftAccountOAuthScopes value to set * @return the SiteAuthSettingsInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityImpl.java index 61d2ff402a84e..6781bd3d9dbe8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityInner.java index 3866c66074bab..d6f2219be5cbe 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCloneabilityInner.java @@ -45,7 +45,7 @@ public class SiteCloneabilityInner { private List blockingCharacteristics; /** - * Get the result value. + * Get name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'. * * @return the result value */ @@ -54,7 +54,7 @@ public CloneAbilityResult result() { } /** - * Set the result value. + * Set name of app. Possible values include: 'Cloneable', 'PartiallyCloneable', 'NotCloneable'. * * @param result the result value to set * @return the SiteCloneabilityInner object itself. @@ -65,7 +65,7 @@ public SiteCloneabilityInner withResult(CloneAbilityResult result) { } /** - * Get the blockingFeatures value. + * Get list of features enabled on app that prevent cloning. * * @return the blockingFeatures value */ @@ -74,7 +74,7 @@ public List blockingFeatures() { } /** - * Set the blockingFeatures value. + * Set list of features enabled on app that prevent cloning. * * @param blockingFeatures the blockingFeatures value to set * @return the SiteCloneabilityInner object itself. @@ -85,7 +85,8 @@ public SiteCloneabilityInner withBlockingFeatures(List unsupportedFeatures() { } /** - * Set the unsupportedFeatures value. + * Set list of features enabled on app that are non-blocking but cannot be cloned. The app can still be cloned + but the features in this list will not be set up on cloned app. * * @param unsupportedFeatures the unsupportedFeatures value to set * @return the SiteCloneabilityInner object itself. @@ -105,7 +107,7 @@ public SiteCloneabilityInner withUnsupportedFeatures(List blockingCharacteristics() { } /** - * Set the blockingCharacteristics value. + * Set list of blocking application characteristics. * * @param blockingCharacteristics the blockingCharacteristics value to set * @return the SiteCloneabilityInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java index 1027a44381ef3..e0ac74cc20a5c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java @@ -30,14 +30,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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java index 0f44f648a40dc..d1a8d041b84f7 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java @@ -346,7 +346,7 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { private FtpsState ftpsState; /** - * Get the numberOfWorkers value. + * Get number of workers. * * @return the numberOfWorkers value */ @@ -355,7 +355,7 @@ public Integer numberOfWorkers() { } /** - * Set the numberOfWorkers value. + * Set number of workers. * * @param numberOfWorkers the numberOfWorkers value to set * @return the SiteConfigResourceInner object itself. @@ -366,7 +366,7 @@ public SiteConfigResourceInner withNumberOfWorkers(Integer numberOfWorkers) { } /** - * Get the defaultDocuments value. + * Get default documents. * * @return the defaultDocuments value */ @@ -375,7 +375,7 @@ public List defaultDocuments() { } /** - * Set the defaultDocuments value. + * Set default documents. * * @param defaultDocuments the defaultDocuments value to set * @return the SiteConfigResourceInner object itself. @@ -386,7 +386,7 @@ public SiteConfigResourceInner withDefaultDocuments(List defaultDocument } /** - * Get the netFrameworkVersion value. + * Get .NET Framework version. * * @return the netFrameworkVersion value */ @@ -395,7 +395,7 @@ public String netFrameworkVersion() { } /** - * Set the netFrameworkVersion value. + * Set .NET Framework version. * * @param netFrameworkVersion the netFrameworkVersion value to set * @return the SiteConfigResourceInner object itself. @@ -406,7 +406,7 @@ public SiteConfigResourceInner withNetFrameworkVersion(String netFrameworkVersio } /** - * Get the phpVersion value. + * Get version of PHP. * * @return the phpVersion value */ @@ -415,7 +415,7 @@ public String phpVersion() { } /** - * Set the phpVersion value. + * Set version of PHP. * * @param phpVersion the phpVersion value to set * @return the SiteConfigResourceInner object itself. @@ -426,7 +426,7 @@ public SiteConfigResourceInner withPhpVersion(String phpVersion) { } /** - * Get the pythonVersion value. + * Get version of Python. * * @return the pythonVersion value */ @@ -435,7 +435,7 @@ public String pythonVersion() { } /** - * Set the pythonVersion value. + * Set version of Python. * * @param pythonVersion the pythonVersion value to set * @return the SiteConfigResourceInner object itself. @@ -446,7 +446,7 @@ public SiteConfigResourceInner withPythonVersion(String pythonVersion) { } /** - * Get the nodeVersion value. + * Get version of Node.js. * * @return the nodeVersion value */ @@ -455,7 +455,7 @@ public String nodeVersion() { } /** - * Set the nodeVersion value. + * Set version of Node.js. * * @param nodeVersion the nodeVersion value to set * @return the SiteConfigResourceInner object itself. @@ -466,7 +466,7 @@ public SiteConfigResourceInner withNodeVersion(String nodeVersion) { } /** - * Get the linuxFxVersion value. + * Get linux App Framework and version. * * @return the linuxFxVersion value */ @@ -475,7 +475,7 @@ public String linuxFxVersion() { } /** - * Set the linuxFxVersion value. + * Set linux App Framework and version. * * @param linuxFxVersion the linuxFxVersion value to set * @return the SiteConfigResourceInner object itself. @@ -486,7 +486,7 @@ public SiteConfigResourceInner withLinuxFxVersion(String linuxFxVersion) { } /** - * Get the xenonFxVersion value. + * Get xenon App Framework and version. * * @return the xenonFxVersion value */ @@ -495,7 +495,7 @@ public String xenonFxVersion() { } /** - * Set the xenonFxVersion value. + * Set xenon App Framework and version. * * @param xenonFxVersion the xenonFxVersion value to set * @return the SiteConfigResourceInner object itself. @@ -506,7 +506,7 @@ public SiteConfigResourceInner withXenonFxVersion(String xenonFxVersion) { } /** - * Get the requestTracingEnabled value. + * Get <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @return the requestTracingEnabled value */ @@ -515,7 +515,7 @@ public Boolean requestTracingEnabled() { } /** - * Set the requestTracingEnabled value. + * Set <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. * * @param requestTracingEnabled the requestTracingEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -526,7 +526,7 @@ public SiteConfigResourceInner withRequestTracingEnabled(Boolean requestTracingE } /** - * Get the requestTracingExpirationTime value. + * Get request tracing expiration time. * * @return the requestTracingExpirationTime value */ @@ -535,7 +535,7 @@ public DateTime requestTracingExpirationTime() { } /** - * Set the requestTracingExpirationTime value. + * Set request tracing expiration time. * * @param requestTracingExpirationTime the requestTracingExpirationTime value to set * @return the SiteConfigResourceInner object itself. @@ -546,7 +546,7 @@ public SiteConfigResourceInner withRequestTracingExpirationTime(DateTime request } /** - * Get the remoteDebuggingEnabled value. + * Get <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @return the remoteDebuggingEnabled value */ @@ -555,7 +555,7 @@ public Boolean remoteDebuggingEnabled() { } /** - * Set the remoteDebuggingEnabled value. + * Set <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. * * @param remoteDebuggingEnabled the remoteDebuggingEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -566,7 +566,7 @@ public SiteConfigResourceInner withRemoteDebuggingEnabled(Boolean remoteDebuggin } /** - * Get the remoteDebuggingVersion value. + * Get remote debugging version. * * @return the remoteDebuggingVersion value */ @@ -575,7 +575,7 @@ public String remoteDebuggingVersion() { } /** - * Set the remoteDebuggingVersion value. + * Set remote debugging version. * * @param remoteDebuggingVersion the remoteDebuggingVersion value to set * @return the SiteConfigResourceInner object itself. @@ -586,7 +586,7 @@ public SiteConfigResourceInner withRemoteDebuggingVersion(String remoteDebugging } /** - * Get the httpLoggingEnabled value. + * Get <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @return the httpLoggingEnabled value */ @@ -595,7 +595,7 @@ public Boolean httpLoggingEnabled() { } /** - * Set the httpLoggingEnabled value. + * Set <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. * * @param httpLoggingEnabled the httpLoggingEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -606,7 +606,7 @@ public SiteConfigResourceInner withHttpLoggingEnabled(Boolean httpLoggingEnabled } /** - * Get the logsDirectorySizeLimit value. + * Get hTTP logs directory size limit. * * @return the logsDirectorySizeLimit value */ @@ -615,7 +615,7 @@ public Integer logsDirectorySizeLimit() { } /** - * Set the logsDirectorySizeLimit value. + * Set hTTP logs directory size limit. * * @param logsDirectorySizeLimit the logsDirectorySizeLimit value to set * @return the SiteConfigResourceInner object itself. @@ -626,7 +626,7 @@ public SiteConfigResourceInner withLogsDirectorySizeLimit(Integer logsDirectoryS } /** - * Get the detailedErrorLoggingEnabled value. + * Get <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @return the detailedErrorLoggingEnabled value */ @@ -635,7 +635,7 @@ public Boolean detailedErrorLoggingEnabled() { } /** - * Set the detailedErrorLoggingEnabled value. + * Set <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. * * @param detailedErrorLoggingEnabled the detailedErrorLoggingEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -646,7 +646,7 @@ public SiteConfigResourceInner withDetailedErrorLoggingEnabled(Boolean detailedE } /** - * Get the publishingUsername value. + * Get publishing user name. * * @return the publishingUsername value */ @@ -655,7 +655,7 @@ public String publishingUsername() { } /** - * Set the publishingUsername value. + * Set publishing user name. * * @param publishingUsername the publishingUsername value to set * @return the SiteConfigResourceInner object itself. @@ -666,7 +666,7 @@ public SiteConfigResourceInner withPublishingUsername(String publishingUsername) } /** - * Get the appSettings value. + * Get application settings. * * @return the appSettings value */ @@ -675,7 +675,7 @@ public List appSettings() { } /** - * Set the appSettings value. + * Set application settings. * * @param appSettings the appSettings value to set * @return the SiteConfigResourceInner object itself. @@ -686,7 +686,7 @@ public SiteConfigResourceInner withAppSettings(List appSettings) } /** - * Get the connectionStrings value. + * Get connection strings. * * @return the connectionStrings value */ @@ -695,7 +695,7 @@ public List connectionStrings() { } /** - * Set the connectionStrings value. + * Set connection strings. * * @param connectionStrings the connectionStrings value to set * @return the SiteConfigResourceInner object itself. @@ -706,7 +706,7 @@ public SiteConfigResourceInner withConnectionStrings(List connec } /** - * Get the machineKey value. + * Get site MachineKey. * * @return the machineKey value */ @@ -715,7 +715,7 @@ public SiteMachineKey machineKey() { } /** - * Get the handlerMappings value. + * Get handler mappings. * * @return the handlerMappings value */ @@ -724,7 +724,7 @@ public List handlerMappings() { } /** - * Set the handlerMappings value. + * Set handler mappings. * * @param handlerMappings the handlerMappings value to set * @return the SiteConfigResourceInner object itself. @@ -735,7 +735,7 @@ public SiteConfigResourceInner withHandlerMappings(List handlerM } /** - * Get the documentRoot value. + * Get document root. * * @return the documentRoot value */ @@ -744,7 +744,7 @@ public String documentRoot() { } /** - * Set the documentRoot value. + * Set document root. * * @param documentRoot the documentRoot value to set * @return the SiteConfigResourceInner object itself. @@ -755,7 +755,7 @@ public SiteConfigResourceInner withDocumentRoot(String documentRoot) { } /** - * Get the scmType value. + * Get sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @return the scmType value */ @@ -764,7 +764,7 @@ public ScmType scmType() { } /** - * Set the scmType value. + * Set sCM type. Possible values include: 'None', 'Dropbox', 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg', 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive', 'VSO'. * * @param scmType the scmType value to set * @return the SiteConfigResourceInner object itself. @@ -775,7 +775,7 @@ public SiteConfigResourceInner withScmType(ScmType scmType) { } /** - * Get the use32BitWorkerProcess value. + * Get <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @return the use32BitWorkerProcess value */ @@ -784,7 +784,7 @@ public Boolean use32BitWorkerProcess() { } /** - * Set the use32BitWorkerProcess value. + * Set <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. * * @param use32BitWorkerProcess the use32BitWorkerProcess value to set * @return the SiteConfigResourceInner object itself. @@ -795,7 +795,7 @@ public SiteConfigResourceInner withUse32BitWorkerProcess(Boolean use32BitWorkerP } /** - * Get the webSocketsEnabled value. + * Get <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @return the webSocketsEnabled value */ @@ -804,7 +804,7 @@ public Boolean webSocketsEnabled() { } /** - * Set the webSocketsEnabled value. + * Set <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. * * @param webSocketsEnabled the webSocketsEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -815,7 +815,7 @@ public SiteConfigResourceInner withWebSocketsEnabled(Boolean webSocketsEnabled) } /** - * Get the alwaysOn value. + * Get <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @return the alwaysOn value */ @@ -824,7 +824,7 @@ public Boolean alwaysOn() { } /** - * Set the alwaysOn value. + * Set <code>true</code> if Always On is enabled; otherwise, <code>false</code>. * * @param alwaysOn the alwaysOn value to set * @return the SiteConfigResourceInner object itself. @@ -835,7 +835,7 @@ public SiteConfigResourceInner withAlwaysOn(Boolean alwaysOn) { } /** - * Get the javaVersion value. + * Get java version. * * @return the javaVersion value */ @@ -844,7 +844,7 @@ public String javaVersion() { } /** - * Set the javaVersion value. + * Set java version. * * @param javaVersion the javaVersion value to set * @return the SiteConfigResourceInner object itself. @@ -855,7 +855,7 @@ public SiteConfigResourceInner withJavaVersion(String javaVersion) { } /** - * Get the javaContainer value. + * Get java container. * * @return the javaContainer value */ @@ -864,7 +864,7 @@ public String javaContainer() { } /** - * Set the javaContainer value. + * Set java container. * * @param javaContainer the javaContainer value to set * @return the SiteConfigResourceInner object itself. @@ -875,7 +875,7 @@ public SiteConfigResourceInner withJavaContainer(String javaContainer) { } /** - * Get the javaContainerVersion value. + * Get java container version. * * @return the javaContainerVersion value */ @@ -884,7 +884,7 @@ public String javaContainerVersion() { } /** - * Set the javaContainerVersion value. + * Set java container version. * * @param javaContainerVersion the javaContainerVersion value to set * @return the SiteConfigResourceInner object itself. @@ -895,7 +895,7 @@ public SiteConfigResourceInner withJavaContainerVersion(String javaContainerVers } /** - * Get the appCommandLine value. + * Get app command line to launch. * * @return the appCommandLine value */ @@ -904,7 +904,7 @@ public String appCommandLine() { } /** - * Set the appCommandLine value. + * Set app command line to launch. * * @param appCommandLine the appCommandLine value to set * @return the SiteConfigResourceInner object itself. @@ -915,7 +915,7 @@ public SiteConfigResourceInner withAppCommandLine(String appCommandLine) { } /** - * Get the managedPipelineMode value. + * Get managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @return the managedPipelineMode value */ @@ -924,7 +924,7 @@ public ManagedPipelineMode managedPipelineMode() { } /** - * Set the managedPipelineMode value. + * Set managed pipeline mode. Possible values include: 'Integrated', 'Classic'. * * @param managedPipelineMode the managedPipelineMode value to set * @return the SiteConfigResourceInner object itself. @@ -935,7 +935,7 @@ public SiteConfigResourceInner withManagedPipelineMode(ManagedPipelineMode manag } /** - * Get the virtualApplications value. + * Get virtual applications. * * @return the virtualApplications value */ @@ -944,7 +944,7 @@ public List virtualApplications() { } /** - * Set the virtualApplications value. + * Set virtual applications. * * @param virtualApplications the virtualApplications value to set * @return the SiteConfigResourceInner object itself. @@ -955,7 +955,7 @@ public SiteConfigResourceInner withVirtualApplications(List } /** - * Get the loadBalancing value. + * Get site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @return the loadBalancing value */ @@ -964,7 +964,7 @@ public SiteLoadBalancing loadBalancing() { } /** - * Set the loadBalancing value. + * Set site load balancing. Possible values include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime', 'WeightedTotalTraffic', 'RequestHash'. * * @param loadBalancing the loadBalancing value to set * @return the SiteConfigResourceInner object itself. @@ -975,7 +975,7 @@ public SiteConfigResourceInner withLoadBalancing(SiteLoadBalancing loadBalancing } /** - * Get the experiments value. + * Get this is work around for polymophic types. * * @return the experiments value */ @@ -984,7 +984,7 @@ public Experiments experiments() { } /** - * Set the experiments value. + * Set this is work around for polymophic types. * * @param experiments the experiments value to set * @return the SiteConfigResourceInner object itself. @@ -995,7 +995,7 @@ public SiteConfigResourceInner withExperiments(Experiments experiments) { } /** - * Get the limits value. + * Get site limits. * * @return the limits value */ @@ -1004,7 +1004,7 @@ public SiteLimits limits() { } /** - * Set the limits value. + * Set site limits. * * @param limits the limits value to set * @return the SiteConfigResourceInner object itself. @@ -1015,7 +1015,7 @@ public SiteConfigResourceInner withLimits(SiteLimits limits) { } /** - * Get the autoHealEnabled value. + * Get <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @return the autoHealEnabled value */ @@ -1024,7 +1024,7 @@ public Boolean autoHealEnabled() { } /** - * Set the autoHealEnabled value. + * Set <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. * * @param autoHealEnabled the autoHealEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -1035,7 +1035,7 @@ public SiteConfigResourceInner withAutoHealEnabled(Boolean autoHealEnabled) { } /** - * Get the autoHealRules value. + * Get auto Heal rules. * * @return the autoHealRules value */ @@ -1044,7 +1044,7 @@ public AutoHealRules autoHealRules() { } /** - * Set the autoHealRules value. + * Set auto Heal rules. * * @param autoHealRules the autoHealRules value to set * @return the SiteConfigResourceInner object itself. @@ -1055,7 +1055,7 @@ public SiteConfigResourceInner withAutoHealRules(AutoHealRules autoHealRules) { } /** - * Get the tracingOptions value. + * Get tracing options. * * @return the tracingOptions value */ @@ -1064,7 +1064,7 @@ public String tracingOptions() { } /** - * Set the tracingOptions value. + * Set tracing options. * * @param tracingOptions the tracingOptions value to set * @return the SiteConfigResourceInner object itself. @@ -1075,7 +1075,7 @@ public SiteConfigResourceInner withTracingOptions(String tracingOptions) { } /** - * Get the vnetName value. + * Get virtual Network name. * * @return the vnetName value */ @@ -1084,7 +1084,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set virtual Network name. * * @param vnetName the vnetName value to set * @return the SiteConfigResourceInner object itself. @@ -1095,7 +1095,7 @@ public SiteConfigResourceInner withVnetName(String vnetName) { } /** - * Get the cors value. + * Get cross-Origin Resource Sharing (CORS) settings. * * @return the cors value */ @@ -1104,7 +1104,7 @@ public CorsSettings cors() { } /** - * Set the cors value. + * Set cross-Origin Resource Sharing (CORS) settings. * * @param cors the cors value to set * @return the SiteConfigResourceInner object itself. @@ -1115,7 +1115,7 @@ public SiteConfigResourceInner withCors(CorsSettings cors) { } /** - * Get the push value. + * Get push endpoint settings. * * @return the push value */ @@ -1124,7 +1124,7 @@ public PushSettingsInner push() { } /** - * Set the push value. + * Set push endpoint settings. * * @param push the push value to set * @return the SiteConfigResourceInner object itself. @@ -1135,7 +1135,7 @@ public SiteConfigResourceInner withPush(PushSettingsInner push) { } /** - * Get the apiDefinition value. + * Get information about the formal API definition for the app. * * @return the apiDefinition value */ @@ -1144,7 +1144,7 @@ public ApiDefinitionInfo apiDefinition() { } /** - * Set the apiDefinition value. + * Set information about the formal API definition for the app. * * @param apiDefinition the apiDefinition value to set * @return the SiteConfigResourceInner object itself. @@ -1155,7 +1155,7 @@ public SiteConfigResourceInner withApiDefinition(ApiDefinitionInfo apiDefinition } /** - * Get the autoSwapSlotName value. + * Get auto-swap slot name. * * @return the autoSwapSlotName value */ @@ -1164,7 +1164,7 @@ public String autoSwapSlotName() { } /** - * Set the autoSwapSlotName value. + * Set auto-swap slot name. * * @param autoSwapSlotName the autoSwapSlotName value to set * @return the SiteConfigResourceInner object itself. @@ -1175,7 +1175,7 @@ public SiteConfigResourceInner withAutoSwapSlotName(String autoSwapSlotName) { } /** - * Get the localMySqlEnabled value. + * Get <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @return the localMySqlEnabled value */ @@ -1184,7 +1184,7 @@ public Boolean localMySqlEnabled() { } /** - * Set the localMySqlEnabled value. + * Set <code>true</code> to enable local MySQL; otherwise, <code>false</code>. * * @param localMySqlEnabled the localMySqlEnabled value to set * @return the SiteConfigResourceInner object itself. @@ -1195,7 +1195,7 @@ public SiteConfigResourceInner withLocalMySqlEnabled(Boolean localMySqlEnabled) } /** - * Get the managedServiceIdentityId value. + * Get managed Service Identity Id. * * @return the managedServiceIdentityId value */ @@ -1204,7 +1204,7 @@ public Integer managedServiceIdentityId() { } /** - * Set the managedServiceIdentityId value. + * Set managed Service Identity Id. * * @param managedServiceIdentityId the managedServiceIdentityId value to set * @return the SiteConfigResourceInner object itself. @@ -1215,7 +1215,7 @@ public SiteConfigResourceInner withManagedServiceIdentityId(Integer managedServi } /** - * Get the xManagedServiceIdentityId value. + * Get explicit Managed Service Identity Id. * * @return the xManagedServiceIdentityId value */ @@ -1224,7 +1224,7 @@ public Integer xManagedServiceIdentityId() { } /** - * Set the xManagedServiceIdentityId value. + * Set explicit Managed Service Identity Id. * * @param xManagedServiceIdentityId the xManagedServiceIdentityId value to set * @return the SiteConfigResourceInner object itself. @@ -1235,7 +1235,7 @@ public SiteConfigResourceInner withXManagedServiceIdentityId(Integer xManagedSer } /** - * Get the ipSecurityRestrictions value. + * Get iP security restrictions. * * @return the ipSecurityRestrictions value */ @@ -1244,7 +1244,7 @@ public List ipSecurityRestrictions() { } /** - * Set the ipSecurityRestrictions value. + * Set iP security restrictions. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfigResourceInner object itself. @@ -1255,7 +1255,7 @@ public SiteConfigResourceInner withIpSecurityRestrictions(List 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigurationSnapshotInfoInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigurationSnapshotInfoInner.java index 7ab4d86ecca79..5e1bb1e2cb39a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigurationSnapshotInfoInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigurationSnapshotInfoInner.java @@ -31,7 +31,7 @@ public class SiteConfigurationSnapshotInfoInner extends ProxyOnlyResource { private Integer snapshotId; /** - * Get the time value. + * Get the time the snapshot was taken. * * @return the time value */ @@ -40,7 +40,7 @@ public DateTime time() { } /** - * Get the snapshotId value. + * Get the id of the snapshot. * * @return the snapshotId value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCsmUsageQuotaImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCsmUsageQuotaImpl.java index 0e06d65c38398..c294ac4583199 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteCsmUsageQuotaImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteExtensionInfoImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteExtensionInfoImpl.java index 005e4ba5cbb9b..5f68793e272df 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteExtensionInfoImpl.java +++ b/appservice/resource-manager/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 authors() { } /** - * Set the authors value. + * Set list of authors. * * @param authors the authors value to set * @return the SiteExtensionInfoInner object itself. @@ -382,7 +382,7 @@ public SiteExtensionInfoInner withAuthors(List authors) { } /** - * Get the installerCommandLineParams value. + * Get installer command line parameters. * * @return the installerCommandLineParams value */ @@ -391,7 +391,7 @@ public String installerCommandLineParams() { } /** - * Set the installerCommandLineParams value. + * Set installer command line parameters. * * @param installerCommandLineParams the installerCommandLineParams value to set * @return the SiteExtensionInfoInner object itself. @@ -402,7 +402,7 @@ public SiteExtensionInfoInner withInstallerCommandLineParams(String installerCom } /** - * Get the publishedDateTime value. + * Get published timestamp. * * @return the publishedDateTime value */ @@ -411,7 +411,7 @@ public DateTime publishedDateTime() { } /** - * Set the publishedDateTime value. + * Set published timestamp. * * @param publishedDateTime the publishedDateTime value to set * @return the SiteExtensionInfoInner object itself. @@ -422,7 +422,7 @@ public SiteExtensionInfoInner withPublishedDateTime(DateTime publishedDateTime) } /** - * Get the downloadCount value. + * Get count of downloads. * * @return the downloadCount value */ @@ -431,7 +431,7 @@ public Integer downloadCount() { } /** - * Set the downloadCount value. + * Set count of downloads. * * @param downloadCount the downloadCount value to set * @return the SiteExtensionInfoInner object itself. @@ -442,7 +442,7 @@ public SiteExtensionInfoInner withDownloadCount(Integer downloadCount) { } /** - * Get the localIsLatestVersion value. + * Get <code>true</code> if the local version is the latest version; <code>false</code> otherwise. * * @return the localIsLatestVersion value */ @@ -451,7 +451,7 @@ public Boolean localIsLatestVersion() { } /** - * Set the localIsLatestVersion value. + * Set <code>true</code> if the local version is the latest version; <code>false</code> otherwise. * * @param localIsLatestVersion the localIsLatestVersion value to set * @return the SiteExtensionInfoInner object itself. @@ -462,7 +462,7 @@ public SiteExtensionInfoInner withLocalIsLatestVersion(Boolean localIsLatestVers } /** - * Get the localPath value. + * Get local path. * * @return the localPath value */ @@ -471,7 +471,7 @@ public String localPath() { } /** - * Set the localPath value. + * Set local path. * * @param localPath the localPath value to set * @return the SiteExtensionInfoInner object itself. @@ -482,7 +482,7 @@ public SiteExtensionInfoInner withLocalPath(String localPath) { } /** - * Get the installedDateTime value. + * Get installed timestamp. * * @return the installedDateTime value */ @@ -491,7 +491,7 @@ public DateTime installedDateTime() { } /** - * Set the installedDateTime value. + * Set installed timestamp. * * @param installedDateTime the installedDateTime value to set * @return the SiteExtensionInfoInner object itself. @@ -502,7 +502,7 @@ public SiteExtensionInfoInner withInstalledDateTime(DateTime installedDateTime) } /** - * Get the provisioningState value. + * Get provisioning state. * * @return the provisioningState value */ @@ -511,7 +511,7 @@ public String provisioningState() { } /** - * Set the provisioningState value. + * Set provisioning state. * * @param provisioningState the provisioningState value to set * @return the SiteExtensionInfoInner object itself. @@ -522,7 +522,7 @@ public SiteExtensionInfoInner withProvisioningState(String provisioningState) { } /** - * Get the comment value. + * Get site Extension comment. * * @return the comment value */ @@ -531,7 +531,7 @@ public String comment() { } /** - * Set the comment value. + * Set site Extension comment. * * @param comment the comment value to set * @return the SiteExtensionInfoInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteHybridConnectionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteHybridConnectionImpl.java index 6458aa7ba745a..813a8f2a1ac99 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteHybridConnectionImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteHybridConnectionImpl.java @@ -13,13 +13,13 @@ import rx.Observable; class SiteHybridConnectionImpl 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 hostNames() { } /** - * Get the repositorySiteName value. + * Get name of the repository site. * * @return the repositorySiteName value */ @@ -295,7 +295,7 @@ public String repositorySiteName() { } /** - * Get the usageState value. + * Get state indicating whether the app has exceeded its quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'. * * @return the usageState value */ @@ -304,7 +304,7 @@ public UsageState usageState() { } /** - * Get the enabled value. + * Get <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @return the enabled value */ @@ -313,7 +313,7 @@ public Boolean enabled() { } /** - * Set the enabled value. + * Set <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). * * @param enabled the enabled value to set * @return the SiteInner object itself. @@ -324,7 +324,8 @@ public SiteInner withEnabled(Boolean enabled) { } /** - * Get the enabledHostNames value. + * Get enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise, + the app is not served on those hostnames. * * @return the enabledHostNames value */ @@ -333,7 +334,7 @@ public List enabledHostNames() { } /** - * Get the availabilityState value. + * Get management information availability state for the app. Possible values include: 'Normal', 'Limited', 'DisasterRecoveryMode'. * * @return the availabilityState value */ @@ -342,7 +343,7 @@ public SiteAvailabilityState availabilityState() { } /** - * Get the hostNameSslStates value. + * Get hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @return the hostNameSslStates value */ @@ -351,7 +352,7 @@ public List hostNameSslStates() { } /** - * Set the hostNameSslStates value. + * Set hostname SSL states are used to manage the SSL bindings for app's hostnames. * * @param hostNameSslStates the hostNameSslStates value to set * @return the SiteInner object itself. @@ -362,7 +363,7 @@ public SiteInner withHostNameSslStates(List hostNameSslStates) } /** - * Get the serverFarmId value. + * Get resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @return the serverFarmId value */ @@ -371,7 +372,7 @@ public String serverFarmId() { } /** - * Set the serverFarmId value. + * Set resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". * * @param serverFarmId the serverFarmId value to set * @return the SiteInner object itself. @@ -382,7 +383,7 @@ public SiteInner withServerFarmId(String serverFarmId) { } /** - * Get the reserved value. + * Get <code>true</code> if reserved; otherwise, <code>false</code>. * * @return the reserved value */ @@ -391,7 +392,7 @@ public Boolean reserved() { } /** - * Set the reserved value. + * Set <code>true</code> if reserved; otherwise, <code>false</code>. * * @param reserved the reserved value to set * @return the SiteInner object itself. @@ -402,7 +403,7 @@ public SiteInner withReserved(Boolean reserved) { } /** - * Get the isXenon value. + * Get hyper-V sandbox. * * @return the isXenon value */ @@ -411,7 +412,7 @@ public Boolean isXenon() { } /** - * Set the isXenon value. + * Set hyper-V sandbox. * * @param isXenon the isXenon value to set * @return the SiteInner object itself. @@ -422,7 +423,7 @@ public SiteInner withIsXenon(Boolean isXenon) { } /** - * Get the lastModifiedTimeUtc value. + * Get last time the app was modified, in UTC. Read-only. * * @return the lastModifiedTimeUtc value */ @@ -431,7 +432,7 @@ public DateTime lastModifiedTimeUtc() { } /** - * Get the siteConfig value. + * Get configuration of the app. * * @return the siteConfig value */ @@ -440,7 +441,7 @@ public SiteConfig siteConfig() { } /** - * Set the siteConfig value. + * Set configuration of the app. * * @param siteConfig the siteConfig value to set * @return the SiteInner object itself. @@ -451,7 +452,7 @@ public SiteInner withSiteConfig(SiteConfig siteConfig) { } /** - * Get the trafficManagerHostNames value. + * Get azure Traffic Manager hostnames associated with the app. Read-only. * * @return the trafficManagerHostNames value */ @@ -460,7 +461,7 @@ public List trafficManagerHostNames() { } /** - * Get the scmSiteAlsoStopped value. + * Get <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @return the scmSiteAlsoStopped value */ @@ -469,7 +470,7 @@ public Boolean scmSiteAlsoStopped() { } /** - * Set the scmSiteAlsoStopped value. + * Set <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. * * @param scmSiteAlsoStopped the scmSiteAlsoStopped value to set * @return the SiteInner object itself. @@ -480,7 +481,7 @@ public SiteInner withScmSiteAlsoStopped(Boolean scmSiteAlsoStopped) { } /** - * Get the targetSwapSlot value. + * Get specifies which deployment slot this app will swap into. Read-only. * * @return the targetSwapSlot value */ @@ -489,7 +490,7 @@ public String targetSwapSlot() { } /** - * Get the hostingEnvironmentProfile value. + * Get app Service Environment to use for the app. * * @return the hostingEnvironmentProfile value */ @@ -498,7 +499,7 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { } /** - * Set the hostingEnvironmentProfile value. + * Set app Service Environment to use for the app. * * @param hostingEnvironmentProfile the hostingEnvironmentProfile value to set * @return the SiteInner object itself. @@ -509,7 +510,7 @@ public SiteInner withHostingEnvironmentProfile(HostingEnvironmentProfile hosting } /** - * Get the clientAffinityEnabled value. + * Get <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @return the clientAffinityEnabled value */ @@ -518,7 +519,7 @@ public Boolean clientAffinityEnabled() { } /** - * Set the clientAffinityEnabled value. + * Set <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. * * @param clientAffinityEnabled the clientAffinityEnabled value to set * @return the SiteInner object itself. @@ -529,7 +530,7 @@ public SiteInner withClientAffinityEnabled(Boolean clientAffinityEnabled) { } /** - * Get the clientCertEnabled value. + * Get <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @return the clientCertEnabled value */ @@ -538,7 +539,7 @@ public Boolean clientCertEnabled() { } /** - * Set the clientCertEnabled value. + * Set <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. * * @param clientCertEnabled the clientCertEnabled value to set * @return the SiteInner object itself. @@ -549,7 +550,8 @@ public SiteInner withClientCertEnabled(Boolean clientCertEnabled) { } /** - * Get the hostNamesDisabled value. + * Get <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @return the hostNamesDisabled value */ @@ -558,7 +560,8 @@ public Boolean hostNamesDisabled() { } /** - * Set the hostNamesDisabled value. + * Set <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. + If <code>true</code>, the app is only accessible via API management process. * * @param hostNamesDisabled the hostNamesDisabled value to set * @return the SiteInner object itself. @@ -569,7 +572,7 @@ public SiteInner withHostNamesDisabled(Boolean hostNamesDisabled) { } /** - * Get the outboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from tenants that site can be hosted with current settings. Read-only. * * @return the outboundIpAddresses value */ @@ -578,7 +581,7 @@ public String outboundIpAddresses() { } /** - * Get the possibleOutboundIpAddresses value. + * Get list of IP addresses that the app uses for outbound connections (e.g. database access). Includes VIPs from all tenants. Read-only. * * @return the possibleOutboundIpAddresses value */ @@ -587,7 +590,7 @@ public String possibleOutboundIpAddresses() { } /** - * Get the containerSize value. + * Get size of the function container. * * @return the containerSize value */ @@ -596,7 +599,7 @@ public Integer containerSize() { } /** - * Set the containerSize value. + * Set size of the function container. * * @param containerSize the containerSize value to set * @return the SiteInner object itself. @@ -607,7 +610,7 @@ public SiteInner withContainerSize(Integer containerSize) { } /** - * Get the dailyMemoryTimeQuota value. + * Get maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @return the dailyMemoryTimeQuota value */ @@ -616,7 +619,7 @@ public Integer dailyMemoryTimeQuota() { } /** - * Set the dailyMemoryTimeQuota value. + * Set maximum allowed daily memory-time quota (applicable on dynamic apps only). * * @param dailyMemoryTimeQuota the dailyMemoryTimeQuota value to set * @return the SiteInner object itself. @@ -627,7 +630,7 @@ public SiteInner withDailyMemoryTimeQuota(Integer dailyMemoryTimeQuota) { } /** - * Get the suspendedTill value. + * Get app suspended till in case memory-time quota is exceeded. * * @return the suspendedTill value */ @@ -636,7 +639,8 @@ public DateTime suspendedTill() { } /** - * Get the maxNumberOfWorkers value. + * Get maximum number of workers. + This only applies to Functions container. * * @return the maxNumberOfWorkers value */ @@ -645,7 +649,7 @@ public Integer maxNumberOfWorkers() { } /** - * Get the cloningInfo value. + * Get if specified during app creation, the app is cloned from a source app. * * @return the cloningInfo value */ @@ -654,7 +658,7 @@ public CloningInfo cloningInfo() { } /** - * Set the cloningInfo value. + * Set if specified during app creation, the app is cloned from a source app. * * @param cloningInfo the cloningInfo value to set * @return the SiteInner object itself. @@ -665,7 +669,7 @@ public SiteInner withCloningInfo(CloningInfo cloningInfo) { } /** - * Get the snapshotInfo value. + * Get if specified during app creation, the app is created from a previous snapshot. * * @return the snapshotInfo value */ @@ -674,7 +678,7 @@ public SnapshotRecoveryRequest snapshotInfo() { } /** - * Set the snapshotInfo value. + * Set if specified during app creation, the app is created from a previous snapshot. * * @param snapshotInfo the snapshotInfo value to set * @return the SiteInner object itself. @@ -685,7 +689,7 @@ public SiteInner withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { } /** - * Get the resourceGroup value. + * Get name of the resource group the app belongs to. Read-only. * * @return the resourceGroup value */ @@ -694,7 +698,7 @@ public String resourceGroup() { } /** - * Get the isDefaultContainer value. + * Get <code>true</code> if the app is a default container; otherwise, <code>false</code>. * * @return the isDefaultContainer value */ @@ -703,7 +707,7 @@ public Boolean isDefaultContainer() { } /** - * Get the defaultHostName value. + * Get default hostname of the app. Read-only. * * @return the defaultHostName value */ @@ -712,7 +716,7 @@ public String defaultHostName() { } /** - * Get the slotSwapStatus value. + * Get status of the last deployment slot swap operation. * * @return the slotSwapStatus value */ @@ -721,7 +725,8 @@ public SlotSwapStatus slotSwapStatus() { } /** - * Get the httpsOnly value. + * Get httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @return the httpsOnly value */ @@ -730,7 +735,8 @@ public Boolean httpsOnly() { } /** - * Set the httpsOnly value. + * Set httpsOnly: configures a web site to accept only https requests. Issues redirect for + http requests. * * @param httpsOnly the httpsOnly value to set * @return the SiteInner object itself. @@ -761,7 +767,7 @@ public SiteInner withIdentity(ManagedServiceIdentity identity) { } /** - * Get the kind value. + * Get kind of resource. * * @return the kind value */ @@ -770,7 +776,7 @@ public String kind() { } /** - * Set the kind value. + * Set kind of resource. * * @param kind the kind value to set * @return the SiteInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInstanceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInstanceImpl.java index 0c03c371c8d1d..aa957a98d9e2b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInstanceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInstanceImpl.java @@ -13,15 +13,15 @@ import rx.Observable; class SiteInstanceImpl extends WrapperImpl 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInstanceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInstanceInner.java index 57485a67347e0..0eff4ca5229bd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInstanceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInstanceInner.java @@ -24,7 +24,7 @@ public class SiteInstanceInner extends ProxyOnlyResource { private String siteInstanceName; /** - * Get the siteInstanceName value. + * Get name of instance. * * @return the siteInstanceName value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigImpl.java index 2ac02fed45b35..ddc905b2fe7ba 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigInner.java index fd43bf541e0a8..5b4d5ba2df026 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteLogsConfigInner.java @@ -45,7 +45,7 @@ public class SiteLogsConfigInner extends ProxyOnlyResource { private EnabledConfig detailedErrorMessages; /** - * Get the applicationLogs value. + * Get application logs configuration. * * @return the applicationLogs value */ @@ -54,7 +54,7 @@ public ApplicationLogsConfig applicationLogs() { } /** - * Set the applicationLogs value. + * Set application logs configuration. * * @param applicationLogs the applicationLogs value to set * @return the SiteLogsConfigInner object itself. @@ -65,7 +65,7 @@ public SiteLogsConfigInner withApplicationLogs(ApplicationLogsConfig application } /** - * Get the httpLogs value. + * Get hTTP logs configuration. * * @return the httpLogs value */ @@ -74,7 +74,7 @@ public HttpLogsConfig httpLogs() { } /** - * Set the httpLogs value. + * Set hTTP logs configuration. * * @param httpLogs the httpLogs value to set * @return the SiteLogsConfigInner object itself. @@ -85,7 +85,7 @@ public SiteLogsConfigInner withHttpLogs(HttpLogsConfig httpLogs) { } /** - * Get the failedRequestsTracing value. + * Get failed requests tracing configuration. * * @return the failedRequestsTracing value */ @@ -94,7 +94,7 @@ public EnabledConfig failedRequestsTracing() { } /** - * Set the failedRequestsTracing value. + * Set failed requests tracing configuration. * * @param failedRequestsTracing the failedRequestsTracing value to set * @return the SiteLogsConfigInner object itself. @@ -105,7 +105,7 @@ public SiteLogsConfigInner withFailedRequestsTracing(EnabledConfig failedRequest } /** - * Get the detailedErrorMessages value. + * Get detailed error messages configuration. * * @return the detailedErrorMessages value */ @@ -114,7 +114,7 @@ public EnabledConfig detailedErrorMessages() { } /** - * Set the detailedErrorMessages value. + * Set detailed error messages configuration. * * @param detailedErrorMessages the detailedErrorMessages value to set * @return the SiteLogsConfigInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagImpl.java index a8294e8ce263e..6ef330c301d9d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagInner.java index d2ffa54935d15..99f9e59f3b722 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitePhpErrorLogFlagInner.java @@ -42,7 +42,7 @@ public class SitePhpErrorLogFlagInner extends ProxyOnlyResource { private String masterLogErrorsMaxLength; /** - * Get the localLogErrors value. + * Get local log_errors setting. * * @return the localLogErrors value */ @@ -51,7 +51,7 @@ public String localLogErrors() { } /** - * Set the localLogErrors value. + * Set local log_errors setting. * * @param localLogErrors the localLogErrors value to set * @return the SitePhpErrorLogFlagInner object itself. @@ -62,7 +62,7 @@ public SitePhpErrorLogFlagInner withLocalLogErrors(String localLogErrors) { } /** - * Get the masterLogErrors value. + * Get master log_errors setting. * * @return the masterLogErrors value */ @@ -71,7 +71,7 @@ public String masterLogErrors() { } /** - * Set the masterLogErrors value. + * Set master log_errors setting. * * @param masterLogErrors the masterLogErrors value to set * @return the SitePhpErrorLogFlagInner object itself. @@ -82,7 +82,7 @@ public SitePhpErrorLogFlagInner withMasterLogErrors(String masterLogErrors) { } /** - * Get the localLogErrorsMaxLength value. + * Get local log_errors_max_len setting. * * @return the localLogErrorsMaxLength value */ @@ -91,7 +91,7 @@ public String localLogErrorsMaxLength() { } /** - * Set the localLogErrorsMaxLength value. + * Set local log_errors_max_len setting. * * @param localLogErrorsMaxLength the localLogErrorsMaxLength value to set * @return the SitePhpErrorLogFlagInner object itself. @@ -102,7 +102,7 @@ public SitePhpErrorLogFlagInner withLocalLogErrorsMaxLength(String localLogError } /** - * Get the masterLogErrorsMaxLength value. + * Get master log_errors_max_len setting. * * @return the masterLogErrorsMaxLength value */ @@ -111,7 +111,7 @@ public String masterLogErrorsMaxLength() { } /** - * Set the masterLogErrorsMaxLength value. + * Set master log_errors_max_len setting. * * @param masterLogErrorsMaxLength the masterLogErrorsMaxLength value to set * @return the SitePhpErrorLogFlagInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricDefinitionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricDefinitionImpl.java index b2384cb53582e..041f99984d798 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricDefinitionImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricImpl.java index 1a1ca9b83b430..45ebe40fda103 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteResourceMetricImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealImpl.java index a1bb7fe9b215e..604976c57b150 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealInner.java index f0da424d06513..3150c486f570c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSealInner.java @@ -21,7 +21,7 @@ public class SiteSealInner { private String html; /** - * Get the html value. + * Get hTML snippet. * * @return the html value */ @@ -30,7 +30,7 @@ public String html() { } /** - * Set the html value. + * Set hTML snippet. * * @param html the html value to set * @return the SiteSealInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlImpl.java index ea024b009c6e8..e282ab4a112c5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlInner.java index 12e872f2df096..5ea926e1339e8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteSourceControlInner.java @@ -52,7 +52,7 @@ public class SiteSourceControlInner extends ProxyOnlyResource { private Boolean isMercurial; /** - * Get the repoUrl value. + * Get repository or source control URL. * * @return the repoUrl value */ @@ -61,7 +61,7 @@ public String repoUrl() { } /** - * Set the repoUrl value. + * Set repository or source control URL. * * @param repoUrl the repoUrl value to set * @return the SiteSourceControlInner object itself. @@ -72,7 +72,7 @@ public SiteSourceControlInner withRepoUrl(String repoUrl) { } /** - * Get the branch value. + * Get name of branch to use for deployment. * * @return the branch value */ @@ -81,7 +81,7 @@ public String branch() { } /** - * Set the branch value. + * Set name of branch to use for deployment. * * @param branch the branch value to set * @return the SiteSourceControlInner object itself. @@ -92,7 +92,7 @@ public SiteSourceControlInner withBranch(String branch) { } /** - * Get the isManualIntegration value. + * Get <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). * * @return the isManualIntegration value */ @@ -101,7 +101,7 @@ public Boolean isManualIntegration() { } /** - * Set the isManualIntegration value. + * Set <code>true</code> to limit to manual integration; <code>false</code> to enable continuous integration (which configures webhooks into online repos like GitHub). * * @param isManualIntegration the isManualIntegration value to set * @return the SiteSourceControlInner object itself. @@ -112,7 +112,7 @@ public SiteSourceControlInner withIsManualIntegration(Boolean isManualIntegratio } /** - * Get the deploymentRollbackEnabled value. + * Get <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. * * @return the deploymentRollbackEnabled value */ @@ -121,7 +121,7 @@ public Boolean deploymentRollbackEnabled() { } /** - * Set the deploymentRollbackEnabled value. + * Set <code>true</code> to enable deployment rollback; otherwise, <code>false</code>. * * @param deploymentRollbackEnabled the deploymentRollbackEnabled value to set * @return the SiteSourceControlInner object itself. @@ -132,7 +132,7 @@ public SiteSourceControlInner withDeploymentRollbackEnabled(Boolean deploymentRo } /** - * Get the isMercurial value. + * Get <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. * * @return the isMercurial value */ @@ -141,7 +141,7 @@ public Boolean isMercurial() { } /** - * Set the isMercurial value. + * Set <code>true</code> for a Mercurial repository; <code>false</code> for a Git repository. * * @param isMercurial the isMercurial value to set * @return the SiteSourceControlInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetGatewayImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetGatewayImpl.java index 6c43acd2c66a5..acc0c193dc538 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetGatewayImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoImpl.java index d1ce0e0043412..9b513829681b8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoInner.java index 696704f71c360..a28ab08b07fb3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfoInner.java @@ -35,7 +35,7 @@ public class SkuInfoInner { private SkuCapacity capacity; /** - * Get the resourceType value. + * Get resource type that this SKU applies to. * * @return the resourceType value */ @@ -44,7 +44,7 @@ public String resourceType() { } /** - * Set the resourceType value. + * Set resource type that this SKU applies to. * * @param resourceType the resourceType value to set * @return the SkuInfoInner object itself. @@ -55,7 +55,7 @@ public SkuInfoInner withResourceType(String resourceType) { } /** - * Get the sku value. + * Get name and tier of the SKU. * * @return the sku value */ @@ -64,7 +64,7 @@ public SkuDescription sku() { } /** - * Set the sku value. + * Set name and tier of the SKU. * * @param sku the sku value to set * @return the SkuInfoInner object itself. @@ -75,7 +75,7 @@ public SkuInfoInner withSku(SkuDescription sku) { } /** - * Get the capacity value. + * Get min, max, and default scale values of the SKU. * * @return the capacity value */ @@ -84,7 +84,7 @@ public SkuCapacity capacity() { } /** - * Set the capacity value. + * Set min, max, and default scale values of the SKU. * * @param capacity the capacity value to set * @return the SkuInfoInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfosInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfosInner.java index bd0042530a621..5e57abf7e88fb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfosInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SkuInfosInner.java @@ -29,7 +29,7 @@ public class SkuInfosInner { private List skus; /** - * Get the resourceType value. + * Get resource type that this SKU applies to. * * @return the resourceType value */ @@ -38,7 +38,7 @@ public String resourceType() { } /** - * Set the resourceType value. + * Set resource type that this SKU applies to. * * @param resourceType the resourceType value to set * @return the SkuInfosInner object itself. @@ -49,7 +49,7 @@ public SkuInfosInner withResourceType(String resourceType) { } /** - * Get the skus value. + * Get list of SKUs the subscription is able to use. * * @return the skus value */ @@ -58,7 +58,7 @@ public List skus() { } /** - * Set the skus value. + * Set list of SKUs the subscription is able to use. * * @param skus the skus value to set * @return the SkuInfosInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java index 3de7321b127aa..78f2a61c18aa5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java index 222018861ad6b..88c96aaf291e2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java @@ -31,7 +31,7 @@ public class SlotConfigNamesResourceInner extends ProxyOnlyResource { private List appSettingNames; /** - * Get the connectionStringNames value. + * Get list of connection string names. * * @return the connectionStringNames value */ @@ -40,7 +40,7 @@ public List connectionStringNames() { } /** - * Set the connectionStringNames value. + * Set list of connection string names. * * @param connectionStringNames the connectionStringNames value to set * @return the SlotConfigNamesResourceInner object itself. @@ -51,7 +51,7 @@ public SlotConfigNamesResourceInner withConnectionStringNames(List conne } /** - * Get the appSettingNames value. + * Get list of application settings names. * * @return the appSettingNames value */ @@ -60,7 +60,7 @@ public List appSettingNames() { } /** - * Set the appSettingNames value. + * Set list of application settings names. * * @param appSettingNames the appSettingNames value to set * @return the SlotConfigNamesResourceInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceImpl.java index ca25c3cb82490..62f136745a5e5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceInner.java index 3792991939e28..3cd67907b400e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotDifferenceInner.java @@ -61,7 +61,7 @@ public class SlotDifferenceInner extends ProxyOnlyResource { private String description; /** - * Get the level value. + * Get level of the difference: Information, Warning or Error. * * @return the level value */ @@ -70,7 +70,7 @@ public String level() { } /** - * Get the settingType value. + * Get the type of the setting: General, AppSetting or ConnectionString. * * @return the settingType value */ @@ -79,7 +79,7 @@ public String settingType() { } /** - * Get the diffRule value. + * Get rule that describes how to process the setting difference during a slot swap. * * @return the diffRule value */ @@ -88,7 +88,7 @@ public String diffRule() { } /** - * Get the settingName value. + * Get name of the setting. * * @return the settingName value */ @@ -97,7 +97,7 @@ public String settingName() { } /** - * Get the valueInCurrentSlot value. + * Get value of the setting in the current slot. * * @return the valueInCurrentSlot value */ @@ -106,7 +106,7 @@ public String valueInCurrentSlot() { } /** - * Get the valueInTargetSlot value. + * Get value of the setting in the target slot. * * @return the valueInTargetSlot value */ @@ -115,7 +115,7 @@ public String valueInTargetSlot() { } /** - * Get the description value. + * Get description of the setting difference. * * @return the description value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java index 131bda520fde0..94e07e72a23de 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java @@ -27,13 +27,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 @@ -42,7 +42,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 @@ -56,7 +56,7 @@ class SlotsImpl extends CreatableUpdatableImpl impl } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotImpl.java index 1998f0b52e3f3..27bd936c84190 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotInner.java index 846ae42061cfc..89df4fff4d912 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SnapshotInner.java @@ -24,7 +24,7 @@ public class SnapshotInner extends ProxyOnlyResource { private String time; /** - * Get the time value. + * Get the time the snapshot was taken. * * @return the time value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SourceControlInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SourceControlInner.java index f701f9356d825..b52f3ff7e8345 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SourceControlInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SourceControlInner.java @@ -43,7 +43,7 @@ public class SourceControlInner extends ProxyOnlyResource { private DateTime expirationTime; /** - * Get the token value. + * Get oAuth access token. * * @return the token value */ @@ -52,7 +52,7 @@ public String token() { } /** - * Set the token value. + * Set oAuth access token. * * @param token the token value to set * @return the SourceControlInner object itself. @@ -63,7 +63,7 @@ public SourceControlInner withToken(String token) { } /** - * Get the tokenSecret value. + * Get oAuth access token secret. * * @return the tokenSecret value */ @@ -72,7 +72,7 @@ public String tokenSecret() { } /** - * Set the tokenSecret value. + * Set oAuth access token secret. * * @param tokenSecret the tokenSecret value to set * @return the SourceControlInner object itself. @@ -83,7 +83,7 @@ public SourceControlInner withTokenSecret(String tokenSecret) { } /** - * Get the refreshToken value. + * Get oAuth refresh token. * * @return the refreshToken value */ @@ -92,7 +92,7 @@ public String refreshToken() { } /** - * Set the refreshToken value. + * Set oAuth refresh token. * * @param refreshToken the refreshToken value to set * @return the SourceControlInner object itself. @@ -103,7 +103,7 @@ public SourceControlInner withRefreshToken(String refreshToken) { } /** - * Get the expirationTime value. + * Get oAuth token expiration. * * @return the expirationTime value */ @@ -112,7 +112,7 @@ public DateTime expirationTime() { } /** - * Set the expirationTime value. + * Set oAuth token expiration. * * @param expirationTime the expirationTime value to set * @return the SourceControlInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityImpl.java index 9d380cfb93f52..ddc6e3886f02e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityInner.java index 4147338fe8670..0fd5bb4b5cc64 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StampCapacityInner.java @@ -90,7 +90,7 @@ public class StampCapacityInner { private Boolean isLinux; /** - * Get the name value. + * Get name of the stamp. * * @return the name value */ @@ -99,7 +99,7 @@ public String name() { } /** - * Set the name value. + * Set name of the stamp. * * @param name the name value to set * @return the StampCapacityInner object itself. @@ -110,7 +110,7 @@ public StampCapacityInner withName(String name) { } /** - * Get the availableCapacity value. + * Get available capacity (# of machines, bytes of storage etc...). * * @return the availableCapacity value */ @@ -119,7 +119,7 @@ public Long availableCapacity() { } /** - * Set the availableCapacity value. + * Set available capacity (# of machines, bytes of storage etc...). * * @param availableCapacity the availableCapacity value to set * @return the StampCapacityInner object itself. @@ -130,7 +130,7 @@ public StampCapacityInner withAvailableCapacity(Long availableCapacity) { } /** - * Get the totalCapacity value. + * Get total capacity (# of machines, bytes of storage etc...). * * @return the totalCapacity value */ @@ -139,7 +139,7 @@ public Long totalCapacity() { } /** - * Set the totalCapacity value. + * Set total capacity (# of machines, bytes of storage etc...). * * @param totalCapacity the totalCapacity value to set * @return the StampCapacityInner object itself. @@ -150,7 +150,7 @@ public StampCapacityInner withTotalCapacity(Long totalCapacity) { } /** - * Get the unit value. + * Get name of the unit. * * @return the unit value */ @@ -159,7 +159,7 @@ public String unit() { } /** - * Set the unit value. + * Set name of the unit. * * @param unit the unit value to set * @return the StampCapacityInner object itself. @@ -170,7 +170,7 @@ public StampCapacityInner withUnit(String unit) { } /** - * Get the computeMode value. + * Get shared/dedicated workers. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -179,7 +179,7 @@ public ComputeModeOptions computeMode() { } /** - * Set the computeMode value. + * Set shared/dedicated workers. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @param computeMode the computeMode value to set * @return the StampCapacityInner object itself. @@ -190,7 +190,7 @@ public StampCapacityInner withComputeMode(ComputeModeOptions computeMode) { } /** - * Get the workerSize value. + * Get size of the machines. Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'Default'. * * @return the workerSize value */ @@ -199,7 +199,7 @@ public WorkerSizeOptions workerSize() { } /** - * Set the workerSize value. + * Set size of the machines. Possible values include: 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3', 'Default'. * * @param workerSize the workerSize value to set * @return the StampCapacityInner object itself. @@ -210,7 +210,10 @@ public StampCapacityInner withWorkerSize(WorkerSizeOptions workerSize) { } /** - * Get the workerSizeId value. + * Get size ID of machines: + 0 - Small + 1 - Medium + 2 - Large. * * @return the workerSizeId value */ @@ -219,7 +222,10 @@ public Integer workerSizeId() { } /** - * Set the workerSizeId value. + * Set size ID of machines: + 0 - Small + 1 - Medium + 2 - Large. * * @param workerSizeId the workerSizeId value to set * @return the StampCapacityInner object itself. @@ -230,7 +236,8 @@ public StampCapacityInner withWorkerSizeId(Integer workerSizeId) { } /** - * Get the excludeFromCapacityAllocation value. + * Get if <code>true</code>, it includes basic apps. + Basic apps are not used for capacity allocation. * * @return the excludeFromCapacityAllocation value */ @@ -239,7 +246,8 @@ public Boolean excludeFromCapacityAllocation() { } /** - * Set the excludeFromCapacityAllocation value. + * Set if <code>true</code>, it includes basic apps. + Basic apps are not used for capacity allocation. * * @param excludeFromCapacityAllocation the excludeFromCapacityAllocation value to set * @return the StampCapacityInner object itself. @@ -250,7 +258,7 @@ public StampCapacityInner withExcludeFromCapacityAllocation(Boolean excludeFromC } /** - * Get the isApplicableForAllComputeModes value. + * Get <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>. * * @return the isApplicableForAllComputeModes value */ @@ -259,7 +267,7 @@ public Boolean isApplicableForAllComputeModes() { } /** - * Set the isApplicableForAllComputeModes value. + * Set <code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>. * * @param isApplicableForAllComputeModes the isApplicableForAllComputeModes value to set * @return the StampCapacityInner object itself. @@ -270,7 +278,7 @@ public StampCapacityInner withIsApplicableForAllComputeModes(Boolean isApplicabl } /** - * Get the siteMode value. + * Get shared or Dedicated. * * @return the siteMode value */ @@ -279,7 +287,7 @@ public String siteMode() { } /** - * Set the siteMode value. + * Set shared or Dedicated. * * @param siteMode the siteMode value to set * @return the StampCapacityInner object itself. @@ -290,7 +298,7 @@ public StampCapacityInner withSiteMode(String siteMode) { } /** - * Get the isLinux value. + * Get is this a linux stamp capacity. * * @return the isLinux value */ @@ -299,7 +307,7 @@ public Boolean isLinux() { } /** - * Set the isLinux value. + * Set is this a linux stamp capacity. * * @param isLinux the isLinux value to set * @return the StampCapacityInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseImpl.java index 0a86a68374aa3..9719fb392c909 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseInner.java index 246649908e381..d24b3d58b8f36 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StorageMigrationResponseInner.java @@ -25,7 +25,7 @@ public class StorageMigrationResponseInner extends ProxyOnlyResource { private String operationId; /** - * Get the operationId value. + * Get when server starts the migration process, it will return an operation ID identifying that particular migration operation. * * @return the operationId value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryImpl.java index e691098a81df1..da1376caed186 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryInner.java index 60fb20456d1d1..7ab949531b18e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/StringDictionaryInner.java @@ -23,7 +23,7 @@ public class StringDictionaryInner extends ProxyOnlyResource { private Map properties; /** - * Get the properties value. + * Get settings. * * @return the properties value */ @@ -32,7 +32,7 @@ public Map properties() { } /** - * Set the properties value. + * Set settings. * * @param properties the properties value to set * @return the StringDictionaryInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementImpl.java index ec89cc3b52a7f..9e4b1958221b9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementInner.java index 3bfc76981ac36..d0f99fbecbb58 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TldLegalAgreementInner.java @@ -39,7 +39,7 @@ public class TldLegalAgreementInner { private String url; /** - * Get the agreementKey value. + * Get unique identifier for the agreement. * * @return the agreementKey value */ @@ -48,7 +48,7 @@ public String agreementKey() { } /** - * Set the agreementKey value. + * Set unique identifier for the agreement. * * @param agreementKey the agreementKey value to set * @return the TldLegalAgreementInner object itself. @@ -59,7 +59,7 @@ public TldLegalAgreementInner withAgreementKey(String agreementKey) { } /** - * Get the title value. + * Get agreement title. * * @return the title value */ @@ -68,7 +68,7 @@ public String title() { } /** - * Set the title value. + * Set agreement title. * * @param title the title value to set * @return the TldLegalAgreementInner object itself. @@ -79,7 +79,7 @@ public TldLegalAgreementInner withTitle(String title) { } /** - * Get the content value. + * Get agreement details. * * @return the content value */ @@ -88,7 +88,7 @@ public String content() { } /** - * Set the content value. + * Set agreement details. * * @param content the content value to set * @return the TldLegalAgreementInner object itself. @@ -99,7 +99,7 @@ public TldLegalAgreementInner withContent(String content) { } /** - * Get the url value. + * Get uRL where a copy of the agreement details is hosted. * * @return the url value */ @@ -108,7 +108,7 @@ public String url() { } /** - * Set the url value. + * Set uRL where a copy of the agreement details is hosted. * * @param url the url value to set * @return the TldLegalAgreementInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainImpl.java index 98210d5a4ad9b..d8217e7542cbf 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainImpl.java @@ -15,16 +15,16 @@ 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; this.name = IdParsingUtils.getValueFromIdByName(inner.id(), "topLevelDomains"); } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainInner.java index 1e2ab718fb868..9884bb4b058fc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainInner.java @@ -25,7 +25,7 @@ public class TopLevelDomainInner extends ProxyOnlyResource { private Boolean privacy; /** - * Get the privacy value. + * Get if <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>. * * @return the privacy value */ @@ -34,7 +34,7 @@ public Boolean privacy() { } /** - * Set the privacy value. + * Set if <code>true</code>, then the top level domain supports domain privacy; otherwise, <code>false</code>. * * @param privacy the privacy value to set * @return the TopLevelDomainInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainsImpl.java index f7888cdaa05fe..dc2883c85b0bc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TopLevelDomainsImpl.java @@ -22,9 +22,9 @@ class TopLevelDomainsImpl extends WrapperImpl 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; } @@ -64,7 +64,8 @@ public Observable listAgreementsAsync(final String name, fina public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public TldLegalAgreement call(TldLegalAgreementInner inner) { return new TldLegalAgreementImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryImpl.java index df9b680cdd97b..658cc27a38be3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryInner.java index c7ef11ecc6a13..636d56eed9257 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredJobHistoryInner.java @@ -27,7 +27,7 @@ public class TriggeredJobHistoryInner extends ProxyOnlyResource { private List runs; /** - * Get the runs value. + * Get list of triggered web job runs. * * @return the runs value */ @@ -36,7 +36,7 @@ public List runs() { } /** - * Set the runs value. + * Set list of triggered web job runs. * * @param runs the runs value to set * @return the TriggeredJobHistoryInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredWebJobImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredWebJobImpl.java index f9d76afe0f634..8b08235190e7d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/TriggeredWebJobImpl.java +++ b/appservice/resource-manager/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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -32,7 +32,7 @@ class TriggeredWebJobImpl extends IndexableRefreshableWrapperImpl settings; /** - * Get the latestRun value. + * Get latest job run information. * * @return the latestRun value */ @@ -90,7 +90,7 @@ public TriggeredJobRun latestRun() { } /** - * Set the latestRun value. + * Set latest job run information. * * @param latestRun the latestRun value to set * @return the TriggeredWebJobInner object itself. @@ -101,7 +101,7 @@ public TriggeredWebJobInner withLatestRun(TriggeredJobRun latestRun) { } /** - * Get the historyUrl value. + * Get history URL. * * @return the historyUrl value */ @@ -110,7 +110,7 @@ public String historyUrl() { } /** - * Set the historyUrl value. + * Set history URL. * * @param historyUrl the historyUrl value to set * @return the TriggeredWebJobInner object itself. @@ -121,7 +121,7 @@ public TriggeredWebJobInner withHistoryUrl(String historyUrl) { } /** - * Get the schedulerLogsUrl value. + * Get scheduler Logs URL. * * @return the schedulerLogsUrl value */ @@ -130,7 +130,7 @@ public String schedulerLogsUrl() { } /** - * Set the schedulerLogsUrl value. + * Set scheduler Logs URL. * * @param schedulerLogsUrl the schedulerLogsUrl value to set * @return the TriggeredWebJobInner object itself. @@ -141,7 +141,7 @@ public TriggeredWebJobInner withSchedulerLogsUrl(String schedulerLogsUrl) { } /** - * Get the runCommand value. + * Get run command. * * @return the runCommand value */ @@ -150,7 +150,7 @@ public String runCommand() { } /** - * Set the runCommand value. + * Set run command. * * @param runCommand the runCommand value to set * @return the TriggeredWebJobInner object itself. @@ -161,7 +161,7 @@ public TriggeredWebJobInner withRunCommand(String runCommand) { } /** - * Get the url value. + * Get job URL. * * @return the url value */ @@ -170,7 +170,7 @@ public String url() { } /** - * Set the url value. + * Set job URL. * * @param url the url value to set * @return the TriggeredWebJobInner object itself. @@ -181,7 +181,7 @@ public TriggeredWebJobInner withUrl(String url) { } /** - * Get the extraInfoUrl value. + * Get extra Info URL. * * @return the extraInfoUrl value */ @@ -190,7 +190,7 @@ public String extraInfoUrl() { } /** - * Set the extraInfoUrl value. + * Set extra Info URL. * * @param extraInfoUrl the extraInfoUrl value to set * @return the TriggeredWebJobInner object itself. @@ -201,7 +201,7 @@ public TriggeredWebJobInner withExtraInfoUrl(String extraInfoUrl) { } /** - * Get the webJobType value. + * Get job type. Possible values include: 'Continuous', 'Triggered'. * * @return the webJobType value */ @@ -210,7 +210,7 @@ public WebJobType webJobType() { } /** - * Set the webJobType value. + * Set job type. Possible values include: 'Continuous', 'Triggered'. * * @param webJobType the webJobType value to set * @return the TriggeredWebJobInner object itself. @@ -221,7 +221,7 @@ public TriggeredWebJobInner withWebJobType(WebJobType webJobType) { } /** - * Get the error value. + * Get error information. * * @return the error value */ @@ -230,7 +230,7 @@ public String error() { } /** - * Set the error value. + * Set error information. * * @param error the error value to set * @return the TriggeredWebJobInner object itself. @@ -241,7 +241,7 @@ public TriggeredWebJobInner withError(String error) { } /** - * Get the usingSdk value. + * Get using SDK?. * * @return the usingSdk value */ @@ -250,7 +250,7 @@ public Boolean usingSdk() { } /** - * Set the usingSdk value. + * Set using SDK?. * * @param usingSdk the usingSdk value to set * @return the TriggeredWebJobInner object itself. @@ -261,7 +261,7 @@ public TriggeredWebJobInner withUsingSdk(Boolean usingSdk) { } /** - * Get the settings value. + * Get job settings. * * @return the settings value */ @@ -270,7 +270,7 @@ public Map settings() { } /** - * Set the settings value. + * Set job settings. * * @param settings the settings value to set * @return the TriggeredWebJobInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UsageImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UsageImpl.java index 8493fc14dd946..2d2ded348b185 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UsageImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UsageImpl.java @@ -14,14 +14,14 @@ import org.joda.time.DateTime; class UsageImpl extends WrapperImpl 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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UsageInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UsageInner.java index 3582d58ccb748..deac39aa97e33 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UsageInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UsageInner.java @@ -69,7 +69,7 @@ public class UsageInner extends ProxyOnlyResource { private String siteMode; /** - * Get the displayName value. + * Get friendly name shown in the UI. * * @return the displayName value */ @@ -78,7 +78,7 @@ public String displayName() { } /** - * Get the resourceName value. + * Get name of the quota resource. * * @return the resourceName value */ @@ -87,7 +87,7 @@ public String resourceName() { } /** - * Get the unit value. + * Get units of measurement for the quota resource. * * @return the unit value */ @@ -96,7 +96,7 @@ public String unit() { } /** - * Get the currentValue value. + * Get the current value of the resource counter. * * @return the currentValue value */ @@ -105,7 +105,7 @@ public Long currentValue() { } /** - * Get the limit value. + * Get the resource limit. * * @return the limit value */ @@ -114,7 +114,7 @@ public Long limit() { } /** - * Get the nextResetTime value. + * Get next reset time for the resource counter. * * @return the nextResetTime value */ @@ -123,7 +123,7 @@ public DateTime nextResetTime() { } /** - * Get the computeMode value. + * Get compute mode used for this usage. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -132,7 +132,7 @@ public ComputeModeOptions computeMode() { } /** - * Get the siteMode value. + * Get site mode used for this usage. * * @return the siteMode value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserImpl.java index 4022c0003bad0..5676ae6c48b57 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserImpl.java +++ b/appservice/resource-manager/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/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserInner.java index 78d72e657c519..ecd0a93c45881 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserInner.java @@ -48,7 +48,7 @@ public class UserInner extends ProxyOnlyResource { private String scmUri; /** - * Get the publishingUserName value. + * Get username used for publishing. * * @return the publishingUserName value */ @@ -57,7 +57,7 @@ public String publishingUserName() { } /** - * Set the publishingUserName value. + * Set username used for publishing. * * @param publishingUserName the publishingUserName value to set * @return the UserInner object itself. @@ -68,7 +68,7 @@ public UserInner withPublishingUserName(String publishingUserName) { } /** - * Get the publishingPassword value. + * Get password used for publishing. * * @return the publishingPassword value */ @@ -77,7 +77,7 @@ public String publishingPassword() { } /** - * Set the publishingPassword value. + * Set password used for publishing. * * @param publishingPassword the publishingPassword value to set * @return the UserInner object itself. @@ -88,7 +88,7 @@ public UserInner withPublishingPassword(String publishingPassword) { } /** - * Get the publishingPasswordHash value. + * Get password hash used for publishing. * * @return the publishingPasswordHash value */ @@ -97,7 +97,7 @@ public String publishingPasswordHash() { } /** - * Set the publishingPasswordHash value. + * Set password hash used for publishing. * * @param publishingPasswordHash the publishingPasswordHash value to set * @return the UserInner object itself. @@ -108,7 +108,7 @@ public UserInner withPublishingPasswordHash(String publishingPasswordHash) { } /** - * Get the publishingPasswordHashSalt value. + * Get password hash salt used for publishing. * * @return the publishingPasswordHashSalt value */ @@ -117,7 +117,7 @@ public String publishingPasswordHashSalt() { } /** - * Set the publishingPasswordHashSalt value. + * Set password hash salt used for publishing. * * @param publishingPasswordHashSalt the publishingPasswordHashSalt value to set * @return the UserInner object itself. @@ -128,7 +128,7 @@ public UserInner withPublishingPasswordHashSalt(String publishingPasswordHashSal } /** - * Get the scmUri value. + * Get url of SCM site. * * @return the scmUri value */ @@ -137,7 +137,7 @@ public String scmUri() { } /** - * Set the scmUri value. + * Set url of SCM site. * * @param scmUri the scmUri value to set * @return the UserInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ValidateResponseInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ValidateResponseInner.java index a6b4619925702..8fed632b601d0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ValidateResponseInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ValidateResponseInner.java @@ -28,7 +28,7 @@ public class ValidateResponseInner { private ValidateResponseError error; /** - * Get the status value. + * Get result of validation. * * @return the status value */ @@ -37,7 +37,7 @@ public String status() { } /** - * Set the status value. + * Set result of validation. * * @param status the status value to set * @return the ValidateResponseInner object itself. @@ -48,7 +48,7 @@ public ValidateResponseInner withStatus(String status) { } /** - * Get the error value. + * Get error details for the case when validation fails. * * @return the error value */ @@ -57,7 +57,7 @@ public ValidateResponseError error() { } /** - * Set the error value. + * Set error details for the case when validation fails. * * @param error the error value to set * @return the ValidateResponseInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetGatewayInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetGatewayInner.java index 404ae95571256..52784737644eb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetGatewayInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetGatewayInner.java @@ -31,7 +31,7 @@ public class VnetGatewayInner extends ProxyOnlyResource { private String vpnPackageUri; /** - * Get the vnetName value. + * Get the Virtual Network name. * * @return the vnetName value */ @@ -40,7 +40,7 @@ public String vnetName() { } /** - * Set the vnetName value. + * Set the Virtual Network name. * * @param vnetName the vnetName value to set * @return the VnetGatewayInner object itself. @@ -51,7 +51,7 @@ public VnetGatewayInner withVnetName(String vnetName) { } /** - * Get the vpnPackageUri value. + * Get the URI where the VPN package can be downloaded. * * @return the vpnPackageUri value */ @@ -60,7 +60,7 @@ public String vpnPackageUri() { } /** - * Set the vpnPackageUri value. + * Set the URI where the VPN package can be downloaded. * * @param vpnPackageUri the vpnPackageUri value to set * @return the VnetGatewayInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetInfoInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetInfoInner.java index eb59b2002e870..fb5c52f0698bb 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetInfoInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetInfoInner.java @@ -59,7 +59,7 @@ public class VnetInfoInner extends ProxyOnlyResource { private String dnsServers; /** - * Get the vnetResourceId value. + * Get the Virtual Network's resource ID. * * @return the vnetResourceId value */ @@ -68,7 +68,7 @@ public String vnetResourceId() { } /** - * Set the vnetResourceId value. + * Set the Virtual Network's resource ID. * * @param vnetResourceId the vnetResourceId value to set * @return the VnetInfoInner object itself. @@ -79,7 +79,7 @@ public VnetInfoInner withVnetResourceId(String vnetResourceId) { } /** - * Get the certThumbprint value. + * Get the client certificate thumbprint. * * @return the certThumbprint value */ @@ -88,7 +88,8 @@ public String certThumbprint() { } /** - * Get the certBlob value. + * Get a certificate file (.cer) blob containing the public key of the private key used to authenticate a + Point-To-Site VPN connection. * * @return the certBlob value */ @@ -97,7 +98,8 @@ public byte[] certBlob() { } /** - * Set the certBlob value. + * Set a certificate file (.cer) blob containing the public key of the private key used to authenticate a + Point-To-Site VPN connection. * * @param certBlob the certBlob value to set * @return the VnetInfoInner object itself. @@ -108,7 +110,7 @@ public VnetInfoInner withCertBlob(byte[] certBlob) { } /** - * Get the routes value. + * Get the routes that this Virtual Network connection uses. * * @return the routes value */ @@ -117,7 +119,7 @@ public List routes() { } /** - * Get the resyncRequired value. + * Get <code>true</code> if a resync is required; otherwise, <code>false</code>. * * @return the resyncRequired value */ @@ -126,7 +128,7 @@ public Boolean resyncRequired() { } /** - * Get the dnsServers value. + * Get dNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. * * @return the dnsServers value */ @@ -135,7 +137,7 @@ public String dnsServers() { } /** - * Set the dnsServers value. + * Set dNS servers to be used by this Virtual Network. This should be a comma-separated list of IP addresses. * * @param dnsServers the dnsServers value to set * @return the VnetInfoInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetRouteImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetRouteImpl.java index b2c5ea1e267ee..70769593ee03b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetRouteImpl.java +++ b/appservice/resource-manager/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 failedTests; /** - * Get the failed value. + * Get a flag describing whether or not validation failed. * * @return the failed value */ @@ -41,7 +41,7 @@ public Boolean failed() { } /** - * Set the failed value. + * Set a flag describing whether or not validation failed. * * @param failed the failed value to set * @return the VnetValidationFailureDetailsInner object itself. @@ -52,7 +52,7 @@ public VnetValidationFailureDetailsInner withFailed(Boolean failed) { } /** - * Get the failedTests value. + * Get a list of tests that failed in the validation. * * @return the failedTests value */ @@ -61,7 +61,7 @@ public List failedTests() { } /** - * Set the failedTests value. + * Set a list of tests that failed in the validation. * * @param failedTests the failedTests value to set * @return the VnetValidationFailureDetailsInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java index 934eae7456e74..6c8d5284410a2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java @@ -76,14 +76,14 @@ import com.microsoft.azure.management.appservice.v2018_02_01.WebJob; class WebAppsImpl extends WrapperImpl 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; } @@ -323,7 +323,7 @@ private Observable getContinuousWebJobInnerUsingWebAppsIn private Observable getDeploymentInnerUsingWebAppsInnerAsync(String id) { String resourceGroupName = IdParsingUtils.getValueFromIdByName(id, "resourceGroups"); String name = IdParsingUtils.getValueFromIdByName(id, "sites"); - String id = IdParsingUtils.getValueFromIdByName(id, "deployments"); + String idParameter = IdParsingUtils.getValueFromIdByName(id, "deployments"); WebAppsInner client = this.inner(); return client.getDeploymentAsync(resourceGroupName, name, id); } @@ -557,7 +557,8 @@ public Observable listConfigurationsAsync(final String resou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteConfigResource call(SiteConfigResourceInner inner) { return new SiteConfigResourceImpl(inner, manager()); @@ -850,7 +851,8 @@ public Observable listSlotDifferencesFromProductionAsync(final S public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SlotDifference call(SlotDifferenceInner inner) { return new SlotDifferenceImpl(inner, manager()); @@ -963,7 +965,8 @@ public Observable listBackupsSlotAsync(final String resourceGroupNam public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public BackupItem call(BackupItemInner inner) { return new BackupItemImpl(inner, manager()); @@ -1334,7 +1337,8 @@ public Observable listConfigurationSnapshotInfoAs public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteConfigurationSnapshotInfo call(SiteConfigurationSnapshotInfoInner inner) { return new SiteConfigurationSnapshotInfoImpl(inner, manager()); @@ -1369,7 +1373,8 @@ public Observable listConfigurationSnapshotInfoSl public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteConfigurationSnapshotInfo call(SiteConfigurationSnapshotInfoInner inner) { return new SiteConfigurationSnapshotInfoImpl(inner, manager()); @@ -1404,7 +1409,8 @@ public Observable listSnapshotsSlotAsync(final String resourceGroupNam public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Snapshot call(SnapshotInner inner) { return new SnapshotImpl(inner, manager()); @@ -1481,7 +1487,8 @@ public Observable listContinuousWebJobsSlotAsync(final String public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ContinuousWebJob call(ContinuousWebJobInner inner) { return new ContinuousWebJobImpl(inner, manager()); @@ -1576,7 +1583,8 @@ public Observable listDeploymentsSlotAsync(final String resourceGrou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Deployment call(DeploymentInner inner) { return new DeploymentImpl(inner, manager()); @@ -1671,7 +1679,8 @@ public Observable listDomainOwnershipIdentifiersSlotAsync(final Stri public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public Identifier call(IdentifierInner inner) { return new IdentifierImpl(inner, manager()); @@ -1922,7 +1931,8 @@ public Observable listInstanceFunctionsSlotAsync(final String public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public FunctionEnvelope call(FunctionEnvelopeInner inner) { return new FunctionEnvelopeImpl(inner, manager()); @@ -2017,7 +2027,8 @@ public Observable listHostNameBindingsSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public HostNameBinding call(HostNameBindingInner inner) { return new HostNameBindingImpl(inner, manager()); @@ -2196,7 +2207,8 @@ public Observable listInstanceIdentifiersSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteInstance call(SiteInstanceInner inner) { return new SiteInstanceImpl(inner, manager()); @@ -2255,7 +2267,8 @@ public Observable listProcessesAsync(final String resourceGroupName public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessInfo call(ProcessInfoInner inner) { return new ProcessInfoImpl(inner, manager()); @@ -2290,7 +2303,8 @@ public Observable listInstanceProcessesSlotAsync(final String resou public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessInfo call(ProcessInfoInner inner) { return new ProcessInfoImpl(inner, manager()); @@ -2325,7 +2339,8 @@ public Observable listProcessesSlotAsync(final String resourceGroup public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessInfo call(ProcessInfoInner inner) { return new ProcessInfoImpl(inner, manager()); @@ -2390,7 +2405,8 @@ public Observable listProcessModulesAsync(final String resour public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessModuleInfo call(ProcessModuleInfoInner inner) { return new ProcessModuleInfoImpl(inner, manager()); @@ -2419,7 +2435,8 @@ public Observable listInstanceProcessModulesSlotAsync(final S public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessModuleInfo call(ProcessModuleInfoInner inner) { return new ProcessModuleInfoImpl(inner, manager()); @@ -2448,7 +2465,8 @@ public Observable listProcessModulesSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessModuleInfo call(ProcessModuleInfoInner inner) { return new ProcessModuleInfoImpl(inner, manager()); @@ -2507,7 +2525,8 @@ public Observable listProcessThreadsAsync(final String resour public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessThreadInfo call(ProcessThreadInfoInner inner) { return new ProcessThreadInfoImpl(inner, manager()); @@ -2536,7 +2555,8 @@ public Observable listInstanceProcessThreadsSlotAsync(final S public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessThreadInfo call(ProcessThreadInfoInner inner) { return new ProcessThreadInfoImpl(inner, manager()); @@ -2565,7 +2585,8 @@ public Observable listProcessThreadsSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public ProcessThreadInfo call(ProcessThreadInfoInner inner) { return new ProcessThreadInfoImpl(inner, manager()); @@ -2612,7 +2633,8 @@ public Observable listMetricDefinitionsSlotAsync(f public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetricDefinition call(ResourceMetricDefinitionInner inner) { return new SiteResourceMetricDefinitionImpl(inner, manager()); @@ -2647,7 +2669,8 @@ public Observable listMetricsSlotAsync(final String resource public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteResourceMetric call(ResourceMetricInner inner) { return new SiteResourceMetricImpl(inner, manager()); @@ -2730,7 +2753,8 @@ public Observable listPerfMonCountersSlotAsync(final String res public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public PerfMonResponse call(PerfMonResponseInner inner) { return new PerfMonResponseImpl(inner, manager()); @@ -2903,7 +2927,8 @@ public Observable listPublicCertificatesSlotAsync(final Strin public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public PublicCertificate call(PublicCertificateInner inner) { return new PublicCertificateImpl(inner, manager()); @@ -2986,7 +3011,8 @@ public Observable listSiteExtensionsSlotAsync(final String re public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteExtensionInfo call(SiteExtensionInfoInner inner) { return new SiteExtensionInfoImpl(inner, manager()); @@ -3099,7 +3125,8 @@ public Observable listConfigurationsSlotAsync(final String r public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteConfigResource call(SiteConfigResourceInner inner) { return new SiteConfigResourceImpl(inner, manager()); @@ -3368,7 +3395,8 @@ public Observable listSlotDifferencesSlotAsync(final String reso public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SlotDifference call(SlotDifferenceInner inner) { return new SlotDifferenceImpl(inner, manager()); @@ -3535,7 +3563,8 @@ public Observable listTriggeredWebJobHistorySlotAsync(final public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public TriggeredJobHistory call(TriggeredJobHistoryInner inner) { return new TriggeredJobHistoryImpl(inner, manager()); @@ -3570,7 +3599,8 @@ public Observable listTriggeredWebJobsAsync(final String resour public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public TriggeredWebJob call(TriggeredWebJobInner inner) { return new TriggeredWebJobImpl(inner, manager()); @@ -3605,7 +3635,8 @@ public Observable listTriggeredWebJobHistoryAsync(final Str public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public TriggeredJobHistory call(TriggeredJobHistoryInner inner) { return new TriggeredJobHistoryImpl(inner, manager()); @@ -3658,7 +3689,8 @@ public Observable listUsagesAsync(final String resourceGroupN public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteCsmUsageQuota call(CsmUsageQuotaInner inner) { return new SiteCsmUsageQuotaImpl(inner, manager()); @@ -3711,7 +3743,8 @@ public Observable listVnetConnectionsAsync(String resourceGroupNam public Observable call(List innerList) { return Observable.from(innerList); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public SiteVnetInfo call(VnetInfoInner inner) { return new SiteVnetInfoImpl(inner, manager()); @@ -3848,7 +3881,8 @@ public Observable listWebJobsAsync(final String resourceGroupName, final public Iterable call(Page page) { return page.items(); } - }) .map(new Func1() { + }) + .map(new Func1() { @Override public WebJob call(WebJobInner inner) { return new WebJobImpl(inner, manager()); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobImpl.java index 39756c0dd2d6f..a86cfcedd1f59 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobImpl.java +++ b/appservice/resource-manager/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; this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); @@ -31,7 +31,7 @@ class WebJobImpl extends IndexableRefreshableWrapperImpl im } @Override - public AppServiceManager manager() { + public CertificateRegistrationManager manager() { return this.manager; } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobInner.java index 43fa96cc0418b..2e0037a4f6d9b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebJobInner.java @@ -62,7 +62,7 @@ public class WebJobInner extends ProxyOnlyResource { private Map settings; /** - * Get the runCommand value. + * Get run command. * * @return the runCommand value */ @@ -71,7 +71,7 @@ public String runCommand() { } /** - * Set the runCommand value. + * Set run command. * * @param runCommand the runCommand value to set * @return the WebJobInner object itself. @@ -82,7 +82,7 @@ public WebJobInner withRunCommand(String runCommand) { } /** - * Get the url value. + * Get job URL. * * @return the url value */ @@ -91,7 +91,7 @@ public String url() { } /** - * Set the url value. + * Set job URL. * * @param url the url value to set * @return the WebJobInner object itself. @@ -102,7 +102,7 @@ public WebJobInner withUrl(String url) { } /** - * Get the extraInfoUrl value. + * Get extra Info URL. * * @return the extraInfoUrl value */ @@ -111,7 +111,7 @@ public String extraInfoUrl() { } /** - * Set the extraInfoUrl value. + * Set extra Info URL. * * @param extraInfoUrl the extraInfoUrl value to set * @return the WebJobInner object itself. @@ -122,7 +122,7 @@ public WebJobInner withExtraInfoUrl(String extraInfoUrl) { } /** - * Get the webJobType value. + * Get job type. Possible values include: 'Continuous', 'Triggered'. * * @return the webJobType value */ @@ -131,7 +131,7 @@ public WebJobType webJobType() { } /** - * Set the webJobType value. + * Set job type. Possible values include: 'Continuous', 'Triggered'. * * @param webJobType the webJobType value to set * @return the WebJobInner object itself. @@ -142,7 +142,7 @@ public WebJobInner withWebJobType(WebJobType webJobType) { } /** - * Get the error value. + * Get error information. * * @return the error value */ @@ -151,7 +151,7 @@ public String error() { } /** - * Set the error value. + * Set error information. * * @param error the error value to set * @return the WebJobInner object itself. @@ -162,7 +162,7 @@ public WebJobInner withError(String error) { } /** - * Get the usingSdk value. + * Get using SDK?. * * @return the usingSdk value */ @@ -171,7 +171,7 @@ public Boolean usingSdk() { } /** - * Set the usingSdk value. + * Set using SDK?. * * @param usingSdk the usingSdk value to set * @return the WebJobInner object itself. @@ -182,7 +182,7 @@ public WebJobInner withUsingSdk(Boolean usingSdk) { } /** - * Get the settings value. + * Get job settings. * * @return the settings value */ @@ -191,7 +191,7 @@ public Map settings() { } /** - * Set the settings value. + * Set job settings. * * @param settings the settings value to set * @return the WebJobInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolResourceInner.java index a806c2f324bab..e94f474263f5b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolResourceInner.java @@ -58,7 +58,7 @@ public class WorkerPoolResourceInner extends ProxyOnlyResource { private SkuDescription sku; /** - * Get the workerSizeId value. + * Get worker size ID for referencing this worker pool. * * @return the workerSizeId value */ @@ -67,7 +67,7 @@ public Integer workerSizeId() { } /** - * Set the workerSizeId value. + * Set worker size ID for referencing this worker pool. * * @param workerSizeId the workerSizeId value to set * @return the WorkerPoolResourceInner object itself. @@ -78,7 +78,7 @@ public WorkerPoolResourceInner withWorkerSizeId(Integer workerSizeId) { } /** - * Get the computeMode value. + * Get shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @return the computeMode value */ @@ -87,7 +87,7 @@ public ComputeModeOptions computeMode() { } /** - * Set the computeMode value. + * Set shared or dedicated app hosting. Possible values include: 'Shared', 'Dedicated', 'Dynamic'. * * @param computeMode the computeMode value to set * @return the WorkerPoolResourceInner object itself. @@ -98,7 +98,7 @@ public WorkerPoolResourceInner withComputeMode(ComputeModeOptions computeMode) { } /** - * Get the workerSize value. + * Get vM size of the worker pool instances. * * @return the workerSize value */ @@ -107,7 +107,7 @@ public String workerSize() { } /** - * Set the workerSize value. + * Set vM size of the worker pool instances. * * @param workerSize the workerSize value to set * @return the WorkerPoolResourceInner object itself. @@ -118,7 +118,7 @@ public WorkerPoolResourceInner withWorkerSize(String workerSize) { } /** - * Get the workerCount value. + * Get number of instances in the worker pool. * * @return the workerCount value */ @@ -127,7 +127,7 @@ public Integer workerCount() { } /** - * Set the workerCount value. + * Set number of instances in the worker pool. * * @param workerCount the workerCount value to set * @return the WorkerPoolResourceInner object itself. @@ -138,7 +138,7 @@ public WorkerPoolResourceInner withWorkerCount(Integer workerCount) { } /** - * Get the instanceNames value. + * Get names of all instances in the worker pool (read only). * * @return the instanceNames value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolsImpl.java index 042f321a0dbb8..03a5ab9286301 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WorkerPoolsImpl.java +++ b/appservice/resource-manager/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 Date: Wed, 18 Jul 2018 12:16:16 -0700 Subject: [PATCH 02/22] Generated from 0ba75505cddaddce442eb2172170ccd408e6cfd5 (#2223) Update default package version for WebSiteManagementClient --- .../AppServiceEnvironmentPatchResource.java | 53 + .../AppServiceEnvironmentResource.java | 54 +- .../v2018_02_01/AppServiceEnvironments.java | 11 - .../v2018_02_01/AppServicePlan.java | 29 +- .../AppServicePlanPatchResource.java | 26 + .../v2018_02_01/DataTableResponseColumn.java | 95 + .../v2018_02_01/DataTableResponseObject.java | 96 + .../v2018_02_01/DetectorDefinition.java | 2 +- .../appservice/v2018_02_01/DetectorInfo.java | 77 + .../v2018_02_01/DetectorResponse.java | 53 + .../v2018_02_01/DiagnosticData.java | 69 + .../appservice/v2018_02_01/Diagnostics.java | 159 +- .../HostingEnvironmentAppServicePlan.java | 5 + .../v2018_02_01/HostingEnvironmentSite.java | 5 - .../appservice/v2018_02_01/IpFilterTag.java | 53 + .../v2018_02_01/IpSecurityRestriction.java | 140 + .../v2018_02_01/LogSpecification.java | 95 + .../appservice/v2018_02_01/PremierAddOn.java | 12 +- .../PremierAddOnPatchResource.java | 149 ++ .../appservice/v2018_02_01/Rendering.java | 96 + .../appservice/v2018_02_01/RenderingType.java | 59 + .../v2018_02_01/ServerfarmSite.java | 5 - .../v2018_02_01/ServiceSpecification.java | 26 + .../appservice/v2018_02_01/SiteConfig.java | 45 +- .../v2018_02_01/SiteConfigResource.java | 9 +- .../v2018_02_01/SitePatchResource.java | 27 - .../appservice/v2018_02_01/Sites.java | 29 +- .../appservice/v2018_02_01/Slots.java | 29 +- .../v2018_02_01/SwiftVirtualNetwork.java | 50 + .../v2018_02_01/ValidateRequest.java | 27 + .../appservice/v2018_02_01/WebApps.java | 171 +- .../AppServiceEnvironmentInner.java | 53 + .../AppServiceEnvironmentResourceImpl.java | 30 + .../AppServiceEnvironmentResourceInner.java | 53 + .../AppServiceEnvironmentsImpl.java | 6 - .../AppServiceEnvironmentsInner.java | 94 - .../implementation/AppServicePlanImpl.java | 15 + .../implementation/AppServicePlanInner.java | 26 + .../implementation/BillingMeterInner.java | 26 + .../implementation/DeletedSiteInner.java | 13 +- .../DetectorDefinitionImpl.java | 6 +- .../implementation/DetectorResponseImpl.java | 75 + .../implementation/DetectorResponseInner.java | 75 + .../implementation/DiagnosticsImpl.java | 217 +- .../implementation/DiagnosticsInner.java | 2316 +++++++++++++---- .../HostingEnvironmentAppServicePlanImpl.java | 7 +- .../HostingEnvironmentSiteImpl.java | 6 - .../implementation/PremierAddOnImpl.java | 72 +- .../implementation/ServerfarmSiteImpl.java | 6 - .../SiteConfigResourceImpl.java | 9 +- .../SiteConfigResourceInner.java | 45 +- .../v2018_02_01/implementation/SiteInner.java | 28 - .../v2018_02_01/implementation/SitesImpl.java | 16 - .../v2018_02_01/implementation/SlotsImpl.java | 16 - .../SwiftVirtualNetworkImpl.java | 56 + .../SwiftVirtualNetworkInner.java | 76 + .../implementation/WebAppsImpl.java | 148 +- .../implementation/WebAppsInner.java | 1560 +++++++++-- .../WebSiteManagementClientImpl.java | 60 +- 59 files changed, 5642 insertions(+), 1224 deletions(-) create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataTableResponseColumn.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataTableResponseObject.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorInfo.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorResponse.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticData.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpFilterTag.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/LogSpecification.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOnPatchResource.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Rendering.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RenderingType.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SwiftVirtualNetwork.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseImpl.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseInner.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkImpl.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkInner.java diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java index 85e4aa56be023..dbe0816480309 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java @@ -259,6 +259,19 @@ public class AppServiceEnvironmentPatchResource extends ProxyOnlyResource { @JsonProperty(value = "properties.hasLinuxWorkers") private Boolean hasLinuxWorkers; + /** + * Key Vault ID for ILB App Service Environment default SSL certificate. + */ + @JsonProperty(value = "properties.sslCertKeyVaultId") + private String sslCertKeyVaultId; + + /** + * Key Vault Secret Name for ILB App Service Environment default SSL + * certificate. + */ + @JsonProperty(value = "properties.sslCertKeyVaultSecretName") + private String sslCertKeyVaultSecretName; + /** * Get name of the App Service Environment. * @@ -816,4 +829,44 @@ public AppServiceEnvironmentPatchResource withHasLinuxWorkers(Boolean hasLinuxWo return this; } + /** + * Get key Vault ID for ILB App Service Environment default SSL certificate. + * + * @return the sslCertKeyVaultId value + */ + public String sslCertKeyVaultId() { + return this.sslCertKeyVaultId; + } + + /** + * Set key Vault ID for ILB App Service Environment default SSL certificate. + * + * @param sslCertKeyVaultId the sslCertKeyVaultId value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withSslCertKeyVaultId(String sslCertKeyVaultId) { + this.sslCertKeyVaultId = sslCertKeyVaultId; + return this; + } + + /** + * Get key Vault Secret Name for ILB App Service Environment default SSL certificate. + * + * @return the sslCertKeyVaultSecretName value + */ + public String sslCertKeyVaultSecretName() { + return this.sslCertKeyVaultSecretName; + } + + /** + * Set key Vault Secret Name for ILB App Service Environment default SSL certificate. + * + * @param sslCertKeyVaultSecretName the sslCertKeyVaultSecretName value to set + * @return the AppServiceEnvironmentPatchResource object itself. + */ + public AppServiceEnvironmentPatchResource withSslCertKeyVaultSecretName(String sslCertKeyVaultSecretName) { + this.sslCertKeyVaultSecretName = sslCertKeyVaultSecretName; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentResource.java index a3fd518cff586..d3ef83016dbe1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentResource.java @@ -161,6 +161,16 @@ public interface AppServiceEnvironmentResource extends HasInner networkAccessControlList); } + /** + * The stage of the appserviceenvironmentresource update allowing to specify SslCertKeyVaultId. + */ + interface WithSslCertKeyVaultId { + /** + * Specifies sslCertKeyVaultId. + */ + WithCreate withSslCertKeyVaultId(String sslCertKeyVaultId); + } + + /** + * The stage of the appserviceenvironmentresource update allowing to specify SslCertKeyVaultSecretName. + */ + interface WithSslCertKeyVaultSecretName { + /** + * Specifies sslCertKeyVaultSecretName. + */ + WithCreate withSslCertKeyVaultSecretName(String sslCertKeyVaultSecretName); + } + /** * The stage of the appserviceenvironmentresource update allowing to specify Suspended. */ @@ -453,13 +483,13 @@ interface WithVnetSubnetName { * the resource to be created (via {@link WithCreate#create()}), but also allows * for any other optional settings to be specified. */ - interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithApiManagementAccountId, DefinitionStages.WithClusterSettings, DefinitionStages.WithDnsSuffix, DefinitionStages.WithDynamicCacheEnabled, DefinitionStages.WithFrontEndScaleFactor, DefinitionStages.WithHasLinuxWorkers, DefinitionStages.WithInternalLoadBalancingMode, DefinitionStages.WithIpsslAddressCount, DefinitionStages.WithKind, DefinitionStages.WithMultiRoleCount, DefinitionStages.WithMultiSize, DefinitionStages.WithNetworkAccessControlList, DefinitionStages.WithSuspended, DefinitionStages.WithUserWhitelistedIpRanges, DefinitionStages.WithVnetName, DefinitionStages.WithVnetResourceGroupName, DefinitionStages.WithVnetSubnetName { + interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithApiManagementAccountId, DefinitionStages.WithClusterSettings, DefinitionStages.WithDnsSuffix, DefinitionStages.WithDynamicCacheEnabled, DefinitionStages.WithFrontEndScaleFactor, DefinitionStages.WithHasLinuxWorkers, DefinitionStages.WithInternalLoadBalancingMode, DefinitionStages.WithIpsslAddressCount, DefinitionStages.WithKind, DefinitionStages.WithMultiRoleCount, DefinitionStages.WithMultiSize, DefinitionStages.WithNetworkAccessControlList, DefinitionStages.WithSslCertKeyVaultId, DefinitionStages.WithSslCertKeyVaultSecretName, DefinitionStages.WithSuspended, DefinitionStages.WithUserWhitelistedIpRanges, DefinitionStages.WithVnetName, DefinitionStages.WithVnetResourceGroupName, DefinitionStages.WithVnetSubnetName { } } /** * The template for a AppServiceEnvironmentResource update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithApiManagementAccountId, UpdateStages.WithClusterSettings, UpdateStages.WithDnsSuffix, UpdateStages.WithDynamicCacheEnabled, UpdateStages.WithFrontEndScaleFactor, UpdateStages.WithHasLinuxWorkers, UpdateStages.WithInternalLoadBalancingMode, UpdateStages.WithIpsslAddressCount, UpdateStages.WithKind, UpdateStages.WithMultiRoleCount, UpdateStages.WithMultiSize, UpdateStages.WithNetworkAccessControlList, UpdateStages.WithSuspended, UpdateStages.WithUserWhitelistedIpRanges, UpdateStages.WithVnetName, UpdateStages.WithVnetResourceGroupName, UpdateStages.WithVnetSubnetName { + interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithApiManagementAccountId, UpdateStages.WithClusterSettings, UpdateStages.WithDnsSuffix, UpdateStages.WithDynamicCacheEnabled, UpdateStages.WithFrontEndScaleFactor, UpdateStages.WithHasLinuxWorkers, UpdateStages.WithInternalLoadBalancingMode, UpdateStages.WithIpsslAddressCount, UpdateStages.WithKind, UpdateStages.WithMultiRoleCount, UpdateStages.WithMultiSize, UpdateStages.WithNetworkAccessControlList, UpdateStages.WithSslCertKeyVaultId, UpdateStages.WithSslCertKeyVaultSecretName, UpdateStages.WithSuspended, UpdateStages.WithUserWhitelistedIpRanges, UpdateStages.WithVnetName, UpdateStages.WithVnetResourceGroupName, UpdateStages.WithVnetSubnetName { } /** @@ -586,6 +616,26 @@ interface WithNetworkAccessControlList { Update withNetworkAccessControlList(List networkAccessControlList); } + /** + * The stage of the appserviceenvironmentresource {0} allowing to specify SslCertKeyVaultId. + */ + interface WithSslCertKeyVaultId { + /** + * Specifies sslCertKeyVaultId. + */ + Update withSslCertKeyVaultId(String sslCertKeyVaultId); + } + + /** + * The stage of the appserviceenvironmentresource {0} allowing to specify SslCertKeyVaultSecretName. + */ + interface WithSslCertKeyVaultSecretName { + /** + * Specifies sslCertKeyVaultSecretName. + */ + Update withSslCertKeyVaultSecretName(String sslCertKeyVaultSecretName); + } + /** * The stage of the appserviceenvironmentresource {0} allowing to specify Suspended. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironments.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironments.java index 6ae9355a3a028..9f127c86dbdf6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironments.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironments.java @@ -124,17 +124,6 @@ public interface AppServiceEnvironments { */ Observable suspendAsync(final String resourceGroupName, final String name); - /** - * Resume an App Service Environment. - * Resume an App Service Environment. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - Completable syncVirtualNetworkInfoAsync(String resourceGroupName, String name); - /** * Get the used, available, and total worker capacity an App Service Environment. * Get the used, available, and total worker capacity an App Service Environment. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java index 99e5fbd19c5ff..ef08453261f78 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java @@ -30,6 +30,11 @@ public interface AppServicePlan extends HasInner, Resource, */ String adminSiteName(); + /** + * @return the freeOfferExpirationTime value. + */ + DateTime freeOfferExpirationTime(); + /** * @return the geoRegion value. */ @@ -152,6 +157,16 @@ interface WithAdminSiteName { WithCreate withAdminSiteName(String adminSiteName); } + /** + * The stage of the appserviceplan update allowing to specify FreeOfferExpirationTime. + */ + interface WithFreeOfferExpirationTime { + /** + * Specifies freeOfferExpirationTime. + */ + WithCreate withFreeOfferExpirationTime(DateTime freeOfferExpirationTime); + } + /** * The stage of the appserviceplan update allowing to specify HostingEnvironmentProfile. */ @@ -267,13 +282,13 @@ interface WithWorkerTierName { * the resource to be created (via {@link WithCreate#create()}), but also allows * for any other optional settings to be specified. */ - interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAdminSiteName, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithIsSpot, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithPerSiteScaling, DefinitionStages.WithReserved, DefinitionStages.WithSku, DefinitionStages.WithSpotExpirationTime, DefinitionStages.WithTargetWorkerCount, DefinitionStages.WithTargetWorkerSizeId, DefinitionStages.WithWorkerTierName { + interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAdminSiteName, DefinitionStages.WithFreeOfferExpirationTime, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithIsSpot, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithPerSiteScaling, DefinitionStages.WithReserved, DefinitionStages.WithSku, DefinitionStages.WithSpotExpirationTime, DefinitionStages.WithTargetWorkerCount, DefinitionStages.WithTargetWorkerSizeId, DefinitionStages.WithWorkerTierName { } } /** * The template for a AppServicePlan update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithAdminSiteName, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithIsSpot, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithPerSiteScaling, UpdateStages.WithReserved, UpdateStages.WithSpotExpirationTime, UpdateStages.WithTargetWorkerCount, UpdateStages.WithTargetWorkerSizeId, UpdateStages.WithWorkerTierName { + interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithAdminSiteName, UpdateStages.WithFreeOfferExpirationTime, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithIsSpot, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithPerSiteScaling, UpdateStages.WithReserved, UpdateStages.WithSpotExpirationTime, UpdateStages.WithTargetWorkerCount, UpdateStages.WithTargetWorkerSizeId, UpdateStages.WithWorkerTierName { } /** @@ -290,6 +305,16 @@ interface WithAdminSiteName { Update withAdminSiteName(String adminSiteName); } + /** + * The stage of the appserviceplan {0} allowing to specify FreeOfferExpirationTime. + */ + interface WithFreeOfferExpirationTime { + /** + * Specifies freeOfferExpirationTime. + */ + Update withFreeOfferExpirationTime(DateTime freeOfferExpirationTime); + } + /** * The stage of the appserviceplan {0} allowing to specify HostingEnvironmentProfile. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java index f9430a4534d1a..97039405a803c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java @@ -91,6 +91,12 @@ public class AppServicePlanPatchResource extends ProxyOnlyResource { @JsonProperty(value = "properties.spotExpirationTime") private DateTime spotExpirationTime; + /** + * The time when the server farm free offer expires. + */ + @JsonProperty(value = "properties.freeOfferExpirationTime") + private DateTime freeOfferExpirationTime; + /** * Resource group of the App Service plan. */ @@ -297,6 +303,26 @@ public AppServicePlanPatchResource withSpotExpirationTime(DateTime spotExpiratio return this; } + /** + * Get the time when the server farm free offer expires. + * + * @return the freeOfferExpirationTime value + */ + public DateTime freeOfferExpirationTime() { + return this.freeOfferExpirationTime; + } + + /** + * Set the time when the server farm free offer expires. + * + * @param freeOfferExpirationTime the freeOfferExpirationTime value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withFreeOfferExpirationTime(DateTime freeOfferExpirationTime) { + this.freeOfferExpirationTime = freeOfferExpirationTime; + return this; + } + /** * Get resource group of the App Service plan. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataTableResponseColumn.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataTableResponseColumn.java new file mode 100644 index 0000000000000..cc15a423f05dc --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataTableResponseColumn.java @@ -0,0 +1,95 @@ +/** + * 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.fasterxml.jackson.annotation.JsonProperty; + +/** + * Column definition. + */ +public class DataTableResponseColumn { + /** + * Name of the column. + */ + @JsonProperty(value = "columnName") + private String columnName; + + /** + * Data type which looks like 'String' or 'Int32'. + */ + @JsonProperty(value = "dataType") + private String dataType; + + /** + * Column Type. + */ + @JsonProperty(value = "columnType") + private String columnType; + + /** + * Get name of the column. + * + * @return the columnName value + */ + public String columnName() { + return this.columnName; + } + + /** + * Set name of the column. + * + * @param columnName the columnName value to set + * @return the DataTableResponseColumn object itself. + */ + public DataTableResponseColumn withColumnName(String columnName) { + this.columnName = columnName; + return this; + } + + /** + * Get data type which looks like 'String' or 'Int32'. + * + * @return the dataType value + */ + public String dataType() { + return this.dataType; + } + + /** + * Set data type which looks like 'String' or 'Int32'. + * + * @param dataType the dataType value to set + * @return the DataTableResponseColumn object itself. + */ + public DataTableResponseColumn withDataType(String dataType) { + this.dataType = dataType; + return this; + } + + /** + * Get column Type. + * + * @return the columnType value + */ + public String columnType() { + return this.columnType; + } + + /** + * Set column Type. + * + * @param columnType the columnType value to set + * @return the DataTableResponseColumn object itself. + */ + public DataTableResponseColumn withColumnType(String columnType) { + this.columnType = columnType; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataTableResponseObject.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataTableResponseObject.java new file mode 100644 index 0000000000000..238fa91161cc6 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataTableResponseObject.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; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Data Table which defines columns and raw row values. + */ +public class DataTableResponseObject { + /** + * Name of the table. + */ + @JsonProperty(value = "tableName") + private String tableName; + + /** + * List of columns with data types. + */ + @JsonProperty(value = "columns") + private List columns; + + /** + * Raw row values. + */ + @JsonProperty(value = "rows") + private List> rows; + + /** + * Get name of the table. + * + * @return the tableName value + */ + public String tableName() { + return this.tableName; + } + + /** + * Set name of the table. + * + * @param tableName the tableName value to set + * @return the DataTableResponseObject object itself. + */ + public DataTableResponseObject withTableName(String tableName) { + this.tableName = tableName; + return this; + } + + /** + * Get list of columns with data types. + * + * @return the columns value + */ + public List columns() { + return this.columns; + } + + /** + * Set list of columns with data types. + * + * @param columns the columns value to set + * @return the DataTableResponseObject object itself. + */ + public DataTableResponseObject withColumns(List columns) { + this.columns = columns; + return this; + } + + /** + * Get raw row values. + * + * @return the rows value + */ + public List> rows() { + return this.rows; + } + + /** + * Set raw row values. + * + * @param rows the rows value to set + * @return the DataTableResponseObject object itself. + */ + public DataTableResponseObject withRows(List> rows) { + this.rows = rows; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java index 380add9be917b..a2f9a8ef0804d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorDefinition.java @@ -9,9 +9,9 @@ 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.DetectorDefinitionInner; 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.DetectorDefinitionInner; /** * Type representing DetectorDefinition. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorInfo.java new file mode 100644 index 0000000000000..19a96f45a8c45 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorInfo.java @@ -0,0 +1,77 @@ +/** + * 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.fasterxml.jackson.annotation.JsonProperty; + +/** + * Definition of Detector. + */ +public class DetectorInfo { + /** + * Short description of the detector and its purpose. + */ + @JsonProperty(value = "description", access = JsonProperty.Access.WRITE_ONLY) + private String description; + + /** + * Support Category. + */ + @JsonProperty(value = "category", access = JsonProperty.Access.WRITE_ONLY) + private String category; + + /** + * Support Sub Category. + */ + @JsonProperty(value = "subCategory", access = JsonProperty.Access.WRITE_ONLY) + private String subCategory; + + /** + * Support Topic Id. + */ + @JsonProperty(value = "supportTopicId", access = JsonProperty.Access.WRITE_ONLY) + private String supportTopicId; + + /** + * Get short description of the detector and its purpose. + * + * @return the description value + */ + public String description() { + return this.description; + } + + /** + * Get support Category. + * + * @return the category value + */ + public String category() { + return this.category; + } + + /** + * Get support Sub Category. + * + * @return the subCategory value + */ + public String subCategory() { + return this.subCategory; + } + + /** + * Get support Topic Id. + * + * @return the supportTopicId value + */ + public String supportTopicId() { + return this.supportTopicId; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorResponse.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorResponse.java new file mode 100644 index 0000000000000..ed159c18dac97 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorResponse.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01; + +import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DetectorResponseInner; +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.CertificateRegistrationManager; +import java.util.List; + +/** + * Type representing DetectorResponse. + */ +public interface DetectorResponse extends HasInner, Indexable, Refreshable, HasManager { + /** + * @return the dataset value. + */ + List dataset(); + + /** + * @return the id value. + */ + String id(); + + /** + * @return the kind value. + */ + String kind(); + + /** + * @return the metadata value. + */ + DetectorInfo metadata(); + + /** + * @return the name value. + */ + String name(); + + /** + * @return the type value. + */ + String type(); + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticData.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticData.java new file mode 100644 index 0000000000000..d91eb183e5af3 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DiagnosticData.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; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Set of data with rendering instructions. + */ +public class DiagnosticData { + /** + * Data in table form. + */ + @JsonProperty(value = "table") + private DataTableResponseObject table; + + /** + * Properties that describe how the table should be rendered. + */ + @JsonProperty(value = "renderingProperties") + private Rendering renderingProperties; + + /** + * Get data in table form. + * + * @return the table value + */ + public DataTableResponseObject table() { + return this.table; + } + + /** + * Set data in table form. + * + * @param table the table value to set + * @return the DiagnosticData object itself. + */ + public DiagnosticData withTable(DataTableResponseObject table) { + this.table = table; + return this; + } + + /** + * Get properties that describe how the table should be rendered. + * + * @return the renderingProperties value + */ + public Rendering renderingProperties() { + return this.renderingProperties; + } + + /** + * Set properties that describe how the table should be rendered. + * + * @param renderingProperties the renderingProperties value to set + * @return the DiagnosticData object itself. + */ + public DiagnosticData withRenderingProperties(Rendering renderingProperties) { + this.renderingProperties = renderingProperties; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Diagnostics.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Diagnostics.java index c4de12c4c06de..ddd647770c972 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Diagnostics.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Diagnostics.java @@ -11,8 +11,8 @@ import rx.Observable; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.DiagnosticsInner; import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.management.appservice.v2018_02_01.DetectorResponse; import com.microsoft.azure.management.appservice.v2018_02_01.DiagnosticAnalysis; -import com.microsoft.azure.management.appservice.v2018_02_01.DetectorDefinition; /** * Type representing Diagnostics. @@ -67,83 +67,113 @@ public interface Diagnostics extends HasInner { Observable listSiteDiagnosticCategoriesAsync(final String resourceGroupName, final String siteName); /** - * Get Site Analysis. - * Get Site Analysis. + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @param analysisName Analysis Name + * @param name App Service Environment Name + * @param detectorName Detector Resource Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable getSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName); + Observable getHostingEnvironmentDetectorResponseAsync(String resourceGroupName, String name, String detectorName); /** - * Get Site Analyses. - * Get Site Analyses. + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. + * + * @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 listHostingEnvironmentDetectorResponsesAsync(final String resourceGroupName, final String name); + + /** + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory); + Observable listSiteDetectorResponsesAsync(final String resourceGroupName, final String siteName); /** - * Execute Analysis. - * Execute Analysis. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name + * @param detectorName Detector Resource Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName); + Observable getSiteDetectorResponseAsync(String resourceGroupName, String siteName, String detectorName); /** - * Get Site Analyses. - * Get Site Analyses. + * Get Detectors. + * Get Detectors. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param diagnosticCategory Diagnostic Category - * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable listSiteAnalysesSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String slot); + Observable listSiteDetectorsAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory); /** - * Get Site Analysis. - * Get Site Analysis. + * Get Detector. + * Get Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param diagnosticCategory Diagnostic Category - * @param analysisName Analysis Name - * @param slot Slot - optional + * @param detectorName Detector Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable getSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot); + Observable getSiteDetectorAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName); /** - * Execute Analysis. - * Execute Analysis. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name + * @param detectorName Detector Resource Name * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory); + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable executeSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot); + Observable listSiteDetectorResponsesSlotAsync(final String resourceGroupName, final String siteName, final String slot); + + /** + * Get site detector response. + * Get site detector response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param detectorName Detector Resource Name + * @param slot Slot Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getSiteDetectorResponseSlotAsync(String resourceGroupName, String siteName, String detectorName, String slot); /** * Get Detectors. @@ -152,10 +182,11 @@ public interface Diagnostics extends HasInner { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param diagnosticCategory Diagnostic Category + * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable listSiteDetectorsAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory); + Observable listSiteDetectorsSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String slot); /** * Get Detector. @@ -165,10 +196,11 @@ public interface Diagnostics extends HasInner { * @param siteName Site Name * @param diagnosticCategory Diagnostic Category * @param detectorName Detector Name + * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable getSiteDetectorAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName); + Observable getSiteDetectorSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName, final String slot); /** * Execute Detector. @@ -178,50 +210,89 @@ public interface Diagnostics extends HasInner { * @param siteName Site Name * @param detectorName Detector Resource Name * @param diagnosticCategory Category Name + * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory); + Observable executeSiteDetectorSlotAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, String slot); /** - * Get Detectors. - * Get Detectors. + * Get Site Analysis. + * Get Site Analysis. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param diagnosticCategory Diagnostic Category - * @param slot Slot Name + * @param analysisName Analysis Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable listSiteDetectorsSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String slot); + Observable getSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName); /** - * Get Detector. - * Get Detector. + * Get Site Analyses. + * Get Site Analyses. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory); + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName); + + /** + * Get Site Analyses. + * Get Site Analyses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param diagnosticCategory Diagnostic Category - * @param detectorName Detector Name * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable getSiteDetectorSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName, final String slot); + Observable listSiteAnalysesSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String slot); /** - * Execute Detector. - * Execute Detector. + * Get Site Analysis. + * Get Site Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @param analysisName Analysis Name + * @param slot Slot - optional + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot); + + /** + * Execute Analysis. + * Execute Analysis. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param detectorName Detector Resource Name * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource Name * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Observable executeSiteDetectorSlotAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, String slot); + Observable executeSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot); } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java index cd6999e81ba69..59409177b4279 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java @@ -24,6 +24,11 @@ public interface HostingEnvironmentAppServicePlan extends HasInner, HasManager< */ SlotSwapStatus slotSwapStatus(); - /** - * @return the snapshotInfo value. - */ - SnapshotRecoveryRequest snapshotInfo(); - /** * @return the state value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpFilterTag.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpFilterTag.java new file mode 100644 index 0000000000000..ff8d8c66cdd16 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpFilterTag.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for IpFilterTag. + */ +public enum IpFilterTag { + /** Enum value Default. */ + DEFAULT("Default"), + + /** Enum value XffProxy. */ + XFF_PROXY("XffProxy"); + + /** The actual serialized value for a IpFilterTag instance. */ + private String value; + + IpFilterTag(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a IpFilterTag instance. + * + * @param value the serialized value to parse. + * @return the parsed IpFilterTag object, or null if unable to parse. + */ + @JsonCreator + public static IpFilterTag fromString(String value) { + IpFilterTag[] items = IpFilterTag.values(); + for (IpFilterTag item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpSecurityRestriction.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpSecurityRestriction.java index 6e6a2979f2e8a..cc97f0e966d61 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpSecurityRestriction.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/IpSecurityRestriction.java @@ -16,6 +16,9 @@ public class IpSecurityRestriction { /** * IP address the security restriction is valid for. + * It can be in form of pure ipv4 address (required SubnetMask property) or + * CIDR notation such as ipv4/mask (leading bit match). For CIDR, + * SubnetMask property must not be specified. */ @JsonProperty(value = "ipAddress", required = true) private String ipAddress; @@ -26,8 +29,42 @@ public class IpSecurityRestriction { @JsonProperty(value = "subnetMask") private String subnetMask; + /** + * Allow or Deny access for this IP range. + */ + @JsonProperty(value = "action") + private String action; + + /** + * Defines what this IP filter will be used for. This is to support IP + * filtering on proxies. Possible values include: 'Default', 'XffProxy'. + */ + @JsonProperty(value = "tag") + private IpFilterTag tag; + + /** + * Priority of IP restriction rule. + */ + @JsonProperty(value = "priority") + private Integer priority; + + /** + * IP restriction rule name. + */ + @JsonProperty(value = "name") + private String name; + + /** + * IP restriction rule description. + */ + @JsonProperty(value = "description") + private String description; + /** * Get iP address the security restriction is valid for. + It can be in form of pure ipv4 address (required SubnetMask property) or + CIDR notation such as ipv4/mask (leading bit match). For CIDR, + SubnetMask property must not be specified. * * @return the ipAddress value */ @@ -37,6 +74,9 @@ public String ipAddress() { /** * Set iP address the security restriction is valid for. + It can be in form of pure ipv4 address (required SubnetMask property) or + CIDR notation such as ipv4/mask (leading bit match). For CIDR, + SubnetMask property must not be specified. * * @param ipAddress the ipAddress value to set * @return the IpSecurityRestriction object itself. @@ -66,4 +106,104 @@ public IpSecurityRestriction withSubnetMask(String subnetMask) { return this; } + /** + * Get allow or Deny access for this IP range. + * + * @return the action value + */ + public String action() { + return this.action; + } + + /** + * Set allow or Deny access for this IP range. + * + * @param action the action value to set + * @return the IpSecurityRestriction object itself. + */ + public IpSecurityRestriction withAction(String action) { + this.action = action; + return this; + } + + /** + * Get defines what this IP filter will be used for. This is to support IP filtering on proxies. Possible values include: 'Default', 'XffProxy'. + * + * @return the tag value + */ + public IpFilterTag tag() { + return this.tag; + } + + /** + * Set defines what this IP filter will be used for. This is to support IP filtering on proxies. Possible values include: 'Default', 'XffProxy'. + * + * @param tag the tag value to set + * @return the IpSecurityRestriction object itself. + */ + public IpSecurityRestriction withTag(IpFilterTag tag) { + this.tag = tag; + return this; + } + + /** + * Get priority of IP restriction rule. + * + * @return the priority value + */ + public Integer priority() { + return this.priority; + } + + /** + * Set priority of IP restriction rule. + * + * @param priority the priority value to set + * @return the IpSecurityRestriction object itself. + */ + public IpSecurityRestriction withPriority(Integer priority) { + this.priority = priority; + return this; + } + + /** + * Get iP restriction rule name. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set iP restriction rule name. + * + * @param name the name value to set + * @return the IpSecurityRestriction object itself. + */ + public IpSecurityRestriction withName(String name) { + this.name = name; + return this; + } + + /** + * Get iP restriction rule description. + * + * @return the description value + */ + public String description() { + return this.description; + } + + /** + * Set iP restriction rule description. + * + * @param description the description value to set + * @return the IpSecurityRestriction object itself. + */ + public IpSecurityRestriction withDescription(String description) { + this.description = description; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/LogSpecification.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/LogSpecification.java new file mode 100644 index 0000000000000..fd0a2961ccf01 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/LogSpecification.java @@ -0,0 +1,95 @@ +/** + * 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.fasterxml.jackson.annotation.JsonProperty; + +/** + * Log Definition of a single resource metric. + */ +public class LogSpecification { + /** + * The name property. + */ + @JsonProperty(value = "name") + private String name; + + /** + * The displayName property. + */ + @JsonProperty(value = "displayName") + private String displayName; + + /** + * The blobDuration property. + */ + @JsonProperty(value = "blobDuration") + private String blobDuration; + + /** + * Get the name value. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set the name value. + * + * @param name the name value to set + * @return the LogSpecification object itself. + */ + public LogSpecification withName(String name) { + this.name = name; + return this; + } + + /** + * Get the displayName value. + * + * @return the displayName value + */ + public String displayName() { + return this.displayName; + } + + /** + * Set the displayName value. + * + * @param displayName the displayName value to set + * @return the LogSpecification object itself. + */ + public LogSpecification withDisplayName(String displayName) { + this.displayName = displayName; + return this; + } + + /** + * Get the blobDuration value. + * + * @return the blobDuration value + */ + public String blobDuration() { + return this.blobDuration; + } + + /** + * Set the blobDuration value. + * + * @param blobDuration the blobDuration value to set + * @return the LogSpecification object itself. + */ + public LogSpecification withBlobDuration(String blobDuration) { + this.blobDuration = blobDuration; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java index 1939d904ff7df..97ec19187061e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOn.java @@ -195,7 +195,7 @@ interface WithCreate extends Creatable, DefinitionStages.WithKind, /** * The template for a PremierAddOn update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, UpdateStages.WithKind, UpdateStages.WithMarketplaceOffer, UpdateStages.WithMarketplacePublisher, UpdateStages.WithProduct, UpdateStages.WithSku, UpdateStages.WithTags, UpdateStages.WithVendor { + interface Update extends Appliable, UpdateStages.WithKind, UpdateStages.WithMarketplaceOffer, UpdateStages.WithMarketplacePublisher, UpdateStages.WithProduct, UpdateStages.WithSku, UpdateStages.WithVendor { } /** @@ -252,16 +252,6 @@ interface WithSku { Update withSku(String sku); } - /** - * The stage of the premieraddon update allowing to specify Tags. - */ - interface WithTags { - /** - * Specifies tags. - */ - Update withTags(Map tags); - } - /** * The stage of the premieraddon update allowing to specify Vendor. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOnPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOnPatchResource.java new file mode 100644 index 0000000000000..bfedd7eda264d --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/PremierAddOnPatchResource.java @@ -0,0 +1,149 @@ +/** + * 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.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * ARM resource for a PremierAddOn. + */ +@JsonFlatten +public class PremierAddOnPatchResource extends ProxyOnlyResource { + /** + * Premier add on SKU. + */ + @JsonProperty(value = "properties.sku") + private String sku; + + /** + * Premier add on Product. + */ + @JsonProperty(value = "properties.product") + private String product; + + /** + * Premier add on Vendor. + */ + @JsonProperty(value = "properties.vendor") + private String vendor; + + /** + * Premier add on Marketplace publisher. + */ + @JsonProperty(value = "properties.marketplacePublisher") + private String marketplacePublisher; + + /** + * Premier add on Marketplace offer. + */ + @JsonProperty(value = "properties.marketplaceOffer") + private String marketplaceOffer; + + /** + * Get premier add on SKU. + * + * @return the sku value + */ + public String sku() { + return this.sku; + } + + /** + * Set premier add on SKU. + * + * @param sku the sku value to set + * @return the PremierAddOnPatchResource object itself. + */ + public PremierAddOnPatchResource withSku(String sku) { + this.sku = sku; + return this; + } + + /** + * Get premier add on Product. + * + * @return the product value + */ + public String product() { + return this.product; + } + + /** + * Set premier add on Product. + * + * @param product the product value to set + * @return the PremierAddOnPatchResource object itself. + */ + public PremierAddOnPatchResource withProduct(String product) { + this.product = product; + return this; + } + + /** + * Get premier add on Vendor. + * + * @return the vendor value + */ + public String vendor() { + return this.vendor; + } + + /** + * Set premier add on Vendor. + * + * @param vendor the vendor value to set + * @return the PremierAddOnPatchResource object itself. + */ + public PremierAddOnPatchResource withVendor(String vendor) { + this.vendor = vendor; + return this; + } + + /** + * Get premier add on Marketplace publisher. + * + * @return the marketplacePublisher value + */ + public String marketplacePublisher() { + return this.marketplacePublisher; + } + + /** + * Set premier add on Marketplace publisher. + * + * @param marketplacePublisher the marketplacePublisher value to set + * @return the PremierAddOnPatchResource object itself. + */ + public PremierAddOnPatchResource withMarketplacePublisher(String marketplacePublisher) { + this.marketplacePublisher = marketplacePublisher; + return this; + } + + /** + * Get premier add on Marketplace offer. + * + * @return the marketplaceOffer value + */ + public String marketplaceOffer() { + return this.marketplaceOffer; + } + + /** + * Set premier add on Marketplace offer. + * + * @param marketplaceOffer the marketplaceOffer value to set + * @return the PremierAddOnPatchResource object itself. + */ + public PremierAddOnPatchResource withMarketplaceOffer(String marketplaceOffer) { + this.marketplaceOffer = marketplaceOffer; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Rendering.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Rendering.java new file mode 100644 index 0000000000000..d4ec7d15d2bab --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Rendering.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; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Instructions for rendering the data. + */ +public class Rendering { + /** + * Rendering Type. Possible values include: 'NoGraph', 'Table', + * 'TimeSeries', 'TimeSeriesPerInstance'. + */ + @JsonProperty(value = "type") + private RenderingType type; + + /** + * Title of data. + */ + @JsonProperty(value = "title") + private String title; + + /** + * Description of the data that will help it be interpreted. + */ + @JsonProperty(value = "description") + private String description; + + /** + * Get rendering Type. Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance'. + * + * @return the type value + */ + public RenderingType type() { + return this.type; + } + + /** + * Set rendering Type. Possible values include: 'NoGraph', 'Table', 'TimeSeries', 'TimeSeriesPerInstance'. + * + * @param type the type value to set + * @return the Rendering object itself. + */ + public Rendering withType(RenderingType type) { + this.type = type; + return this; + } + + /** + * Get title of data. + * + * @return the title value + */ + public String title() { + return this.title; + } + + /** + * Set title of data. + * + * @param title the title value to set + * @return the Rendering object itself. + */ + public Rendering withTitle(String title) { + this.title = title; + return this; + } + + /** + * Get description of the data that will help it be interpreted. + * + * @return the description value + */ + public String description() { + return this.description; + } + + /** + * Set description of the data that will help it be interpreted. + * + * @param description the description value to set + * @return the Rendering object itself. + */ + public Rendering withDescription(String description) { + this.description = description; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RenderingType.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RenderingType.java new file mode 100644 index 0000000000000..d52efbc0eafca --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RenderingType.java @@ -0,0 +1,59 @@ +/** + * 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.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for RenderingType. + */ +public enum RenderingType { + /** Enum value NoGraph. */ + NO_GRAPH("NoGraph"), + + /** Enum value Table. */ + TABLE("Table"), + + /** Enum value TimeSeries. */ + TIME_SERIES("TimeSeries"), + + /** Enum value TimeSeriesPerInstance. */ + TIME_SERIES_PER_INSTANCE("TimeSeriesPerInstance"); + + /** The actual serialized value for a RenderingType instance. */ + private String value; + + RenderingType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a RenderingType instance. + * + * @param value the serialized value to parse. + * @return the parsed RenderingType object, or null if unable to parse. + */ + @JsonCreator + public static RenderingType fromString(String value) { + RenderingType[] items = RenderingType.values(); + for (RenderingType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java index 3523b8a0ee469..87012e8cb228a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java @@ -180,11 +180,6 @@ public interface ServerfarmSite extends HasInner, HasManager metricSpecifications; + /** + * The logSpecifications property. + */ + @JsonProperty(value = "logSpecifications") + private List logSpecifications; + /** * Get the metricSpecifications value. * @@ -41,4 +47,24 @@ public ServiceSpecification withMetricSpecifications(List m return this; } + /** + * Get the logSpecifications value. + * + * @return the logSpecifications value + */ + public List logSpecifications() { + return this.logSpecifications; + } + + /** + * Set the logSpecifications value. + * + * @param logSpecifications the logSpecifications value to set + * @return the ServiceSpecification object itself. + */ + public ServiceSpecification withLogSpecifications(List logSpecifications) { + this.logSpecifications = logSpecifications; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java index 31b877c49d29a..a0501c8e645e7 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java @@ -62,8 +62,8 @@ public class SiteConfig { /** * Xenon App Framework and version. */ - @JsonProperty(value = "xenonFxVersion") - private String xenonFxVersion; + @JsonProperty(value = "windowsFxVersion") + private String windowsFxVersion; /** * <code>true</code> if request tracing is enabled; otherwise, @@ -327,6 +327,13 @@ public class SiteConfig { @JsonProperty(value = "ftpsState") private FtpsState ftpsState; + /** + * Number of reserved instances. + * This setting only applies to the Consumption Plan. + */ + @JsonProperty(value = "reservedInstanceCount") + private Integer reservedInstanceCount; + /** * Get number of workers. * @@ -470,20 +477,20 @@ public SiteConfig withLinuxFxVersion(String linuxFxVersion) { /** * Get xenon App Framework and version. * - * @return the xenonFxVersion value + * @return the windowsFxVersion value */ - public String xenonFxVersion() { - return this.xenonFxVersion; + public String windowsFxVersion() { + return this.windowsFxVersion; } /** * Set xenon App Framework and version. * - * @param xenonFxVersion the xenonFxVersion value to set + * @param windowsFxVersion the windowsFxVersion value to set * @return the SiteConfig object itself. */ - public SiteConfig withXenonFxVersion(String xenonFxVersion) { - this.xenonFxVersion = xenonFxVersion; + public SiteConfig withWindowsFxVersion(String windowsFxVersion) { + this.windowsFxVersion = windowsFxVersion; return this; } @@ -1296,4 +1303,26 @@ public SiteConfig withFtpsState(FtpsState ftpsState) { return this; } + /** + * Get number of reserved instances. + This setting only applies to the Consumption Plan. + * + * @return the reservedInstanceCount value + */ + public Integer reservedInstanceCount() { + return this.reservedInstanceCount; + } + + /** + * Set number of reserved instances. + This setting only applies to the Consumption Plan. + * + * @param reservedInstanceCount the reservedInstanceCount value to set + * @return the SiteConfig object itself. + */ + public SiteConfig withReservedInstanceCount(Integer reservedInstanceCount) { + this.reservedInstanceCount = reservedInstanceCount; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java index 5c64a55f26436..3f74dd3ca954d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java @@ -240,6 +240,11 @@ public interface SiteConfigResource extends HasInner, H */ DateTime requestTracingExpirationTime(); + /** + * @return the reservedInstanceCount value. + */ + Integer reservedInstanceCount(); + /** * @return the scmType value. */ @@ -276,9 +281,9 @@ public interface SiteConfigResource extends HasInner, H Boolean webSocketsEnabled(); /** - * @return the xenonFxVersion value. + * @return the windowsFxVersion value. */ - String xenonFxVersion(); + String windowsFxVersion(); /** * @return the xManagedServiceIdentityId value. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePatchResource.java index f6ee73a3d0f8f..c860b3086a6a8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SitePatchResource.java @@ -205,13 +205,6 @@ public class SitePatchResource extends ProxyOnlyResource { @JsonProperty(value = "properties.cloningInfo") private CloningInfo cloningInfo; - /** - * If specified during app creation, the app is created from a previous - * snapshot. - */ - @JsonProperty(value = "properties.snapshotInfo") - private SnapshotRecoveryRequest snapshotInfo; - /** * Name of the resource group the app belongs to. Read-only. */ @@ -646,26 +639,6 @@ public SitePatchResource withCloningInfo(CloningInfo cloningInfo) { return this; } - /** - * Get if specified during app creation, the app is created from a previous snapshot. - * - * @return the snapshotInfo value - */ - public SnapshotRecoveryRequest snapshotInfo() { - return this.snapshotInfo; - } - - /** - * Set if specified during app creation, the app is created from a previous snapshot. - * - * @param snapshotInfo the snapshotInfo value to set - * @return the SitePatchResource object itself. - */ - public SitePatchResource withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { - this.snapshotInfo = snapshotInfo; - return this; - } - /** * Get name of the resource group the app belongs to. Read-only. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java index f0cbc9b2e7a75..86692f32873ff 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Sites.java @@ -171,11 +171,6 @@ public interface Sites extends HasInner, Resource, GroupableResourceC */ SlotSwapStatus slotSwapStatus(); - /** - * @return the snapshotInfo value. - */ - SnapshotRecoveryRequest snapshotInfo(); - /** * @return the state value. */ @@ -393,28 +388,18 @@ interface WithSiteConfig { WithCreate withSiteConfig(SiteConfig siteConfig); } - /** - * The stage of the sites update allowing to specify SnapshotInfo. - */ - interface WithSnapshotInfo { - /** - * Specifies snapshotInfo. - */ - WithCreate withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo); - } - /** * 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, Resource.DefinitionWithTags, DefinitionStages.WithClientAffinityEnabled, DefinitionStages.WithClientCertEnabled, DefinitionStages.WithCloningInfo, DefinitionStages.WithContainerSize, DefinitionStages.WithDailyMemoryTimeQuota, DefinitionStages.WithEnabled, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHostNamesDisabled, DefinitionStages.WithHostNameSslStates, DefinitionStages.WithHttpsOnly, DefinitionStages.WithIdentity, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithReserved, DefinitionStages.WithScmSiteAlsoStopped, DefinitionStages.WithServerFarmId, DefinitionStages.WithSiteConfig, DefinitionStages.WithSnapshotInfo { + interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithClientAffinityEnabled, DefinitionStages.WithClientCertEnabled, DefinitionStages.WithCloningInfo, DefinitionStages.WithContainerSize, DefinitionStages.WithDailyMemoryTimeQuota, DefinitionStages.WithEnabled, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHostNamesDisabled, DefinitionStages.WithHostNameSslStates, DefinitionStages.WithHttpsOnly, DefinitionStages.WithIdentity, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithReserved, DefinitionStages.WithScmSiteAlsoStopped, DefinitionStages.WithServerFarmId, DefinitionStages.WithSiteConfig { } } /** * The template for a Sites update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithClientAffinityEnabled, UpdateStages.WithClientCertEnabled, UpdateStages.WithCloningInfo, UpdateStages.WithContainerSize, UpdateStages.WithDailyMemoryTimeQuota, UpdateStages.WithEnabled, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHostNamesDisabled, UpdateStages.WithHostNameSslStates, UpdateStages.WithHttpsOnly, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithReserved, UpdateStages.WithScmSiteAlsoStopped, UpdateStages.WithServerFarmId, UpdateStages.WithSiteConfig, UpdateStages.WithSnapshotInfo { + interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithClientAffinityEnabled, UpdateStages.WithClientCertEnabled, UpdateStages.WithCloningInfo, UpdateStages.WithContainerSize, UpdateStages.WithDailyMemoryTimeQuota, UpdateStages.WithEnabled, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHostNamesDisabled, UpdateStages.WithHostNameSslStates, UpdateStages.WithHttpsOnly, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithReserved, UpdateStages.WithScmSiteAlsoStopped, UpdateStages.WithServerFarmId, UpdateStages.WithSiteConfig { } /** @@ -581,15 +566,5 @@ interface WithSiteConfig { Update withSiteConfig(SiteConfig siteConfig); } - /** - * The stage of the sites {0} allowing to specify SnapshotInfo. - */ - interface WithSnapshotInfo { - /** - * Specifies snapshotInfo. - */ - Update withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo); - } - } } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java index 8f60080eb637b..c5a7505463e69 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java @@ -185,11 +185,6 @@ public interface Slots extends HasInner, Indexable, Refreshable, DefinitionStages.WithClientAffinityEnabled, DefinitionStages.WithClientCertEnabled, DefinitionStages.WithCloningInfo, DefinitionStages.WithContainerSize, DefinitionStages.WithDailyMemoryTimeQuota, DefinitionStages.WithEnabled, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHostNamesDisabled, DefinitionStages.WithHostNameSslStates, DefinitionStages.WithHttpsOnly, DefinitionStages.WithIdentity, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithReserved, DefinitionStages.WithScmSiteAlsoStopped, DefinitionStages.WithServerFarmId, DefinitionStages.WithSiteConfig, DefinitionStages.WithSnapshotInfo, DefinitionStages.WithTags { + interface WithCreate extends Creatable, DefinitionStages.WithClientAffinityEnabled, DefinitionStages.WithClientCertEnabled, DefinitionStages.WithCloningInfo, DefinitionStages.WithContainerSize, DefinitionStages.WithDailyMemoryTimeQuota, DefinitionStages.WithEnabled, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHostNamesDisabled, DefinitionStages.WithHostNameSslStates, DefinitionStages.WithHttpsOnly, DefinitionStages.WithIdentity, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithReserved, DefinitionStages.WithScmSiteAlsoStopped, DefinitionStages.WithServerFarmId, DefinitionStages.WithSiteConfig, DefinitionStages.WithTags { } } /** * The template for a Slots update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, UpdateStages.WithClientAffinityEnabled, UpdateStages.WithClientCertEnabled, UpdateStages.WithCloningInfo, UpdateStages.WithContainerSize, UpdateStages.WithDailyMemoryTimeQuota, UpdateStages.WithEnabled, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHostNamesDisabled, UpdateStages.WithHostNameSslStates, UpdateStages.WithHttpsOnly, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithReserved, UpdateStages.WithScmSiteAlsoStopped, UpdateStages.WithServerFarmId, UpdateStages.WithSiteConfig, UpdateStages.WithSnapshotInfo { + interface Update extends Appliable, UpdateStages.WithClientAffinityEnabled, UpdateStages.WithClientCertEnabled, UpdateStages.WithCloningInfo, UpdateStages.WithContainerSize, UpdateStages.WithDailyMemoryTimeQuota, UpdateStages.WithEnabled, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHostNamesDisabled, UpdateStages.WithHostNameSslStates, UpdateStages.WithHttpsOnly, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithReserved, UpdateStages.WithScmSiteAlsoStopped, UpdateStages.WithServerFarmId, UpdateStages.WithSiteConfig { } /** @@ -629,15 +614,5 @@ interface WithSiteConfig { Update withSiteConfig(SiteConfig siteConfig); } - /** - * The stage of the slots update allowing to specify SnapshotInfo. - */ - interface WithSnapshotInfo { - /** - * Specifies snapshotInfo. - */ - Update withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo); - } - } } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SwiftVirtualNetwork.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SwiftVirtualNetwork.java new file mode 100644 index 0000000000000..3ac349ae21971 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SwiftVirtualNetwork.java @@ -0,0 +1,50 @@ +/** + * 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.SwiftVirtualNetworkInner; + +/** + * Type representing SwiftVirtualNetwork. + */ +public interface SwiftVirtualNetwork extends HasInner, HasManager { + /** + * @return the id value. + */ + String id(); + + /** + * @return the kind value. + */ + String kind(); + + /** + * @return the name value. + */ + String name(); + + /** + * @return the subnetResourceId value. + */ + String subnetResourceId(); + + /** + * @return the swiftSupported value. + */ + Boolean swiftSupported(); + + /** + * @return the type value. + */ + String type(); + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java index 518a02f5abb69..723652a3d303b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java @@ -74,6 +74,13 @@ public class ValidateRequest { @JsonProperty(value = "properties.hostingEnvironment") private String hostingEnvironment; + /** + * <code>true</code> if App Service plan is running as a + * windows container. + */ + @JsonProperty(value = "properties.isXenon") + private Boolean isXenon; + /** * Get resource name to verify. * @@ -254,4 +261,24 @@ public ValidateRequest withHostingEnvironment(String hostingEnvironment) { return this; } + /** + * Get <code>true</code> if App Service plan is running as a windows container. + * + * @return the isXenon value + */ + public Boolean isXenon() { + return this.isXenon; + } + + /** + * Set <code>true</code> if App Service plan is running as a windows container. + * + * @param isXenon the isXenon value to set + * @return the ValidateRequest object itself. + */ + public ValidateRequest withIsXenon(Boolean isXenon) { + this.isXenon = isXenon; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index e72aafc16f825..7038632bc9e72 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -13,9 +13,10 @@ import rx.Completable; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.BackupRequestInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.StringDictionaryInner; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SwiftVirtualNetworkInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteConfigResourceInner; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RelayServiceConnectionEntityInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RestoreRequestInner; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RelayServiceConnectionEntityInner; import com.microsoft.azure.management.appservice.v2018_02_01.BackupItem; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteAuthSettingsInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ConnectionStringDictionaryInner; @@ -286,6 +287,56 @@ public interface WebApps { */ Observable listMetadataAsync(String resourceGroupName, String name); + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 + */ + Observable getSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name); + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable createOrUpdateSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope); + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 deleteSwiftVirtualNetworkAsync(String resourceGroupName, String name); + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable updateSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope); + /** * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. @@ -332,6 +383,18 @@ public interface WebApps { */ Completable getWebSiteContainerLogsAsync(String resourceGroupName, String name); + /** + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable discoverBackupAsync(String resourceGroupName, String name, RestoreRequestInner request); + /** * Fetch a short lived token that can be exchanged for a master key. * Fetch a short lived token that can be exchanged for a master key. @@ -679,18 +742,6 @@ public interface WebApps { */ Completable deleteBackupAsync(String resourceGroupName, String name, String backupId); - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - Observable discoverRestoreAsync(String resourceGroupName, String name, RestoreRequestInner request); - /** * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. @@ -729,19 +780,6 @@ public interface WebApps { */ Observable listBackupsSlotAsync(final String resourceGroupName, final String name, final String slot); - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - Observable discoverRestoreSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request); - /** * Gets a backup of an app by its ID. * Gets a backup of an app by its ID. @@ -2640,6 +2678,20 @@ public interface WebApps { */ Completable deletePremierAddOnSlotAsync(String resourceGroupName, String name, String premierAddOnName, String slot); + /** + * Updates a named add-on of an app. + * Updates a named add-on of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot. + * @param premierAddOn A JSON representation of the edited premier add-on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable updatePremierAddOnSlotAsync(String resourceGroupName, String name, String premierAddOnName, String slot, PremierAddOnPatchResource premierAddOn); + /** * Gets data around private site access enablement and authorized Virtual Networks that can access the site. * Gets data around private site access enablement and authorized Virtual Networks that can access the site. @@ -3008,6 +3060,60 @@ public interface WebApps { */ Observable listMetadataSlotAsync(String resourceGroupName, String name, String slot); + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 get a gateway for the production slot's Virtual Network. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot); + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope); + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 delete the connection for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable deleteSwiftVirtualNetworkSlotAsync(String resourceGroupName, String name, String slot); + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable updateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope); + /** * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. @@ -3058,6 +3164,19 @@ public interface WebApps { */ Completable getWebSiteContainerLogsSlotAsync(String resourceGroupName, String name, String slot); + /** + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * + * @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 perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable discoverBackupSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request); + /** * Fetch a short lived token that can be exchanged for a master key. * Fetch a short lived token that can be exchanged for a master key. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentInner.java index 3e9a26fdae1a3..13dc87bf5da1d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentInner.java @@ -264,6 +264,19 @@ public class AppServiceEnvironmentInner { @JsonProperty(value = "hasLinuxWorkers") private Boolean hasLinuxWorkers; + /** + * Key Vault ID for ILB App Service Environment default SSL certificate. + */ + @JsonProperty(value = "sslCertKeyVaultId") + private String sslCertKeyVaultId; + + /** + * Key Vault Secret Name for ILB App Service Environment default SSL + * certificate. + */ + @JsonProperty(value = "sslCertKeyVaultSecretName") + private String sslCertKeyVaultSecretName; + /** * Get name of the App Service Environment. * @@ -821,4 +834,44 @@ public AppServiceEnvironmentInner withHasLinuxWorkers(Boolean hasLinuxWorkers) { return this; } + /** + * Get key Vault ID for ILB App Service Environment default SSL certificate. + * + * @return the sslCertKeyVaultId value + */ + public String sslCertKeyVaultId() { + return this.sslCertKeyVaultId; + } + + /** + * Set key Vault ID for ILB App Service Environment default SSL certificate. + * + * @param sslCertKeyVaultId the sslCertKeyVaultId value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withSslCertKeyVaultId(String sslCertKeyVaultId) { + this.sslCertKeyVaultId = sslCertKeyVaultId; + return this; + } + + /** + * Get key Vault Secret Name for ILB App Service Environment default SSL certificate. + * + * @return the sslCertKeyVaultSecretName value + */ + public String sslCertKeyVaultSecretName() { + return this.sslCertKeyVaultSecretName; + } + + /** + * Set key Vault Secret Name for ILB App Service Environment default SSL certificate. + * + * @param sslCertKeyVaultSecretName the sslCertKeyVaultSecretName value to set + * @return the AppServiceEnvironmentInner object itself. + */ + public AppServiceEnvironmentInner withSslCertKeyVaultSecretName(String sslCertKeyVaultSecretName) { + this.sslCertKeyVaultSecretName = sslCertKeyVaultSecretName; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceImpl.java index 7ae50be3e463c..6a0ee90d1899b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentResourceImpl.java @@ -216,6 +216,16 @@ public String resourceGroup() { return this.inner().resourceGroup(); } + @Override + public String sslCertKeyVaultId() { + return this.inner().sslCertKeyVaultId(); + } + + @Override + public String sslCertKeyVaultSecretName() { + return this.inner().sslCertKeyVaultSecretName(); + } + @Override public HostingEnvironmentStatus status() { return this.inner().status(); @@ -415,6 +425,26 @@ public AppServiceEnvironmentResourceImpl withNetworkAccessControlList(List listCapacitiesAsync(final String resourceGroupName, final String name) { AppServiceEnvironmentsInner client = this.inner(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsInner.java index 327c4c75a1846..29201d1083fed 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsInner.java @@ -209,10 +209,6 @@ interface AppServiceEnvironmentsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/suspend") Observable> beginSuspend(@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.AppServiceEnvironments syncVirtualNetworkInfo" }) - @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/syncVirtualNetwork") - Observable> syncVirtualNetworkInfo(@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.AppServiceEnvironments listUsages" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/usages") Observable> listUsages(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query(value = "$filter", encoded = true) String filter, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -4992,96 +4988,6 @@ private ServiceResponse> beginSuspendDelegate(Response syncVirtualNetworkInfoAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(syncVirtualNetworkInfoWithServiceResponseAsync(resourceGroupName, name), serviceCallback); - } - - /** - * Resume an App Service Environment. - * Resume an App Service Environment. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable syncVirtualNetworkInfoAsync(String resourceGroupName, String name) { - return syncVirtualNetworkInfoWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Resume an App Service Environment. - * Resume an App Service Environment. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the App Service Environment. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. - */ - public Observable> syncVirtualNetworkInfoWithServiceResponseAsync(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.syncVirtualNetworkInfo(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 = syncVirtualNetworkInfoDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse syncVirtualNetworkInfoDelegate(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); - } - /** * Get global usage metrics of an App Service Environment. * Get global usage metrics of an App Service Environment. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java index 5a7a77bfa7bff..09e3935b73574 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java @@ -74,6 +74,11 @@ public String adminSiteName() { return this.inner().adminSiteName(); } + @Override + public DateTime freeOfferExpirationTime() { + return this.inner().freeOfferExpirationTime(); + } + @Override public String geoRegion() { return this.inner().geoRegion(); @@ -180,6 +185,16 @@ public AppServicePlanImpl withAdminSiteName(String adminSiteName) { return this; } + @Override + public AppServicePlanImpl withFreeOfferExpirationTime(DateTime freeOfferExpirationTime) { + if (isInCreateMode()) { + this.inner().withFreeOfferExpirationTime(freeOfferExpirationTime); + } else { + this.updateParameter.withFreeOfferExpirationTime(freeOfferExpirationTime); + } + return this; + } + @Override public AppServicePlanImpl withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile) { if (isInCreateMode()) { diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java index 8c81eaa04eddc..590b461b49339 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java @@ -96,6 +96,12 @@ public class AppServicePlanInner extends Resource { @JsonProperty(value = "properties.spotExpirationTime") private DateTime spotExpirationTime; + /** + * The time when the server farm free offer expires. + */ + @JsonProperty(value = "properties.freeOfferExpirationTime") + private DateTime freeOfferExpirationTime; + /** * Resource group of the App Service plan. */ @@ -314,6 +320,26 @@ public AppServicePlanInner withSpotExpirationTime(DateTime spotExpirationTime) { return this; } + /** + * Get the time when the server farm free offer expires. + * + * @return the freeOfferExpirationTime value + */ + public DateTime freeOfferExpirationTime() { + return this.freeOfferExpirationTime; + } + + /** + * Set the time when the server farm free offer expires. + * + * @param freeOfferExpirationTime the freeOfferExpirationTime value to set + * @return the AppServicePlanInner object itself. + */ + public AppServicePlanInner withFreeOfferExpirationTime(DateTime freeOfferExpirationTime) { + this.freeOfferExpirationTime = freeOfferExpirationTime; + return this; + } + /** * Get resource group of the App Service plan. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BillingMeterInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BillingMeterInner.java index 8cee7b82e345e..4c0defbf3dc28 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BillingMeterInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BillingMeterInner.java @@ -48,6 +48,12 @@ public class BillingMeterInner extends ProxyOnlyResource { @JsonProperty(value = "properties.resourceType") private String resourceType; + /** + * App Service OS type meter used for. + */ + @JsonProperty(value = "properties.osType") + private String osType; + /** * Get meter GUID onboarded in Commerce. * @@ -148,4 +154,24 @@ public BillingMeterInner withResourceType(String resourceType) { return this; } + /** + * Get app Service OS type meter used for. + * + * @return the osType value + */ + public String osType() { + return this.osType; + } + + /** + * Set app Service OS type meter used for. + * + * @param osType the osType value to set + * @return the BillingMeterInner object itself. + */ + public BillingMeterInner withOsType(String osType) { + this.osType = osType; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteInner.java index 8a6bda15e34df..bf1256269db48 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeletedSiteInner.java @@ -17,7 +17,7 @@ public class DeletedSiteInner { /** * Numeric id for the deleted site. */ - @JsonProperty(value = "deletedSiteId") + @JsonProperty(value = "deletedSiteId", access = JsonProperty.Access.WRITE_ONLY) private Integer deletedSiteId; /** @@ -59,17 +59,6 @@ public Integer deletedSiteId() { return this.deletedSiteId; } - /** - * Set numeric id for the deleted site. - * - * @param deletedSiteId the deletedSiteId value to set - * @return the DeletedSiteInner object itself. - */ - public DeletedSiteInner withDeletedSiteId(Integer deletedSiteId) { - this.deletedSiteId = deletedSiteId; - return this; - } - /** * Get time in UTC when the app was deleted. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionImpl.java index ff453f74c19da..126cde2467685 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorDefinitionImpl.java @@ -10,12 +10,10 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DetectorDefinition; import com.microsoft.azure.arm.model.implementation.WrapperImpl; -import rx.Observable; class DetectorDefinitionImpl extends WrapperImpl implements DetectorDefinition { private final CertificateRegistrationManager manager; - - DetectorDefinitionImpl(DetectorDefinitionInner inner, CertificateRegistrationManager manager) { + DetectorDefinitionImpl(DetectorDefinitionInner inner, CertificateRegistrationManager manager) { super(inner); this.manager = manager; } @@ -25,8 +23,6 @@ public CertificateRegistrationManager manager() { return this.manager; } - - @Override public String description() { return this.inner().description(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseImpl.java new file mode 100644 index 0000000000000..3fdea30206f86 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseImpl.java @@ -0,0 +1,75 @@ +/** + * 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.DetectorResponse; +import com.microsoft.azure.arm.model.implementation.IndexableRefreshableWrapperImpl; +import rx.Observable; +import java.util.List; +import com.microsoft.azure.management.appservice.v2018_02_01.DiagnosticData; +import com.microsoft.azure.management.appservice.v2018_02_01.DetectorInfo; + +class DetectorResponseImpl extends IndexableRefreshableWrapperImpl implements DetectorResponse { + private final CertificateRegistrationManager manager; + private String resourceGroupName; + private String name; + private String detectorName; + + DetectorResponseImpl(DetectorResponseInner inner, CertificateRegistrationManager manager) { + super(null, inner); + this.manager = manager; + this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); + this.name = IdParsingUtils.getValueFromIdByName(inner.id(), "hostingEnvironments"); + this.detectorName = IdParsingUtils.getValueFromIdByName(inner.id(), "detectors"); + } + + @Override + public CertificateRegistrationManager manager() { + return this.manager; + } + + @Override + protected Observable getInnerAsync() { + DiagnosticsInner client = this.manager().inner().diagnostics(); + return client.getHostingEnvironmentDetectorResponseAsync(this.resourceGroupName, this.name, this.detectorName); + } + + + + @Override + public List dataset() { + return this.inner().dataset(); + } + + @Override + public String id() { + return this.inner().id(); + } + + @Override + public String kind() { + return this.inner().kind(); + } + + @Override + public DetectorInfo metadata() { + return this.inner().metadata(); + } + + @Override + public String name() { + return this.inner().name(); + } + + @Override + public String type() { + return this.inner().type(); + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseInner.java new file mode 100644 index 0000000000000..1cf23fd1c0309 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DetectorResponseInner.java @@ -0,0 +1,75 @@ +/** + * 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.DetectorInfo; +import java.util.List; +import com.microsoft.azure.management.appservice.v2018_02_01.DiagnosticData; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.management.appservice.v2018_02_01.ProxyOnlyResource; + +/** + * Class representing Response from Detector. + */ +@JsonFlatten +public class DetectorResponseInner extends ProxyOnlyResource { + /** + * metadata for the detector. + */ + @JsonProperty(value = "properties.metadata") + private DetectorInfo metadata; + + /** + * Data Set. + */ + @JsonProperty(value = "properties.dataset") + private List dataset; + + /** + * Get metadata for the detector. + * + * @return the metadata value + */ + public DetectorInfo metadata() { + return this.metadata; + } + + /** + * Set metadata for the detector. + * + * @param metadata the metadata value to set + * @return the DetectorResponseInner object itself. + */ + public DetectorResponseInner withMetadata(DetectorInfo metadata) { + this.metadata = metadata; + return this; + } + + /** + * Get data Set. + * + * @return the dataset value + */ + public List dataset() { + return this.dataset; + } + + /** + * Set data Set. + * + * @param dataset the dataset value to set + * @return the DetectorResponseInner object itself. + */ + public DetectorResponseInner withDataset(List dataset) { + this.dataset = dataset; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java index 013e953fba6b2..7cd1a29b89e26 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsImpl.java @@ -15,10 +15,11 @@ import rx.functions.Func1; import com.microsoft.azure.Page; import com.microsoft.azure.management.appservice.v2018_02_01.DiagnosticCategory; -import com.microsoft.azure.management.appservice.v2018_02_01.DiagnosticAnalysis; -import com.microsoft.azure.management.appservice.v2018_02_01.AnalysisDefinition; +import com.microsoft.azure.management.appservice.v2018_02_01.DetectorResponse; import com.microsoft.azure.management.appservice.v2018_02_01.DetectorDefinition; import com.microsoft.azure.management.appservice.v2018_02_01.DiagnosticDetectorResponse; +import com.microsoft.azure.management.appservice.v2018_02_01.DiagnosticAnalysis; +import com.microsoft.azure.management.appservice.v2018_02_01.AnalysisDefinition; class DiagnosticsImpl extends WrapperImpl implements Diagnostics { private final CertificateRegistrationManager manager; @@ -96,12 +97,20 @@ public DiagnosticCategory call(DiagnosticCategoryInner inner) { }); } + private DetectorResponseImpl wrapDetectorResponseModel(DetectorResponseInner inner) { + return new DetectorResponseImpl(inner, manager()); + } + private DiagnosticAnalysisImpl wrapDiagnosticAnalysisModel(DiagnosticAnalysisInner inner) { return new DiagnosticAnalysisImpl(inner, manager()); } - private DetectorDefinitionImpl wrapDetectorDefinitionModel(DetectorDefinitionInner inner) { - return new DetectorDefinitionImpl(inner, manager()); + private Observable getDetectorResponseInnerUsingDiagnosticsInnerAsync(String id) { + String resourceGroupName = IdParsingUtils.getValueFromIdByName(id, "resourceGroups"); + String name = IdParsingUtils.getValueFromIdByName(id, "hostingEnvironments"); + String detectorName = IdParsingUtils.getValueFromIdByName(id, "detectors"); + DiagnosticsInner client = this.inner(); + return client.getHostingEnvironmentDetectorResponseAsync(resourceGroupName, name, detectorName); } private Observable getDiagnosticAnalysisInnerUsingDiagnosticsInnerAsync(String id) { @@ -114,91 +123,61 @@ private Observable getDiagnosticAnalysisInnerUsingDiagn } @Override - public Observable getSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + public Observable getHostingEnvironmentDetectorResponseAsync(String resourceGroupName, String name, String detectorName) { DiagnosticsInner client = this.inner(); - return client.getSiteAnalysisAsync(resourceGroupName, siteName, diagnosticCategory, analysisName) - .map(new Func1() { + return client.getHostingEnvironmentDetectorResponseAsync(resourceGroupName, name, detectorName) + .map(new Func1() { @Override - public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { - return wrapDiagnosticAnalysisModel(inner); + public DetectorResponse call(DetectorResponseInner inner) { + return wrapDetectorResponseModel(inner); } }); } @Override - public Observable listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + public Observable listHostingEnvironmentDetectorResponsesAsync(final String resourceGroupName, final String name) { DiagnosticsInner client = this.inner(); - return client.listSiteAnalysesAsync(resourceGroupName, siteName, diagnosticCategory) - .flatMapIterable(new Func1, Iterable>() { + return client.listHostingEnvironmentDetectorResponsesAsync(resourceGroupName, name) + .flatMapIterable(new Func1, Iterable>() { @Override - public Iterable call(Page page) { + public Iterable call(Page page) { return page.items(); } }) - .flatMap(new Func1>() { + .map(new Func1() { @Override - public Observable call(AnalysisDefinitionInner inner) { - return getDiagnosticAnalysisInnerUsingDiagnosticsInnerAsync(inner.id()); - } - }) - .map(new Func1() { - @Override - public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { - return wrapDiagnosticAnalysisModel(inner); + public DetectorResponse call(DetectorResponseInner inner) { + return wrapDetectorResponseModel(inner); } }); } @Override - public Observable executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + public Observable listSiteDetectorResponsesAsync(final String resourceGroupName, final String siteName) { DiagnosticsInner client = this.inner(); - return client.executeSiteAnalysisAsync(resourceGroupName, siteName, diagnosticCategory, analysisName) - .map(new Func1() { + return client.listSiteDetectorResponsesAsync(resourceGroupName, siteName) + .flatMapIterable(new Func1, Iterable>() { @Override - public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { - return new DiagnosticAnalysisImpl(inner, manager()); - } - }); - } - - @Override - public Observable listSiteAnalysesSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String slot) { - DiagnosticsInner client = this.inner(); - return client.listSiteAnalysesSlotAsync(resourceGroupName, siteName, diagnosticCategory, slot) - .flatMapIterable(new Func1, Iterable>() { - @Override - public Iterable call(Page page) { + public Iterable call(Page page) { return page.items(); } }) - .map(new Func1() { + .map(new Func1() { @Override - public AnalysisDefinition call(AnalysisDefinitionInner inner) { - return new AnalysisDefinitionImpl(inner, manager()); - } - }); - } - - @Override - public Observable getSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot) { - DiagnosticsInner client = this.inner(); - return client.getSiteAnalysisSlotAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, slot) - .map(new Func1() { - @Override - public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { - return new DiagnosticAnalysisImpl(inner, manager()); + public DetectorResponse call(DetectorResponseInner inner) { + return new DetectorResponseImpl(inner, manager()); } }); } @Override - public Observable executeSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot) { + public Observable getSiteDetectorResponseAsync(String resourceGroupName, String siteName, String detectorName) { DiagnosticsInner client = this.inner(); - return client.executeSiteAnalysisSlotAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, slot) - .map(new Func1() { + return client.getSiteDetectorResponseAsync(resourceGroupName, siteName, detectorName) + .map(new Func1() { @Override - public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { - return new DiagnosticAnalysisImpl(inner, manager()); + public DetectorResponse call(DetectorResponseInner inner) { + return new DetectorResponseImpl(inner, manager()); } }); } @@ -216,7 +195,7 @@ public Iterable call(Page page .map(new Func1() { @Override public DetectorDefinition call(DetectorDefinitionInner inner) { - return wrapDetectorDefinitionModel(inner); + return new DetectorDefinitionImpl(inner, manager()); } }); } @@ -251,6 +230,36 @@ public DiagnosticDetectorResponse call(DiagnosticDetectorResponseInner inner) { }); } + @Override + public Observable listSiteDetectorResponsesSlotAsync(final String resourceGroupName, final String siteName, final String slot) { + DiagnosticsInner client = this.inner(); + return client.listSiteDetectorResponsesSlotAsync(resourceGroupName, siteName, slot) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public DetectorResponse call(DetectorResponseInner inner) { + return new DetectorResponseImpl(inner, manager()); + } + }); + } + + @Override + public Observable getSiteDetectorResponseSlotAsync(String resourceGroupName, String siteName, String detectorName, String slot) { + DiagnosticsInner client = this.inner(); + return client.getSiteDetectorResponseSlotAsync(resourceGroupName, siteName, detectorName, slot) + .map(new Func1() { + @Override + public DetectorResponse call(DetectorResponseInner inner) { + return new DetectorResponseImpl(inner, manager()); + } + }); + } + @Override public Observable listSiteDetectorsSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String slot) { DiagnosticsInner client = this.inner(); @@ -299,4 +308,94 @@ public DiagnosticDetectorResponse call(DiagnosticDetectorResponseInner inner) { }); } + @Override + 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); + } + }); + } + + @Override + public Observable listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + DiagnosticsInner client = this.inner(); + return client.listSiteAnalysesAsync(resourceGroupName, siteName, diagnosticCategory) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .flatMap(new Func1>() { + @Override + public Observable call(AnalysisDefinitionInner inner) { + return getDiagnosticAnalysisInnerUsingDiagnosticsInnerAsync(inner.id()); + } + }) + .map(new Func1() { + @Override + public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { + return wrapDiagnosticAnalysisModel(inner); + } + }); + } + + @Override + public Observable executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + DiagnosticsInner client = this.inner(); + return client.executeSiteAnalysisAsync(resourceGroupName, siteName, diagnosticCategory, analysisName) + .map(new Func1() { + @Override + public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { + return new DiagnosticAnalysisImpl(inner, manager()); + } + }); + } + + @Override + public Observable listSiteAnalysesSlotAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String slot) { + DiagnosticsInner client = this.inner(); + return client.listSiteAnalysesSlotAsync(resourceGroupName, siteName, diagnosticCategory, slot) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public AnalysisDefinition call(AnalysisDefinitionInner inner) { + return new AnalysisDefinitionImpl(inner, manager()); + } + }); + } + + @Override + public Observable getSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot) { + DiagnosticsInner client = this.inner(); + return client.getSiteAnalysisSlotAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, slot) + .map(new Func1() { + @Override + public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { + return new DiagnosticAnalysisImpl(inner, manager()); + } + }); + } + + @Override + public Observable executeSiteAnalysisSlotAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, String slot) { + DiagnosticsInner client = this.inner(); + return client.executeSiteAnalysisSlotAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, slot) + .map(new Func1() { + @Override + public DiagnosticAnalysis call(DiagnosticAnalysisInner inner) { + return new DiagnosticAnalysisImpl(inner, manager()); + } + }); + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsInner.java index 2a724b3655d07..04c9bd6602814 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticsInner.java @@ -59,6 +59,22 @@ public DiagnosticsInner(Retrofit retrofit, WebSiteManagementClientImpl client) { * used by Retrofit to perform actually REST calls. */ interface DiagnosticsService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.Diagnostics listHostingEnvironmentDetectorResponses" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors") + Observable> listHostingEnvironmentDetectorResponses(@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.Diagnostics getHostingEnvironmentDetectorResponse" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectors/{detectorName}") + Observable> getHostingEnvironmentDetectorResponse(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("detectorName") String detectorName, @Path("subscriptionId") String subscriptionId, @Query("startTime") DateTime startTime, @Query("endTime") DateTime endTime, @Query("timeGrain") String timeGrain, @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.Diagnostics listSiteDetectorResponses" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors") + Observable> listSiteDetectorResponses(@Path("resourceGroupName") String resourceGroupName, @Path("siteName") String siteName, @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.Diagnostics getSiteDetectorResponse" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/detectors/{detectorName}") + Observable> getSiteDetectorResponse(@Path("resourceGroupName") String resourceGroupName, @Path("siteName") String siteName, @Path("detectorName") String detectorName, @Path("subscriptionId") String subscriptionId, @Query("startTime") DateTime startTime, @Query("endTime") DateTime endTime, @Query("timeGrain") String timeGrain, @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.Diagnostics listSiteDiagnosticCategories" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics") Observable> listSiteDiagnosticCategories(@Path("resourceGroupName") String resourceGroupName, @Path("siteName") String siteName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -91,6 +107,14 @@ interface DiagnosticsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute") Observable> executeSiteDetector(@Path("resourceGroupName") String resourceGroupName, @Path("siteName") String siteName, @Path("detectorName") String detectorName, @Path("diagnosticCategory") String diagnosticCategory, @Path("subscriptionId") String subscriptionId, @Query("startTime") DateTime startTime, @Query("endTime") DateTime endTime, @Query("timeGrain") String timeGrain, @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.Diagnostics listSiteDetectorResponsesSlot" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors") + Observable> listSiteDetectorResponsesSlot(@Path("resourceGroupName") String resourceGroupName, @Path("siteName") String siteName, @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.Diagnostics getSiteDetectorResponseSlot" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/detectors/{detectorName}") + Observable> getSiteDetectorResponseSlot(@Path("resourceGroupName") String resourceGroupName, @Path("siteName") String siteName, @Path("detectorName") String detectorName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("startTime") DateTime startTime, @Query("endTime") DateTime endTime, @Query("timeGrain") String timeGrain, @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.Diagnostics listSiteDiagnosticCategoriesSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics") Observable> listSiteDiagnosticCategoriesSlot(@Path("resourceGroupName") String resourceGroupName, @Path("siteName") String siteName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -123,6 +147,14 @@ interface DiagnosticsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slot}/diagnostics/{diagnosticCategory}/detectors/{detectorName}/execute") Observable> executeSiteDetectorSlot(@Path("resourceGroupName") String resourceGroupName, @Path("siteName") String siteName, @Path("detectorName") String detectorName, @Path("diagnosticCategory") String diagnosticCategory, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("startTime") DateTime startTime, @Query("endTime") DateTime endTime, @Query("timeGrain") String timeGrain, @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.Diagnostics listHostingEnvironmentDetectorResponsesNext" }) + @GET + Observable> listHostingEnvironmentDetectorResponsesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.Diagnostics listSiteDetectorResponsesNext" }) + @GET + Observable> listSiteDetectorResponsesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.Diagnostics listSiteDiagnosticCategoriesNext" }) @GET Observable> listSiteDiagnosticCategoriesNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -139,6 +171,10 @@ interface DiagnosticsService { @GET Observable> getSiteDetectorNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.Diagnostics listSiteDetectorResponsesSlotNext" }) + @GET + Observable> listSiteDetectorResponsesSlotNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.Diagnostics listSiteDiagnosticCategoriesSlotNext" }) @GET Observable> listSiteDiagnosticCategoriesSlotNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -158,105 +194,105 @@ interface DiagnosticsService { } /** - * Get Diagnostics Categories. - * Get Diagnostics Categories. + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name + * @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 PagedList<DiagnosticCategoryInner> object if successful. + * @return the PagedList<DetectorResponseInner> object if successful. */ - public PagedList listSiteDiagnosticCategories(final String resourceGroupName, final String siteName) { - ServiceResponse> response = listSiteDiagnosticCategoriesSinglePageAsync(resourceGroupName, siteName).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listHostingEnvironmentDetectorResponses(final String resourceGroupName, final String name) { + ServiceResponse> response = listHostingEnvironmentDetectorResponsesSinglePageAsync(resourceGroupName, name).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return listSiteDiagnosticCategoriesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + public Page nextPage(String nextPageLink) { + return listHostingEnvironmentDetectorResponsesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; } /** - * Get Diagnostics Categories. - * Get Diagnostics Categories. + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name + * @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> listSiteDiagnosticCategoriesAsync(final String resourceGroupName, final String siteName, final ListOperationCallback serviceCallback) { + public ServiceFuture> listHostingEnvironmentDetectorResponsesAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listSiteDiagnosticCategoriesSinglePageAsync(resourceGroupName, siteName), - new Func1>>>() { + listHostingEnvironmentDetectorResponsesSinglePageAsync(resourceGroupName, name), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return listSiteDiagnosticCategoriesNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listHostingEnvironmentDetectorResponsesNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * Get Diagnostics Categories. - * Get Diagnostics Categories. + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name + * @param name Site Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DiagnosticCategoryInner> object + * @return the observable to the PagedList<DetectorResponseInner> object */ - public Observable> listSiteDiagnosticCategoriesAsync(final String resourceGroupName, final String siteName) { - return listSiteDiagnosticCategoriesWithServiceResponseAsync(resourceGroupName, siteName) - .map(new Func1>, Page>() { + public Observable> listHostingEnvironmentDetectorResponsesAsync(final String resourceGroupName, final String name) { + return listHostingEnvironmentDetectorResponsesWithServiceResponseAsync(resourceGroupName, name) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * Get Diagnostics Categories. - * Get Diagnostics Categories. + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name + * @param name Site Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DiagnosticCategoryInner> object + * @return the observable to the PagedList<DetectorResponseInner> object */ - public Observable>> listSiteDiagnosticCategoriesWithServiceResponseAsync(final String resourceGroupName, final String siteName) { - return listSiteDiagnosticCategoriesSinglePageAsync(resourceGroupName, siteName) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listHostingEnvironmentDetectorResponsesWithServiceResponseAsync(final String resourceGroupName, final String name) { + return listHostingEnvironmentDetectorResponsesSinglePageAsync(resourceGroupName, name) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(listSiteDiagnosticCategoriesNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listHostingEnvironmentDetectorResponsesNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * Get Diagnostics Categories. - * Get Diagnostics Categories. + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param siteName 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<DiagnosticCategoryInner> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DetectorResponseInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSiteDiagnosticCategoriesSinglePageAsync(final String resourceGroupName, final String siteName) { + public Observable>> listHostingEnvironmentDetectorResponsesSinglePageAsync(final String resourceGroupName, final String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } - if (siteName == null) { - throw new IllegalArgumentException("Parameter siteName 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."); @@ -264,13 +300,13 @@ public Observable>> listSiteDiagno if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listSiteDiagnosticCategories(resourceGroupName, siteName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listHostingEnvironmentDetectorResponses(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listSiteDiagnosticCategoriesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listHostingEnvironmentDetectorResponsesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -278,82 +314,82 @@ public Observable>> call(Response< }); } - private ServiceResponse> listSiteDiagnosticCategoriesDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listHostingEnvironmentDetectorResponsesDelegate(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); } /** - * Get Diagnostics Category. - * Get Diagnostics Category. + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category + * @param name App Service Environment Name + * @param detectorName Detector Resource 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 DiagnosticCategoryInner object if successful. + * @return the DetectorResponseInner object if successful. */ - public DiagnosticCategoryInner getSiteDiagnosticCategory(String resourceGroupName, String siteName, String diagnosticCategory) { - return getSiteDiagnosticCategoryWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory).toBlocking().single().body(); + public DetectorResponseInner getHostingEnvironmentDetectorResponse(String resourceGroupName, String name, String detectorName) { + return getHostingEnvironmentDetectorResponseWithServiceResponseAsync(resourceGroupName, name, detectorName).toBlocking().single().body(); } /** - * Get Diagnostics Category. - * Get Diagnostics Category. + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category + * @param name App Service Environment Name + * @param detectorName Detector Resource 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 getSiteDiagnosticCategoryAsync(String resourceGroupName, String siteName, String diagnosticCategory, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSiteDiagnosticCategoryWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory), serviceCallback); + public ServiceFuture getHostingEnvironmentDetectorResponseAsync(String resourceGroupName, String name, String detectorName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getHostingEnvironmentDetectorResponseWithServiceResponseAsync(resourceGroupName, name, detectorName), serviceCallback); } /** - * Get Diagnostics Category. - * Get Diagnostics Category. + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category + * @param name App Service Environment Name + * @param detectorName Detector Resource Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticCategoryInner object + * @return the observable to the DetectorResponseInner object */ - public Observable getSiteDiagnosticCategoryAsync(String resourceGroupName, String siteName, String diagnosticCategory) { - return getSiteDiagnosticCategoryWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory).map(new Func1, DiagnosticCategoryInner>() { + public Observable getHostingEnvironmentDetectorResponseAsync(String resourceGroupName, String name, String detectorName) { + return getHostingEnvironmentDetectorResponseWithServiceResponseAsync(resourceGroupName, name, detectorName).map(new Func1, DetectorResponseInner>() { @Override - public DiagnosticCategoryInner call(ServiceResponse response) { + public DetectorResponseInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get Diagnostics Category. - * Get Diagnostics Category. + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category + * @param name App Service Environment Name + * @param detectorName Detector Resource Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticCategoryInner object + * @return the observable to the DetectorResponseInner object */ - public Observable> getSiteDiagnosticCategoryWithServiceResponseAsync(String resourceGroupName, String siteName, String diagnosticCategory) { + public Observable> getHostingEnvironmentDetectorResponseWithServiceResponseAsync(String resourceGroupName, String name, String detectorName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } - if (siteName == null) { - throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); + if (name == null) { + throw new IllegalArgumentException("Parameter name is required and cannot be null."); } - if (diagnosticCategory == null) { - throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); + if (detectorName == null) { + throw new IllegalArgumentException("Parameter detectorName is required and cannot be null."); } if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); @@ -361,12 +397,15 @@ public Observable> getSiteDiagnosticCat if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getSiteDiagnosticCategory(resourceGroupName, siteName, diagnosticCategory, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + final DateTime startTime = null; + final DateTime endTime = null; + final String timeGrain = null; + return service.getHostingEnvironmentDetectorResponse(resourceGroupName, name, detectorName, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getSiteDiagnosticCategoryDelegate(response); + ServiceResponse clientResponse = getHostingEnvironmentDetectorResponseDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -375,135 +414,229 @@ public Observable> call(Response getSiteDiagnosticCategoryDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + /** + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name App Service Environment Name + * @param detectorName Detector Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @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 DetectorResponseInner object if successful. + */ + public DetectorResponseInner getHostingEnvironmentDetectorResponse(String resourceGroupName, String name, String detectorName, DateTime startTime, DateTime endTime, String timeGrain) { + return getHostingEnvironmentDetectorResponseWithServiceResponseAsync(resourceGroupName, name, detectorName, startTime, endTime, timeGrain).toBlocking().single().body(); + } + + /** + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name App Service Environment Name + * @param detectorName Detector Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @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 getHostingEnvironmentDetectorResponseAsync(String resourceGroupName, String name, String detectorName, DateTime startTime, DateTime endTime, String timeGrain, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getHostingEnvironmentDetectorResponseWithServiceResponseAsync(resourceGroupName, name, detectorName, startTime, endTime, timeGrain), serviceCallback); + } + + /** + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name App Service Environment Name + * @param detectorName Detector Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DetectorResponseInner object + */ + public Observable getHostingEnvironmentDetectorResponseAsync(String resourceGroupName, String name, String detectorName, DateTime startTime, DateTime endTime, String timeGrain) { + return getHostingEnvironmentDetectorResponseWithServiceResponseAsync(resourceGroupName, name, detectorName, startTime, endTime, timeGrain).map(new Func1, DetectorResponseInner>() { + @Override + public DetectorResponseInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get Hosting Environment Detector Response. + * Get Hosting Environment Detector Response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name App Service Environment Name + * @param detectorName Detector Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DetectorResponseInner object + */ + public Observable> getHostingEnvironmentDetectorResponseWithServiceResponseAsync(String resourceGroupName, String name, String detectorName, DateTime startTime, DateTime endTime, String timeGrain) { + 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 (detectorName == null) { + throw new IllegalArgumentException("Parameter detectorName 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.getHostingEnvironmentDetectorResponse(resourceGroupName, name, detectorName, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getHostingEnvironmentDetectorResponseDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getHostingEnvironmentDetectorResponseDelegate(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); } /** - * Get Site Analyses. - * Get Site Analyses. + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category * @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 PagedList<AnalysisDefinitionInner> object if successful. + * @return the PagedList<DetectorResponseInner> object if successful. */ - public PagedList listSiteAnalyses(final String resourceGroupName, final String siteName, final String diagnosticCategory) { - ServiceResponse> response = listSiteAnalysesSinglePageAsync(resourceGroupName, siteName, diagnosticCategory).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listSiteDetectorResponses(final String resourceGroupName, final String siteName) { + ServiceResponse> response = listSiteDetectorResponsesSinglePageAsync(resourceGroupName, siteName).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return listSiteAnalysesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + public Page nextPage(String nextPageLink) { + return listSiteDetectorResponsesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; } /** - * Get Site Analyses. - * Get Site Analyses. + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category * @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> listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final ListOperationCallback serviceCallback) { + public ServiceFuture> listSiteDetectorResponsesAsync(final String resourceGroupName, final String siteName, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listSiteAnalysesSinglePageAsync(resourceGroupName, siteName, diagnosticCategory), - new Func1>>>() { + listSiteDetectorResponsesSinglePageAsync(resourceGroupName, siteName), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return listSiteAnalysesNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listSiteDetectorResponsesNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * Get Site Analyses. - * Get Site Analyses. + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<AnalysisDefinitionInner> object + * @return the observable to the PagedList<DetectorResponseInner> object */ - public Observable> listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { - return listSiteAnalysesWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory) - .map(new Func1>, Page>() { + public Observable> listSiteDetectorResponsesAsync(final String resourceGroupName, final String siteName) { + return listSiteDetectorResponsesWithServiceResponseAsync(resourceGroupName, siteName) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * Get Site Analyses. - * Get Site Analyses. + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<AnalysisDefinitionInner> object + * @return the observable to the PagedList<DetectorResponseInner> object */ - public Observable>> listSiteAnalysesWithServiceResponseAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { - return listSiteAnalysesSinglePageAsync(resourceGroupName, siteName, diagnosticCategory) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listSiteDetectorResponsesWithServiceResponseAsync(final String resourceGroupName, final String siteName) { + return listSiteDetectorResponsesSinglePageAsync(resourceGroupName, siteName) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(listSiteAnalysesNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listSiteDetectorResponsesNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * Get Site Analyses. - * Get Site Analyses. + * List Site Detector Responses. + * List Site Detector Responses. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param siteName Site Name - ServiceResponse> * @param diagnosticCategory Diagnostic Category + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param siteName Site Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<AnalysisDefinitionInner> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DetectorResponseInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSiteAnalysesSinglePageAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + public Observable>> listSiteDetectorResponsesSinglePageAsync(final String resourceGroupName, final String siteName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } if (siteName == null) { throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); } - if (diagnosticCategory == null) { - throw new IllegalArgumentException("Parameter diagnosticCategory 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.listSiteAnalyses(resourceGroupName, siteName, diagnosticCategory, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listSiteDetectorResponses(resourceGroupName, siteName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listSiteAnalysesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listSiteDetectorResponsesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -511,58 +644,621 @@ public Observable>> call(Response< }); } - private ServiceResponse> listSiteAnalysesDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listSiteDetectorResponsesDelegate(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); } /** - * Get Site Analysis. - * Get Site Analysis. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @param analysisName Analysis Name + * @param detectorName Detector Resource 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 DiagnosticAnalysisInner object if successful. + * @return the DetectorResponseInner object if successful. */ - public DiagnosticAnalysisInner getSiteAnalysis(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { - return getSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName).toBlocking().single().body(); + public DetectorResponseInner getSiteDetectorResponse(String resourceGroupName, String siteName, String detectorName) { + return getSiteDetectorResponseWithServiceResponseAsync(resourceGroupName, siteName, detectorName).toBlocking().single().body(); } /** - * Get Site Analysis. - * Get Site Analysis. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @param analysisName Analysis Name + * @param detectorName Detector Resource 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 getSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName), serviceCallback); + public ServiceFuture getSiteDetectorResponseAsync(String resourceGroupName, String siteName, String detectorName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSiteDetectorResponseWithServiceResponseAsync(resourceGroupName, siteName, detectorName), serviceCallback); } /** - * Get Site Analysis. - * Get Site Analysis. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @param analysisName Analysis Name + * @param detectorName Detector Resource Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticAnalysisInner object + * @return the observable to the DetectorResponseInner object */ - public Observable getSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + public Observable getSiteDetectorResponseAsync(String resourceGroupName, String siteName, String detectorName) { + return getSiteDetectorResponseWithServiceResponseAsync(resourceGroupName, siteName, detectorName).map(new Func1, DetectorResponseInner>() { + @Override + public DetectorResponseInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get site detector response. + * Get site detector response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param detectorName Detector Resource Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DetectorResponseInner object + */ + public Observable> getSiteDetectorResponseWithServiceResponseAsync(String resourceGroupName, String siteName, String detectorName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (siteName == null) { + throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); + } + if (detectorName == null) { + throw new IllegalArgumentException("Parameter detectorName 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."); + } + final DateTime startTime = null; + final DateTime endTime = null; + final String timeGrain = null; + return service.getSiteDetectorResponse(resourceGroupName, siteName, detectorName, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getSiteDetectorResponseDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Get site detector response. + * Get site detector response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param detectorName Detector Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @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 DetectorResponseInner object if successful. + */ + public DetectorResponseInner getSiteDetectorResponse(String resourceGroupName, String siteName, String detectorName, DateTime startTime, DateTime endTime, String timeGrain) { + return getSiteDetectorResponseWithServiceResponseAsync(resourceGroupName, siteName, detectorName, startTime, endTime, timeGrain).toBlocking().single().body(); + } + + /** + * Get site detector response. + * Get site detector response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param detectorName Detector Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @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 getSiteDetectorResponseAsync(String resourceGroupName, String siteName, String detectorName, DateTime startTime, DateTime endTime, String timeGrain, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSiteDetectorResponseWithServiceResponseAsync(resourceGroupName, siteName, detectorName, startTime, endTime, timeGrain), serviceCallback); + } + + /** + * Get site detector response. + * Get site detector response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param detectorName Detector Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DetectorResponseInner object + */ + public Observable getSiteDetectorResponseAsync(String resourceGroupName, String siteName, String detectorName, DateTime startTime, DateTime endTime, String timeGrain) { + return getSiteDetectorResponseWithServiceResponseAsync(resourceGroupName, siteName, detectorName, startTime, endTime, timeGrain).map(new Func1, DetectorResponseInner>() { + @Override + public DetectorResponseInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get site detector response. + * Get site detector response. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param detectorName Detector Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DetectorResponseInner object + */ + public Observable> getSiteDetectorResponseWithServiceResponseAsync(String resourceGroupName, String siteName, String detectorName, DateTime startTime, DateTime endTime, String timeGrain) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (siteName == null) { + throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); + } + if (detectorName == null) { + throw new IllegalArgumentException("Parameter detectorName 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.getSiteDetectorResponse(resourceGroupName, siteName, detectorName, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getSiteDetectorResponseDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getSiteDetectorResponseDelegate(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); + } + + /** + * Get Diagnostics Categories. + * Get Diagnostics Categories. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName 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 PagedList<DiagnosticCategoryInner> object if successful. + */ + public PagedList listSiteDiagnosticCategories(final String resourceGroupName, final String siteName) { + ServiceResponse> response = listSiteDiagnosticCategoriesSinglePageAsync(resourceGroupName, siteName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSiteDiagnosticCategoriesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Get Diagnostics Categories. + * Get Diagnostics Categories. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName 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> listSiteDiagnosticCategoriesAsync(final String resourceGroupName, final String siteName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSiteDiagnosticCategoriesSinglePageAsync(resourceGroupName, siteName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSiteDiagnosticCategoriesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Get Diagnostics Categories. + * Get Diagnostics Categories. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DiagnosticCategoryInner> object + */ + public Observable> listSiteDiagnosticCategoriesAsync(final String resourceGroupName, final String siteName) { + return listSiteDiagnosticCategoriesWithServiceResponseAsync(resourceGroupName, siteName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Get Diagnostics Categories. + * Get Diagnostics Categories. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DiagnosticCategoryInner> object + */ + public Observable>> listSiteDiagnosticCategoriesWithServiceResponseAsync(final String resourceGroupName, final String siteName) { + return listSiteDiagnosticCategoriesSinglePageAsync(resourceGroupName, siteName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSiteDiagnosticCategoriesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Get Diagnostics Categories. + * Get Diagnostics Categories. + * + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param siteName Site Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DiagnosticCategoryInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSiteDiagnosticCategoriesSinglePageAsync(final String resourceGroupName, final String siteName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (siteName == null) { + throw new IllegalArgumentException("Parameter siteName 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.listSiteDiagnosticCategories(resourceGroupName, siteName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listSiteDiagnosticCategoriesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listSiteDiagnosticCategoriesDelegate(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); + } + + /** + * Get Diagnostics Category. + * Get Diagnostics Category. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @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 DiagnosticCategoryInner object if successful. + */ + public DiagnosticCategoryInner getSiteDiagnosticCategory(String resourceGroupName, String siteName, String diagnosticCategory) { + return getSiteDiagnosticCategoryWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory).toBlocking().single().body(); + } + + /** + * Get Diagnostics Category. + * Get Diagnostics Category. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @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 getSiteDiagnosticCategoryAsync(String resourceGroupName, String siteName, String diagnosticCategory, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSiteDiagnosticCategoryWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory), serviceCallback); + } + + /** + * Get Diagnostics Category. + * Get Diagnostics Category. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DiagnosticCategoryInner object + */ + public Observable getSiteDiagnosticCategoryAsync(String resourceGroupName, String siteName, String diagnosticCategory) { + return getSiteDiagnosticCategoryWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory).map(new Func1, DiagnosticCategoryInner>() { + @Override + public DiagnosticCategoryInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get Diagnostics Category. + * Get Diagnostics Category. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DiagnosticCategoryInner object + */ + public Observable> getSiteDiagnosticCategoryWithServiceResponseAsync(String resourceGroupName, String siteName, String diagnosticCategory) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (siteName == null) { + throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); + } + if (diagnosticCategory == null) { + throw new IllegalArgumentException("Parameter diagnosticCategory 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.getSiteDiagnosticCategory(resourceGroupName, siteName, diagnosticCategory, 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 = getSiteDiagnosticCategoryDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getSiteDiagnosticCategoryDelegate(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); + } + + /** + * Get Site Analyses. + * Get Site Analyses. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @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 PagedList<AnalysisDefinitionInner> object if successful. + */ + public PagedList listSiteAnalyses(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + ServiceResponse> response = listSiteAnalysesSinglePageAsync(resourceGroupName, siteName, diagnosticCategory).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSiteAnalysesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Get Site Analyses. + * Get Site Analyses. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @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> listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSiteAnalysesSinglePageAsync(resourceGroupName, siteName, diagnosticCategory), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSiteAnalysesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Get Site Analyses. + * Get Site Analyses. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<AnalysisDefinitionInner> object + */ + public Observable> listSiteAnalysesAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + return listSiteAnalysesWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Get Site Analyses. + * Get Site Analyses. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<AnalysisDefinitionInner> object + */ + public Observable>> listSiteAnalysesWithServiceResponseAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + return listSiteAnalysesSinglePageAsync(resourceGroupName, siteName, diagnosticCategory) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSiteAnalysesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Get Site Analyses. + * Get Site Analyses. + * + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param siteName Site Name + ServiceResponse> * @param diagnosticCategory Diagnostic Category + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<AnalysisDefinitionInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSiteAnalysesSinglePageAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (siteName == null) { + throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); + } + if (diagnosticCategory == null) { + throw new IllegalArgumentException("Parameter diagnosticCategory 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.listSiteAnalyses(resourceGroupName, siteName, diagnosticCategory, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listSiteAnalysesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listSiteAnalysesDelegate(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); + } + + /** + * Get Site Analysis. + * Get Site Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @param analysisName Analysis 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 DiagnosticAnalysisInner object if successful. + */ + public DiagnosticAnalysisInner getSiteAnalysis(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + return getSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName).toBlocking().single().body(); + } + + /** + * Get Site Analysis. + * Get Site Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @param analysisName Analysis 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 getSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName), serviceCallback); + } + + /** + * Get Site Analysis. + * Get Site Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @param analysisName Analysis Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DiagnosticAnalysisInner object + */ + public Observable getSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { return getSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName).map(new Func1, DiagnosticAnalysisInner>() { @Override public DiagnosticAnalysisInner call(ServiceResponse response) { @@ -572,17 +1268,372 @@ public DiagnosticAnalysisInner call(ServiceResponse res } /** - * Get Site Analysis. - * Get Site Analysis. + * Get Site Analysis. + * Get Site Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @param analysisName Analysis Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DiagnosticAnalysisInner object + */ + public Observable> getSiteAnalysisWithServiceResponseAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (siteName == null) { + throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); + } + if (diagnosticCategory == null) { + throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); + } + if (analysisName == null) { + throw new IllegalArgumentException("Parameter analysisName 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.getSiteAnalysis(resourceGroupName, siteName, diagnosticCategory, analysisName, 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 = getSiteAnalysisDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getSiteAnalysisDelegate(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); + } + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource 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 DiagnosticAnalysisInner object if successful. + */ + public DiagnosticAnalysisInner executeSiteAnalysis(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + return executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName).toBlocking().single().body(); + } + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource 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 executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName), serviceCallback); + } + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DiagnosticAnalysisInner object + */ + public Observable executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + return executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName).map(new Func1, DiagnosticAnalysisInner>() { + @Override + public DiagnosticAnalysisInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DiagnosticAnalysisInner object + */ + public Observable> executeSiteAnalysisWithServiceResponseAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (siteName == null) { + throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); + } + if (diagnosticCategory == null) { + throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); + } + if (analysisName == null) { + throw new IllegalArgumentException("Parameter analysisName 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."); + } + final DateTime startTime = null; + final DateTime endTime = null; + final String timeGrain = null; + return service.executeSiteAnalysis(resourceGroupName, siteName, diagnosticCategory, analysisName, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = executeSiteAnalysisDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @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 DiagnosticAnalysisInner object if successful. + */ + public DiagnosticAnalysisInner executeSiteAnalysis(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, DateTime startTime, DateTime endTime, String timeGrain) { + return executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, startTime, endTime, timeGrain).toBlocking().single().body(); + } + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @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 executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, DateTime startTime, DateTime endTime, String timeGrain, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, startTime, endTime, timeGrain), serviceCallback); + } + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DiagnosticAnalysisInner object + */ + public Observable executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, DateTime startTime, DateTime endTime, String timeGrain) { + return executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, startTime, endTime, timeGrain).map(new Func1, DiagnosticAnalysisInner>() { + @Override + public DiagnosticAnalysisInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Execute Analysis. + * Execute Analysis. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Category Name + * @param analysisName Analysis Resource Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the DiagnosticAnalysisInner object + */ + public Observable> executeSiteAnalysisWithServiceResponseAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, DateTime startTime, DateTime endTime, String timeGrain) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (siteName == null) { + throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); + } + if (diagnosticCategory == null) { + throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); + } + if (analysisName == null) { + throw new IllegalArgumentException("Parameter analysisName 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.executeSiteAnalysis(resourceGroupName, siteName, diagnosticCategory, analysisName, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = executeSiteAnalysisDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse executeSiteAnalysisDelegate(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); + } + + /** + * Get Detectors. + * Get Detectors. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @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 PagedList<DetectorDefinitionInner> object if successful. + */ + public PagedList listSiteDetectors(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + ServiceResponse> response = listSiteDetectorsSinglePageAsync(resourceGroupName, siteName, diagnosticCategory).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSiteDetectorsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Get Detectors. + * Get Detectors. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @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> listSiteDetectorsAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSiteDetectorsSinglePageAsync(resourceGroupName, siteName, diagnosticCategory), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSiteDetectorsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Get Detectors. + * Get Detectors. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param diagnosticCategory Diagnostic Category - * @param analysisName Analysis Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticAnalysisInner object + * @return the observable to the PagedList<DetectorDefinitionInner> object */ - public Observable> getSiteAnalysisWithServiceResponseAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + public Observable> listSiteDetectorsAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + return listSiteDetectorsWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Get Detectors. + * Get Detectors. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param siteName Site Name + * @param diagnosticCategory Diagnostic Category + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DetectorDefinitionInner> object + */ + public Observable>> listSiteDetectorsWithServiceResponseAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + return listSiteDetectorsSinglePageAsync(resourceGroupName, siteName, diagnosticCategory) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSiteDetectorsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Get Detectors. + * Get Detectors. + * + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param siteName Site Name + ServiceResponse> * @param diagnosticCategory Diagnostic Category + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DetectorDefinitionInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSiteDetectorsSinglePageAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -592,22 +1643,19 @@ public Observable> getSiteAnalysisWithS if (diagnosticCategory == null) { throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); } - if (analysisName == null) { - throw new IllegalArgumentException("Parameter analysisName 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.getSiteAnalysis(resourceGroupName, siteName, diagnosticCategory, analysisName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listSiteDetectors(resourceGroupName, siteName, diagnosticCategory, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = getSiteAnalysisDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listSiteDetectorsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -615,78 +1663,118 @@ public Observable> call(Response getSiteAnalysisDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + private ServiceResponse> listSiteDetectorsDelegate(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); } /** - * Execute Analysis. - * Execute Analysis. + * Get Detector. + * Get Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name + * @param diagnosticCategory Diagnostic Category + * @param detectorName Detector 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 DiagnosticAnalysisInner object if successful. + * @return the PagedList<DetectorDefinitionInner> object if successful. */ - public DiagnosticAnalysisInner executeSiteAnalysis(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { - return executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName).toBlocking().single().body(); + public PagedList getSiteDetector(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName) { + ServiceResponse> response = getSiteDetectorSinglePageAsync(resourceGroupName, siteName, diagnosticCategory, detectorName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return getSiteDetectorNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Execute Analysis. - * Execute Analysis. + * Get Detector. + * Get Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name + * @param diagnosticCategory Diagnostic Category + * @param detectorName Detector 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 executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName), serviceCallback); + public ServiceFuture> getSiteDetectorAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + getSiteDetectorSinglePageAsync(resourceGroupName, siteName, diagnosticCategory, detectorName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return getSiteDetectorNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Execute Analysis. - * Execute Analysis. + * Get Detector. + * Get Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name + * @param diagnosticCategory Diagnostic Category + * @param detectorName Detector Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticAnalysisInner object + * @return the observable to the PagedList<DetectorDefinitionInner> object */ - public Observable executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { - return executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName).map(new Func1, DiagnosticAnalysisInner>() { - @Override - public DiagnosticAnalysisInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> getSiteDetectorAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName) { + return getSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, detectorName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Execute Analysis. - * Execute Analysis. + * Get Detector. + * Get Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name + * @param diagnosticCategory Diagnostic Category + * @param detectorName Detector Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticAnalysisInner object + * @return the observable to the PagedList<DetectorDefinitionInner> object */ - public Observable> executeSiteAnalysisWithServiceResponseAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName) { + public Observable>> getSiteDetectorWithServiceResponseAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName) { + return getSiteDetectorSinglePageAsync(resourceGroupName, siteName, diagnosticCategory, detectorName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(getSiteDetectorNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Get Detector. + * Get Detector. + * + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param siteName Site Name + ServiceResponse> * @param diagnosticCategory Diagnostic Category + ServiceResponse> * @param detectorName Detector Name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DetectorDefinitionInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> getSiteDetectorSinglePageAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -696,8 +1784,8 @@ public Observable> executeSiteAnalysisW if (diagnosticCategory == null) { throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); } - if (analysisName == null) { - throw new IllegalArgumentException("Parameter analysisName is required and cannot be null."); + if (detectorName == null) { + throw new IllegalArgumentException("Parameter detectorName is required and cannot be null."); } if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); @@ -705,16 +1793,13 @@ public Observable> executeSiteAnalysisW if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - final DateTime startTime = null; - final DateTime endTime = null; - final String timeGrain = null; - return service.executeSiteAnalysis(resourceGroupName, siteName, diagnosticCategory, analysisName, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getSiteDetector(resourceGroupName, siteName, diagnosticCategory, detectorName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = executeSiteAnalysisDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = getSiteDetectorDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -722,107 +1807,105 @@ public Observable> call(Response> getSiteDetectorDelegate(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); + } + /** - * Execute Analysis. - * Execute Analysis. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name + * @param detectorName Detector Resource Name * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name - * @param startTime Start Time - * @param endTime End Time - * @param timeGrain Time Grain * @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 DiagnosticAnalysisInner object if successful. + * @return the DiagnosticDetectorResponseInner object if successful. */ - public DiagnosticAnalysisInner executeSiteAnalysis(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, DateTime startTime, DateTime endTime, String timeGrain) { - return executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, startTime, endTime, timeGrain).toBlocking().single().body(); + public DiagnosticDetectorResponseInner executeSiteDetector(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory) { + return executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory).toBlocking().single().body(); } /** - * Execute Analysis. - * Execute Analysis. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name + * @param detectorName Detector Resource Name * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name - * @param startTime Start Time - * @param endTime End Time - * @param timeGrain Time Grain * @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 executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, DateTime startTime, DateTime endTime, String timeGrain, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, startTime, endTime, timeGrain), serviceCallback); + public ServiceFuture executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory), serviceCallback); } /** - * Execute Analysis. - * Execute Analysis. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name + * @param detectorName Detector Resource Name * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name - * @param startTime Start Time - * @param endTime End Time - * @param timeGrain Time Grain * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticAnalysisInner object + * @return the observable to the DiagnosticDetectorResponseInner object */ - public Observable executeSiteAnalysisAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, DateTime startTime, DateTime endTime, String timeGrain) { - return executeSiteAnalysisWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, analysisName, startTime, endTime, timeGrain).map(new Func1, DiagnosticAnalysisInner>() { + public Observable executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory) { + return executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory).map(new Func1, DiagnosticDetectorResponseInner>() { @Override - public DiagnosticAnalysisInner call(ServiceResponse response) { + public DiagnosticDetectorResponseInner call(ServiceResponse response) { return response.body(); } }); } /** - * Execute Analysis. - * Execute Analysis. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name + * @param detectorName Detector Resource Name * @param diagnosticCategory Category Name - * @param analysisName Analysis Resource Name - * @param startTime Start Time - * @param endTime End Time - * @param timeGrain Time Grain * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticAnalysisInner object + * @return the observable to the DiagnosticDetectorResponseInner object */ - public Observable> executeSiteAnalysisWithServiceResponseAsync(String resourceGroupName, String siteName, String diagnosticCategory, String analysisName, DateTime startTime, DateTime endTime, String timeGrain) { + public Observable> executeSiteDetectorWithServiceResponseAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } if (siteName == null) { throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); } + if (detectorName == null) { + throw new IllegalArgumentException("Parameter detectorName is required and cannot be null."); + } if (diagnosticCategory == null) { throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); } - if (analysisName == null) { - throw new IllegalArgumentException("Parameter analysisName 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.executeSiteAnalysis(resourceGroupName, siteName, diagnosticCategory, analysisName, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + final DateTime startTime = null; + final DateTime endTime = null; + final String timeGrain = null; + return service.executeSiteDetector(resourceGroupName, siteName, detectorName, diagnosticCategory, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = executeSiteAnalysisDelegate(response); + ServiceResponse clientResponse = executeSiteDetectorDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -831,119 +1914,92 @@ public Observable> call(Response executeSiteAnalysisDelegate(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); - } - /** - * Get Detectors. - * Get Detectors. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category + * @param detectorName Detector Resource Name + * @param diagnosticCategory Category Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain * @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 PagedList<DetectorDefinitionInner> object if successful. + * @return the DiagnosticDetectorResponseInner object if successful. */ - public PagedList listSiteDetectors(final String resourceGroupName, final String siteName, final String diagnosticCategory) { - ServiceResponse> response = listSiteDetectorsSinglePageAsync(resourceGroupName, siteName, diagnosticCategory).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listSiteDetectorsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public DiagnosticDetectorResponseInner executeSiteDetector(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, DateTime startTime, DateTime endTime, String timeGrain) { + return executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory, startTime, endTime, timeGrain).toBlocking().single().body(); } /** - * Get Detectors. - * Get Detectors. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category + * @param detectorName Detector Resource Name + * @param diagnosticCategory Category Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain * @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> listSiteDetectorsAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listSiteDetectorsSinglePageAsync(resourceGroupName, siteName, diagnosticCategory), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listSiteDetectorsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, DateTime startTime, DateTime endTime, String timeGrain, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory, startTime, endTime, timeGrain), serviceCallback); } /** - * Get Detectors. - * Get Detectors. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category + * @param detectorName Detector Resource Name + * @param diagnosticCategory Category Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DetectorDefinitionInner> object + * @return the observable to the DiagnosticDetectorResponseInner object */ - public Observable> listSiteDetectorsAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { - return listSiteDetectorsWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, DateTime startTime, DateTime endTime, String timeGrain) { + return executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory, startTime, endTime, timeGrain).map(new Func1, DiagnosticDetectorResponseInner>() { + @Override + public DiagnosticDetectorResponseInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Get Detectors. - * Get Detectors. + * Execute Detector. + * Execute Detector. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DetectorDefinitionInner> object - */ - public Observable>> listSiteDetectorsWithServiceResponseAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { - return listSiteDetectorsSinglePageAsync(resourceGroupName, siteName, diagnosticCategory) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listSiteDetectorsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * Get Detectors. - * Get Detectors. - * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param siteName Site Name - ServiceResponse> * @param diagnosticCategory Diagnostic Category + * @param detectorName Detector Resource Name + * @param diagnosticCategory Category Name + * @param startTime Start Time + * @param endTime End Time + * @param timeGrain Time Grain * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DetectorDefinitionInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the DiagnosticDetectorResponseInner object */ - public Observable>> listSiteDetectorsSinglePageAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory) { + public Observable> executeSiteDetectorWithServiceResponseAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, DateTime startTime, DateTime endTime, String timeGrain) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } if (siteName == null) { throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); } + if (detectorName == null) { + throw new IllegalArgumentException("Parameter detectorName is required and cannot be null."); + } if (diagnosticCategory == null) { throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); } @@ -953,13 +2009,13 @@ public Observable>> listSiteDetect if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listSiteDetectors(resourceGroupName, siteName, diagnosticCategory, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.executeSiteDetector(resourceGroupName, siteName, detectorName, diagnosticCategory, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listSiteDetectorsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = executeSiteDetectorDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -967,129 +2023,121 @@ public Observable>> call(Response< }); } - private ServiceResponse> listSiteDetectorsDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse executeSiteDetectorDelegate(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); } /** - * Get Detector. - * Get Detector. + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @param detectorName Detector Name + * @param slot Slot 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 PagedList<DetectorDefinitionInner> object if successful. + * @return the PagedList<DetectorResponseInner> object if successful. */ - public PagedList getSiteDetector(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName) { - ServiceResponse> response = getSiteDetectorSinglePageAsync(resourceGroupName, siteName, diagnosticCategory, detectorName).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listSiteDetectorResponsesSlot(final String resourceGroupName, final String siteName, final String slot) { + ServiceResponse> response = listSiteDetectorResponsesSlotSinglePageAsync(resourceGroupName, siteName, slot).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return getSiteDetectorNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + public Page nextPage(String nextPageLink) { + return listSiteDetectorResponsesSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; } /** - * Get Detector. - * Get Detector. + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @param detectorName Detector Name + * @param slot Slot 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> getSiteDetectorAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName, final ListOperationCallback serviceCallback) { + public ServiceFuture> listSiteDetectorResponsesSlotAsync(final String resourceGroupName, final String siteName, final String slot, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - getSiteDetectorSinglePageAsync(resourceGroupName, siteName, diagnosticCategory, detectorName), - new Func1>>>() { + listSiteDetectorResponsesSlotSinglePageAsync(resourceGroupName, siteName, slot), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return getSiteDetectorNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listSiteDetectorResponsesSlotNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * Get Detector. - * Get Detector. + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @param detectorName Detector Name + * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DetectorDefinitionInner> object + * @return the observable to the PagedList<DetectorResponseInner> object */ - public Observable> getSiteDetectorAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName) { - return getSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, diagnosticCategory, detectorName) - .map(new Func1>, Page>() { + public Observable> listSiteDetectorResponsesSlotAsync(final String resourceGroupName, final String siteName, final String slot) { + return listSiteDetectorResponsesSlotWithServiceResponseAsync(resourceGroupName, siteName, slot) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * Get Detector. - * Get Detector. + * List Site Detector Responses. + * List Site Detector Responses. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name - * @param diagnosticCategory Diagnostic Category - * @param detectorName Detector Name + * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DetectorDefinitionInner> object + * @return the observable to the PagedList<DetectorResponseInner> object */ - public Observable>> getSiteDetectorWithServiceResponseAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName) { - return getSiteDetectorSinglePageAsync(resourceGroupName, siteName, diagnosticCategory, detectorName) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listSiteDetectorResponsesSlotWithServiceResponseAsync(final String resourceGroupName, final String siteName, final String slot) { + return listSiteDetectorResponsesSlotSinglePageAsync(resourceGroupName, siteName, slot) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(getSiteDetectorNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listSiteDetectorResponsesSlotNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * Get Detector. - * Get Detector. + * List Site Detector Responses. + * List Site Detector Responses. * - ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. - ServiceResponse> * @param siteName Site Name - ServiceResponse> * @param diagnosticCategory Diagnostic Category - ServiceResponse> * @param detectorName Detector Name + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param siteName Site Name + ServiceResponse> * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<DetectorDefinitionInner> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<DetectorResponseInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> getSiteDetectorSinglePageAsync(final String resourceGroupName, final String siteName, final String diagnosticCategory, final String detectorName) { + public Observable>> listSiteDetectorResponsesSlotSinglePageAsync(final String resourceGroupName, final String siteName, final String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } if (siteName == null) { throw new IllegalArgumentException("Parameter siteName is required and cannot be null."); } - if (diagnosticCategory == null) { - throw new IllegalArgumentException("Parameter diagnosticCategory is required and cannot be null."); - } - if (detectorName == null) { - throw new IllegalArgumentException("Parameter detectorName 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."); @@ -1097,13 +2145,13 @@ public Observable>> getSiteDetecto if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getSiteDetector(resourceGroupName, siteName, diagnosticCategory, detectorName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listSiteDetectorResponsesSlot(resourceGroupName, siteName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = getSiteDetectorDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listSiteDetectorResponsesSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -1111,78 +2159,78 @@ public Observable>> call(Response< }); } - private ServiceResponse> getSiteDetectorDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory()., DefaultErrorResponseException>newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken>() { }.getType()) + private ServiceResponse> listSiteDetectorResponsesSlotDelegate(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); } /** - * Execute Detector. - * Execute Detector. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param detectorName Detector Resource Name - * @param diagnosticCategory Category Name + * @param slot Slot 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 DiagnosticDetectorResponseInner object if successful. + * @return the DetectorResponseInner object if successful. */ - public DiagnosticDetectorResponseInner executeSiteDetector(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory) { - return executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory).toBlocking().single().body(); + public DetectorResponseInner getSiteDetectorResponseSlot(String resourceGroupName, String siteName, String detectorName, String slot) { + return getSiteDetectorResponseSlotWithServiceResponseAsync(resourceGroupName, siteName, detectorName, slot).toBlocking().single().body(); } /** - * Execute Detector. - * Execute Detector. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param detectorName Detector Resource Name - * @param diagnosticCategory Category Name + * @param slot Slot 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 executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory), serviceCallback); + public ServiceFuture getSiteDetectorResponseSlotAsync(String resourceGroupName, String siteName, String detectorName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSiteDetectorResponseSlotWithServiceResponseAsync(resourceGroupName, siteName, detectorName, slot), serviceCallback); } /** - * Execute Detector. - * Execute Detector. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param detectorName Detector Resource Name - * @param diagnosticCategory Category Name + * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticDetectorResponseInner object + * @return the observable to the DetectorResponseInner object */ - public Observable executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory) { - return executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory).map(new Func1, DiagnosticDetectorResponseInner>() { + public Observable getSiteDetectorResponseSlotAsync(String resourceGroupName, String siteName, String detectorName, String slot) { + return getSiteDetectorResponseSlotWithServiceResponseAsync(resourceGroupName, siteName, detectorName, slot).map(new Func1, DetectorResponseInner>() { @Override - public DiagnosticDetectorResponseInner call(ServiceResponse response) { + public DetectorResponseInner call(ServiceResponse response) { return response.body(); } }); } /** - * Execute Detector. - * Execute Detector. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param detectorName Detector Resource Name - * @param diagnosticCategory Category Name + * @param slot Slot Name * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticDetectorResponseInner object + * @return the observable to the DetectorResponseInner object */ - public Observable> executeSiteDetectorWithServiceResponseAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory) { + public Observable> getSiteDetectorResponseSlotWithServiceResponseAsync(String resourceGroupName, String siteName, String detectorName, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -1192,8 +2240,8 @@ public Observable> executeSiteD if (detectorName == null) { throw new IllegalArgumentException("Parameter detectorName is required and cannot be null."); } - if (diagnosticCategory == null) { - throw new IllegalArgumentException("Parameter diagnosticCategory 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."); @@ -1204,12 +2252,12 @@ public Observable> executeSiteD final DateTime startTime = null; final DateTime endTime = null; final String timeGrain = null; - return service.executeSiteDetector(resourceGroupName, siteName, detectorName, diagnosticCategory, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getSiteDetectorResponseSlot(resourceGroupName, siteName, detectorName, slot, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = executeSiteDetectorDelegate(response); + ServiceResponse clientResponse = getSiteDetectorResponseSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -1218,34 +2266,34 @@ public Observable> call(Respons }); } - /** - * Execute Detector. - * Execute Detector. + /** + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param detectorName Detector Resource Name - * @param diagnosticCategory Category Name + * @param slot Slot Name * @param startTime Start Time * @param endTime End Time * @param timeGrain Time Grain * @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 DiagnosticDetectorResponseInner object if successful. + * @return the DetectorResponseInner object if successful. */ - public DiagnosticDetectorResponseInner executeSiteDetector(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, DateTime startTime, DateTime endTime, String timeGrain) { - return executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory, startTime, endTime, timeGrain).toBlocking().single().body(); + public DetectorResponseInner getSiteDetectorResponseSlot(String resourceGroupName, String siteName, String detectorName, String slot, DateTime startTime, DateTime endTime, String timeGrain) { + return getSiteDetectorResponseSlotWithServiceResponseAsync(resourceGroupName, siteName, detectorName, slot, startTime, endTime, timeGrain).toBlocking().single().body(); } /** - * Execute Detector. - * Execute Detector. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param detectorName Detector Resource Name - * @param diagnosticCategory Category Name + * @param slot Slot Name * @param startTime Start Time * @param endTime End Time * @param timeGrain Time Grain @@ -1253,48 +2301,48 @@ public DiagnosticDetectorResponseInner executeSiteDetector(String resourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, DateTime startTime, DateTime endTime, String timeGrain, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory, startTime, endTime, timeGrain), serviceCallback); + public ServiceFuture getSiteDetectorResponseSlotAsync(String resourceGroupName, String siteName, String detectorName, String slot, DateTime startTime, DateTime endTime, String timeGrain, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSiteDetectorResponseSlotWithServiceResponseAsync(resourceGroupName, siteName, detectorName, slot, startTime, endTime, timeGrain), serviceCallback); } /** - * Execute Detector. - * Execute Detector. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param detectorName Detector Resource Name - * @param diagnosticCategory Category Name + * @param slot Slot Name * @param startTime Start Time * @param endTime End Time * @param timeGrain Time Grain * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticDetectorResponseInner object + * @return the observable to the DetectorResponseInner object */ - public Observable executeSiteDetectorAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, DateTime startTime, DateTime endTime, String timeGrain) { - return executeSiteDetectorWithServiceResponseAsync(resourceGroupName, siteName, detectorName, diagnosticCategory, startTime, endTime, timeGrain).map(new Func1, DiagnosticDetectorResponseInner>() { + public Observable getSiteDetectorResponseSlotAsync(String resourceGroupName, String siteName, String detectorName, String slot, DateTime startTime, DateTime endTime, String timeGrain) { + return getSiteDetectorResponseSlotWithServiceResponseAsync(resourceGroupName, siteName, detectorName, slot, startTime, endTime, timeGrain).map(new Func1, DetectorResponseInner>() { @Override - public DiagnosticDetectorResponseInner call(ServiceResponse response) { + public DetectorResponseInner call(ServiceResponse response) { return response.body(); } }); } /** - * Execute Detector. - * Execute Detector. + * Get site detector response. + * Get site detector response. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Site Name * @param detectorName Detector Resource Name - * @param diagnosticCategory Category Name + * @param slot Slot Name * @param startTime Start Time * @param endTime End Time * @param timeGrain Time Grain * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the DiagnosticDetectorResponseInner object + * @return the observable to the DetectorResponseInner object */ - public Observable> executeSiteDetectorWithServiceResponseAsync(String resourceGroupName, String siteName, String detectorName, String diagnosticCategory, DateTime startTime, DateTime endTime, String timeGrain) { + public Observable> getSiteDetectorResponseSlotWithServiceResponseAsync(String resourceGroupName, String siteName, String detectorName, String slot, DateTime startTime, DateTime endTime, String timeGrain) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -1304,8 +2352,8 @@ public Observable> executeSiteD if (detectorName == null) { throw new IllegalArgumentException("Parameter detectorName is required and cannot be null."); } - if (diagnosticCategory == null) { - throw new IllegalArgumentException("Parameter diagnosticCategory 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."); @@ -1313,12 +2361,12 @@ public Observable> executeSiteD if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.executeSiteDetector(resourceGroupName, siteName, detectorName, diagnosticCategory, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getSiteDetectorResponseSlot(resourceGroupName, siteName, detectorName, slot, this.client.subscriptionId(), startTime, endTime, timeGrain, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = executeSiteDetectorDelegate(response); + ServiceResponse clientResponse = getSiteDetectorResponseSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -1327,9 +2375,9 @@ public Observable> call(Respons }); } - private ServiceResponse executeSiteDetectorDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + private ServiceResponse getSiteDetectorResponseSlotDelegate(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); } @@ -2585,6 +3633,238 @@ private ServiceResponse executeSiteDetectorSlot .build(response); } + /** + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<DetectorResponseInner> object if successful. + */ + public PagedList listHostingEnvironmentDetectorResponsesNext(final String nextPageLink) { + ServiceResponse> response = listHostingEnvironmentDetectorResponsesNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listHostingEnvironmentDetectorResponsesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listHostingEnvironmentDetectorResponsesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listHostingEnvironmentDetectorResponsesNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listHostingEnvironmentDetectorResponsesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DetectorResponseInner> object + */ + public Observable> listHostingEnvironmentDetectorResponsesNextAsync(final String nextPageLink) { + return listHostingEnvironmentDetectorResponsesNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DetectorResponseInner> object + */ + public Observable>> listHostingEnvironmentDetectorResponsesNextWithServiceResponseAsync(final String nextPageLink) { + return listHostingEnvironmentDetectorResponsesNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listHostingEnvironmentDetectorResponsesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List Hosting Environment Detector Responses. + * List Hosting Environment Detector Responses. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DetectorResponseInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listHostingEnvironmentDetectorResponsesNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listHostingEnvironmentDetectorResponsesNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listHostingEnvironmentDetectorResponsesNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listHostingEnvironmentDetectorResponsesNextDelegate(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); + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<DetectorResponseInner> object if successful. + */ + public PagedList listSiteDetectorResponsesNext(final String nextPageLink) { + ServiceResponse> response = listSiteDetectorResponsesNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSiteDetectorResponsesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listSiteDetectorResponsesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSiteDetectorResponsesNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSiteDetectorResponsesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DetectorResponseInner> object + */ + public Observable> listSiteDetectorResponsesNextAsync(final String nextPageLink) { + return listSiteDetectorResponsesNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DetectorResponseInner> object + */ + public Observable>> listSiteDetectorResponsesNextWithServiceResponseAsync(final String nextPageLink) { + return listSiteDetectorResponsesNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSiteDetectorResponsesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DetectorResponseInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSiteDetectorResponsesNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listSiteDetectorResponsesNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listSiteDetectorResponsesNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listSiteDetectorResponsesNextDelegate(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); + } + /** * Get Diagnostics Categories. * Get Diagnostics Categories. @@ -3049,6 +4329,122 @@ private ServiceResponse> getSiteDetectorNextDe .build(response); } + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<DetectorResponseInner> object if successful. + */ + public PagedList listSiteDetectorResponsesSlotNext(final String nextPageLink) { + ServiceResponse> response = listSiteDetectorResponsesSlotNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSiteDetectorResponsesSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listSiteDetectorResponsesSlotNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSiteDetectorResponsesSlotNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSiteDetectorResponsesSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DetectorResponseInner> object + */ + public Observable> listSiteDetectorResponsesSlotNextAsync(final String nextPageLink) { + return listSiteDetectorResponsesSlotNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<DetectorResponseInner> object + */ + public Observable>> listSiteDetectorResponsesSlotNextWithServiceResponseAsync(final String nextPageLink) { + return listSiteDetectorResponsesSlotNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSiteDetectorResponsesSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List Site Detector Responses. + * List Site Detector Responses. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<DetectorResponseInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSiteDetectorResponsesSlotNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listSiteDetectorResponsesSlotNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listSiteDetectorResponsesSlotNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listSiteDetectorResponsesSlotNextDelegate(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); + } + /** * Get Diagnostics Categories. * Get Diagnostics Categories. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java index 93ec7c3cd5d3c..99e997962bca8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java @@ -11,10 +11,10 @@ import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentAppServicePlan; import com.microsoft.azure.arm.model.implementation.WrapperImpl; import rx.Observable; +import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentProfile; import com.microsoft.azure.management.appservice.v2018_02_01.ProvisioningState; import com.microsoft.azure.management.appservice.v2018_02_01.SkuDescription; -import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.StatusOptions; import java.util.Map; @@ -38,6 +38,11 @@ public String adminSiteName() { return this.inner().adminSiteName(); } + @Override + public DateTime freeOfferExpirationTime() { + return this.inner().freeOfferExpirationTime(); + } + @Override public String geoRegion() { return this.inner().geoRegion(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java index e74e462b1d4ca..ce7f0055fe7a6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java @@ -20,7 +20,6 @@ import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.SiteConfig; import com.microsoft.azure.management.appservice.v2018_02_01.SlotSwapStatus; -import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRecoveryRequest; import java.util.Map; import com.microsoft.azure.management.appservice.v2018_02_01.UsageState; @@ -199,11 +198,6 @@ public SlotSwapStatus slotSwapStatus() { return this.inner().slotSwapStatus(); } - @Override - public SnapshotRecoveryRequest snapshotInfo() { - return this.inner().snapshotInfo(); - } - @Override public String state() { return this.inner().state(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java index 9d6ff7a8bda0a..08225f2befa09 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/PremierAddOnImpl.java @@ -11,13 +11,16 @@ import com.microsoft.azure.management.appservice.v2018_02_01.PremierAddOn; import com.microsoft.azure.arm.model.implementation.CreatableUpdatableImpl; import rx.Observable; +import com.microsoft.azure.management.appservice.v2018_02_01.PremierAddOnPatchResource; import java.util.Map; +import rx.functions.Func1; class PremierAddOnImpl extends CreatableUpdatableImpl implements PremierAddOn, PremierAddOn.Definition, PremierAddOn.Update { private final CertificateRegistrationManager manager; private String resourceGroupName; private String name; private String premierAddOnName; + private PremierAddOnPatchResource updateParameter; PremierAddOnImpl(String name, CertificateRegistrationManager manager) { super(name, new PremierAddOnInner()); @@ -25,6 +28,7 @@ class PremierAddOnImpl extends CreatableUpdatableImpl createResourceAsync() { WebAppsInner client = this.manager().inner().webApps(); return client.addPremierAddOnAsync(this.resourceGroupName, this.name, this.premierAddOnName, this.inner()) + .map(new Func1() { + @Override + public PremierAddOnInner call(PremierAddOnInner resource) { + resetCreateUpdateParameters(); + return resource; + } + }) .map(innerToFluentMap(this)); } @Override public Observable updateResourceAsync() { WebAppsInner client = this.manager().inner().webApps(); - return client.addPremierAddOnAsync(this.resourceGroupName, this.name, this.premierAddOnName, this.inner()) + return client.updatePremierAddOnAsync(this.resourceGroupName, this.name, this.premierAddOnName, this.updateParameter) + .map(new Func1() { + @Override + public PremierAddOnInner call(PremierAddOnInner resource) { + resetCreateUpdateParameters(); + return resource; + } + }) .map(innerToFluentMap(this)); } @@ -69,6 +88,9 @@ public boolean isInCreateMode() { return this.inner().id() == null; } + private void resetCreateUpdateParameters() { + this.updateParameter = new PremierAddOnPatchResource(); + } @Override public String id() { @@ -138,45 +160,69 @@ public PremierAddOnImpl withLocation(String location) { return this; } + @Override + public PremierAddOnImpl withTags(Map tags) { + this.inner().withTags(tags); + return this; + } + @Override public PremierAddOnImpl withKind(String kind) { - this.inner().withKind(kind); + if (isInCreateMode()) { + this.inner().withKind(kind); + } else { + this.updateParameter.withKind(kind); + } return this; } @Override public PremierAddOnImpl withMarketplaceOffer(String marketplaceOffer) { - this.inner().withMarketplaceOffer(marketplaceOffer); + if (isInCreateMode()) { + this.inner().withMarketplaceOffer(marketplaceOffer); + } else { + this.updateParameter.withMarketplaceOffer(marketplaceOffer); + } return this; } @Override public PremierAddOnImpl withMarketplacePublisher(String marketplacePublisher) { - this.inner().withMarketplacePublisher(marketplacePublisher); + if (isInCreateMode()) { + this.inner().withMarketplacePublisher(marketplacePublisher); + } else { + this.updateParameter.withMarketplacePublisher(marketplacePublisher); + } return this; } @Override public PremierAddOnImpl withProduct(String product) { - this.inner().withProduct(product); + if (isInCreateMode()) { + this.inner().withProduct(product); + } else { + this.updateParameter.withProduct(product); + } return this; } @Override public PremierAddOnImpl withSku(String sku) { - this.inner().withSku(sku); - return this; - } - - @Override - public PremierAddOnImpl withTags(Map tags) { - this.inner().withTags(tags); + if (isInCreateMode()) { + this.inner().withSku(sku); + } else { + this.updateParameter.withSku(sku); + } return this; } @Override public PremierAddOnImpl withVendor(String vendor) { - this.inner().withVendor(vendor); + if (isInCreateMode()) { + this.inner().withVendor(vendor); + } else { + this.updateParameter.withVendor(vendor); + } return this; } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java index 1f010b721f6d5..2194cbe0e031f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java @@ -20,7 +20,6 @@ import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.SiteConfig; import com.microsoft.azure.management.appservice.v2018_02_01.SlotSwapStatus; -import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRecoveryRequest; import java.util.Map; import com.microsoft.azure.management.appservice.v2018_02_01.UsageState; @@ -199,11 +198,6 @@ public SlotSwapStatus slotSwapStatus() { return this.inner().slotSwapStatus(); } - @Override - public SnapshotRecoveryRequest snapshotInfo() { - return this.inner().snapshotInfo(); - } - @Override public String state() { return this.inner().state(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java index e0ac74cc20a5c..7077b3ece345a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java @@ -261,6 +261,11 @@ public DateTime requestTracingExpirationTime() { return this.inner().requestTracingExpirationTime(); } + @Override + public Integer reservedInstanceCount() { + return this.inner().reservedInstanceCount(); + } + @Override public ScmType scmType() { return this.inner().scmType(); @@ -297,8 +302,8 @@ public Boolean webSocketsEnabled() { } @Override - public String xenonFxVersion() { - return this.inner().xenonFxVersion(); + public String windowsFxVersion() { + return this.inner().windowsFxVersion(); } @Override diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java index d1a8d041b84f7..85ede7cd7286e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java @@ -80,8 +80,8 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { /** * Xenon App Framework and version. */ - @JsonProperty(value = "properties.xenonFxVersion") - private String xenonFxVersion; + @JsonProperty(value = "properties.windowsFxVersion") + private String windowsFxVersion; /** * <code>true</code> if request tracing is enabled; otherwise, @@ -345,6 +345,13 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { @JsonProperty(value = "properties.ftpsState") private FtpsState ftpsState; + /** + * Number of reserved instances. + * This setting only applies to the Consumption Plan. + */ + @JsonProperty(value = "properties.reservedInstanceCount") + private Integer reservedInstanceCount; + /** * Get number of workers. * @@ -488,20 +495,20 @@ public SiteConfigResourceInner withLinuxFxVersion(String linuxFxVersion) { /** * Get xenon App Framework and version. * - * @return the xenonFxVersion value + * @return the windowsFxVersion value */ - public String xenonFxVersion() { - return this.xenonFxVersion; + public String windowsFxVersion() { + return this.windowsFxVersion; } /** * Set xenon App Framework and version. * - * @param xenonFxVersion the xenonFxVersion value to set + * @param windowsFxVersion the windowsFxVersion value to set * @return the SiteConfigResourceInner object itself. */ - public SiteConfigResourceInner withXenonFxVersion(String xenonFxVersion) { - this.xenonFxVersion = xenonFxVersion; + public SiteConfigResourceInner withWindowsFxVersion(String windowsFxVersion) { + this.windowsFxVersion = windowsFxVersion; return this; } @@ -1314,4 +1321,26 @@ public SiteConfigResourceInner withFtpsState(FtpsState ftpsState) { return this; } + /** + * Get number of reserved instances. + This setting only applies to the Consumption Plan. + * + * @return the reservedInstanceCount value + */ + public Integer reservedInstanceCount() { + return this.reservedInstanceCount; + } + + /** + * Set number of reserved instances. + This setting only applies to the Consumption Plan. + * + * @param reservedInstanceCount the reservedInstanceCount value to set + * @return the SiteConfigResourceInner object itself. + */ + public SiteConfigResourceInner withReservedInstanceCount(Integer reservedInstanceCount) { + this.reservedInstanceCount = reservedInstanceCount; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInner.java index b0ca24374bc93..a97451054eb72 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInner.java @@ -16,7 +16,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SiteConfig; import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentProfile; import com.microsoft.azure.management.appservice.v2018_02_01.CloningInfo; -import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRecoveryRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SlotSwapStatus; import com.microsoft.azure.management.appservice.v2018_02_01.ManagedServiceIdentity; import com.fasterxml.jackson.annotation.JsonProperty; @@ -215,13 +214,6 @@ public class SiteInner extends Resource { @JsonProperty(value = "properties.cloningInfo") private CloningInfo cloningInfo; - /** - * If specified during app creation, the app is created from a previous - * snapshot. - */ - @JsonProperty(value = "properties.snapshotInfo") - private SnapshotRecoveryRequest snapshotInfo; - /** * Name of the resource group the app belongs to. Read-only. */ @@ -668,26 +660,6 @@ public SiteInner withCloningInfo(CloningInfo cloningInfo) { return this; } - /** - * Get if specified during app creation, the app is created from a previous snapshot. - * - * @return the snapshotInfo value - */ - public SnapshotRecoveryRequest snapshotInfo() { - return this.snapshotInfo; - } - - /** - * Set if specified during app creation, the app is created from a previous snapshot. - * - * @param snapshotInfo the snapshotInfo value to set - * @return the SiteInner object itself. - */ - public SiteInner withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { - this.snapshotInfo = snapshotInfo; - return this; - } - /** * Get name of the resource group the app belongs to. Read-only. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitesImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitesImpl.java index 80ee92626ccd2..f7f27b1c485bf 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitesImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitesImpl.java @@ -20,7 +20,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SiteConfig; import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentProfile; import com.microsoft.azure.management.appservice.v2018_02_01.CloningInfo; -import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRecoveryRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SlotSwapStatus; import com.microsoft.azure.management.appservice.v2018_02_01.ManagedServiceIdentity; import rx.functions.Func1; @@ -220,11 +219,6 @@ public SlotSwapStatus slotSwapStatus() { return this.inner().slotSwapStatus(); } - @Override - public SnapshotRecoveryRequest snapshotInfo() { - return this.inner().snapshotInfo(); - } - @Override public String state() { return this.inner().state(); @@ -416,14 +410,4 @@ public SitesImpl withSiteConfig(SiteConfig siteConfig) { return this; } - @Override - public SitesImpl withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { - if (isInCreateMode()) { - this.inner().withSnapshotInfo(snapshotInfo); - } else { - this.updateParameter.withSnapshotInfo(snapshotInfo); - } - return this; - } - } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java index 94e07e72a23de..6eed2c07e1374 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java @@ -21,7 +21,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SiteConfig; import com.microsoft.azure.management.appservice.v2018_02_01.HostingEnvironmentProfile; import com.microsoft.azure.management.appservice.v2018_02_01.CloningInfo; -import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRecoveryRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SlotSwapStatus; import com.microsoft.azure.management.appservice.v2018_02_01.ManagedServiceIdentity; import rx.functions.Func1; @@ -263,11 +262,6 @@ public SlotSwapStatus slotSwapStatus() { return this.inner().slotSwapStatus(); } - @Override - public SnapshotRecoveryRequest snapshotInfo() { - return this.inner().snapshotInfo(); - } - @Override public String state() { return this.inner().state(); @@ -488,14 +482,4 @@ public SlotsImpl withSiteConfig(SiteConfig siteConfig) { return this; } - @Override - public SlotsImpl withSnapshotInfo(SnapshotRecoveryRequest snapshotInfo) { - if (isInCreateMode()) { - this.inner().withSnapshotInfo(snapshotInfo); - } else { - this.updateParameter.withSnapshotInfo(snapshotInfo); - } - return this; - } - } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkImpl.java new file mode 100644 index 0000000000000..5887093fec084 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkImpl.java @@ -0,0 +1,56 @@ +/** + * 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.SwiftVirtualNetwork; +import com.microsoft.azure.arm.model.implementation.WrapperImpl; + +class SwiftVirtualNetworkImpl extends WrapperImpl implements SwiftVirtualNetwork { + private final CertificateRegistrationManager manager; + SwiftVirtualNetworkImpl(SwiftVirtualNetworkInner inner, CertificateRegistrationManager manager) { + super(inner); + this.manager = manager; + } + + @Override + public CertificateRegistrationManager manager() { + return this.manager; + } + + @Override + public String id() { + return this.inner().id(); + } + + @Override + public String kind() { + return this.inner().kind(); + } + + @Override + public String name() { + return this.inner().name(); + } + + @Override + public String subnetResourceId() { + return this.inner().subnetResourceId(); + } + + @Override + public Boolean swiftSupported() { + return this.inner().swiftSupported(); + } + + @Override + public String type() { + return this.inner().type(); + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkInner.java new file mode 100644 index 0000000000000..4d57e05030646 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SwiftVirtualNetworkInner.java @@ -0,0 +1,76 @@ +/** + * 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; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.management.appservice.v2018_02_01.ProxyOnlyResource; + +/** + * Swift Virtual Network Contract. This is used to enable the new Swift way of + * doing virtual network integration. + */ +@JsonFlatten +public class SwiftVirtualNetworkInner extends ProxyOnlyResource { + /** + * The Virtual Network subnet's resource ID. This is the subnet that this + * Web App will join. This subnet must have a delegation to + * Microsoft.Web/serverFarms defined first. + */ + @JsonProperty(value = "properties.subnetResourceId") + private String subnetResourceId; + + /** + * A flag that specifies if the scale unit this Web App is on supports + * Swift integration. + */ + @JsonProperty(value = "properties.swiftSupported") + private Boolean swiftSupported; + + /** + * Get the Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first. + * + * @return the subnetResourceId value + */ + public String subnetResourceId() { + return this.subnetResourceId; + } + + /** + * Set the Virtual Network subnet's resource ID. This is the subnet that this Web App will join. This subnet must have a delegation to Microsoft.Web/serverFarms defined first. + * + * @param subnetResourceId the subnetResourceId value to set + * @return the SwiftVirtualNetworkInner object itself. + */ + public SwiftVirtualNetworkInner withSubnetResourceId(String subnetResourceId) { + this.subnetResourceId = subnetResourceId; + return this; + } + + /** + * Get a flag that specifies if the scale unit this Web App is on supports Swift integration. + * + * @return the swiftSupported value + */ + public Boolean swiftSupported() { + return this.swiftSupported; + } + + /** + * Set a flag that specifies if the scale unit this Web App is on supports Swift integration. + * + * @param swiftSupported the swiftSupported value to set + * @return the SwiftVirtualNetworkInner object itself. + */ + public SwiftVirtualNetworkInner withSwiftSupported(Boolean swiftSupported) { + this.swiftSupported = swiftSupported; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java index 6c8d5284410a2..ae9c7c9f449a4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java @@ -21,6 +21,8 @@ import com.microsoft.azure.management.appservice.v2018_02_01.SiteConfigResource; import com.microsoft.azure.management.appservice.v2018_02_01.BackupRequest; import com.microsoft.azure.management.appservice.v2018_02_01.StringDictionary; +import com.microsoft.azure.management.appservice.v2018_02_01.SwiftVirtualNetwork; +import com.microsoft.azure.management.appservice.v2018_02_01.RestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.RelayServiceConnectionEntity; import com.microsoft.azure.management.appservice.v2018_02_01.SiteCloneability; import com.microsoft.azure.management.appservice.v2018_02_01.FunctionSecrets; @@ -33,7 +35,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.MigrateMySqlRequest; import com.microsoft.azure.management.appservice.v2018_02_01.DeletedAppRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRestoreRequest; -import com.microsoft.azure.management.appservice.v2018_02_01.RestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SiteAuthSettings; import com.microsoft.azure.management.appservice.v2018_02_01.ConnectionStringDictionary; import com.microsoft.azure.management.appservice.v2018_02_01.SiteLogsConfig; @@ -62,6 +63,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.NetworkFeatures; import com.microsoft.azure.management.appservice.v2018_02_01.PerfMonResponse; import com.microsoft.azure.management.appservice.v2018_02_01.PremierAddOn; +import com.microsoft.azure.management.appservice.v2018_02_01.PremierAddOnPatchResource; import com.microsoft.azure.management.appservice.v2018_02_01.PrivateAccess; import com.microsoft.azure.management.appservice.v2018_02_01.PublicCertificate; import com.microsoft.azure.management.appservice.v2018_02_01.SiteExtensionInfo; @@ -620,6 +622,48 @@ public StringDictionary call(StringDictionaryInner inner) { }); } + @Override + public Observable getSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.getSwiftVirtualNetworkConnectionAsync(resourceGroupName, name) + .map(new Func1() { + @Override + public SwiftVirtualNetwork call(SwiftVirtualNetworkInner inner) { + return new SwiftVirtualNetworkImpl(inner, manager()); + } + }); + } + + @Override + public Observable createOrUpdateSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope) { + WebAppsInner client = this.inner(); + return client.createOrUpdateSwiftVirtualNetworkConnectionAsync(resourceGroupName, name, connectionEnvelope) + .map(new Func1() { + @Override + public SwiftVirtualNetwork call(SwiftVirtualNetworkInner inner) { + return new SwiftVirtualNetworkImpl(inner, manager()); + } + }); + } + + @Override + public Completable deleteSwiftVirtualNetworkAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.deleteSwiftVirtualNetworkAsync(resourceGroupName, name).toCompletable(); + } + + @Override + public Observable updateSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope) { + WebAppsInner client = this.inner(); + return client.updateSwiftVirtualNetworkConnectionAsync(resourceGroupName, name, connectionEnvelope) + .map(new Func1() { + @Override + public SwiftVirtualNetwork call(SwiftVirtualNetworkInner inner) { + return new SwiftVirtualNetworkImpl(inner, manager()); + } + }); + } + @Override public Observable getConfigurationAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); @@ -662,6 +706,18 @@ public Completable getWebSiteContainerLogsAsync(String resourceGroupName, String return client.getWebSiteContainerLogsAsync(resourceGroupName, name).toCompletable(); } + @Override + public Observable discoverBackupAsync(String resourceGroupName, String name, RestoreRequestInner request) { + WebAppsInner client = this.inner(); + return client.discoverBackupAsync(resourceGroupName, name, request) + .map(new Func1() { + @Override + public RestoreRequest call(RestoreRequestInner inner) { + return new RestoreRequestImpl(inner, manager()); + } + }); + } + @Override public Completable getFunctionsAdminTokenAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); @@ -926,18 +982,6 @@ public Completable deleteBackupAsync(String resourceGroupName, String name, Stri return client.deleteBackupAsync(resourceGroupName, name, backupId).toCompletable(); } - @Override - public Observable discoverRestoreAsync(String resourceGroupName, String name, RestoreRequestInner request) { - WebAppsInner client = this.inner(); - return client.discoverRestoreAsync(resourceGroupName, name, request) - .map(new Func1() { - @Override - public RestoreRequest call(RestoreRequestInner inner) { - return new RestoreRequestImpl(inner, manager()); - } - }); - } - @Override public Observable listBackupStatusSecretsAsync(String resourceGroupName, String name, String backupId, BackupRequestInner request) { WebAppsInner client = this.inner(); @@ -974,18 +1018,6 @@ public BackupItem call(BackupItemInner inner) { }); } - @Override - public Observable discoverRestoreSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { - WebAppsInner client = this.inner(); - return client.discoverRestoreSlotAsync(resourceGroupName, name, slot, request) - .map(new Func1() { - @Override - public RestoreRequest call(RestoreRequestInner inner) { - return new RestoreRequestImpl(inner, manager()); - } - }); - } - @Override public Observable getBackupStatusSlotAsync(String resourceGroupName, String name, String backupId, String slot) { WebAppsInner client = this.inner(); @@ -2834,6 +2866,18 @@ public Completable deletePremierAddOnSlotAsync(String resourceGroupName, String return client.deletePremierAddOnSlotAsync(resourceGroupName, name, premierAddOnName, slot).toCompletable(); } + @Override + public Observable updatePremierAddOnSlotAsync(String resourceGroupName, String name, String premierAddOnName, String slot, PremierAddOnPatchResource premierAddOn) { + WebAppsInner client = this.inner(); + return client.updatePremierAddOnSlotAsync(resourceGroupName, name, premierAddOnName, slot, premierAddOn) + .map(new Func1() { + @Override + public PremierAddOn call(PremierAddOnInner inner) { + return new PremierAddOnImpl(inner, manager()); + } + }); + } + @Override public Observable getPrivateAccessAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); @@ -3188,6 +3232,48 @@ public StringDictionary call(StringDictionaryInner inner) { }); } + @Override + public Observable getSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.getSwiftVirtualNetworkConnectionSlotAsync(resourceGroupName, name, slot) + .map(new Func1() { + @Override + public SwiftVirtualNetwork call(SwiftVirtualNetworkInner inner) { + return new SwiftVirtualNetworkImpl(inner, manager()); + } + }); + } + + @Override + public Observable createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + WebAppsInner client = this.inner(); + return client.createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(resourceGroupName, name, slot, connectionEnvelope) + .map(new Func1() { + @Override + public SwiftVirtualNetwork call(SwiftVirtualNetworkInner inner) { + return new SwiftVirtualNetworkImpl(inner, manager()); + } + }); + } + + @Override + public Completable deleteSwiftVirtualNetworkSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.deleteSwiftVirtualNetworkSlotAsync(resourceGroupName, name, slot).toCompletable(); + } + + @Override + public Observable updateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + WebAppsInner client = this.inner(); + return client.updateSwiftVirtualNetworkConnectionSlotAsync(resourceGroupName, name, slot, connectionEnvelope) + .map(new Func1() { + @Override + public SwiftVirtualNetwork call(SwiftVirtualNetworkInner inner) { + return new SwiftVirtualNetworkImpl(inner, manager()); + } + }); + } + @Override public Observable getConfigurationSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); @@ -3230,6 +3316,18 @@ public Completable getWebSiteContainerLogsSlotAsync(String resourceGroupName, St return client.getWebSiteContainerLogsSlotAsync(resourceGroupName, name, slot).toCompletable(); } + @Override + public Observable discoverBackupSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { + WebAppsInner client = this.inner(); + return client.discoverBackupSlotAsync(resourceGroupName, name, slot, request) + .map(new Func1() { + @Override + public RestoreRequest call(RestoreRequestInner inner) { + return new RestoreRequestImpl(inner, manager()); + } + }); + } + @Override public Completable getFunctionsAdminTokenSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index a81903070ed58..69ac1f507c2d2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -22,6 +22,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DeletedAppRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.MigrateMySqlRequest; import com.microsoft.azure.management.appservice.v2018_02_01.MSDeploy; +import com.microsoft.azure.management.appservice.v2018_02_01.PremierAddOnPatchResource; import com.microsoft.azure.management.appservice.v2018_02_01.PublishingProfileFormat; import com.microsoft.azure.management.appservice.v2018_02_01.SitePatchResource; import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRestoreRequest; @@ -122,10 +123,6 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups") Observable> listBackups(@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 discoverRestore" }) - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/discover") - Observable> discoverRestore(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body RestoreRequestInner request, @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 getBackupStatus" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/backups/{backupId}") Observable> getBackupStatus(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("backupId") String backupId, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -226,6 +223,22 @@ interface WebAppsService { @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/slotConfigNames") Observable> updateSlotConfigurationNames(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SlotConfigNamesResourceInner slotConfigNames, @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 getSwiftVirtualNetworkConnection" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork") + Observable> getSwiftVirtualNetworkConnection(@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 createOrUpdateSwiftVirtualNetworkConnection" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork") + Observable> createOrUpdateSwiftVirtualNetworkConnection(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SwiftVirtualNetworkInner connectionEnvelope, @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 deleteSwiftVirtualNetwork" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", method = "DELETE", hasBody = true) + Observable> deleteSwiftVirtualNetwork(@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 updateSwiftVirtualNetworkConnection" }) + @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork") + Observable> updateSwiftVirtualNetworkConnection(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SwiftVirtualNetworkInner connectionEnvelope, @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 getConfiguration" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/web") Observable> getConfiguration(@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); @@ -300,6 +313,10 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log") Observable> listDeploymentLog(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("id") String id, @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 discoverBackup" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/discoverbackup") + Observable> discoverBackup(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body RestoreRequestInner request, @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 listDomainOwnershipIdentifiers" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/domainOwnershipIdentifiers") Observable> listDomainOwnershipIdentifiers(@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); @@ -553,6 +570,10 @@ interface WebAppsService { @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}", method = "DELETE", hasBody = true) Observable> deletePremierAddOn(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("premierAddOnName") String premierAddOnName, @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 updatePremierAddOn" }) + @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/premieraddons/{premierAddOnName}") + Observable> updatePremierAddOn(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("premierAddOnName") String premierAddOnName, @Path("subscriptionId") String subscriptionId, @Body PremierAddOnPatchResource premierAddOn, @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 getPrivateAccess" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/privateAccess/virtualNetworks") Observable> getPrivateAccess(@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); @@ -707,10 +728,6 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups") Observable> listBackupsSlot(@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 discoverRestoreSlot" }) - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/discover") - Observable> discoverRestoreSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body RestoreRequestInner request, @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 getBackupStatusSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}") Observable> getBackupStatusSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("backupId") String backupId, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -803,6 +820,22 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list") Observable> listSitePushSettingsSlot(@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 getSwiftVirtualNetworkConnectionSlot" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork") + Observable> getSwiftVirtualNetworkConnectionSlot(@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 createOrUpdateSwiftVirtualNetworkConnectionSlot" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork") + Observable> createOrUpdateSwiftVirtualNetworkConnectionSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SwiftVirtualNetworkInner connectionEnvelope, @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 deleteSwiftVirtualNetworkSlot" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", method = "DELETE", hasBody = true) + Observable> deleteSwiftVirtualNetworkSlot(@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 updateSwiftVirtualNetworkConnectionSlot" }) + @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork") + Observable> updateSwiftVirtualNetworkConnectionSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SwiftVirtualNetworkInner connectionEnvelope, @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 getConfigurationSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web") Observable> getConfigurationSlot(@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); @@ -877,6 +910,10 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log") Observable> listDeploymentLogSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("id") String id, @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 discoverBackupSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/discoverbackup") + Observable> discoverBackupSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body RestoreRequestInner request, @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 listDomainOwnershipIdentifiersSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers") Observable> listDomainOwnershipIdentifiersSlot(@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); @@ -1114,6 +1151,10 @@ interface WebAppsService { @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}", method = "DELETE", hasBody = true) Observable> deletePremierAddOnSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("premierAddOnName") String premierAddOnName, @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 updatePremierAddOnSlot" }) + @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}") + Observable> updatePremierAddOnSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("premierAddOnName") String premierAddOnName, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body PremierAddOnPatchResource premierAddOn, @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 getPrivateAccessSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/privateAccess/virtualNetworks") Observable> getPrivateAccessSlot(@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); @@ -3095,104 +3136,6 @@ private ServiceResponse> listBackupsDelegate(Response< .build(response); } - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @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 RestoreRequestInner object if successful. - */ - public RestoreRequestInner discoverRestore(String resourceGroupName, String name, RestoreRequestInner request) { - return discoverRestoreWithServiceResponseAsync(resourceGroupName, name, request).toBlocking().single().body(); - } - - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @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 discoverRestoreAsync(String resourceGroupName, String name, RestoreRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(discoverRestoreWithServiceResponseAsync(resourceGroupName, name, request), serviceCallback); - } - - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RestoreRequestInner object - */ - public Observable discoverRestoreAsync(String resourceGroupName, String name, RestoreRequestInner request) { - return discoverRestoreWithServiceResponseAsync(resourceGroupName, name, request).map(new Func1, RestoreRequestInner>() { - @Override - public RestoreRequestInner call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RestoreRequestInner object - */ - public Observable> discoverRestoreWithServiceResponseAsync(String resourceGroupName, String name, RestoreRequestInner request) { - 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 (request == null) { - throw new IllegalArgumentException("Parameter request 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(request); - return service.discoverRestore(resourceGroupName, name, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = discoverRestoreDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse discoverRestoreDelegate(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); - } - /** * Gets a backup of an app by its ID. * Gets a backup of an app by its ID. @@ -5568,6 +5511,398 @@ private ServiceResponse updateSlotConfigurationNam .build(response); } + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 + * @return the SwiftVirtualNetworkInner object if successful. + */ + public SwiftVirtualNetworkInner getSwiftVirtualNetworkConnection(String resourceGroupName, String name) { + return getSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 getSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 to the SwiftVirtualNetworkInner object + */ + public Observable getSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name) { + return getSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name).map(new Func1, SwiftVirtualNetworkInner>() { + @Override + public SwiftVirtualNetworkInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 to the SwiftVirtualNetworkInner object + */ + public Observable> getSwiftVirtualNetworkConnectionWithServiceResponseAsync(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.getSwiftVirtualNetworkConnection(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 = getSwiftVirtualNetworkConnectionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @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 SwiftVirtualNetworkInner object if successful. + */ + public SwiftVirtualNetworkInner createOrUpdateSwiftVirtualNetworkConnection(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope) { + return createOrUpdateSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name, connectionEnvelope).toBlocking().single().body(); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @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 createOrUpdateSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name, connectionEnvelope), serviceCallback); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable createOrUpdateSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope) { + return createOrUpdateSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name, connectionEnvelope).map(new Func1, SwiftVirtualNetworkInner>() { + @Override + public SwiftVirtualNetworkInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable> createOrUpdateSwiftVirtualNetworkConnectionWithServiceResponseAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope) { + 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 (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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(connectionEnvelope); + return service.createOrUpdateSwiftVirtualNetworkConnection(resourceGroupName, name, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateSwiftVirtualNetworkConnectionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 deleteSwiftVirtualNetwork(String resourceGroupName, String name) { + deleteSwiftVirtualNetworkWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 deleteSwiftVirtualNetworkAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSwiftVirtualNetworkWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 deleteSwiftVirtualNetworkAsync(String resourceGroupName, String name) { + return deleteSwiftVirtualNetworkWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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> deleteSwiftVirtualNetworkWithServiceResponseAsync(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.deleteSwiftVirtualNetwork(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 = deleteSwiftVirtualNetworkDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @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 SwiftVirtualNetworkInner object if successful. + */ + public SwiftVirtualNetworkInner updateSwiftVirtualNetworkConnection(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope) { + return updateSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name, connectionEnvelope).toBlocking().single().body(); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @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 updateSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name, connectionEnvelope), serviceCallback); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable updateSwiftVirtualNetworkConnectionAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope) { + return updateSwiftVirtualNetworkConnectionWithServiceResponseAsync(resourceGroupName, name, connectionEnvelope).map(new Func1, SwiftVirtualNetworkInner>() { + @Override + public SwiftVirtualNetworkInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable> updateSwiftVirtualNetworkConnectionWithServiceResponseAsync(String resourceGroupName, String name, SwiftVirtualNetworkInner connectionEnvelope) { + 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 (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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(connectionEnvelope); + return service.updateSwiftVirtualNetworkConnection(resourceGroupName, name, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateSwiftVirtualNetworkConnectionDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + /** * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. @@ -7398,6 +7733,104 @@ private ServiceResponse listDeploymentLogDelegate(Response discoverBackupAsync(String resourceGroupName, String name, RestoreRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(discoverBackupWithServiceResponseAsync(resourceGroupName, name, request), serviceCallback); + } + + /** + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the RestoreRequestInner object + */ + public Observable discoverBackupAsync(String resourceGroupName, String name, RestoreRequestInner request) { + return discoverBackupWithServiceResponseAsync(resourceGroupName, name, request).map(new Func1, RestoreRequestInner>() { + @Override + public RestoreRequestInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the RestoreRequestInner object + */ + public Observable> discoverBackupWithServiceResponseAsync(String resourceGroupName, String name, RestoreRequestInner request) { + 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 (request == null) { + throw new IllegalArgumentException("Parameter request 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(request); + return service.discoverBackup(resourceGroupName, name, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = discoverBackupDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + /** * Lists ownership identifiers for domain associated with web app. * Lists ownership identifiers for domain associated with web app. @@ -14254,6 +14687,111 @@ private ServiceResponse deletePremierAddOnDelegate(Response .build(response); } + /** + * Updates a named add-on of an app. + * Updates a named add-on of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. + * @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 PremierAddOnInner object if successful. + */ + public PremierAddOnInner updatePremierAddOn(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { + return updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).toBlocking().single().body(); + } + + /** + * Updates a named add-on of an app. + * Updates a named add-on of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. + * @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 updatePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn), serviceCallback); + } + + /** + * Updates a named add-on of an app. + * Updates a named add-on of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PremierAddOnInner object + */ + public Observable updatePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { + return updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).map(new Func1, PremierAddOnInner>() { + @Override + public PremierAddOnInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates a named add-on of an app. + * Updates a named add-on of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PremierAddOnInner object + */ + public Observable> updatePremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { + 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 (premierAddOnName == null) { + throw new IllegalArgumentException("Parameter premierAddOnName 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 (premierAddOn == null) { + throw new IllegalArgumentException("Parameter premierAddOn 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(premierAddOn); + return service.updatePremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), premierAddOn, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updatePremierAddOnDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + /** * Gets data around private site access enablement and authorized Virtual Networks that can access the site. * Gets data around private site access enablement and authorized Virtual Networks that can access the site. @@ -18536,111 +19074,6 @@ private ServiceResponse> listBackupsSlotDelegate(Respo .build(response); } - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @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 RestoreRequestInner object if successful. - */ - public RestoreRequestInner discoverRestoreSlot(String resourceGroupName, String name, String slot, RestoreRequestInner request) { - return discoverRestoreSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).toBlocking().single().body(); - } - - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @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 discoverRestoreSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(discoverRestoreSlotWithServiceResponseAsync(resourceGroupName, name, slot, request), serviceCallback); - } - - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RestoreRequestInner object - */ - public Observable discoverRestoreSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { - return discoverRestoreSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).map(new Func1, RestoreRequestInner>() { - @Override - public RestoreRequestInner call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * Discovers an existing app backup that can be restored from a blob in Azure storage. - * - * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RestoreRequestInner object - */ - public Observable> discoverRestoreSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { - 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 (request == null) { - throw new IllegalArgumentException("Parameter request 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(request); - return service.discoverRestoreSlot(resourceGroupName, name, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = discoverRestoreSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse discoverRestoreSlotDelegate(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); - } - /** * Gets a backup of an app by its ID. * Gets a backup of an app by its ID. @@ -20990,6 +21423,426 @@ private ServiceResponse listSitePushSettingsSlotDelegate(Resp .build(response); } + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 get a gateway for the production slot's Virtual Network. + * @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 SwiftVirtualNetworkInner object if successful. + */ + public SwiftVirtualNetworkInner getSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot) { + return getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 get a gateway for the production slot's Virtual Network. + * @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 getSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 get a gateway for the production slot's Virtual Network. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable getSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot) { + return getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SwiftVirtualNetworkInner>() { + @Override + public SwiftVirtualNetworkInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. + * + * @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 get a gateway for the production slot's Virtual Network. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable> getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(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.getSwiftVirtualNetworkConnectionSlot(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 = getSwiftVirtualNetworkConnectionSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @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 SwiftVirtualNetworkInner object if successful. + */ + public SwiftVirtualNetworkInner createOrUpdateSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + return createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).toBlocking().single().body(); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @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 createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope), serviceCallback); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + return createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).map(new Func1, SwiftVirtualNetworkInner>() { + @Override + public SwiftVirtualNetworkInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable> createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + 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 (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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(connectionEnvelope); + return service.createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName, name, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateSwiftVirtualNetworkConnectionSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 delete the connection for the production 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 deleteSwiftVirtualNetworkSlot(String resourceGroupName, String name, String slot) { + deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 delete the connection for the production 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 deleteSwiftVirtualNetworkSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 delete the connection for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable deleteSwiftVirtualNetworkSlotAsync(String resourceGroupName, String name, String slot) { + return deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * + * @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 delete the connection for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(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.deleteSwiftVirtualNetworkSlot(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 = deleteSwiftVirtualNetworkSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @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 SwiftVirtualNetworkInner object if successful. + */ + public SwiftVirtualNetworkInner updateSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + return updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).toBlocking().single().body(); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @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 updateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope), serviceCallback); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable updateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + return updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).map(new Func1, SwiftVirtualNetworkInner>() { + @Override + public SwiftVirtualNetworkInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * + * @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 add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SwiftVirtualNetworkInner object + */ + public Observable> updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + 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 (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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(connectionEnvelope); + return service.updateSwiftVirtualNetworkConnectionSlot(resourceGroupName, name, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateSwiftVirtualNetworkConnectionSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + /** * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. @@ -22949,6 +23802,111 @@ private ServiceResponse listDeploymentLogSlotDelegate(Response< .build(response); } + /** + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * + * @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 perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @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 RestoreRequestInner object if successful. + */ + public RestoreRequestInner discoverBackupSlot(String resourceGroupName, String name, String slot, RestoreRequestInner request) { + return discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).toBlocking().single().body(); + } + + /** + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * + * @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 perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @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 discoverBackupSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request), serviceCallback); + } + + /** + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * + * @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 perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the RestoreRequestInner object + */ + public Observable discoverBackupSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { + return discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).map(new Func1, RestoreRequestInner>() { + @Override + public RestoreRequestInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * + * @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 perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the RestoreRequestInner object + */ + public Observable> discoverBackupSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { + 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 (request == null) { + throw new IllegalArgumentException("Parameter request 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(request); + return service.discoverBackupSlot(resourceGroupName, name, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = discoverBackupSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + /** * Lists ownership identifiers for domain associated with web app. * Lists ownership identifiers for domain associated with web app. @@ -29879,6 +30837,118 @@ private ServiceResponse deletePremierAddOnSlotDelegate(Response updatePremierAddOnSlotAsync(String resourceGroupName, String name, String premierAddOnName, String slot, PremierAddOnPatchResource premierAddOn, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updatePremierAddOnSlotWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, slot, premierAddOn), serviceCallback); + } + + /** + * Updates a named add-on of an app. + * Updates a named add-on of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot. + * @param premierAddOn A JSON representation of the edited premier add-on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PremierAddOnInner object + */ + public Observable updatePremierAddOnSlotAsync(String resourceGroupName, String name, String premierAddOnName, String slot, PremierAddOnPatchResource premierAddOn) { + return updatePremierAddOnSlotWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, slot, premierAddOn).map(new Func1, PremierAddOnInner>() { + @Override + public PremierAddOnInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates a named add-on of an app. + * Updates a named add-on of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot. + * @param premierAddOn A JSON representation of the edited premier add-on. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PremierAddOnInner object + */ + public Observable> updatePremierAddOnSlotWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName, String slot, PremierAddOnPatchResource premierAddOn) { + 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 (premierAddOnName == null) { + throw new IllegalArgumentException("Parameter premierAddOnName 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 (premierAddOn == null) { + throw new IllegalArgumentException("Parameter premierAddOn 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(premierAddOn); + return service.updatePremierAddOnSlot(resourceGroupName, name, premierAddOnName, slot, this.client.subscriptionId(), premierAddOn, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updatePremierAddOnSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + /** * Gets data around private site access enablement and authorized Virtual Networks that can access the site. * Gets data around private site access enablement and authorized Virtual Networks that can access the site. @@ -33893,10 +34963,9 @@ private ServiceResponse beginCreateOrUpdateSourceControl * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the Object object if successful. */ - public Object deleteSourceControlSlot(String resourceGroupName, String name, String slot) { - return deleteSourceControlSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public void deleteSourceControlSlot(String resourceGroupName, String name, String slot) { + deleteSourceControlSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** @@ -33910,7 +34979,7 @@ public Object deleteSourceControlSlot(String resourceGroupName, String name, Str * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture deleteSourceControlSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + public ServiceFuture deleteSourceControlSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(deleteSourceControlSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } @@ -33922,12 +34991,12 @@ public ServiceFuture deleteSourceControlSlotAsync(String resourceGroupNa * @param name Name of the app. * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the source control configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the {@link ServiceResponse} object if successful. */ - public Observable deleteSourceControlSlotAsync(String resourceGroupName, String name, String slot) { - return deleteSourceControlSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Object>() { + public Observable deleteSourceControlSlotAsync(String resourceGroupName, String name, String slot) { + return deleteSourceControlSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { @Override - public Object call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); @@ -33941,9 +35010,9 @@ public Object call(ServiceResponse response) { * @param name Name of the app. * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the source control configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> deleteSourceControlSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> deleteSourceControlSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -33960,11 +35029,11 @@ public Observable> deleteSourceControlSlotWithServiceRes throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.deleteSourceControlSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteSourceControlSlotDelegate(response); + ServiceResponse clientResponse = deleteSourceControlSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -33973,10 +35042,10 @@ 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()) + 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); @@ -34084,6 +35153,7 @@ private ServiceResponse updateSourceControlSlotDelegate( 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); } @@ -37293,10 +38363,9 @@ private ServiceResponse beginCreateOrUpdateSourceControl * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the Object object if successful. */ - public Object deleteSourceControl(String resourceGroupName, String name) { - return deleteSourceControlWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + public void deleteSourceControl(String resourceGroupName, String name) { + deleteSourceControlWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** @@ -37309,7 +38378,7 @@ public Object deleteSourceControl(String resourceGroupName, String name) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture deleteSourceControlAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + public ServiceFuture deleteSourceControlAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(deleteSourceControlWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } @@ -37320,12 +38389,12 @@ public ServiceFuture deleteSourceControlAsync(String resourceGroupName, * @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 to the Object object + * @return the {@link ServiceResponse} object if successful. */ - public Observable deleteSourceControlAsync(String resourceGroupName, String name) { - return deleteSourceControlWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Object>() { + public Observable deleteSourceControlAsync(String resourceGroupName, String name) { + return deleteSourceControlWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { @Override - public Object call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); @@ -37338,9 +38407,9 @@ public Object call(ServiceResponse response) { * @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 to the Object object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> deleteSourceControlWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable> deleteSourceControlWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -37354,11 +38423,11 @@ public Observable> deleteSourceControlWithServiceRespons throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.deleteSourceControl(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteSourceControlDelegate(response); + ServiceResponse clientResponse = deleteSourceControlDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -37367,10 +38436,10 @@ 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()) + 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); @@ -37471,6 +38540,7 @@ private ServiceResponse updateSourceControlDelegate(Resp 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); } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java index 6042207d62d89..1e547564e71d0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java @@ -428,7 +428,7 @@ interface WebSiteManagementClientService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebSiteManagementClient listBillingMeters" }) @GET("subscriptions/{subscriptionId}/providers/Microsoft.Web/billingMeters") - Observable> listBillingMeters(@Path("subscriptionId") String subscriptionId, @Query("billingLocation") String billingLocation, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> listBillingMeters(@Path("subscriptionId") String subscriptionId, @Query("billingLocation") String billingLocation, @Query("osType") String osType, @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.WebSiteManagementClient checkNameAvailability" }) @POST("subscriptions/{subscriptionId}/providers/Microsoft.Web/checknameavailability") @@ -440,7 +440,7 @@ interface WebSiteManagementClientService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebSiteManagementClient listGeoRegions" }) @GET("subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions") - Observable> listGeoRegions(@Path("subscriptionId") String subscriptionId, @Query("sku") SkuName sku, @Query("linuxWorkersEnabled") Boolean linuxWorkersEnabled, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> listGeoRegions(@Path("subscriptionId") String subscriptionId, @Query("sku") SkuName sku, @Query("linuxWorkersEnabled") Boolean linuxWorkersEnabled, @Query("xenonWorkersEnabled") Boolean xenonWorkersEnabled, @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.WebSiteManagementClient listSiteIdentifiersAssignedToHostName" }) @POST("subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName") @@ -1015,7 +1015,8 @@ public Observable>> listBillingMetersSin throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); } final String billingLocation = null; - return service.listBillingMeters(this.subscriptionId(), billingLocation, this.apiVersion(), this.acceptLanguage(), this.userAgent()) + final String osType = null; + return service.listBillingMeters(this.subscriptionId(), billingLocation, osType, this.apiVersion(), this.acceptLanguage(), this.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { @@ -1034,13 +1035,14 @@ public Observable>> call(Response listBillingMeters(final String billingLocation) { - ServiceResponse> response = listBillingMetersSinglePageAsync(billingLocation).toBlocking().single(); + public PagedList listBillingMeters(final String billingLocation, final String osType) { + ServiceResponse> response = listBillingMetersSinglePageAsync(billingLocation, osType).toBlocking().single(); return new PagedList(response.body()) { @Override public Page nextPage(String nextPageLink) { @@ -1054,13 +1056,14 @@ public Page nextPage(String nextPageLink) { * Gets a list of meters for a given location. * * @param billingLocation Azure Location of billable resource + * @param osType App Service OS type meters used for * @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> listBillingMetersAsync(final String billingLocation, final ListOperationCallback serviceCallback) { + public ServiceFuture> listBillingMetersAsync(final String billingLocation, final String osType, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listBillingMetersSinglePageAsync(billingLocation), + listBillingMetersSinglePageAsync(billingLocation, osType), new Func1>>>() { @Override public Observable>> call(String nextPageLink) { @@ -1075,11 +1078,12 @@ public Observable>> call(String nextPage * Gets a list of meters for a given location. * * @param billingLocation Azure Location of billable resource + * @param osType App Service OS type meters used for * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<BillingMeterInner> object */ - public Observable> listBillingMetersAsync(final String billingLocation) { - return listBillingMetersWithServiceResponseAsync(billingLocation) + public Observable> listBillingMetersAsync(final String billingLocation, final String osType) { + return listBillingMetersWithServiceResponseAsync(billingLocation, osType) .map(new Func1>, Page>() { @Override public Page call(ServiceResponse> response) { @@ -1093,11 +1097,12 @@ public Page call(ServiceResponse> res * Gets a list of meters for a given location. * * @param billingLocation Azure Location of billable resource + * @param osType App Service OS type meters used for * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<BillingMeterInner> object */ - public Observable>> listBillingMetersWithServiceResponseAsync(final String billingLocation) { - return listBillingMetersSinglePageAsync(billingLocation) + public Observable>> listBillingMetersWithServiceResponseAsync(final String billingLocation, final String osType) { + return listBillingMetersSinglePageAsync(billingLocation, osType) .concatMap(new Func1>, Observable>>>() { @Override public Observable>> call(ServiceResponse> page) { @@ -1115,17 +1120,18 @@ public Observable>> call(ServiceResponse * Gets a list of meters for a given location. * ServiceResponse> * @param billingLocation Azure Location of billable resource + ServiceResponse> * @param osType App Service OS type meters used for * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<BillingMeterInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listBillingMetersSinglePageAsync(final String billingLocation) { + public Observable>> listBillingMetersSinglePageAsync(final String billingLocation, final String osType) { if (this.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.subscriptionId() is required and cannot be null."); } if (this.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); } - return service.listBillingMeters(this.subscriptionId(), billingLocation, this.apiVersion(), this.acceptLanguage(), this.userAgent()) + return service.listBillingMeters(this.subscriptionId(), billingLocation, osType, this.apiVersion(), this.acceptLanguage(), this.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { @@ -1501,7 +1507,8 @@ public Observable>> listGeoRegionsSinglePag } final SkuName sku = null; final Boolean linuxWorkersEnabled = null; - return service.listGeoRegions(this.subscriptionId(), sku, linuxWorkersEnabled, this.apiVersion(), this.acceptLanguage(), this.userAgent()) + final Boolean xenonWorkersEnabled = null; + return service.listGeoRegions(this.subscriptionId(), sku, linuxWorkersEnabled, xenonWorkersEnabled, this.apiVersion(), this.acceptLanguage(), this.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { @@ -1521,13 +1528,14 @@ public Observable>> call(Response listGeoRegions(final SkuName sku, final Boolean linuxWorkersEnabled) { - ServiceResponse> response = listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled).toBlocking().single(); + public PagedList listGeoRegions(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled) { + ServiceResponse> response = listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled).toBlocking().single(); return new PagedList(response.body()) { @Override public Page nextPage(String nextPageLink) { @@ -1542,13 +1550,14 @@ public Page nextPage(String nextPageLink) { * * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. + * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. * @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> listGeoRegionsAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final ListOperationCallback serviceCallback) { + public ServiceFuture> listGeoRegionsAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled), + listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled), new Func1>>>() { @Override public Observable>> call(String nextPageLink) { @@ -1564,11 +1573,12 @@ public Observable>> call(String nextPageLin * * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. + * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<GeoRegionInner> object */ - public Observable> listGeoRegionsAsync(final SkuName sku, final Boolean linuxWorkersEnabled) { - return listGeoRegionsWithServiceResponseAsync(sku, linuxWorkersEnabled) + public Observable> listGeoRegionsAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled) { + return listGeoRegionsWithServiceResponseAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled) .map(new Func1>, Page>() { @Override public Page call(ServiceResponse> response) { @@ -1583,11 +1593,12 @@ public Page call(ServiceResponse> response) * * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. + * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<GeoRegionInner> object */ - public Observable>> listGeoRegionsWithServiceResponseAsync(final SkuName sku, final Boolean linuxWorkersEnabled) { - return listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled) + public Observable>> listGeoRegionsWithServiceResponseAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled) { + return listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled) .concatMap(new Func1>, Observable>>>() { @Override public Observable>> call(ServiceResponse> page) { @@ -1606,17 +1617,18 @@ public Observable>> call(ServiceResponse> * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2' ServiceResponse> * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. + ServiceResponse> * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<GeoRegionInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listGeoRegionsSinglePageAsync(final SkuName sku, final Boolean linuxWorkersEnabled) { + public Observable>> listGeoRegionsSinglePageAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled) { if (this.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.subscriptionId() is required and cannot be null."); } if (this.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); } - return service.listGeoRegions(this.subscriptionId(), sku, linuxWorkersEnabled, this.apiVersion(), this.acceptLanguage(), this.userAgent()) + return service.listGeoRegions(this.subscriptionId(), sku, linuxWorkersEnabled, xenonWorkersEnabled, this.apiVersion(), this.acceptLanguage(), this.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { From abfb7b5c33d3abf7bd0b6d395ee564fb4ed16824 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 19 Jul 2018 15:18:13 -0700 Subject: [PATCH 03/22] Generated from 783f10df76a37c1a43432530a30deb10d7aceb50 (#2241) Add API for adding external storage account configurations to a web app --- .../v2018_02_01/AzureStorageInfoValue.java | 174 ++++++++ ...zureStoragePropertyDictionaryResource.java | 46 ++ .../v2018_02_01/AzureStorageState.java | 56 +++ .../v2018_02_01/AzureStorageType.java | 53 +++ .../appservice/v2018_02_01/SiteConfig.java | 27 ++ .../v2018_02_01/SiteConfigResource.java | 6 + .../v2018_02_01/SlotConfigNamesResource.java | 5 + .../appservice/v2018_02_01/WebApps.java | 49 +++ ...StoragePropertyDictionaryResourceImpl.java | 53 +++ ...toragePropertyDictionaryResourceInner.java | 46 ++ .../SiteConfigResourceImpl.java | 7 + .../SiteConfigResourceInner.java | 28 ++ .../SlotConfigNamesResourceImpl.java | 5 + .../SlotConfigNamesResourceInner.java | 26 ++ .../implementation/WebAppsImpl.java | 49 +++ .../implementation/WebAppsInner.java | 406 ++++++++++++++++++ 16 files changed, 1036 insertions(+) create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStoragePropertyDictionaryResource.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageState.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageType.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceImpl.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceInner.java diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java new file mode 100644 index 0000000000000..da5b89782f8be --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java @@ -0,0 +1,174 @@ +/** + * 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.fasterxml.jackson.annotation.JsonProperty; + +/** + * Azure Files or Blob Storage access information value for dictionary storage. + */ +public class AzureStorageInfoValue { + /** + * Type of storage. Possible values include: 'AzureFiles', 'AzureBlob'. + */ + @JsonProperty(value = "type") + private AzureStorageType type; + + /** + * Name of the storage account. + */ + @JsonProperty(value = "accountName") + private String accountName; + + /** + * Name of the file share (container name, for Blob storage). + */ + @JsonProperty(value = "shareName") + private String shareName; + + /** + * Access key for the storage account. + */ + @JsonProperty(value = "accessKey") + private String accessKey; + + /** + * Path to mount the storage within the site's runtime environment. + */ + @JsonProperty(value = "mountPath") + private String mountPath; + + /** + * State of the storage account. Possible values include: 'Ok', + * 'InvalidCredentials', 'InvalidShare'. + */ + @JsonProperty(value = "state") + private AzureStorageState state; + + /** + * Get type of storage. Possible values include: 'AzureFiles', 'AzureBlob'. + * + * @return the type value + */ + public AzureStorageType type() { + return this.type; + } + + /** + * Set type of storage. Possible values include: 'AzureFiles', 'AzureBlob'. + * + * @param type the type value to set + * @return the AzureStorageInfoValue object itself. + */ + public AzureStorageInfoValue withType(AzureStorageType type) { + this.type = type; + return this; + } + + /** + * Get name of the storage account. + * + * @return the accountName value + */ + public String accountName() { + return this.accountName; + } + + /** + * Set name of the storage account. + * + * @param accountName the accountName value to set + * @return the AzureStorageInfoValue object itself. + */ + public AzureStorageInfoValue withAccountName(String accountName) { + this.accountName = accountName; + return this; + } + + /** + * Get name of the file share (container name, for Blob storage). + * + * @return the shareName value + */ + public String shareName() { + return this.shareName; + } + + /** + * Set name of the file share (container name, for Blob storage). + * + * @param shareName the shareName value to set + * @return the AzureStorageInfoValue object itself. + */ + public AzureStorageInfoValue withShareName(String shareName) { + this.shareName = shareName; + return this; + } + + /** + * Get access key for the storage account. + * + * @return the accessKey value + */ + public String accessKey() { + return this.accessKey; + } + + /** + * Set access key for the storage account. + * + * @param accessKey the accessKey value to set + * @return the AzureStorageInfoValue object itself. + */ + public AzureStorageInfoValue withAccessKey(String accessKey) { + this.accessKey = accessKey; + return this; + } + + /** + * Get path to mount the storage within the site's runtime environment. + * + * @return the mountPath value + */ + public String mountPath() { + return this.mountPath; + } + + /** + * Set path to mount the storage within the site's runtime environment. + * + * @param mountPath the mountPath value to set + * @return the AzureStorageInfoValue object itself. + */ + public AzureStorageInfoValue withMountPath(String mountPath) { + this.mountPath = mountPath; + return this; + } + + /** + * Get state of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare'. + * + * @return the state value + */ + public AzureStorageState state() { + return this.state; + } + + /** + * Set state of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare'. + * + * @param state the state value to set + * @return the AzureStorageInfoValue object itself. + */ + public AzureStorageInfoValue withState(AzureStorageState state) { + this.state = state; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStoragePropertyDictionaryResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStoragePropertyDictionaryResource.java new file mode 100644 index 0000000000000..71efa1e251ab9 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStoragePropertyDictionaryResource.java @@ -0,0 +1,46 @@ +/** + * 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.AzureStoragePropertyDictionaryResourceInner; +import java.util.Map; + +/** + * Type representing AzureStoragePropertyDictionaryResource. + */ +public interface AzureStoragePropertyDictionaryResource extends HasInner, HasManager { + /** + * @return the id value. + */ + String id(); + + /** + * @return the kind value. + */ + String kind(); + + /** + * @return the name value. + */ + String name(); + + /** + * @return the properties value. + */ + Map properties(); + + /** + * @return the type value. + */ + String type(); + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageState.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageState.java new file mode 100644 index 0000000000000..f5dc6a73a8740 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageState.java @@ -0,0 +1,56 @@ +/** + * 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.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for AzureStorageState. + */ +public enum AzureStorageState { + /** Enum value Ok. */ + OK("Ok"), + + /** Enum value InvalidCredentials. */ + INVALID_CREDENTIALS("InvalidCredentials"), + + /** Enum value InvalidShare. */ + INVALID_SHARE("InvalidShare"); + + /** The actual serialized value for a AzureStorageState instance. */ + private String value; + + AzureStorageState(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a AzureStorageState instance. + * + * @param value the serialized value to parse. + * @return the parsed AzureStorageState object, or null if unable to parse. + */ + @JsonCreator + public static AzureStorageState fromString(String value) { + AzureStorageState[] items = AzureStorageState.values(); + for (AzureStorageState item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageType.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageType.java new file mode 100644 index 0000000000000..03c6d639c0493 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageType.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01; + +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonValue; + +/** + * Defines values for AzureStorageType. + */ +public enum AzureStorageType { + /** Enum value AzureFiles. */ + AZURE_FILES("AzureFiles"), + + /** Enum value AzureBlob. */ + AZURE_BLOB("AzureBlob"); + + /** The actual serialized value for a AzureStorageType instance. */ + private String value; + + AzureStorageType(String value) { + this.value = value; + } + + /** + * Parses a serialized value to a AzureStorageType instance. + * + * @param value the serialized value to parse. + * @return the parsed AzureStorageType object, or null if unable to parse. + */ + @JsonCreator + public static AzureStorageType fromString(String value) { + AzureStorageType[] items = AzureStorageType.values(); + for (AzureStorageType item : items) { + if (item.toString().equalsIgnoreCase(value)) { + return item; + } + } + return null; + } + + @JsonValue + @Override + public String toString() { + return this.value; + } +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java index a0501c8e645e7..c36b338ac1476 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java @@ -10,6 +10,7 @@ import java.util.List; import org.joda.time.DateTime; +import java.util.Map; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; import com.fasterxml.jackson.annotation.JsonProperty; @@ -123,6 +124,12 @@ public class SiteConfig { @JsonProperty(value = "appSettings") private List appSettings; + /** + * User-provided Azure storage accounts. + */ + @JsonProperty(value = "azureStorageAccounts") + private Map azureStorageAccounts; + /** * Connection strings. */ @@ -674,6 +681,26 @@ public SiteConfig withAppSettings(List appSettings) { return this; } + /** + * Get user-provided Azure storage accounts. + * + * @return the azureStorageAccounts value + */ + public Map azureStorageAccounts() { + return this.azureStorageAccounts; + } + + /** + * Set user-provided Azure storage accounts. + * + * @param azureStorageAccounts the azureStorageAccounts value to set + * @return the SiteConfig object itself. + */ + public SiteConfig withAzureStorageAccounts(Map azureStorageAccounts) { + this.azureStorageAccounts = azureStorageAccounts; + return this; + } + /** * Get connection strings. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java index 3f74dd3ca954d..aa5dd7d05142c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java @@ -13,6 +13,7 @@ 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; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; import org.joda.time.DateTime; @@ -55,6 +56,11 @@ public interface SiteConfigResource extends HasInner, H */ String autoSwapSlotName(); + /** + * @return the azureStorageAccounts value. + */ + Map azureStorageAccounts(); + /** * @return the connectionStrings value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java index 44ab65222eda1..40c8aa5a96d15 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java @@ -23,6 +23,11 @@ public interface SlotConfigNamesResource extends HasInner appSettingNames(); + /** + * @return the azureStorageConfigNames value. + */ + List azureStorageConfigNames(); + /** * @return the connectionStringNames value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index 7038632bc9e72..d3c73191327a0 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -19,6 +19,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RelayServiceConnectionEntityInner; import com.microsoft.azure.management.appservice.v2018_02_01.BackupItem; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteAuthSettingsInner; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AzureStoragePropertyDictionaryResourceInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ConnectionStringDictionaryInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteLogsConfigInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; @@ -930,6 +931,54 @@ public interface WebApps { */ Observable getAuthSettingsSlotAsync(String resourceGroupName, String name, String slot); + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts); + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 + */ + Observable listAzureStorageAccountsAsync(String resourceGroupName, String name); + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts); + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot); + /** * Replaces the connection strings of an app. * Replaces the connection strings of an app. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceImpl.java new file mode 100644 index 0000000000000..7d74bfbbc4d45 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceImpl.java @@ -0,0 +1,53 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01.implementation; + +import com.microsoft.azure.management.appservice.v2018_02_01.AzureStoragePropertyDictionaryResource; +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import java.util.Map; +import com.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; + +class AzureStoragePropertyDictionaryResourceImpl extends WrapperImpl implements AzureStoragePropertyDictionaryResource { + private final CertificateRegistrationManager manager; + AzureStoragePropertyDictionaryResourceImpl(AzureStoragePropertyDictionaryResourceInner inner, CertificateRegistrationManager manager) { + super(inner); + this.manager = manager; + } + + @Override + public CertificateRegistrationManager manager() { + return this.manager; + } + + @Override + public String id() { + return this.inner().id(); + } + + @Override + public String kind() { + return this.inner().kind(); + } + + @Override + public String name() { + return this.inner().name(); + } + + @Override + public Map properties() { + return this.inner().properties(); + } + + @Override + public String type() { + return this.inner().type(); + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceInner.java new file mode 100644 index 0000000000000..f265d4c61dfcf --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AzureStoragePropertyDictionaryResourceInner.java @@ -0,0 +1,46 @@ +/** + * 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.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.management.appservice.v2018_02_01.ProxyOnlyResource; + +/** + * AzureStorageInfo dictionary resource. + */ +public class AzureStoragePropertyDictionaryResourceInner extends ProxyOnlyResource { + /** + * Azure storage accounts. + */ + @JsonProperty(value = "properties") + private Map properties; + + /** + * Get azure storage accounts. + * + * @return the properties value + */ + public Map properties() { + return this.properties; + } + + /** + * Set azure storage accounts. + * + * @param properties the properties value to set + * @return the AzureStoragePropertyDictionaryResourceInner object itself. + */ + public AzureStoragePropertyDictionaryResourceInner withProperties(Map properties) { + this.properties = properties; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java index 7077b3ece345a..65f6282a60909 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java @@ -14,6 +14,8 @@ import java.util.List; import com.microsoft.azure.management.appservice.v2018_02_01.NameValuePair; import com.microsoft.azure.management.appservice.v2018_02_01.AutoHealRules; +import java.util.Map; +import com.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; import com.microsoft.azure.management.appservice.v2018_02_01.ConnStringInfo; import com.microsoft.azure.management.appservice.v2018_02_01.CorsSettings; import com.microsoft.azure.management.appservice.v2018_02_01.Experiments; @@ -76,6 +78,11 @@ public String autoSwapSlotName() { return this.inner().autoSwapSlotName(); } + @Override + public Map azureStorageAccounts() { + return this.inner().azureStorageAccounts(); + } + @Override public List connectionStrings() { return this.inner().connectionStrings(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java index 85ede7cd7286e..647109a1712d6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java @@ -11,6 +11,8 @@ import java.util.List; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.NameValuePair; +import java.util.Map; +import com.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; import com.microsoft.azure.management.appservice.v2018_02_01.ConnStringInfo; import com.microsoft.azure.management.appservice.v2018_02_01.SiteMachineKey; import com.microsoft.azure.management.appservice.v2018_02_01.HandlerMapping; @@ -141,6 +143,12 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { @JsonProperty(value = "properties.appSettings") private List appSettings; + /** + * User-provided Azure storage accounts. + */ + @JsonProperty(value = "properties.azureStorageAccounts") + private Map azureStorageAccounts; + /** * Connection strings. */ @@ -692,6 +700,26 @@ public SiteConfigResourceInner withAppSettings(List appSettings) return this; } + /** + * Get user-provided Azure storage accounts. + * + * @return the azureStorageAccounts value + */ + public Map azureStorageAccounts() { + return this.azureStorageAccounts; + } + + /** + * Set user-provided Azure storage accounts. + * + * @param azureStorageAccounts the azureStorageAccounts value to set + * @return the SiteConfigResourceInner object itself. + */ + public SiteConfigResourceInner withAzureStorageAccounts(Map azureStorageAccounts) { + this.azureStorageAccounts = azureStorageAccounts; + return this; + } + /** * Get connection strings. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java index 78f2a61c18aa5..c9780717ed85f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java @@ -29,6 +29,11 @@ public List appSettingNames() { return this.inner().appSettingNames(); } + @Override + public List azureStorageConfigNames() { + return this.inner().azureStorageConfigNames(); + } + @Override public List connectionStringNames() { return this.inner().connectionStringNames(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java index 88c96aaf291e2..543d8e0e344ee 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java @@ -30,6 +30,12 @@ public class SlotConfigNamesResourceInner extends ProxyOnlyResource { @JsonProperty(value = "properties.appSettingNames") private List appSettingNames; + /** + * List of external Azure storage account identifiers. + */ + @JsonProperty(value = "properties.azureStorageConfigNames") + private List azureStorageConfigNames; + /** * Get list of connection string names. * @@ -70,4 +76,24 @@ public SlotConfigNamesResourceInner withAppSettingNames(List appSettingN return this; } + /** + * Get list of external Azure storage account identifiers. + * + * @return the azureStorageConfigNames value + */ + public List azureStorageConfigNames() { + return this.azureStorageConfigNames; + } + + /** + * Set list of external Azure storage account identifiers. + * + * @param azureStorageConfigNames the azureStorageConfigNames value to set + * @return the SlotConfigNamesResourceInner object itself. + */ + public SlotConfigNamesResourceInner withAzureStorageConfigNames(List azureStorageConfigNames) { + this.azureStorageConfigNames = azureStorageConfigNames; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java index ae9c7c9f449a4..68ffbba73fecc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java @@ -36,6 +36,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DeletedAppRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SiteAuthSettings; +import com.microsoft.azure.management.appservice.v2018_02_01.AzureStoragePropertyDictionaryResource; import com.microsoft.azure.management.appservice.v2018_02_01.ConnectionStringDictionary; import com.microsoft.azure.management.appservice.v2018_02_01.SiteLogsConfig; import com.microsoft.azure.management.appservice.v2018_02_01.User; @@ -1150,6 +1151,54 @@ public SiteAuthSettings call(SiteAuthSettingsInner inner) { }); } + @Override + public Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + WebAppsInner client = this.inner(); + return client.updateAzureStorageAccountsAsync(resourceGroupName, name, azureStorageAccounts) + .map(new Func1() { + @Override + public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { + return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); + } + }); + } + + @Override + public Observable listAzureStorageAccountsAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.listAzureStorageAccountsAsync(resourceGroupName, name) + .map(new Func1() { + @Override + public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { + return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); + } + }); + } + + @Override + public Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + WebAppsInner client = this.inner(); + return client.updateAzureStorageAccountsSlotAsync(resourceGroupName, name, slot, azureStorageAccounts) + .map(new Func1() { + @Override + public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { + return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); + } + }); + } + + @Override + public Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.listAzureStorageAccountsSlotAsync(resourceGroupName, name, slot) + .map(new Func1() { + @Override + public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { + return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); + } + }); + } + @Override public Observable updateConnectionStringsAsync(String resourceGroupName, String name, ConnectionStringDictionaryInner connectionStrings) { WebAppsInner client = this.inner(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index 69ac1f507c2d2..f49e0bfdcdea8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -163,6 +163,14 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list") Observable> getAuthSettings(@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 updateAzureStorageAccounts" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts") + Observable> updateAzureStorageAccounts(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, @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 listAzureStorageAccounts" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list") + Observable> listAzureStorageAccounts(@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 updateBackupConfiguration" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup") Observable> updateBackupConfiguration(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body BackupRequestInner request, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -768,6 +776,14 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list") Observable> getAuthSettingsSlot(@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 updateAzureStorageAccountsSlot" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts") + Observable> updateAzureStorageAccountsSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, @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 listAzureStorageAccountsSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list") + Observable> listAzureStorageAccountsSlot(@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 updateBackupConfigurationSlot" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup") Observable> updateBackupConfigurationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body BackupRequestInner request, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -4131,6 +4147,194 @@ private ServiceResponse getAuthSettingsDelegate(Response< .build(response); } + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts 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 + * @return the AzureStoragePropertyDictionaryResourceInner object if successful. + */ + public AzureStoragePropertyDictionaryResourceInner updateAzureStorageAccounts(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts).toBlocking().single().body(); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts 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 updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts), serviceCallback); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + @Override + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable> updateAzureStorageAccountsWithServiceResponseAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + 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 (azureStorageAccounts == null) { + throw new IllegalArgumentException("Parameter azureStorageAccounts 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(azureStorageAccounts); + return service.updateAzureStorageAccounts(resourceGroupName, name, this.client.subscriptionId(), azureStorageAccounts, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateAzureStorageAccountsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 + * @return the AzureStoragePropertyDictionaryResourceInner object if successful. + */ + public AzureStoragePropertyDictionaryResourceInner listAzureStorageAccounts(String resourceGroupName, String name) { + return listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 listAzureStorageAccountsAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable listAzureStorageAccountsAsync(String resourceGroupName, String name) { + return listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + @Override + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable> listAzureStorageAccountsWithServiceResponseAsync(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.listAzureStorageAccounts(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 = listAzureStorageAccountsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + /** * Updates the backup configuration of an app. * Updates the backup configuration of an app. @@ -20140,6 +20344,208 @@ private ServiceResponse getAuthSettingsSlotDelegate(Respo .build(response); } + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts 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 + * @return the AzureStoragePropertyDictionaryResourceInner object if successful. + */ + public AzureStoragePropertyDictionaryResourceInner updateAzureStorageAccountsSlot(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).toBlocking().single().body(); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts 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 updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts), serviceCallback); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + @Override + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable> updateAzureStorageAccountsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + 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 (azureStorageAccounts == null) { + throw new IllegalArgumentException("Parameter azureStorageAccounts 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(azureStorageAccounts); + return service.updateAzureStorageAccountsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), azureStorageAccounts, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateAzureStorageAccountsSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production 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 AzureStoragePropertyDictionaryResourceInner object if successful. + */ + public AzureStoragePropertyDictionaryResourceInner listAzureStorageAccountsSlot(String resourceGroupName, String name, String slot) { + return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production 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 listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot) { + return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + @Override + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable> listAzureStorageAccountsSlotWithServiceResponseAsync(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.listAzureStorageAccountsSlot(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 = listAzureStorageAccountsSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + /** * Updates the backup configuration of an app. * Updates the backup configuration of an app. From a3b04d35699afd6d179f862d1cb5e12b59cfb4b7 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 31 Jul 2018 11:10:20 -0700 Subject: [PATCH 04/22] Generated from a20537a953e03d3177877f92d7c1fc00d79ac635 (#2287) Fix documentation issues with metrics APIs --- .../appservice/v2018_02_01/SiteConfig.java | 27 - .../v2018_02_01/SiteConfigResource.java | 6 - .../v2018_02_01/SlotConfigNamesResource.java | 5 - .../appservice/v2018_02_01/WebApps.java | 49 -- .../AppServiceEnvironmentsInner.java | 50 +- .../implementation/AppServicePlansInner.java | 10 +- .../implementation/RecommendationsInner.java | 30 +- .../SiteConfigResourceImpl.java | 7 - .../SiteConfigResourceInner.java | 28 -- .../SlotConfigNamesResourceImpl.java | 5 - .../SlotConfigNamesResourceInner.java | 26 - .../implementation/WebAppsImpl.java | 49 -- .../implementation/WebAppsInner.java | 466 ++---------------- 13 files changed, 75 insertions(+), 683 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java index c36b338ac1476..a0501c8e645e7 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java @@ -10,7 +10,6 @@ import java.util.List; import org.joda.time.DateTime; -import java.util.Map; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; import com.fasterxml.jackson.annotation.JsonProperty; @@ -124,12 +123,6 @@ public class SiteConfig { @JsonProperty(value = "appSettings") private List appSettings; - /** - * User-provided Azure storage accounts. - */ - @JsonProperty(value = "azureStorageAccounts") - private Map azureStorageAccounts; - /** * Connection strings. */ @@ -681,26 +674,6 @@ public SiteConfig withAppSettings(List appSettings) { return this; } - /** - * Get user-provided Azure storage accounts. - * - * @return the azureStorageAccounts value - */ - public Map azureStorageAccounts() { - return this.azureStorageAccounts; - } - - /** - * Set user-provided Azure storage accounts. - * - * @param azureStorageAccounts the azureStorageAccounts value to set - * @return the SiteConfig object itself. - */ - public SiteConfig withAzureStorageAccounts(Map azureStorageAccounts) { - this.azureStorageAccounts = azureStorageAccounts; - return this; - } - /** * Get connection strings. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java index aa5dd7d05142c..3f74dd3ca954d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java @@ -13,7 +13,6 @@ 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; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; import org.joda.time.DateTime; @@ -56,11 +55,6 @@ public interface SiteConfigResource extends HasInner, H */ String autoSwapSlotName(); - /** - * @return the azureStorageAccounts value. - */ - Map azureStorageAccounts(); - /** * @return the connectionStrings value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java index 40c8aa5a96d15..44ab65222eda1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java @@ -23,11 +23,6 @@ public interface SlotConfigNamesResource extends HasInner appSettingNames(); - /** - * @return the azureStorageConfigNames value. - */ - List azureStorageConfigNames(); - /** * @return the connectionStringNames value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index d3c73191327a0..7038632bc9e72 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -19,7 +19,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RelayServiceConnectionEntityInner; import com.microsoft.azure.management.appservice.v2018_02_01.BackupItem; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteAuthSettingsInner; -import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AzureStoragePropertyDictionaryResourceInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ConnectionStringDictionaryInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteLogsConfigInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; @@ -931,54 +930,6 @@ public interface WebApps { */ Observable getAuthSettingsSlotAsync(String resourceGroupName, String name, String slot); - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param azureStorageAccounts Azure storage accounts of the app. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts); - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 - */ - Observable listAzureStorageAccountsAsync(String resourceGroupName, String name); - - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts of the app. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts); - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot); - /** * Replaces the connection strings of an app. * Replaces the connection strings of an app. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsInner.java index 29201d1083fed..034cf74d94a57 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceEnvironmentsInner.java @@ -2203,7 +2203,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -2250,7 +2250,7 @@ public Observable>> call(String nextPa * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -2271,7 +2271,7 @@ public Page call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -2296,7 +2296,7 @@ public Observable>> call(ServiceRespon ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. ServiceResponse> * @param name Name of the App Service Environment. ServiceResponse> * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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. */ @@ -3508,7 +3508,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param endTime End time of the metrics query. * @param timeGrain Time granularity of the metrics query. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -3561,7 +3561,7 @@ public Observable>> call(String nextPa * @param endTime End time of the metrics query. * @param timeGrain Time granularity of the metrics query. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -3585,7 +3585,7 @@ public Page call(ServiceResponse> * @param endTime End time of the metrics query. * @param timeGrain Time granularity of the metrics query. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -3613,7 +3613,7 @@ public Observable>> call(ServiceRespon ServiceResponse> * @param endTime End time of the metrics query. ServiceResponse> * @param timeGrain Time granularity of the metrics query. ServiceResponse> * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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. */ @@ -5116,7 +5116,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -5161,7 +5161,7 @@ public Observable>> call(String nextPag * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<CsmUsageQuotaInner> object */ @@ -5181,7 +5181,7 @@ public Page call(ServiceResponse> r * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service Environment. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<CsmUsageQuotaInner> object */ @@ -5205,7 +5205,7 @@ public Observable>> call(ServiceRespons * ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. ServiceResponse> * @param name Name of the App Service Environment. - ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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. */ @@ -6066,7 +6066,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param workerPoolName Name of the worker pool. * @param instance Name of the instance in the worker pool. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -6117,7 +6117,7 @@ public Observable>> call(String nextPa * @param workerPoolName Name of the worker pool. * @param instance Name of the instance in the worker pool. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -6140,7 +6140,7 @@ public Page call(ServiceResponse> * @param workerPoolName Name of the worker pool. * @param instance Name of the instance in the worker pool. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -6167,7 +6167,7 @@ public Observable>> call(ServiceRespon ServiceResponse> * @param workerPoolName Name of the worker pool. ServiceResponse> * @param instance Name of the instance in the worker pool. ServiceResponse> * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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. */ @@ -6486,7 +6486,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param name Name of the App Service Environment. * @param workerPoolName Name of worker pool * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -6535,7 +6535,7 @@ public Observable>> call(String nextPa * @param name Name of the App Service Environment. * @param workerPoolName Name of worker pool * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -6557,7 +6557,7 @@ public Page call(ServiceResponse> * @param name Name of the App Service Environment. * @param workerPoolName Name of worker pool * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -6583,7 +6583,7 @@ public Observable>> call(ServiceRespon ServiceResponse> * @param name Name of the App Service Environment. ServiceResponse> * @param workerPoolName Name of worker pool ServiceResponse> * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansInner.java index e1bd316b4b927..0ecf78418924f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansInner.java @@ -2052,7 +2052,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -2099,7 +2099,7 @@ public Observable>> call(String nextPa * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -2120,7 +2120,7 @@ public Page call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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]'. + * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 observable to the PagedList<ResourceMetricInner> object */ @@ -2145,7 +2145,7 @@ public Observable>> call(ServiceRespon ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. ServiceResponse> * @param name Name of the App Service plan. ServiceResponse> * @param details Specify <code>true</code> to include instance details. The default is <code>false</code>. - ServiceResponse> * @param filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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 filter Return only usages/metrics specified in the filter. Filter conforms to odata syntax. 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. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsInner.java index 29e11f058890f..3e508d09cfc57 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsInner.java @@ -221,7 +221,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * List all recommendations for a subscription. * * @param featured Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. - * @param filter Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] + * @param filter Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -264,7 +264,7 @@ public Observable>> call(String nextPa * List all recommendations for a subscription. * * @param featured Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. - * @param filter Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] + * @param filter Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<RecommendationInner> object */ @@ -283,7 +283,7 @@ public Page call(ServiceResponse> * List all recommendations for a subscription. * * @param featured Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. - * @param filter Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] + * @param filter Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<RecommendationInner> object */ @@ -306,7 +306,7 @@ public Observable>> call(ServiceRespon * List all recommendations for a subscription. * ServiceResponse> * @param featured Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. - ServiceResponse> * @param filter Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] + ServiceResponse> * @param filter Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<RecommendationInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -625,7 +625,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. * @param expiredOnly Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations. - * @param filter Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] + * @param filter Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -672,7 +672,7 @@ public Observable>> call(String nextPa * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. * @param expiredOnly Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations. - * @param filter Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] + * @param filter Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<RecommendationInner> object */ @@ -693,7 +693,7 @@ public Page call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. * @param expiredOnly Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations. - * @param filter Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] + * @param filter Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<RecommendationInner> object */ @@ -718,7 +718,7 @@ public Observable>> call(ServiceRespon ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. ServiceResponse> * @param siteName Name of the app. ServiceResponse> * @param expiredOnly Specify <code>false</code> to return all recommendations. The default is <code>true</code>, which returns only expired recommendations. - ServiceResponse> * @param filter Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[PT1H|PT1M|P1D] + ServiceResponse> * @param filter Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[PT1H|PT1M|P1D] * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<RecommendationInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -886,7 +886,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. * @param featured Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. - * @param filter Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' + * @param filter Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -933,7 +933,7 @@ public Observable>> call(String nextPa * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. * @param featured Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. - * @param filter Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' + * @param filter Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<RecommendationInner> object */ @@ -954,7 +954,7 @@ public Page call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. * @param siteName Name of the app. * @param featured Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. - * @param filter Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' + * @param filter Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<RecommendationInner> object */ @@ -979,7 +979,7 @@ public Observable>> call(ServiceRespon ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. ServiceResponse> * @param siteName Name of the app. ServiceResponse> * @param featured Specify <code>true</code> to return only the most critical recommendations. The default is <code>false</code>, which returns all recommendations. - ServiceResponse> * @param filter Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channels eq 'Api' or channel eq 'Notification' + ServiceResponse> * @param filter Return only channels specified in the filter. Filter is specified by using OData syntax. Example: $filter=channel eq 'Api' or channel eq 'Notification' * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<RecommendationInner> object wrapped in {@link ServiceResponse} if successful. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java index 65f6282a60909..7077b3ece345a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java @@ -14,8 +14,6 @@ import java.util.List; import com.microsoft.azure.management.appservice.v2018_02_01.NameValuePair; import com.microsoft.azure.management.appservice.v2018_02_01.AutoHealRules; -import java.util.Map; -import com.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; import com.microsoft.azure.management.appservice.v2018_02_01.ConnStringInfo; import com.microsoft.azure.management.appservice.v2018_02_01.CorsSettings; import com.microsoft.azure.management.appservice.v2018_02_01.Experiments; @@ -78,11 +76,6 @@ public String autoSwapSlotName() { return this.inner().autoSwapSlotName(); } - @Override - public Map azureStorageAccounts() { - return this.inner().azureStorageAccounts(); - } - @Override public List connectionStrings() { return this.inner().connectionStrings(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java index 647109a1712d6..85ede7cd7286e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java @@ -11,8 +11,6 @@ import java.util.List; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.NameValuePair; -import java.util.Map; -import com.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; import com.microsoft.azure.management.appservice.v2018_02_01.ConnStringInfo; import com.microsoft.azure.management.appservice.v2018_02_01.SiteMachineKey; import com.microsoft.azure.management.appservice.v2018_02_01.HandlerMapping; @@ -143,12 +141,6 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { @JsonProperty(value = "properties.appSettings") private List appSettings; - /** - * User-provided Azure storage accounts. - */ - @JsonProperty(value = "properties.azureStorageAccounts") - private Map azureStorageAccounts; - /** * Connection strings. */ @@ -700,26 +692,6 @@ public SiteConfigResourceInner withAppSettings(List appSettings) return this; } - /** - * Get user-provided Azure storage accounts. - * - * @return the azureStorageAccounts value - */ - public Map azureStorageAccounts() { - return this.azureStorageAccounts; - } - - /** - * Set user-provided Azure storage accounts. - * - * @param azureStorageAccounts the azureStorageAccounts value to set - * @return the SiteConfigResourceInner object itself. - */ - public SiteConfigResourceInner withAzureStorageAccounts(Map azureStorageAccounts) { - this.azureStorageAccounts = azureStorageAccounts; - return this; - } - /** * Get connection strings. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java index c9780717ed85f..78f2a61c18aa5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java @@ -29,11 +29,6 @@ public List appSettingNames() { return this.inner().appSettingNames(); } - @Override - public List azureStorageConfigNames() { - return this.inner().azureStorageConfigNames(); - } - @Override public List connectionStringNames() { return this.inner().connectionStringNames(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java index 543d8e0e344ee..88c96aaf291e2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java @@ -30,12 +30,6 @@ public class SlotConfigNamesResourceInner extends ProxyOnlyResource { @JsonProperty(value = "properties.appSettingNames") private List appSettingNames; - /** - * List of external Azure storage account identifiers. - */ - @JsonProperty(value = "properties.azureStorageConfigNames") - private List azureStorageConfigNames; - /** * Get list of connection string names. * @@ -76,24 +70,4 @@ public SlotConfigNamesResourceInner withAppSettingNames(List appSettingN return this; } - /** - * Get list of external Azure storage account identifiers. - * - * @return the azureStorageConfigNames value - */ - public List azureStorageConfigNames() { - return this.azureStorageConfigNames; - } - - /** - * Set list of external Azure storage account identifiers. - * - * @param azureStorageConfigNames the azureStorageConfigNames value to set - * @return the SlotConfigNamesResourceInner object itself. - */ - public SlotConfigNamesResourceInner withAzureStorageConfigNames(List azureStorageConfigNames) { - this.azureStorageConfigNames = azureStorageConfigNames; - return this; - } - } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java index 68ffbba73fecc..ae9c7c9f449a4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java @@ -36,7 +36,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.DeletedAppRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SiteAuthSettings; -import com.microsoft.azure.management.appservice.v2018_02_01.AzureStoragePropertyDictionaryResource; import com.microsoft.azure.management.appservice.v2018_02_01.ConnectionStringDictionary; import com.microsoft.azure.management.appservice.v2018_02_01.SiteLogsConfig; import com.microsoft.azure.management.appservice.v2018_02_01.User; @@ -1151,54 +1150,6 @@ public SiteAuthSettings call(SiteAuthSettingsInner inner) { }); } - @Override - public Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - WebAppsInner client = this.inner(); - return client.updateAzureStorageAccountsAsync(resourceGroupName, name, azureStorageAccounts) - .map(new Func1() { - @Override - public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { - return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); - } - }); - } - - @Override - public Observable listAzureStorageAccountsAsync(String resourceGroupName, String name) { - WebAppsInner client = this.inner(); - return client.listAzureStorageAccountsAsync(resourceGroupName, name) - .map(new Func1() { - @Override - public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { - return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); - } - }); - } - - @Override - public Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - WebAppsInner client = this.inner(); - return client.updateAzureStorageAccountsSlotAsync(resourceGroupName, name, slot, azureStorageAccounts) - .map(new Func1() { - @Override - public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { - return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); - } - }); - } - - @Override - public Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot) { - WebAppsInner client = this.inner(); - return client.listAzureStorageAccountsSlotAsync(resourceGroupName, name, slot) - .map(new Func1() { - @Override - public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { - return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); - } - }); - } - @Override public Observable updateConnectionStringsAsync(String resourceGroupName, String name, ConnectionStringDictionaryInner connectionStrings) { WebAppsInner client = this.inner(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index f49e0bfdcdea8..b19645f446cd3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -163,14 +163,6 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list") Observable> getAuthSettings(@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 updateAzureStorageAccounts" }) - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts") - Observable> updateAzureStorageAccounts(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, @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 listAzureStorageAccounts" }) - @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list") - Observable> listAzureStorageAccounts(@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 updateBackupConfiguration" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup") Observable> updateBackupConfiguration(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body BackupRequestInner request, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -776,14 +768,6 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list") Observable> getAuthSettingsSlot(@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 updateAzureStorageAccountsSlot" }) - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts") - Observable> updateAzureStorageAccountsSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, @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 listAzureStorageAccountsSlot" }) - @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list") - Observable> listAzureStorageAccountsSlot(@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 updateBackupConfigurationSlot" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup") Observable> updateBackupConfigurationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body BackupRequestInner request, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -4147,194 +4131,6 @@ private ServiceResponse getAuthSettingsDelegate(Response< .build(response); } - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param azureStorageAccounts Azure storage accounts 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 - * @return the AzureStoragePropertyDictionaryResourceInner object if successful. - */ - public AzureStoragePropertyDictionaryResourceInner updateAzureStorageAccounts(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - return updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts).toBlocking().single().body(); - } - - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param azureStorageAccounts Azure storage accounts 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 updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts), serviceCallback); - } - - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param azureStorageAccounts Azure storage accounts of the app. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the AzureStoragePropertyDictionaryResourceInner object - */ - public Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - return updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { - @Override - public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param azureStorageAccounts Azure storage accounts of the app. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the AzureStoragePropertyDictionaryResourceInner object - */ - public Observable> updateAzureStorageAccountsWithServiceResponseAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - 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 (azureStorageAccounts == null) { - throw new IllegalArgumentException("Parameter azureStorageAccounts 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(azureStorageAccounts); - return service.updateAzureStorageAccounts(resourceGroupName, name, this.client.subscriptionId(), azureStorageAccounts, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateAzureStorageAccountsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - 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); - } - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 - * @return the AzureStoragePropertyDictionaryResourceInner object if successful. - */ - public AzureStoragePropertyDictionaryResourceInner listAzureStorageAccounts(String resourceGroupName, String name) { - return listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); - } - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 listAzureStorageAccountsAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name), serviceCallback); - } - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 to the AzureStoragePropertyDictionaryResourceInner object - */ - public Observable listAzureStorageAccountsAsync(String resourceGroupName, String name) { - return listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { - @Override - public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 to the AzureStoragePropertyDictionaryResourceInner object - */ - public Observable> listAzureStorageAccountsWithServiceResponseAsync(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.listAzureStorageAccounts(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 = listAzureStorageAccountsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - 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); - } - /** * Updates the backup configuration of an app. * Updates the backup configuration of an app. @@ -13099,7 +12895,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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]'. + * @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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -13146,7 +12942,7 @@ public Observable>> call(String nextPa * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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]'. + * @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 observable to the PagedList<ResourceMetricInner> object */ @@ -13167,7 +12963,7 @@ public Page call(ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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]'. + * @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 observable to the PagedList<ResourceMetricInner> object */ @@ -13192,7 +12988,7 @@ public Observable>> call(ServiceRespon 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 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. */ @@ -14286,7 +14082,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. - * @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]'. + * @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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -14331,7 +14127,7 @@ public Observable>> call(String nextP * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. - * @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]'. + * @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 observable to the PagedList<PerfMonResponseInner> object */ @@ -14351,7 +14147,7 @@ public Page call(ServiceResponse>> call(ServiceRespo * 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 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. */ @@ -20344,208 +20140,6 @@ private ServiceResponse getAuthSettingsSlotDelegate(Respo .build(response); } - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts 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 - * @return the AzureStoragePropertyDictionaryResourceInner object if successful. - */ - public AzureStoragePropertyDictionaryResourceInner updateAzureStorageAccountsSlot(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).toBlocking().single().body(); - } - - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts 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 updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts), serviceCallback); - } - - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts of the app. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the AzureStoragePropertyDictionaryResourceInner object - */ - public Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { - @Override - public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts of the app. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the AzureStoragePropertyDictionaryResourceInner object - */ - public Observable> updateAzureStorageAccountsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - 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 (azureStorageAccounts == null) { - throw new IllegalArgumentException("Parameter azureStorageAccounts 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(azureStorageAccounts); - return service.updateAzureStorageAccountsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), azureStorageAccounts, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateAzureStorageAccountsSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - 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); - } - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production 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 AzureStoragePropertyDictionaryResourceInner object if successful. - */ - public AzureStoragePropertyDictionaryResourceInner listAzureStorageAccountsSlot(String resourceGroupName, String name, String slot) { - return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); - } - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production 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 listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); - } - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the AzureStoragePropertyDictionaryResourceInner object - */ - public Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot) { - return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { - @Override - public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. - * - * @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 update the Azure storage account configurations for the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the AzureStoragePropertyDictionaryResourceInner object - */ - public Observable> listAzureStorageAccountsSlotWithServiceResponseAsync(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.listAzureStorageAccountsSlot(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 = listAzureStorageAccountsSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - 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); - } - /** * Updates the backup configuration of an app. * Updates the backup configuration of an app. @@ -29723,7 +29317,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param name Name of the app. * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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]'. + * @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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -29772,7 +29366,7 @@ public Observable>> call(String nextPa * @param name Name of the app. * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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]'. + * @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 observable to the PagedList<ResourceMetricInner> object */ @@ -29794,7 +29388,7 @@ public Page call(ServiceResponse> * @param name Name of the app. * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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]'. + * @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 observable to the PagedList<ResourceMetricInner> object */ @@ -29820,7 +29414,7 @@ public Observable>> call(ServiceRespon 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 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. */ @@ -30596,7 +30190,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. * @param slot Name of web app slot. If not specified then will default to production slot. - * @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]'. + * @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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -30643,7 +30237,7 @@ public Observable>> call(String nextP * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. * @param slot Name of web app slot. If not specified then will default to production slot. - * @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]'. + * @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 observable to the PagedList<PerfMonResponseInner> object */ @@ -30664,7 +30258,7 @@ public Page call(ServiceResponse>> call(ServiceRespo 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 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. */ @@ -36791,7 +36385,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * @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 get quota information of the production slot. - * @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]'. + * @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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -36838,7 +36432,7 @@ public Observable>> call(String nextPag * @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 get quota information of the production slot. - * @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]'. + * @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 observable to the PagedList<CsmUsageQuotaInner> object */ @@ -36859,7 +36453,7 @@ public Page call(ServiceResponse> r * @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 get quota information of the production slot. - * @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]'. + * @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 observable to the PagedList<CsmUsageQuotaInner> object */ @@ -36884,7 +36478,7 @@ public Observable>> call(ServiceRespons 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 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. */ @@ -40097,7 +39691,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @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]'. + * @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]'. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -40142,7 +39736,7 @@ public Observable>> call(String nextPag * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @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]'. + * @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 observable to the PagedList<CsmUsageQuotaInner> object */ @@ -40162,7 +39756,7 @@ public Page call(ServiceResponse> r * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @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]'. + * @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 observable to the PagedList<CsmUsageQuotaInner> object */ @@ -40186,7 +39780,7 @@ public Observable>> call(ServiceRespons * 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 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. */ From b15039349c9e0b4cfe702883f2e95c20880341e3 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 3 Aug 2018 14:08:47 -0700 Subject: [PATCH 05/22] [AutoPR web/resource-manager] [DO NOT MERGE] Add API for adding external storage account configurations to a web app (#2243) * Generated from b3ca48ca58ec98acb66b2c6760819c0b609cd5d1 Make state of AzureStorageInfoValue readonly * Generated from b3ca48ca58ec98acb66b2c6760819c0b609cd5d1 Make state of AzureStorageInfoValue readonly --- .../v2018_02_01/AzureStorageInfoValue.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java index da5b89782f8be..4cf1e5f2abf71 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AzureStorageInfoValue.java @@ -48,7 +48,7 @@ public class AzureStorageInfoValue { * State of the storage account. Possible values include: 'Ok', * 'InvalidCredentials', 'InvalidShare'. */ - @JsonProperty(value = "state") + @JsonProperty(value = "state", access = JsonProperty.Access.WRITE_ONLY) private AzureStorageState state; /** @@ -160,15 +160,4 @@ public AzureStorageState state() { return this.state; } - /** - * Set state of the storage account. Possible values include: 'Ok', 'InvalidCredentials', 'InvalidShare'. - * - * @param state the state value to set - * @return the AzureStorageInfoValue object itself. - */ - public AzureStorageInfoValue withState(AzureStorageState state) { - this.state = state; - return this; - } - } From d73cdad044bac05d4a38982afac0e1109f4e1429 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 9 Aug 2018 10:58:11 -0700 Subject: [PATCH 06/22] Generated from 45ce1882ee5af7ce8fa4f25cf5f871bc7aa9821b (#2301) Include DRSecondary endpoint for GetPublishingProfileXml --- .../CsmPublishingProfileOptions.java | 26 + .../appservice/v2018_02_01/SiteConfig.java | 27 + .../v2018_02_01/SiteConfigResource.java | 6 + .../v2018_02_01/SlotConfigNamesResource.java | 5 + .../appservice/v2018_02_01/WebApps.java | 55 +- .../SiteConfigResourceImpl.java | 7 + .../SiteConfigResourceInner.java | 28 + .../SlotConfigNamesResourceImpl.java | 5 + .../SlotConfigNamesResourceInner.java | 26 + .../implementation/WebAppsImpl.java | 58 +- .../implementation/WebAppsInner.java | 670 ++++++++++++------ 11 files changed, 675 insertions(+), 238 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmPublishingProfileOptions.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmPublishingProfileOptions.java index 9d6f9e7e6eb62..3c1d6d2b006a2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmPublishingProfileOptions.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CsmPublishingProfileOptions.java @@ -23,6 +23,12 @@ public class CsmPublishingProfileOptions { @JsonProperty(value = "format") private PublishingProfileFormat format; + /** + * Include the DisasterRecover endpoint if true. + */ + @JsonProperty(value = "includeDisasterRecoveryEndpoints") + private Boolean includeDisasterRecoveryEndpoints; + /** * Get name of the format. Valid values are: FileZilla3 @@ -49,4 +55,24 @@ public CsmPublishingProfileOptions withFormat(PublishingProfileFormat format) { return this; } + /** + * Get include the DisasterRecover endpoint if true. + * + * @return the includeDisasterRecoveryEndpoints value + */ + public Boolean includeDisasterRecoveryEndpoints() { + return this.includeDisasterRecoveryEndpoints; + } + + /** + * Set include the DisasterRecover endpoint if true. + * + * @param includeDisasterRecoveryEndpoints the includeDisasterRecoveryEndpoints value to set + * @return the CsmPublishingProfileOptions object itself. + */ + public CsmPublishingProfileOptions withIncludeDisasterRecoveryEndpoints(Boolean includeDisasterRecoveryEndpoints) { + this.includeDisasterRecoveryEndpoints = includeDisasterRecoveryEndpoints; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java index a0501c8e645e7..c36b338ac1476 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java @@ -10,6 +10,7 @@ import java.util.List; import org.joda.time.DateTime; +import java.util.Map; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; import com.fasterxml.jackson.annotation.JsonProperty; @@ -123,6 +124,12 @@ public class SiteConfig { @JsonProperty(value = "appSettings") private List appSettings; + /** + * User-provided Azure storage accounts. + */ + @JsonProperty(value = "azureStorageAccounts") + private Map azureStorageAccounts; + /** * Connection strings. */ @@ -674,6 +681,26 @@ public SiteConfig withAppSettings(List appSettings) { return this; } + /** + * Get user-provided Azure storage accounts. + * + * @return the azureStorageAccounts value + */ + public Map azureStorageAccounts() { + return this.azureStorageAccounts; + } + + /** + * Set user-provided Azure storage accounts. + * + * @param azureStorageAccounts the azureStorageAccounts value to set + * @return the SiteConfig object itself. + */ + public SiteConfig withAzureStorageAccounts(Map azureStorageAccounts) { + this.azureStorageAccounts = azureStorageAccounts; + return this; + } + /** * Get connection strings. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java index 3f74dd3ca954d..aa5dd7d05142c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java @@ -13,6 +13,7 @@ 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; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; import org.joda.time.DateTime; @@ -55,6 +56,11 @@ public interface SiteConfigResource extends HasInner, H */ String autoSwapSlotName(); + /** + * @return the azureStorageAccounts value. + */ + Map azureStorageAccounts(); + /** * @return the connectionStrings value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java index 44ab65222eda1..40c8aa5a96d15 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotConfigNamesResource.java @@ -23,6 +23,11 @@ public interface SlotConfigNamesResource extends HasInner appSettingNames(); + /** + * @return the azureStorageConfigNames value. + */ + List azureStorageConfigNames(); + /** * @return the connectionStringNames value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index 7038632bc9e72..fea43d4e3cf28 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -19,6 +19,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.implementation.RelayServiceConnectionEntityInner; import com.microsoft.azure.management.appservice.v2018_02_01.BackupItem; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteAuthSettingsInner; +import com.microsoft.azure.management.appservice.v2018_02_01.implementation.AzureStoragePropertyDictionaryResourceInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.ConnectionStringDictionaryInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.SiteLogsConfigInner; import com.microsoft.azure.management.appservice.v2018_02_01.implementation.PushSettingsInner; @@ -576,10 +577,11 @@ public interface WebApps { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Completable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name); + Completable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions); /** * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. @@ -930,6 +932,54 @@ public interface WebApps { */ Observable getAuthSettingsSlotAsync(String resourceGroupName, String name, String slot); + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts); + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 + */ + Observable listAzureStorageAccountsAsync(String resourceGroupName, String name); + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts); + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot); + /** * Replaces the connection strings of an app. * Replaces the connection strings of an app. @@ -3347,10 +3397,11 @@ 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 get the publishing profile for the production slot. + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Completable listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot); + Completable listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot, CsmPublishingProfileOptions publishingProfileOptions); /** * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java index 7077b3ece345a..65f6282a60909 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java @@ -14,6 +14,8 @@ import java.util.List; import com.microsoft.azure.management.appservice.v2018_02_01.NameValuePair; import com.microsoft.azure.management.appservice.v2018_02_01.AutoHealRules; +import java.util.Map; +import com.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; import com.microsoft.azure.management.appservice.v2018_02_01.ConnStringInfo; import com.microsoft.azure.management.appservice.v2018_02_01.CorsSettings; import com.microsoft.azure.management.appservice.v2018_02_01.Experiments; @@ -76,6 +78,11 @@ public String autoSwapSlotName() { return this.inner().autoSwapSlotName(); } + @Override + public Map azureStorageAccounts() { + return this.inner().azureStorageAccounts(); + } + @Override public List connectionStrings() { return this.inner().connectionStrings(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java index 85ede7cd7286e..647109a1712d6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java @@ -11,6 +11,8 @@ import java.util.List; import org.joda.time.DateTime; import com.microsoft.azure.management.appservice.v2018_02_01.NameValuePair; +import java.util.Map; +import com.microsoft.azure.management.appservice.v2018_02_01.AzureStorageInfoValue; import com.microsoft.azure.management.appservice.v2018_02_01.ConnStringInfo; import com.microsoft.azure.management.appservice.v2018_02_01.SiteMachineKey; import com.microsoft.azure.management.appservice.v2018_02_01.HandlerMapping; @@ -141,6 +143,12 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { @JsonProperty(value = "properties.appSettings") private List appSettings; + /** + * User-provided Azure storage accounts. + */ + @JsonProperty(value = "properties.azureStorageAccounts") + private Map azureStorageAccounts; + /** * Connection strings. */ @@ -692,6 +700,26 @@ public SiteConfigResourceInner withAppSettings(List appSettings) return this; } + /** + * Get user-provided Azure storage accounts. + * + * @return the azureStorageAccounts value + */ + public Map azureStorageAccounts() { + return this.azureStorageAccounts; + } + + /** + * Set user-provided Azure storage accounts. + * + * @param azureStorageAccounts the azureStorageAccounts value to set + * @return the SiteConfigResourceInner object itself. + */ + public SiteConfigResourceInner withAzureStorageAccounts(Map azureStorageAccounts) { + this.azureStorageAccounts = azureStorageAccounts; + return this; + } + /** * Get connection strings. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java index 78f2a61c18aa5..c9780717ed85f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceImpl.java @@ -29,6 +29,11 @@ public List appSettingNames() { return this.inner().appSettingNames(); } + @Override + public List azureStorageConfigNames() { + return this.inner().azureStorageConfigNames(); + } + @Override public List connectionStringNames() { return this.inner().connectionStringNames(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java index 88c96aaf291e2..543d8e0e344ee 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotConfigNamesResourceInner.java @@ -30,6 +30,12 @@ public class SlotConfigNamesResourceInner extends ProxyOnlyResource { @JsonProperty(value = "properties.appSettingNames") private List appSettingNames; + /** + * List of external Azure storage account identifiers. + */ + @JsonProperty(value = "properties.azureStorageConfigNames") + private List azureStorageConfigNames; + /** * Get list of connection string names. * @@ -70,4 +76,24 @@ public SlotConfigNamesResourceInner withAppSettingNames(List appSettingN return this; } + /** + * Get list of external Azure storage account identifiers. + * + * @return the azureStorageConfigNames value + */ + public List azureStorageConfigNames() { + return this.azureStorageConfigNames; + } + + /** + * Set list of external Azure storage account identifiers. + * + * @param azureStorageConfigNames the azureStorageConfigNames value to set + * @return the SlotConfigNamesResourceInner object itself. + */ + public SlotConfigNamesResourceInner withAzureStorageConfigNames(List azureStorageConfigNames) { + this.azureStorageConfigNames = azureStorageConfigNames; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java index ae9c7c9f449a4..d8d7a17fd3949 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java @@ -33,9 +33,11 @@ import com.microsoft.azure.management.appservice.v2018_02_01.CsmSlotEntity; import com.microsoft.azure.management.appservice.v2018_02_01.StorageMigrationOptions; import com.microsoft.azure.management.appservice.v2018_02_01.MigrateMySqlRequest; +import com.microsoft.azure.management.appservice.v2018_02_01.CsmPublishingProfileOptions; import com.microsoft.azure.management.appservice.v2018_02_01.DeletedAppRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.SiteAuthSettings; +import com.microsoft.azure.management.appservice.v2018_02_01.AzureStoragePropertyDictionaryResource; import com.microsoft.azure.management.appservice.v2018_02_01.ConnectionStringDictionary; import com.microsoft.azure.management.appservice.v2018_02_01.SiteLogsConfig; import com.microsoft.azure.management.appservice.v2018_02_01.User; @@ -863,9 +865,9 @@ public Completable getProcessDumpAsync(String resourceGroupName, String name, St } @Override - public Completable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name) { + public Completable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { WebAppsInner client = this.inner(); - return client.listPublishingProfileXmlWithSecretsAsync(resourceGroupName, name).toCompletable(); + return client.listPublishingProfileXmlWithSecretsAsync(resourceGroupName, name, publishingProfileOptions).toCompletable(); } @Override @@ -1150,6 +1152,54 @@ public SiteAuthSettings call(SiteAuthSettingsInner inner) { }); } + @Override + public Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + WebAppsInner client = this.inner(); + return client.updateAzureStorageAccountsAsync(resourceGroupName, name, azureStorageAccounts) + .map(new Func1() { + @Override + public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { + return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); + } + }); + } + + @Override + public Observable listAzureStorageAccountsAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.listAzureStorageAccountsAsync(resourceGroupName, name) + .map(new Func1() { + @Override + public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { + return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); + } + }); + } + + @Override + public Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + WebAppsInner client = this.inner(); + return client.updateAzureStorageAccountsSlotAsync(resourceGroupName, name, slot, azureStorageAccounts) + .map(new Func1() { + @Override + public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { + return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); + } + }); + } + + @Override + public Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.listAzureStorageAccountsSlotAsync(resourceGroupName, name, slot) + .map(new Func1() { + @Override + public AzureStoragePropertyDictionaryResource call(AzureStoragePropertyDictionaryResourceInner inner) { + return new AzureStoragePropertyDictionaryResourceImpl(inner, manager()); + } + }); + } + @Override public Observable updateConnectionStringsAsync(String resourceGroupName, String name, ConnectionStringDictionaryInner connectionStrings) { WebAppsInner client = this.inner(); @@ -3449,9 +3499,9 @@ public Completable getProcessDumpSlotAsync(String resourceGroupName, String name } @Override - public Completable listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot) { + public Completable listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot, CsmPublishingProfileOptions publishingProfileOptions) { WebAppsInner client = this.inner(); - return client.listPublishingProfileXmlWithSecretsSlotAsync(resourceGroupName, name, slot).toCompletable(); + return client.listPublishingProfileXmlWithSecretsSlotAsync(resourceGroupName, name, slot, publishingProfileOptions).toCompletable(); } @Override diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index b19645f446cd3..10a0ec7e73f94 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -23,7 +23,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.MigrateMySqlRequest; import com.microsoft.azure.management.appservice.v2018_02_01.MSDeploy; import com.microsoft.azure.management.appservice.v2018_02_01.PremierAddOnPatchResource; -import com.microsoft.azure.management.appservice.v2018_02_01.PublishingProfileFormat; import com.microsoft.azure.management.appservice.v2018_02_01.SitePatchResource; import com.microsoft.azure.management.appservice.v2018_02_01.SnapshotRestoreRequest; import com.microsoft.azure.management.appservice.v2018_02_01.StorageMigrationOptions; @@ -163,6 +162,14 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/authsettings/list") Observable> getAuthSettings(@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 updateAzureStorageAccounts" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts") + Observable> updateAzureStorageAccounts(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, @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 listAzureStorageAccounts" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/azurestorageaccounts/list") + Observable> listAzureStorageAccounts(@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 updateBackupConfiguration" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup") Observable> updateBackupConfiguration(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body BackupRequestInner request, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -634,7 +641,7 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listPublishingProfileXmlWithSecrets" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml") @Streaming - Observable> listPublishingProfileXmlWithSecrets(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Body CsmPublishingProfileOptions publishingProfileOptions, @Header("User-Agent") String userAgent); + Observable> listPublishingProfileXmlWithSecrets(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body CsmPublishingProfileOptions publishingProfileOptions, @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 resetProductionSlotConfig" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig") @@ -768,6 +775,14 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list") Observable> getAuthSettingsSlot(@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 updateAzureStorageAccountsSlot" }) + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts") + Observable> updateAzureStorageAccountsSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, @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 listAzureStorageAccountsSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/azurestorageaccounts/list") + Observable> listAzureStorageAccountsSlot(@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 updateBackupConfigurationSlot" }) @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup") Observable> updateBackupConfigurationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body BackupRequestInner request, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -1215,7 +1230,7 @@ interface WebAppsService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listPublishingProfileXmlWithSecretsSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml") @Streaming - Observable> listPublishingProfileXmlWithSecretsSlot(@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, @Body CsmPublishingProfileOptions publishingProfileOptions, @Header("User-Agent") String userAgent); + Observable> listPublishingProfileXmlWithSecretsSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body CsmPublishingProfileOptions publishingProfileOptions, @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 resetSlotConfigurationSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig") @@ -4131,6 +4146,194 @@ private ServiceResponse getAuthSettingsDelegate(Response< .build(response); } + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts 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 + * @return the AzureStoragePropertyDictionaryResourceInner object if successful. + */ + public AzureStoragePropertyDictionaryResourceInner updateAzureStorageAccounts(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts).toBlocking().single().body(); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts 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 updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts), serviceCallback); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable updateAzureStorageAccountsAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name, azureStorageAccounts).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + @Override + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable> updateAzureStorageAccountsWithServiceResponseAsync(String resourceGroupName, String name, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + 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 (azureStorageAccounts == null) { + throw new IllegalArgumentException("Parameter azureStorageAccounts 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(azureStorageAccounts); + return service.updateAzureStorageAccounts(resourceGroupName, name, this.client.subscriptionId(), azureStorageAccounts, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateAzureStorageAccountsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 + * @return the AzureStoragePropertyDictionaryResourceInner object if successful. + */ + public AzureStoragePropertyDictionaryResourceInner listAzureStorageAccounts(String resourceGroupName, String name) { + return listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 listAzureStorageAccountsAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable listAzureStorageAccountsAsync(String resourceGroupName, String name) { + return listAzureStorageAccountsWithServiceResponseAsync(resourceGroupName, name).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + @Override + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable> listAzureStorageAccountsWithServiceResponseAsync(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.listAzureStorageAccounts(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 = listAzureStorageAccountsDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + /** * Updates the backup configuration of an app. * Updates the backup configuration of an app. @@ -16319,13 +16522,14 @@ private ServiceResponse deletePublicCertificateDelegate(Response listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + public ServiceFuture listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, publishingProfileOptions), serviceCallback); } /** @@ -16348,11 +16553,12 @@ public ServiceFuture listPublishingProfileXmlWithSecretsAsync(Strin * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the InputStream object */ - public Observable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name) { - return listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name).map(new Func1, InputStream>() { + public Observable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { + return listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, publishingProfileOptions).map(new Func1, InputStream>() { @Override public InputStream call(ServiceResponse response) { return response.body(); @@ -16366,10 +16572,11 @@ public InputStream call(ServiceResponse response) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the InputStream object */ - public Observable> listPublishingProfileXmlWithSecretsWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable> listPublishingProfileXmlWithSecretsWithServiceResponseAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -16379,114 +16586,14 @@ public Observable> listPublishingProfileXmlWithSecr 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."); - } - final PublishingProfileFormat format = null; - CsmPublishingProfileOptions publishingProfileOptions = new CsmPublishingProfileOptions(); - publishingProfileOptions.withFormat(null); - return service.listPublishingProfileXmlWithSecrets(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), publishingProfileOptions, this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = listPublishingProfileXmlWithSecretsDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param format Name of the format. Valid values are: - FileZilla3 - WebDeploy -- default - Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * @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 InputStream object if successful. - */ - public InputStream listPublishingProfileXmlWithSecrets(String resourceGroupName, String name, PublishingProfileFormat format) { - return listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, format).toBlocking().single().body(); - } - - /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param format Name of the format. Valid values are: - FileZilla3 - WebDeploy -- default - Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * @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 listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, PublishingProfileFormat format, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, format), serviceCallback); - } - - /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param format Name of the format. Valid values are: - FileZilla3 - WebDeploy -- default - Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object - */ - public Observable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, PublishingProfileFormat format) { - return listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, format).map(new Func1, InputStream>() { - @Override - public InputStream call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param format Name of the format. Valid values are: - FileZilla3 - WebDeploy -- default - Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object - */ - public Observable> listPublishingProfileXmlWithSecretsWithServiceResponseAsync(String resourceGroupName, String name, PublishingProfileFormat format) { - 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 (publishingProfileOptions == null) { + throw new IllegalArgumentException("Parameter publishingProfileOptions is required and cannot be null."); } if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - CsmPublishingProfileOptions publishingProfileOptions = new CsmPublishingProfileOptions(); - publishingProfileOptions.withFormat(format); - return service.listPublishingProfileXmlWithSecrets(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), publishingProfileOptions, this.client.userAgent()) + Validator.validate(publishingProfileOptions); + return service.listPublishingProfileXmlWithSecrets(resourceGroupName, name, this.client.subscriptionId(), publishingProfileOptions, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { @@ -20140,6 +20247,208 @@ private ServiceResponse getAuthSettingsSlotDelegate(Respo .build(response); } + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts 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 + * @return the AzureStoragePropertyDictionaryResourceInner object if successful. + */ + public AzureStoragePropertyDictionaryResourceInner updateAzureStorageAccountsSlot(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).toBlocking().single().body(); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts 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 updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts), serviceCallback); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + @Override + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts of the app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable> updateAzureStorageAccountsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + 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 (azureStorageAccounts == null) { + throw new IllegalArgumentException("Parameter azureStorageAccounts 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(azureStorageAccounts); + return service.updateAzureStorageAccountsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), azureStorageAccounts, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateAzureStorageAccountsSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production 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 AzureStoragePropertyDictionaryResourceInner object if successful. + */ + public AzureStoragePropertyDictionaryResourceInner listAzureStorageAccountsSlot(String resourceGroupName, String name, String slot) { + return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production 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 listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot) { + return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + @Override + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * + * @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 update the Azure storage account configurations for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + */ + public Observable> listAzureStorageAccountsSlotWithServiceResponseAsync(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.listAzureStorageAccountsSlot(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 = listAzureStorageAccountsSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + /** * Updates the backup configuration of an app. * Updates the backup configuration of an app. @@ -32579,13 +32888,14 @@ private ServiceResponse deletePublicCertificateSlotDelegate(Response listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot, CsmPublishingProfileOptions publishingProfileOptions, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(resourceGroupName, name, slot, publishingProfileOptions), serviceCallback); } /** @@ -32610,11 +32921,12 @@ public ServiceFuture listPublishingProfileXmlWithSecretsSlotAsync(S * @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 get the publishing profile for the production slot. + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the InputStream object */ - public Observable listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot) { - return listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, InputStream>() { + public Observable listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot, CsmPublishingProfileOptions publishingProfileOptions) { + return listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(resourceGroupName, name, slot, publishingProfileOptions).map(new Func1, InputStream>() { @Override public InputStream call(ServiceResponse response) { return response.body(); @@ -32629,10 +32941,11 @@ public InputStream 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 get the publishing profile for the production slot. + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the InputStream object */ - public Observable> listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmPublishingProfileOptions publishingProfileOptions) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -32645,121 +32958,14 @@ public Observable> listPublishingProfileXmlWithSecr 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."); - } - final PublishingProfileFormat format = null; - CsmPublishingProfileOptions publishingProfileOptions = new CsmPublishingProfileOptions(); - publishingProfileOptions.withFormat(null); - return service.listPublishingProfileXmlWithSecretsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), publishingProfileOptions, this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = listPublishingProfileXmlWithSecretsSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). - * - * @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 get the publishing profile for the production slot. - * @param format Name of the format. Valid values are: - FileZilla3 - WebDeploy -- default - Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * @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 InputStream object if successful. - */ - public InputStream listPublishingProfileXmlWithSecretsSlot(String resourceGroupName, String name, String slot, PublishingProfileFormat format) { - return listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(resourceGroupName, name, slot, format).toBlocking().single().body(); - } - - /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). - * - * @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 get the publishing profile for the production slot. - * @param format Name of the format. Valid values are: - FileZilla3 - WebDeploy -- default - Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * @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 listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot, PublishingProfileFormat format, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(resourceGroupName, name, slot, format), serviceCallback); - } - - /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). - * - * @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 get the publishing profile for the production slot. - * @param format Name of the format. Valid values are: - FileZilla3 - WebDeploy -- default - Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object - */ - public Observable listPublishingProfileXmlWithSecretsSlotAsync(String resourceGroupName, String name, String slot, PublishingProfileFormat format) { - return listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(resourceGroupName, name, slot, format).map(new Func1, InputStream>() { - @Override - public InputStream call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). - * - * @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 get the publishing profile for the production slot. - * @param format Name of the format. Valid values are: - FileZilla3 - WebDeploy -- default - Ftp. Possible values include: 'FileZilla3', 'WebDeploy', 'Ftp' - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object - */ - public Observable> listPublishingProfileXmlWithSecretsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, PublishingProfileFormat format) { - 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 (publishingProfileOptions == null) { + throw new IllegalArgumentException("Parameter publishingProfileOptions is required and cannot be null."); } if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - CsmPublishingProfileOptions publishingProfileOptions = new CsmPublishingProfileOptions(); - publishingProfileOptions.withFormat(format); - return service.listPublishingProfileXmlWithSecretsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), publishingProfileOptions, this.client.userAgent()) + Validator.validate(publishingProfileOptions); + return service.listPublishingProfileXmlWithSecretsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), publishingProfileOptions, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { From c5b53b3b5fe40b680abb22dc09da1717a78a03d4 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 20 Aug 2018 10:56:03 -0700 Subject: [PATCH 07/22] [AutoPR web/resource-manager] WebApps - Add BackupName to backup API models (#2293) * Generated from 6162973ef0993464a1806f8db5ca913f0fa5d6c8 WebApps - Add BackupName to replace non-ARM-compliant Name property on Backup API models * Generated from c8664a06cff19844eb381ad410872b34cba23b27 Revert breaking change to BackupItem. BackupItemName property will be fine in place of BackupName for now. --- .../appservice/v2018_02_01/BackupRequest.java | 5 ++++ .../implementation/BackupRequestImpl.java | 5 ++++ .../implementation/BackupRequestInner.java | 26 +++++++++++++++++++ 3 files changed, 36 insertions(+) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java index 9abce3c796a20..360067ff27a63 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/BackupRequest.java @@ -18,6 +18,11 @@ * Type representing BackupRequest. */ public interface BackupRequest extends HasInner, HasManager { + /** + * @return the backupName value. + */ + String backupName(); + /** * @return the backupSchedule value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java index b5045b977f38e..9ba81549824ac 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestImpl.java @@ -26,6 +26,11 @@ public CertificateRegistrationManager manager() { return this.manager; } + @Override + public String backupName() { + return this.inner().backupName(); + } + @Override public BackupSchedule backupSchedule() { return this.inner().backupSchedule(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java index e761a1d8b2cb1..581fe11bb33dd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/BackupRequestInner.java @@ -20,6 +20,12 @@ */ @JsonFlatten public class BackupRequestInner extends ProxyOnlyResource { + /** + * Name of the backup. + */ + @JsonProperty(value = "properties.backupName") + private String backupName; + /** * True if the backup schedule is enabled (must be included in that case), * false if the backup schedule should be disabled. @@ -45,6 +51,26 @@ public class BackupRequestInner extends ProxyOnlyResource { @JsonProperty(value = "properties.databases") private List databases; + /** + * Get name of the backup. + * + * @return the backupName value + */ + public String backupName() { + return this.backupName; + } + + /** + * Set name of the backup. + * + * @param backupName the backupName value to set + * @return the BackupRequestInner object itself. + */ + public BackupRequestInner withBackupName(String backupName) { + this.backupName = backupName; + return this; + } + /** * Get true if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. * From fcf3c04c8e9e8f62983f53692a32b6100cc157b0 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 23 Aug 2018 11:28:12 -0700 Subject: [PATCH 08/22] =?UTF-8?q?[AutoPR=20web/resource-manager]=20Add=20H?= =?UTF-8?q?yperV=20property=20for=20AppServicePlan=20and=20Site=20model=20?= =?UTF-8?q?and=20deprecating=E2=80=A6=20(#2332)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Generated from 45a695f12bca8bf8b3532a4d1c8f02571f83bf51 Add HyperV property for AppServicePlan and Site model and deprecating IsXenon property * Generated from 5a76ead1e9a3559ab3bce148ec8f282f068d18d1 Merge remote-tracking branch 'upstream/master' --- .../v2018_02_01/AppServicePlan.java | 29 +++++++++++++-- .../AppServicePlanPatchResource.java | 35 ++++++++++++++++--- .../HostingEnvironmentAppServicePlan.java | 5 +++ .../v2018_02_01/HostingEnvironmentSite.java | 5 +++ .../v2018_02_01/ServerfarmSite.java | 5 +++ .../v2018_02_01/SitePatchResource.java | 32 +++++++++++++++-- .../appservice/v2018_02_01/Sites.java | 29 +++++++++++++-- .../appservice/v2018_02_01/Slots.java | 29 +++++++++++++-- .../implementation/AppServicePlanImpl.java | 15 ++++++++ .../implementation/AppServicePlanInner.java | 35 ++++++++++++++++--- .../HostingEnvironmentAppServicePlanImpl.java | 5 +++ .../HostingEnvironmentSiteImpl.java | 5 +++ .../implementation/ServerfarmSiteImpl.java | 5 +++ .../v2018_02_01/implementation/SiteInner.java | 32 +++++++++++++++-- .../v2018_02_01/implementation/SitesImpl.java | 15 ++++++++ .../v2018_02_01/implementation/SlotsImpl.java | 15 ++++++++ 16 files changed, 276 insertions(+), 20 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java index ef08453261f78..6f6cc290ad8de 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java @@ -45,6 +45,11 @@ public interface AppServicePlan extends HasInner, Resource, */ HostingEnvironmentProfile hostingEnvironmentProfile(); + /** + * @return the hyperV value. + */ + Boolean hyperV(); + /** * @return the isSpot value. */ @@ -177,6 +182,16 @@ interface WithHostingEnvironmentProfile { WithCreate withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile); } + /** + * The stage of the appserviceplan update allowing to specify HyperV. + */ + interface WithHyperV { + /** + * Specifies hyperV. + */ + WithCreate withHyperV(Boolean hyperV); + } + /** * The stage of the appserviceplan update allowing to specify IsSpot. */ @@ -282,13 +297,13 @@ interface WithWorkerTierName { * the resource to be created (via {@link WithCreate#create()}), but also allows * for any other optional settings to be specified. */ - interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAdminSiteName, DefinitionStages.WithFreeOfferExpirationTime, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithIsSpot, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithPerSiteScaling, DefinitionStages.WithReserved, DefinitionStages.WithSku, DefinitionStages.WithSpotExpirationTime, DefinitionStages.WithTargetWorkerCount, DefinitionStages.WithTargetWorkerSizeId, DefinitionStages.WithWorkerTierName { + interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAdminSiteName, DefinitionStages.WithFreeOfferExpirationTime, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHyperV, DefinitionStages.WithIsSpot, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithPerSiteScaling, DefinitionStages.WithReserved, DefinitionStages.WithSku, DefinitionStages.WithSpotExpirationTime, DefinitionStages.WithTargetWorkerCount, DefinitionStages.WithTargetWorkerSizeId, DefinitionStages.WithWorkerTierName { } } /** * The template for a AppServicePlan update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithAdminSiteName, UpdateStages.WithFreeOfferExpirationTime, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithIsSpot, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithPerSiteScaling, UpdateStages.WithReserved, UpdateStages.WithSpotExpirationTime, UpdateStages.WithTargetWorkerCount, UpdateStages.WithTargetWorkerSizeId, UpdateStages.WithWorkerTierName { + interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithAdminSiteName, UpdateStages.WithFreeOfferExpirationTime, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHyperV, UpdateStages.WithIsSpot, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithPerSiteScaling, UpdateStages.WithReserved, UpdateStages.WithSpotExpirationTime, UpdateStages.WithTargetWorkerCount, UpdateStages.WithTargetWorkerSizeId, UpdateStages.WithWorkerTierName { } /** @@ -325,6 +340,16 @@ interface WithHostingEnvironmentProfile { Update withHostingEnvironmentProfile(HostingEnvironmentProfile hostingEnvironmentProfile); } + /** + * The stage of the appserviceplan {0} allowing to specify HyperV. + */ + interface WithHyperV { + /** + * Specifies hyperV. + */ + Update withHyperV(Boolean hyperV); + } + /** * The stage of the appserviceplan {0} allowing to specify IsSpot. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java index 97039405a803c..7602c9cd14594 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java @@ -111,12 +111,19 @@ public class AppServicePlanPatchResource extends ProxyOnlyResource { private Boolean reserved; /** - * If Hyper-V container app service plan <code>true</code>, - * <code>false</code> otherwise. + * Obsolete: If Hyper-V container app service plan + * <code>true</code>, <code>false</code> otherwise. */ @JsonProperty(value = "properties.isXenon") private Boolean isXenon; + /** + * If Hyper-V container app service plan <code>true</code>, + * <code>false</code> otherwise. + */ + @JsonProperty(value = "properties.hyperV") + private Boolean hyperV; + /** * Scaling worker count. */ @@ -353,7 +360,7 @@ public AppServicePlanPatchResource withReserved(Boolean reserved) { } /** - * Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. + * Get obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. * * @return the isXenon value */ @@ -362,7 +369,7 @@ public Boolean isXenon() { } /** - * Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. + * Set obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. * * @param isXenon the isXenon value to set * @return the AppServicePlanPatchResource object itself. @@ -372,6 +379,26 @@ public AppServicePlanPatchResource withIsXenon(Boolean isXenon) { return this; } + /** + * Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. + * + * @return the hyperV value + */ + public Boolean hyperV() { + return this.hyperV; + } + + /** + * Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. + * + * @param hyperV the hyperV value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withHyperV(Boolean hyperV) { + this.hyperV = hyperV; + return this; + } + /** * Get scaling worker count. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java index 59409177b4279..ecbb65f08e57e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java @@ -39,6 +39,11 @@ public interface HostingEnvironmentAppServicePlan extends HasInner, HasManager< */ Boolean httpsOnly(); + /** + * @return the hyperV value. + */ + Boolean hyperV(); + /** * @return the id value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java index 87012e8cb228a..c57bf6c22a5c8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmSite.java @@ -90,6 +90,11 @@ public interface ServerfarmSite extends HasInner, HasManager, Resource, GroupableResourceC */ Boolean httpsOnly(); + /** + * @return the hyperV value. + */ + Boolean hyperV(); + /** * @return the identity value. */ @@ -318,6 +323,16 @@ interface WithHttpsOnly { WithCreate withHttpsOnly(Boolean httpsOnly); } + /** + * The stage of the sites update allowing to specify HyperV. + */ + interface WithHyperV { + /** + * Specifies hyperV. + */ + WithCreate withHyperV(Boolean hyperV); + } + /** * The stage of the sites update allowing to specify Identity. */ @@ -393,13 +408,13 @@ interface WithSiteConfig { * the resource to be created (via {@link WithCreate#create()}), but also allows * for any other optional settings to be specified. */ - interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithClientAffinityEnabled, DefinitionStages.WithClientCertEnabled, DefinitionStages.WithCloningInfo, DefinitionStages.WithContainerSize, DefinitionStages.WithDailyMemoryTimeQuota, DefinitionStages.WithEnabled, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHostNamesDisabled, DefinitionStages.WithHostNameSslStates, DefinitionStages.WithHttpsOnly, DefinitionStages.WithIdentity, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithReserved, DefinitionStages.WithScmSiteAlsoStopped, DefinitionStages.WithServerFarmId, DefinitionStages.WithSiteConfig { + interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithClientAffinityEnabled, DefinitionStages.WithClientCertEnabled, DefinitionStages.WithCloningInfo, DefinitionStages.WithContainerSize, DefinitionStages.WithDailyMemoryTimeQuota, DefinitionStages.WithEnabled, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHostNamesDisabled, DefinitionStages.WithHostNameSslStates, DefinitionStages.WithHttpsOnly, DefinitionStages.WithHyperV, DefinitionStages.WithIdentity, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithReserved, DefinitionStages.WithScmSiteAlsoStopped, DefinitionStages.WithServerFarmId, DefinitionStages.WithSiteConfig { } } /** * The template for a Sites update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithClientAffinityEnabled, UpdateStages.WithClientCertEnabled, UpdateStages.WithCloningInfo, UpdateStages.WithContainerSize, UpdateStages.WithDailyMemoryTimeQuota, UpdateStages.WithEnabled, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHostNamesDisabled, UpdateStages.WithHostNameSslStates, UpdateStages.WithHttpsOnly, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithReserved, UpdateStages.WithScmSiteAlsoStopped, UpdateStages.WithServerFarmId, UpdateStages.WithSiteConfig { + interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithClientAffinityEnabled, UpdateStages.WithClientCertEnabled, UpdateStages.WithCloningInfo, UpdateStages.WithContainerSize, UpdateStages.WithDailyMemoryTimeQuota, UpdateStages.WithEnabled, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHostNamesDisabled, UpdateStages.WithHostNameSslStates, UpdateStages.WithHttpsOnly, UpdateStages.WithHyperV, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithReserved, UpdateStages.WithScmSiteAlsoStopped, UpdateStages.WithServerFarmId, UpdateStages.WithSiteConfig { } /** @@ -506,6 +521,16 @@ interface WithHttpsOnly { Update withHttpsOnly(Boolean httpsOnly); } + /** + * The stage of the sites {0} allowing to specify HyperV. + */ + interface WithHyperV { + /** + * Specifies hyperV. + */ + Update withHyperV(Boolean hyperV); + } + /** * The stage of the sites {0} allowing to specify IsXenon. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java index c5a7505463e69..a064a1683478a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/Slots.java @@ -95,6 +95,11 @@ public interface Slots extends HasInner, Indexable, Refreshable, DefinitionStages.WithClientAffinityEnabled, DefinitionStages.WithClientCertEnabled, DefinitionStages.WithCloningInfo, DefinitionStages.WithContainerSize, DefinitionStages.WithDailyMemoryTimeQuota, DefinitionStages.WithEnabled, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHostNamesDisabled, DefinitionStages.WithHostNameSslStates, DefinitionStages.WithHttpsOnly, DefinitionStages.WithIdentity, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithReserved, DefinitionStages.WithScmSiteAlsoStopped, DefinitionStages.WithServerFarmId, DefinitionStages.WithSiteConfig, DefinitionStages.WithTags { + interface WithCreate extends Creatable, DefinitionStages.WithClientAffinityEnabled, DefinitionStages.WithClientCertEnabled, DefinitionStages.WithCloningInfo, DefinitionStages.WithContainerSize, DefinitionStages.WithDailyMemoryTimeQuota, DefinitionStages.WithEnabled, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHostNamesDisabled, DefinitionStages.WithHostNameSslStates, DefinitionStages.WithHttpsOnly, DefinitionStages.WithHyperV, DefinitionStages.WithIdentity, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithReserved, DefinitionStages.WithScmSiteAlsoStopped, DefinitionStages.WithServerFarmId, DefinitionStages.WithSiteConfig, DefinitionStages.WithTags { } } /** * The template for a Slots update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, UpdateStages.WithClientAffinityEnabled, UpdateStages.WithClientCertEnabled, UpdateStages.WithCloningInfo, UpdateStages.WithContainerSize, UpdateStages.WithDailyMemoryTimeQuota, UpdateStages.WithEnabled, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHostNamesDisabled, UpdateStages.WithHostNameSslStates, UpdateStages.WithHttpsOnly, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithReserved, UpdateStages.WithScmSiteAlsoStopped, UpdateStages.WithServerFarmId, UpdateStages.WithSiteConfig { + interface Update extends Appliable, UpdateStages.WithClientAffinityEnabled, UpdateStages.WithClientCertEnabled, UpdateStages.WithCloningInfo, UpdateStages.WithContainerSize, UpdateStages.WithDailyMemoryTimeQuota, UpdateStages.WithEnabled, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHostNamesDisabled, UpdateStages.WithHostNameSslStates, UpdateStages.WithHttpsOnly, UpdateStages.WithHyperV, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithReserved, UpdateStages.WithScmSiteAlsoStopped, UpdateStages.WithServerFarmId, UpdateStages.WithSiteConfig { } /** @@ -554,6 +569,16 @@ interface WithHttpsOnly { Update withHttpsOnly(Boolean httpsOnly); } + /** + * The stage of the slots update allowing to specify HyperV. + */ + interface WithHyperV { + /** + * Specifies hyperV. + */ + Update withHyperV(Boolean hyperV); + } + /** * The stage of the slots update allowing to specify IsXenon. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java index 09e3935b73574..a9f6aea83618c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java @@ -89,6 +89,11 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { return this.inner().hostingEnvironmentProfile(); } + @Override + public Boolean hyperV() { + return this.inner().hyperV(); + } + @Override public Boolean isSpot() { return this.inner().isSpot(); @@ -205,6 +210,16 @@ public AppServicePlanImpl withHostingEnvironmentProfile(HostingEnvironmentProfil return this; } + @Override + public AppServicePlanImpl withHyperV(Boolean hyperV) { + if (isInCreateMode()) { + this.inner().withHyperV(hyperV); + } else { + this.updateParameter.withHyperV(hyperV); + } + return this; + } + @Override public AppServicePlanImpl withIsSpot(Boolean isSpot) { if (isInCreateMode()) { diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java index 590b461b49339..f806d405a5b43 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java @@ -116,12 +116,19 @@ public class AppServicePlanInner extends Resource { private Boolean reserved; /** - * If Hyper-V container app service plan <code>true</code>, - * <code>false</code> otherwise. + * Obsolete: If Hyper-V container app service plan + * <code>true</code>, <code>false</code> otherwise. */ @JsonProperty(value = "properties.isXenon") private Boolean isXenon; + /** + * If Hyper-V container app service plan <code>true</code>, + * <code>false</code> otherwise. + */ + @JsonProperty(value = "properties.hyperV") + private Boolean hyperV; + /** * Scaling worker count. */ @@ -370,7 +377,7 @@ public AppServicePlanInner withReserved(Boolean reserved) { } /** - * Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. + * Get obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. * * @return the isXenon value */ @@ -379,7 +386,7 @@ public Boolean isXenon() { } /** - * Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. + * Set obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. * * @param isXenon the isXenon value to set * @return the AppServicePlanInner object itself. @@ -389,6 +396,26 @@ public AppServicePlanInner withIsXenon(Boolean isXenon) { return this; } + /** + * Get if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. + * + * @return the hyperV value + */ + public Boolean hyperV() { + return this.hyperV; + } + + /** + * Set if Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. + * + * @param hyperV the hyperV value to set + * @return the AppServicePlanInner object itself. + */ + public AppServicePlanInner withHyperV(Boolean hyperV) { + this.hyperV = hyperV; + return this; + } + /** * Get scaling worker count. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java index 99e997962bca8..07a74e6562085 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java @@ -53,6 +53,11 @@ public HostingEnvironmentProfile hostingEnvironmentProfile() { return this.inner().hostingEnvironmentProfile(); } + @Override + public Boolean hyperV() { + return this.inner().hyperV(); + } + @Override public String id() { return this.inner().id(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java index ce7f0055fe7a6..3012ae04c90fd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentSiteImpl.java @@ -108,6 +108,11 @@ public Boolean httpsOnly() { return this.inner().httpsOnly(); } + @Override + public Boolean hyperV() { + return this.inner().hyperV(); + } + @Override public String id() { return this.inner().id(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java index 2194cbe0e031f..d689b560c006f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmSiteImpl.java @@ -108,6 +108,11 @@ public Boolean httpsOnly() { return this.inner().httpsOnly(); } + @Override + public Boolean hyperV() { + return this.inner().hyperV(); + } + @Override public String id() { return this.inner().id(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInner.java index a97451054eb72..4b1ceb1c12b29 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteInner.java @@ -97,11 +97,17 @@ public class SiteInner extends Resource { private Boolean reserved; /** - * Hyper-V sandbox. + * Obsolete: Hyper-V sandbox. */ @JsonProperty(value = "properties.isXenon") private Boolean isXenon; + /** + * Hyper-V sandbox. + */ + @JsonProperty(value = "properties.hyperV") + private Boolean hyperV; + /** * Last time the app was modified, in UTC. Read-only. */ @@ -395,7 +401,7 @@ public SiteInner withReserved(Boolean reserved) { } /** - * Get hyper-V sandbox. + * Get obsolete: Hyper-V sandbox. * * @return the isXenon value */ @@ -404,7 +410,7 @@ public Boolean isXenon() { } /** - * Set hyper-V sandbox. + * Set obsolete: Hyper-V sandbox. * * @param isXenon the isXenon value to set * @return the SiteInner object itself. @@ -414,6 +420,26 @@ public SiteInner withIsXenon(Boolean isXenon) { return this; } + /** + * Get hyper-V sandbox. + * + * @return the hyperV value + */ + public Boolean hyperV() { + return this.hyperV; + } + + /** + * Set hyper-V sandbox. + * + * @param hyperV the hyperV value to set + * @return the SiteInner object itself. + */ + public SiteInner withHyperV(Boolean hyperV) { + this.hyperV = hyperV; + return this; + } + /** * Get last time the app was modified, in UTC. Read-only. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitesImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitesImpl.java index f7f27b1c485bf..56d6c484cee7d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitesImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SitesImpl.java @@ -144,6 +144,11 @@ public Boolean httpsOnly() { return this.inner().httpsOnly(); } + @Override + public Boolean hyperV() { + return this.inner().hyperV(); + } + @Override public ManagedServiceIdentity identity() { return this.inner().identity(); @@ -350,6 +355,16 @@ public SitesImpl withHttpsOnly(Boolean httpsOnly) { return this; } + @Override + public SitesImpl withHyperV(Boolean hyperV) { + if (isInCreateMode()) { + this.inner().withHyperV(hyperV); + } else { + this.updateParameter.withHyperV(hyperV); + } + return this; + } + @Override public SitesImpl withIsXenon(Boolean isXenon) { if (isInCreateMode()) { diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java index 6eed2c07e1374..435a7d4037004 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SlotsImpl.java @@ -172,6 +172,11 @@ public Boolean httpsOnly() { return this.inner().httpsOnly(); } + @Override + public Boolean hyperV() { + return this.inner().hyperV(); + } + @Override public String id() { return this.inner().id(); @@ -422,6 +427,16 @@ public SlotsImpl withHttpsOnly(Boolean httpsOnly) { return this; } + @Override + public SlotsImpl withHyperV(Boolean hyperV) { + if (isInCreateMode()) { + this.inner().withHyperV(hyperV); + } else { + this.updateParameter.withHyperV(hyperV); + } + return this; + } + @Override public SlotsImpl withIsXenon(Boolean isXenon) { if (isInCreateMode()) { From b791de2e072e8030afaeb70acf3fdbfff9612ed0 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 28 Aug 2018 09:03:47 -0700 Subject: [PATCH 09/22] [AutoPR web/resource-manager] WebApps - Add ResourceHealthMetadata.json to readme.md for SDK generation (#2336) * Generated from 1c9e1028cea9b1119b0fb396906d412c6d228c8e WebApps - Add ResourceHealthMetadata.json to readme.md for SDK generation * Generated from 4038e1418fea2b1092005a07b4ff72442d0038a1 Change deleted site model to be proxy only resource --- .../appservice/v2018_02_01/DeletedSite.java | 25 + .../v2018_02_01/ResourceHealthMetadata.java | 50 + .../v2018_02_01/ResourceHealthMetadatas.java | 82 ++ .../CertificateRegistrationManager.java | 12 + .../implementation/DeletedSiteImpl.java | 25 + .../implementation/DeletedSiteInner.java | 32 +- .../ResourceHealthMetadataImpl.java | 56 + .../ResourceHealthMetadataInner.java | 72 + .../ResourceHealthMetadatasImpl.java | 127 ++ .../ResourceHealthMetadatasInner.java | 1250 +++++++++++++++++ .../WebSiteManagementClientImpl.java | 14 + 11 files changed, 1738 insertions(+), 7 deletions(-) create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadata.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadatas.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataImpl.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataInner.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasImpl.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasInner.java diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java index bed8826c96465..e7045e609b75b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java @@ -22,6 +22,11 @@ public interface DeletedSite extends HasInner, HasManager, HasManager, HasManager, HasManager { + /** + * @return the category value. + */ + String category(); + + /** + * @return the id value. + */ + String id(); + + /** + * @return the kind value. + */ + String kind(); + + /** + * @return the name value. + */ + String name(); + + /** + * @return the signalAvailability value. + */ + Boolean signalAvailability(); + + /** + * @return the type value. + */ + String type(); + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadatas.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadatas.java new file mode 100644 index 0000000000000..378b957895bce --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ResourceHealthMetadatas.java @@ -0,0 +1,82 @@ +/** + * 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 rx.Observable; + +/** + * Type representing ResourceHealthMetadatas. + */ +public interface ResourceHealthMetadatas { + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listBySiteAsync(final String resourceGroupName, final String name); + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getBySiteAsync(String resourceGroupName, String name); + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listAsync(); + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listByResourceGroupAsync(final String resourceGroupName); + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listBySiteSlotAsync(final String resourceGroupName, final String name, final String slot); + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app + * @param slot Name of web app slot. If not specified then will default to production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getBySiteSlotAsync(String resourceGroupName, String name, String slot); + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java index 3e2c43d2abb13..c1c714f68b995 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateRegistrationManager.java @@ -29,6 +29,7 @@ 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; @@ -49,6 +50,7 @@ public final class CertificateRegistrationManager extends ManagerCore implements ResourceHealthMetadata { + private final CertificateRegistrationManager manager; + ResourceHealthMetadataImpl(ResourceHealthMetadataInner inner, CertificateRegistrationManager manager) { + super(inner); + this.manager = manager; + } + + @Override + public CertificateRegistrationManager manager() { + return this.manager; + } + + @Override + public String category() { + return this.inner().category(); + } + + @Override + public String id() { + return this.inner().id(); + } + + @Override + public String kind() { + return this.inner().kind(); + } + + @Override + public String name() { + return this.inner().name(); + } + + @Override + public Boolean signalAvailability() { + return this.inner().signalAvailability(); + } + + @Override + public String type() { + return this.inner().type(); + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataInner.java new file mode 100644 index 0000000000000..fd288dbd36f23 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadataInner.java @@ -0,0 +1,72 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01.implementation; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.management.appservice.v2018_02_01.ProxyOnlyResource; + +/** + * Used for getting ResourceHealthCheck settings. + */ +@JsonFlatten +public class ResourceHealthMetadataInner extends ProxyOnlyResource { + /** + * The category that the resource matches in the RHC Policy File. + */ + @JsonProperty(value = "properties.category") + private String category; + + /** + * Is there a health signal for the resource. + */ + @JsonProperty(value = "properties.signalAvailability") + private Boolean signalAvailability; + + /** + * Get the category that the resource matches in the RHC Policy File. + * + * @return the category value + */ + public String category() { + return this.category; + } + + /** + * Set the category that the resource matches in the RHC Policy File. + * + * @param category the category value to set + * @return the ResourceHealthMetadataInner object itself. + */ + public ResourceHealthMetadataInner withCategory(String category) { + this.category = category; + return this; + } + + /** + * Get is there a health signal for the resource. + * + * @return the signalAvailability value + */ + public Boolean signalAvailability() { + return this.signalAvailability; + } + + /** + * Set is there a health signal for the resource. + * + * @param signalAvailability the signalAvailability value to set + * @return the ResourceHealthMetadataInner object itself. + */ + public ResourceHealthMetadataInner withSignalAvailability(Boolean signalAvailability) { + this.signalAvailability = signalAvailability; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasImpl.java new file mode 100644 index 0000000000000..fee8abd0c8493 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasImpl.java @@ -0,0 +1,127 @@ +/** + * 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. + * abc + */ + +package com.microsoft.azure.management.appservice.v2018_02_01.implementation; + +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadatas; +import rx.functions.Func1; +import rx.Observable; +import com.microsoft.azure.Page; +import com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadata; + +class ResourceHealthMetadatasImpl extends WrapperImpl implements ResourceHealthMetadatas { + private final CertificateRegistrationManager manager; + + ResourceHealthMetadatasImpl(CertificateRegistrationManager manager) { + super(manager.inner().resourceHealthMetadatas()); + this.manager = manager; + } + + public CertificateRegistrationManager manager() { + return this.manager; + } + + @Override + public Observable listBySiteAsync(final String resourceGroupName, final String name) { + ResourceHealthMetadatasInner client = this.inner(); + return client.listBySiteAsync(resourceGroupName, name) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { + return new ResourceHealthMetadataImpl(inner, manager()); + } + }); + } + + @Override + public Observable getBySiteAsync(String resourceGroupName, String name) { + ResourceHealthMetadatasInner client = this.inner(); + return client.getBySiteAsync(resourceGroupName, name) + .map(new Func1() { + @Override + public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { + return new ResourceHealthMetadataImpl(inner, manager()); + } + }); + } + + @Override + public Observable listAsync() { + ResourceHealthMetadatasInner client = this.inner(); + return client.listAsync() + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { + return new ResourceHealthMetadataImpl(inner, manager()); + } + }); + } + + @Override + public Observable listByResourceGroupAsync(final String resourceGroupName) { + ResourceHealthMetadatasInner client = this.inner(); + return client.listByResourceGroupAsync(resourceGroupName) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { + return new ResourceHealthMetadataImpl(inner, manager()); + } + }); + } + + @Override + public Observable listBySiteSlotAsync(final String resourceGroupName, final String name, final String slot) { + ResourceHealthMetadatasInner client = this.inner(); + return client.listBySiteSlotAsync(resourceGroupName, name, slot) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { + return new ResourceHealthMetadataImpl(inner, manager()); + } + }); + } + + @Override + public Observable getBySiteSlotAsync(String resourceGroupName, String name, String slot) { + ResourceHealthMetadatasInner client = this.inner(); + return client.getBySiteSlotAsync(resourceGroupName, name, slot) + .map(new Func1() { + @Override + public ResourceHealthMetadata call(ResourceHealthMetadataInner inner) { + return new ResourceHealthMetadataImpl(inner, manager()); + } + }); + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasInner.java new file mode 100644 index 0000000000000..040cd5f0e0ca2 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceHealthMetadatasInner.java @@ -0,0 +1,1250 @@ +/** + * 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.arm.collection.InnerSupportsListing; +import retrofit2.Retrofit; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.AzureServiceFuture; +import com.microsoft.azure.ListOperationCallback; +import com.microsoft.azure.management.appservice.v2018_02_01.DefaultErrorResponseException; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Path; +import retrofit2.http.Query; +import retrofit2.http.Url; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in ResourceHealthMetadatas. + */ +public class ResourceHealthMetadatasInner implements InnerSupportsListing { + /** The Retrofit service to perform REST calls. */ + private ResourceHealthMetadatasService service; + /** The service client containing this operation class. */ + private WebSiteManagementClientImpl client; + + /** + * Initializes an instance of ResourceHealthMetadatasInner. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public ResourceHealthMetadatasInner(Retrofit retrofit, WebSiteManagementClientImpl client) { + this.service = retrofit.create(ResourceHealthMetadatasService.class); + this.client = client; + } + + /** + * The interface defining all the services for ResourceHealthMetadatas to be + * used by Retrofit to perform actually REST calls. + */ + interface ResourceHealthMetadatasService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadatas list" }) + @GET("subscriptions/{subscriptionId}/providers/Microsoft.Web/resourceHealthMetadata") + Observable> list(@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.ResourceHealthMetadatas listByResourceGroup" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/resourceHealthMetadata") + Observable> listByResourceGroup(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadatas listBySite" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata") + Observable> listBySite(@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.ResourceHealthMetadatas getBySite" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resourceHealthMetadata/default") + Observable> getBySite(@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.ResourceHealthMetadatas listBySiteSlot" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata") + Observable> listBySiteSlot(@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.ResourceHealthMetadatas getBySiteSlot" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resourceHealthMetadata/default") + Observable> getBySiteSlot(@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.ResourceHealthMetadatas listNext" }) + @GET + Observable> listNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadatas listByResourceGroupNext" }) + @GET + Observable> listByResourceGroupNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadatas listBySiteNext" }) + @GET + Observable> listBySiteNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.ResourceHealthMetadatas listBySiteSlotNext" }) + @GET + Observable> listBySiteSlotNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @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 PagedList<ResourceHealthMetadataInner> object if successful. + */ + public PagedList list() { + ServiceResponse> response = listSinglePageAsync().toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @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> listAsync(final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSinglePageAsync(), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable> listAsync() { + return listWithServiceResponseAsync() + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable>> listWithServiceResponseAsync() { + return listSinglePageAsync() + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceHealthMetadataInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listSinglePageAsync() { + 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.list(this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @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 PagedList<ResourceHealthMetadataInner> object if successful. + */ + public PagedList listByResourceGroup(final String resourceGroupName) { + ServiceResponse> response = listByResourceGroupSinglePageAsync(resourceGroupName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listByResourceGroupAsync(final String resourceGroupName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listByResourceGroupSinglePageAsync(resourceGroupName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listByResourceGroupNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable> listByResourceGroupAsync(final String resourceGroupName) { + return listByResourceGroupWithServiceResponseAsync(resourceGroupName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable>> listByResourceGroupWithServiceResponseAsync(final String resourceGroupName) { + return listByResourceGroupSinglePageAsync(resourceGroupName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listByResourceGroupNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceHealthMetadataInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listByResourceGroupSinglePageAsync(final String resourceGroupName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listByResourceGroup(resourceGroupName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listByResourceGroupDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web 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 + * @return the PagedList<ResourceHealthMetadataInner> object if successful. + */ + public PagedList listBySite(final String resourceGroupName, final String name) { + ServiceResponse> response = listBySiteSinglePageAsync(resourceGroupName, name).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listBySiteNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web 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> listBySiteAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listBySiteSinglePageAsync(resourceGroupName, name), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listBySiteNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable> listBySiteAsync(final String resourceGroupName, final String name) { + return listBySiteWithServiceResponseAsync(resourceGroupName, name) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable>> listBySiteWithServiceResponseAsync(final String resourceGroupName, final String name) { + return listBySiteSinglePageAsync(resourceGroupName, name) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listBySiteNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. + ServiceResponse> * @param name Name of web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceHealthMetadataInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listBySiteSinglePageAsync(final String resourceGroupName, final 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.listBySite(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> result = listBySiteDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listBySiteDelegate(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); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web 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 + * @return the ResourceHealthMetadataInner object if successful. + */ + public ResourceHealthMetadataInner getBySite(String resourceGroupName, String name) { + return getBySiteWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web 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 getBySiteAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getBySiteWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ResourceHealthMetadataInner object + */ + public Observable getBySiteAsync(String resourceGroupName, String name) { + return getBySiteWithServiceResponseAsync(resourceGroupName, name).map(new Func1, ResourceHealthMetadataInner>() { + @Override + public ResourceHealthMetadataInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ResourceHealthMetadataInner object + */ + public Observable> getBySiteWithServiceResponseAsync(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.getBySite(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 = getBySiteDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getBySiteDelegate(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); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 PagedList<ResourceHealthMetadataInner> object if successful. + */ + public PagedList listBySiteSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listBySiteSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listBySiteSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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> listBySiteSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listBySiteSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listBySiteSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable> listBySiteSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listBySiteSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable>> listBySiteSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listBySiteSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listBySiteSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceHealthMetadataInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listBySiteSlotSinglePageAsync(final String resourceGroupName, final String name, final 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.listBySiteSlot(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> result = listBySiteSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listBySiteSlotDelegate(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); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app + * @param slot Name of web app slot. If not specified then will default to production 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 ResourceHealthMetadataInner object if successful. + */ + public ResourceHealthMetadataInner getBySiteSlot(String resourceGroupName, String name, String slot) { + return getBySiteSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app + * @param slot Name of web app slot. If not specified then will default to production 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 getBySiteSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getBySiteSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app + * @param slot Name of web app slot. If not specified then will default to production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ResourceHealthMetadataInner object + */ + public Observable getBySiteSlotAsync(String resourceGroupName, String name, String slot) { + return getBySiteSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, ResourceHealthMetadataInner>() { + @Override + public ResourceHealthMetadataInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site. + * Gets the category of ResourceHealthMetadata to use for the given site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app + * @param slot Name of web app slot. If not specified then will default to production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ResourceHealthMetadataInner object + */ + public Observable> getBySiteSlotWithServiceResponseAsync(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.getBySiteSlot(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 = getBySiteSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getBySiteSlotDelegate(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); + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<ResourceHealthMetadataInner> object if successful. + */ + public PagedList listNext(final String nextPageLink) { + ServiceResponse> response = listNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable> listNextAsync(final String nextPageLink) { + return listNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable>> listNextWithServiceResponseAsync(final String nextPageLink) { + return listNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List all ResourceHealthMetadata for all sites in the subscription. + * List all ResourceHealthMetadata for all sites in the subscription. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceHealthMetadataInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<ResourceHealthMetadataInner> object if successful. + */ + public PagedList listByResourceGroupNext(final String nextPageLink) { + ServiceResponse> response = listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listByResourceGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listByResourceGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listByResourceGroupNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listByResourceGroupNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable> listByResourceGroupNextAsync(final String nextPageLink) { + return listByResourceGroupNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable>> listByResourceGroupNextWithServiceResponseAsync(final String nextPageLink) { + return listByResourceGroupNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listByResourceGroupNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * List all ResourceHealthMetadata for all sites in the resource group in the subscription. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceHealthMetadataInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listByResourceGroupNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listByResourceGroupNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listByResourceGroupNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<ResourceHealthMetadataInner> object if successful. + */ + public PagedList listBySiteNext(final String nextPageLink) { + ServiceResponse> response = listBySiteNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listBySiteNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listBySiteNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listBySiteNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listBySiteNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable> listBySiteNextAsync(final String nextPageLink) { + return listBySiteNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable>> listBySiteNextWithServiceResponseAsync(final String nextPageLink) { + return listBySiteNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listBySiteNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceHealthMetadataInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listBySiteNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listBySiteNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listBySiteNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listBySiteNextDelegate(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); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<ResourceHealthMetadataInner> object if successful. + */ + public PagedList listBySiteSlotNext(final String nextPageLink) { + ServiceResponse> response = listBySiteSlotNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listBySiteSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listBySiteSlotNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listBySiteSlotNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listBySiteSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable> listBySiteSlotNextAsync(final String nextPageLink) { + return listBySiteSlotNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceHealthMetadataInner> object + */ + public Observable>> listBySiteSlotNextWithServiceResponseAsync(final String nextPageLink) { + return listBySiteSlotNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listBySiteSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * Gets the category of ResourceHealthMetadata to use for the given site as a collection. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceHealthMetadataInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listBySiteSlotNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listBySiteSlotNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listBySiteSlotNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listBySiteSlotNextDelegate(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); + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java index 1e547564e71d0..08a463b4fd234 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java @@ -335,6 +335,19 @@ public AppServicePlansInner appServicePlans() { return this.appServicePlans; } + /** + * The ResourceHealthMetadatasInner object to access its operations. + */ + private ResourceHealthMetadatasInner resourceHealthMetadatas; + + /** + * Gets the ResourceHealthMetadatasInner object to access its operations. + * @return the ResourceHealthMetadatasInner object. + */ + public ResourceHealthMetadatasInner resourceHealthMetadatas() { + return this.resourceHealthMetadatas; + } + /** * Initializes an instance of WebSiteManagementClient client. * @@ -383,6 +396,7 @@ protected void initialize() { this.webApps = new WebAppsInner(restClient().retrofit(), this); this.appServiceEnvironments = new AppServiceEnvironmentsInner(restClient().retrofit(), this); this.appServicePlans = new AppServicePlansInner(restClient().retrofit(), this); + this.resourceHealthMetadatas = new ResourceHealthMetadatasInner(restClient().retrofit(), this); this.azureClient = new AzureClient(this); initializeService(); } From 2addce38b2fbee25635635b6b913a7fee262de1e Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 11 Sep 2018 05:21:03 -0700 Subject: [PATCH 10/22] Generated from 5587dda892fa4eef5e99bdce8d426d7357f63197 (#2362) Add new OsType parameters for Microsoft.Web/availablestacks --- .../implementation/ProvidersInner.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProvidersInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProvidersInner.java index 4456db22cf4cf..64975639bedc7 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProvidersInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProvidersInner.java @@ -189,7 +189,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * Get available application frameworks and their versions. * Get available application frameworks and their versions. * - * @param osTypeSelected Possible values include: 'Windows', 'Linux' + * @param osTypeSelected Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -230,7 +230,7 @@ public Observable>> call(String next * Get available application frameworks and their versions. * Get available application frameworks and their versions. * - * @param osTypeSelected Possible values include: 'Windows', 'Linux' + * @param osTypeSelected Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<ApplicationStackInner> object */ @@ -248,7 +248,7 @@ public Page call(ServiceResponse>> call(ServiceResp * Get available application frameworks and their versions. * Get available application frameworks and their versions. * - ServiceResponse> * @param osTypeSelected Possible values include: 'Windows', 'Linux' + ServiceResponse> * @param osTypeSelected Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ApplicationStackInner> object wrapped in {@link ServiceResponse} if successful. */ @@ -518,7 +518,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * Get available application frameworks and their versions. * Get available application frameworks and their versions. * - * @param osTypeSelected Possible values include: 'Windows', 'Linux' + * @param osTypeSelected Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -559,7 +559,7 @@ public Observable>> call(String next * Get available application frameworks and their versions. * Get available application frameworks and their versions. * - * @param osTypeSelected Possible values include: 'Windows', 'Linux' + * @param osTypeSelected Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<ApplicationStackInner> object */ @@ -577,7 +577,7 @@ public Page call(ServiceResponse>> call(ServiceResp * Get available application frameworks and their versions. * Get available application frameworks and their versions. * - ServiceResponse> * @param osTypeSelected Possible values include: 'Windows', 'Linux' + ServiceResponse> * @param osTypeSelected Possible values include: 'Windows', 'Linux', 'WindowsFunctions', 'LinuxFunctions' * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<ApplicationStackInner> object wrapped in {@link ServiceResponse} if successful. */ From 13f791f4fdc52cbcf485155c92e3568d85e5f82c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 17 Sep 2018 16:16:09 -0700 Subject: [PATCH 11/22] [AutoPR web/resource-manager] Add networkTrace resource and APIs (#2364) * Generated from cb01370bae16cce8a604d118f5378f5655894566 Add networkTrace resource and APIs * Generated from 4cf9c58d93370fcbbb947706137465706962d979 Fix file name typo of GetWebSiteNetworkTraces.json * Generated from 890632e8e01a40080edde5f84b6a8aa1178c14c3 Fix network trace APIs --- .../appservice/v2018_02_01/NetworkTrace.java | 35 + .../appservice/v2018_02_01/WebApps.java | 77 +- .../implementation/NetworkTraceImpl.java | 41 + .../implementation/NetworkTraceInner.java | 97 + .../implementation/WebAppsImpl.java | 63 +- .../implementation/WebAppsInner.java | 14824 +++++++++------- 6 files changed, 8303 insertions(+), 6834 deletions(-) create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkTrace.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkTraceImpl.java create mode 100644 appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkTraceInner.java diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkTrace.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkTrace.java new file mode 100644 index 0000000000000..ef4e48f52b4e6 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/NetworkTrace.java @@ -0,0 +1,35 @@ +/** + * 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.NetworkTraceInner; + +/** + * Type representing NetworkTrace. + */ +public interface NetworkTrace extends HasInner, HasManager { + /** + * @return the message value. + */ + String message(); + + /** + * @return the path value. + */ + String path(); + + /** + * @return the status value. + */ + String status(); + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index fea43d4e3cf28..4b06826b1ef45 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -515,6 +515,29 @@ public interface WebApps { */ Observable migrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope); + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId); + + /** + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable startWebSiteNetworkTraceAsync(String resourceGroupName, String name); + /** * Start capturing network packets for the site. * Start capturing network packets for the site. @@ -524,7 +547,7 @@ public interface WebApps { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Completable startWebSiteNetworkTraceAsync(String resourceGroupName, String name); + Completable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name); /** * Stop ongoing capturing network packets for the site. @@ -537,6 +560,18 @@ public interface WebApps { */ Completable stopWebSiteNetworkTraceAsync(String resourceGroupName, String name); + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getNetworkTracesAsync(String resourceGroupName, String name, String operationId); + /** * Generates a new publishing password for an app (or deployment slot, if specified). * Generates a new publishing password for an app (or deployment slot, if specified). @@ -3329,6 +3364,31 @@ public interface WebApps { */ Observable listSyncFunctionTriggersSlotAsync(String resourceGroupName, String name, String slot); + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot); + + /** + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot); + /** * Start capturing network packets for the site. * Start capturing network packets for the site. @@ -3339,7 +3399,7 @@ public interface WebApps { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Completable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot); + Completable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot); /** * Stop ongoing capturing network packets for the site. @@ -3353,6 +3413,19 @@ public interface WebApps { */ Completable stopWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot); + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getNetworkTracesSlotAsync(String resourceGroupName, String name, String operationId, String slot); + /** * Generates a new publishing password for an app (or deployment slot, if specified). * Generates a new publishing password for an app (or deployment slot, if specified). diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkTraceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkTraceImpl.java new file mode 100644 index 0000000000000..1120753587b9a --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkTraceImpl.java @@ -0,0 +1,41 @@ +/** + * 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.NetworkTrace; +import com.microsoft.azure.arm.model.implementation.WrapperImpl; + +class NetworkTraceImpl extends WrapperImpl implements NetworkTrace { + private final CertificateRegistrationManager manager; + NetworkTraceImpl(NetworkTraceInner inner, CertificateRegistrationManager manager) { + super(inner); + this.manager = manager; + } + + @Override + public CertificateRegistrationManager manager() { + return this.manager; + } + + @Override + public String message() { + return this.inner().message(); + } + + @Override + public String path() { + return this.inner().path(); + } + + @Override + public String status() { + return this.inner().status(); + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkTraceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkTraceInner.java new file mode 100644 index 0000000000000..dc6e6f52e2ef3 --- /dev/null +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/NetworkTraceInner.java @@ -0,0 +1,97 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.appservice.v2018_02_01.implementation; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Network trace. + */ +public class NetworkTraceInner { + /** + * Local file path for the captured network trace file. + */ + @JsonProperty(value = "path") + private String path; + + /** + * Current status of the network trace operation, same as Operation.Status + * (InProgress/Succeeded/Failed). + */ + @JsonProperty(value = "status") + private String status; + + /** + * Detailed message of a network trace operation, e.g. error message in + * case of failure. + */ + @JsonProperty(value = "message") + private String message; + + /** + * Get local file path for the captured network trace file. + * + * @return the path value + */ + public String path() { + return this.path; + } + + /** + * Set local file path for the captured network trace file. + * + * @param path the path value to set + * @return the NetworkTraceInner object itself. + */ + public NetworkTraceInner withPath(String path) { + this.path = path; + return this; + } + + /** + * Get current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed). + * + * @return the status value + */ + public String status() { + return this.status; + } + + /** + * Set current status of the network trace operation, same as Operation.Status (InProgress/Succeeded/Failed). + * + * @param status the status value to set + * @return the NetworkTraceInner object itself. + */ + public NetworkTraceInner withStatus(String status) { + this.status = status; + return this; + } + + /** + * Get detailed message of a network trace operation, e.g. error message in case of failure. + * + * @return the message value + */ + public String message() { + return this.message; + } + + /** + * Set detailed message of a network trace operation, e.g. error message in case of failure. + * + * @param message the message value to set + * @return the NetworkTraceInner object itself. + */ + public NetworkTraceInner withMessage(String message) { + this.message = message; + return this; + } + +} diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java index d8d7a17fd3949..8fb7a65bacdca 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java @@ -16,6 +16,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.Sites; import com.microsoft.azure.Page; import rx.Completable; +import java.util.List; import com.microsoft.azure.management.appservice.v2018_02_01.CustomHostnameAnalysisResult; import com.microsoft.azure.management.appservice.v2018_02_01.BackupItem; import com.microsoft.azure.management.appservice.v2018_02_01.SiteConfigResource; @@ -28,6 +29,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.FunctionSecrets; import com.microsoft.azure.management.appservice.v2018_02_01.StorageMigrationResponse; import com.microsoft.azure.management.appservice.v2018_02_01.Operation; +import com.microsoft.azure.management.appservice.v2018_02_01.NetworkTrace; import com.microsoft.azure.management.appservice.v2018_02_01.SitePhpErrorLogFlag; import com.microsoft.azure.management.appservice.v2018_02_01.SlotDifference; import com.microsoft.azure.management.appservice.v2018_02_01.CsmSlotEntity; @@ -75,7 +77,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.TriggeredJobHistory; import com.microsoft.azure.management.appservice.v2018_02_01.SiteCsmUsageQuota; import com.microsoft.azure.management.appservice.v2018_02_01.SiteVnetInfo; -import java.util.List; import com.microsoft.azure.management.appservice.v2018_02_01.SiteVnetGateway; import com.microsoft.azure.management.appservice.v2018_02_01.WebJob; @@ -828,18 +829,48 @@ public Operation call(OperationInner inner) { }); } + @Override + public Completable getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId) { + WebAppsInner client = this.inner(); + return client.getNetworkTraceOperationAsync(resourceGroupName, name, operationId).toCompletable(); + } + @Override public Completable startWebSiteNetworkTraceAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); return client.startWebSiteNetworkTraceAsync(resourceGroupName, name).toCompletable(); } + @Override + public Completable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.startWebSiteNetworkTraceOperationAsync(resourceGroupName, name).toCompletable(); + } + @Override public Completable stopWebSiteNetworkTraceAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); return client.stopWebSiteNetworkTraceAsync(resourceGroupName, name).toCompletable(); } + @Override + public Observable getNetworkTracesAsync(String resourceGroupName, String name, String operationId) { + WebAppsInner client = this.inner(); + return client.getNetworkTracesAsync(resourceGroupName, name, operationId) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + @Override public Completable generateNewSitePublishingPasswordAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); @@ -3462,18 +3493,48 @@ public FunctionSecrets call(FunctionSecretsInner inner) { }); } + @Override + public Completable getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot) { + WebAppsInner client = this.inner(); + return client.getNetworkTraceOperationSlotAsync(resourceGroupName, name, operationId, slot).toCompletable(); + } + @Override public Completable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); return client.startWebSiteNetworkTraceSlotAsync(resourceGroupName, name, slot).toCompletable(); } + @Override + public Completable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.startWebSiteNetworkTraceOperationSlotAsync(resourceGroupName, name, slot).toCompletable(); + } + @Override public Completable stopWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); return client.stopWebSiteNetworkTraceSlotAsync(resourceGroupName, name, slot).toCompletable(); } + @Override + public Observable getNetworkTracesSlotAsync(String resourceGroupName, String name, String operationId, String slot) { + WebAppsInner client = this.inner(); + return client.getNetworkTracesSlotAsync(resourceGroupName, name, operationId, slot) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + @Override public Completable generateNewSitePublishingPasswordSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index 10a0ec7e73f94..767030d8b63fc 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -541,14 +541,30 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkFeatures/{view}") Observable> listNetworkFeatures(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("view") String view, @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 getNetworkTraceOperation" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/operationresults/{operationId}") + Observable> getNetworkTraceOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 startWebSiteNetworkTrace" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/start") Observable> startWebSiteNetworkTrace(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 startWebSiteNetworkTraceOperation" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation") + Observable> startWebSiteNetworkTraceOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 beginStartWebSiteNetworkTraceOperation" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/startOperation") + Observable> beginStartWebSiteNetworkTraceOperation(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 stopWebSiteNetworkTrace" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/stop") Observable> stopWebSiteNetworkTrace(@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 getNetworkTraces" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}") + Observable> getNetworkTraces(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 generateNewSitePublishingPassword" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword") Observable> generateNewSitePublishingPassword(@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); @@ -1130,14 +1146,30 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}") Observable> listNetworkFeaturesSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("view") String view, @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 getNetworkTraceOperationSlot" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/operationresults/{operationId}") + Observable> getNetworkTraceOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 startWebSiteNetworkTraceSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start") Observable> startWebSiteNetworkTraceSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 startWebSiteNetworkTraceOperationSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation") + Observable> startWebSiteNetworkTraceOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 beginStartWebSiteNetworkTraceOperationSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/startOperation") + Observable> beginStartWebSiteNetworkTraceOperationSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 stopWebSiteNetworkTraceSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop") Observable> stopWebSiteNetworkTraceSlot(@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 getNetworkTracesSlot" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}") + Observable> getNetworkTracesSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 generateNewSitePublishingPasswordSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword") Observable> generateNewSitePublishingPasswordSlot(@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); @@ -13790,8 +13822,106 @@ private ServiceResponse listNetworkFeaturesDelegate(Respon } /** - * Start capturing network packets for the site. - * Start capturing network packets for the site. + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @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 Object object if successful. + */ + public Object getNetworkTraceOperation(String resourceGroupName, String name, String operationId) { + return getNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, operationId).toBlocking().single().body(); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @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 getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, operationId), serviceCallback); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Object object + */ + public Observable getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId) { + return getNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, operationId).map(new Func1, Object>() { + @Override + public Object call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the Object object + */ + public Observable> getNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, String operationId) { + 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 (operationId == null) { + throw new IllegalArgumentException("Parameter operationId 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.getNetworkTraceOperation(resourceGroupName, name, operationId, 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 = getNetworkTraceOperationDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getNetworkTraceOperationDelegate(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); + } + + /** + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13805,8 +13935,8 @@ public String startWebSiteNetworkTrace(String resourceGroupName, String name) { } /** - * Start capturing network packets for the site. - * Start capturing network packets for the site. + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13819,8 +13949,8 @@ public ServiceFuture startWebSiteNetworkTraceAsync(String resourceGroupN } /** - * Start capturing network packets for the site. - * Start capturing network packets for the site. + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13837,8 +13967,8 @@ public String call(ServiceResponse response) { } /** - * Start capturing network packets for the site. - * Start capturing network packets for the site. + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13876,8 +14006,8 @@ public Observable> call(Response response) } /** - * Start capturing network packets for the site. - * Start capturing network packets for the site. + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13894,8 +14024,8 @@ public String startWebSiteNetworkTrace(String resourceGroupName, String name, In } /** - * Start capturing network packets for the site. - * Start capturing network packets for the site. + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13911,8 +14041,8 @@ public ServiceFuture startWebSiteNetworkTraceAsync(String resourceGroupN } /** - * Start capturing network packets for the site. - * Start capturing network packets for the site. + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13932,8 +14062,8 @@ public String call(ServiceResponse response) { } /** - * Start capturing network packets for the site. - * Start capturing network packets for the site. + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. @@ -13978,23 +14108,23 @@ private ServiceResponse startWebSiteNetworkTraceDelegate(Response stopWebSiteNetworkTraceAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(stopWebSiteNetworkTraceWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + public ServiceFuture startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Stop ongoing capturing network packets for the site. - * Stop ongoing capturing network packets for the site. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the observable for the request */ - public Observable stopWebSiteNetworkTraceAsync(String resourceGroupName, String name) { - return stopWebSiteNetworkTraceWithServiceResponseAsync(resourceGroupName, name).map(new Func1, String>() { + public Observable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { + return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Object>() { @Override - public String call(ServiceResponse response) { + public Object call(ServiceResponse response) { return response.body(); } }); } /** - * Stop ongoing capturing network packets for the site. - * Stop ongoing capturing network packets for the site. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the observable for the request */ - public Observable> stopWebSiteNetworkTraceWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable> startWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14046,83 +14176,81 @@ public Observable> stopWebSiteNetworkTraceWithServiceRes if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.stopWebSiteNetworkTrace(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 = stopWebSiteNetworkTraceDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse stopWebSiteNetworkTraceDelegate(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); + final Integer durationInSeconds = null; + final Integer maxFrameLength = null; + final String sasUrl = null; + Observable> observable = service.startWebSiteNetworkTraceOperation(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } - /** - * Generates a new publishing password for an app (or deployment slot, if specified). - * Generates a new publishing password for an app (or deployment slot, if specified). + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 Object object if successful. */ - public void generateNewSitePublishingPassword(String resourceGroupName, String name) { - generateNewSitePublishingPasswordWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + public Object startWebSiteNetworkTraceOperation(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).toBlocking().last().body(); } /** - * Generates a new publishing password for an app (or deployment slot, if specified). - * Generates a new publishing password for an app (or deployment slot, if specified). + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @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 generateNewSitePublishingPasswordAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(generateNewSitePublishingPasswordWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + public ServiceFuture startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } /** - * Generates a new publishing password for an app (or deployment slot, if specified). - * Generates a new publishing password for an app (or deployment slot, if specified). + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable for the request */ - public Observable generateNewSitePublishingPasswordAsync(String resourceGroupName, String name) { - return generateNewSitePublishingPasswordWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { + public Observable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, Object>() { @Override - public Void call(ServiceResponse response) { + public Object call(ServiceResponse response) { return response.body(); } }); } /** - * Generates a new publishing password for an app (or deployment slot, if specified). - * Generates a new publishing password for an app (or deployment slot, if specified). + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable for the request */ - public Observable> generateNewSitePublishingPasswordWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable> startWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14135,123 +14263,67 @@ public Observable> generateNewSitePublishingPasswordWithSe if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.generateNewSitePublishingPassword(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 = generateNewSitePublishingPasswordDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - 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); + Observable> observable = service.startWebSiteNetworkTraceOperation(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } /** - * Gets perfmon counters for web app. - * Gets perfmon counters for web app. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. + * @param name The name of the web 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 - * @return the PagedList<PerfMonResponseInner> object if successful. + * @return the Object object if successful. */ - public PagedList listPerfMonCounters(final String resourceGroupName, final String name) { - ServiceResponse> response = listPerfMonCountersSinglePageAsync(resourceGroupName, name).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listPerfMonCountersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public Object beginStartWebSiteNetworkTraceOperation(String resourceGroupName, String name) { + return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** - * Gets perfmon counters for web app. - * Gets perfmon counters for web app. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. + * @param name The name of the web 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> listPerfMonCountersAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listPerfMonCountersSinglePageAsync(resourceGroupName, name), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listPerfMonCountersNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Gets perfmon counters for web app. - * Gets perfmon counters for web app. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. + * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<PerfMonResponseInner> object + * @return the observable to the Object object */ - public Observable> listPerfMonCountersAsync(final String resourceGroupName, final String name) { - return listPerfMonCountersWithServiceResponseAsync(resourceGroupName, name) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { + return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Object>() { + @Override + public Object call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Gets perfmon counters for web app. - * Gets perfmon counters for web app. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<PerfMonResponseInner> object - */ - public Observable>> listPerfMonCountersWithServiceResponseAsync(final String resourceGroupName, final String name) { - return listPerfMonCountersSinglePageAsync(resourceGroupName, name) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listPerfMonCountersNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * Gets perfmon counters for web app. - * Gets perfmon counters for web app. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. + * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<PerfMonResponseInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the Object object */ - public Observable>> listPerfMonCountersSinglePageAsync(final String resourceGroupName, final String name) { + public Observable> beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14264,14 +14336,16 @@ public Observable>> listPerfMonCounte if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - final String filter = null; - return service.listPerfMonCounters(resourceGroupName, name, this.client.subscriptionId(), filter, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + final Integer durationInSeconds = null; + final Integer maxFrameLength = null; + final String sasUrl = null; + return service.beginStartWebSiteNetworkTraceOperation(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listPerfMonCountersDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = beginStartWebSiteNetworkTraceOperationDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -14280,105 +14354,74 @@ public Observable>> call(Response listPerfMonCounters(final String resourceGroupName, final String name, final String filter) { - ServiceResponse> response = listPerfMonCountersSinglePageAsync(resourceGroupName, name, filter).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listPerfMonCountersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public Object beginStartWebSiteNetworkTraceOperation(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).toBlocking().single().body(); } /** - * Gets perfmon counters for web app. - * Gets perfmon counters for web app. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @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]'. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @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> listPerfMonCountersAsync(final String resourceGroupName, final String name, final String filter, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listPerfMonCountersSinglePageAsync(resourceGroupName, name, filter), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listPerfMonCountersNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } /** - * Gets perfmon counters for web app. - * Gets perfmon counters for web app. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @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]'. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<PerfMonResponseInner> object + * @return the observable to the Object object */ - public Observable> listPerfMonCountersAsync(final String resourceGroupName, final String name, final String filter) { - return listPerfMonCountersWithServiceResponseAsync(resourceGroupName, name, filter) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, Object>() { + @Override + public Object call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Gets perfmon counters for web app. - * Gets perfmon counters for web app. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @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 observable to the PagedList<PerfMonResponseInner> object - */ - public Observable>> listPerfMonCountersWithServiceResponseAsync(final String resourceGroupName, final String name, final String filter) { - return listPerfMonCountersSinglePageAsync(resourceGroupName, name, filter) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listPerfMonCountersNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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]'. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<PerfMonResponseInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the Object object */ - public Observable>> listPerfMonCountersSinglePageAsync(final String resourceGroupName, final String name, final String filter) { + public Observable> beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14391,13 +14434,13 @@ public Observable>> listPerfMonCounte if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listPerfMonCounters(resourceGroupName, name, this.client.subscriptionId(), filter, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.beginStartWebSiteNetworkTraceOperation(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listPerfMonCountersDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = beginStartWebSiteNetworkTraceOperationDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -14405,70 +14448,70 @@ 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()) + private ServiceResponse beginStartWebSiteNetworkTraceOperationDelegate(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); } /** - * Gets web app's event logs. - * Gets web app's event logs. + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. + * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SitePhpErrorLogFlagInner object if successful. */ - public SitePhpErrorLogFlagInner getSitePhpErrorLogFlag(String resourceGroupName, String name) { - return getSitePhpErrorLogFlagWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + public void stopWebSiteNetworkTrace(String resourceGroupName, String name) { + stopWebSiteNetworkTraceWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** - * Gets web app's event logs. - * Gets web app's event logs. + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. + * @param name The name of the web 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 getSitePhpErrorLogFlagAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSitePhpErrorLogFlagWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + public ServiceFuture stopWebSiteNetworkTraceAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(stopWebSiteNetworkTraceWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Gets web app's event logs. - * Gets web app's event logs. + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. + * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SitePhpErrorLogFlagInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getSitePhpErrorLogFlagAsync(String resourceGroupName, String name) { - return getSitePhpErrorLogFlagWithServiceResponseAsync(resourceGroupName, name).map(new Func1, SitePhpErrorLogFlagInner>() { + public Observable stopWebSiteNetworkTraceAsync(String resourceGroupName, String name) { + return stopWebSiteNetworkTraceWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { @Override - public SitePhpErrorLogFlagInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets web app's event logs. - * Gets web app's event logs. + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. + * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SitePhpErrorLogFlagInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getSitePhpErrorLogFlagWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable> stopWebSiteNetworkTraceWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14481,12 +14524,12 @@ public Observable> getSitePhpErrorLogF if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getSitePhpErrorLogFlag(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.stopWebSiteNetworkTrace(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getSitePhpErrorLogFlagDelegate(response); + ServiceResponse clientResponse = stopWebSiteNetworkTraceDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -14495,88 +14538,96 @@ 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) + 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); } /** - * Gets the premier add-ons of an app. - * Gets the premier add-ons of an app. + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param operationId GUID of the operation. * @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 PremierAddOnInner object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public PremierAddOnInner listPremierAddOns(String resourceGroupName, String name) { - return listPremierAddOnsWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + public List getNetworkTraces(String resourceGroupName, String name, String operationId) { + return getNetworkTracesWithServiceResponseAsync(resourceGroupName, name, operationId).toBlocking().single().body(); } /** - * Gets the premier add-ons of an app. - * Gets the premier add-ons of an app. + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param operationId GUID of the operation. * @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 listPremierAddOnsAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listPremierAddOnsWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + public ServiceFuture> getNetworkTracesAsync(String resourceGroupName, String name, String operationId, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(getNetworkTracesWithServiceResponseAsync(resourceGroupName, name, operationId), serviceCallback); } /** - * Gets the premier add-ons of an app. - * Gets the premier add-ons of an app. + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param operationId GUID of the operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PremierAddOnInner object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable listPremierAddOnsAsync(String resourceGroupName, String name) { - return listPremierAddOnsWithServiceResponseAsync(resourceGroupName, name).map(new Func1, PremierAddOnInner>() { + public Observable> getNetworkTracesAsync(String resourceGroupName, String name, String operationId) { + return getNetworkTracesWithServiceResponseAsync(resourceGroupName, name, operationId).map(new Func1>, List>() { @Override - public PremierAddOnInner call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); } /** - * Gets the premier add-ons of an app. - * Gets the premier add-ons of an app. + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param operationId GUID of the operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PremierAddOnInner object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable> listPremierAddOnsWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable>> getNetworkTracesWithServiceResponseAsync(String resourceGroupName, String name, String operationId) { 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 (operationId == null) { + throw new IllegalArgumentException("Parameter operationId 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.listPremierAddOns(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getNetworkTraces(resourceGroupName, name, operationId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = listPremierAddOnsDelegate(response); + ServiceResponse> clientResponse = getNetworkTracesDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -14585,95 +14636,87 @@ 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()) + private ServiceResponse> 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); } /** - * Gets a named add-on of an app. - * Gets a named add-on of an app. + * Generates a new publishing password for an app (or deployment slot, if specified). + * Generates a new publishing password for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param premierAddOnName Add-on name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PremierAddOnInner object if successful. */ - public PremierAddOnInner getPremierAddOn(String resourceGroupName, String name, String premierAddOnName) { - return getPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName).toBlocking().single().body(); + public void generateNewSitePublishingPassword(String resourceGroupName, String name) { + generateNewSitePublishingPasswordWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** - * Gets a named add-on of an app. - * Gets a named add-on of an app. + * Generates a new publishing password for an app (or deployment slot, if specified). + * Generates a new publishing password for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param premierAddOnName Add-on 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 getPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName), serviceCallback); + public ServiceFuture generateNewSitePublishingPasswordAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(generateNewSitePublishingPasswordWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Gets a named add-on of an app. - * Gets a named add-on of an app. + * Generates a new publishing password for an app (or deployment slot, if specified). + * Generates a new publishing password for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param premierAddOnName Add-on name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PremierAddOnInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName) { - return getPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName).map(new Func1, PremierAddOnInner>() { + public Observable generateNewSitePublishingPasswordAsync(String resourceGroupName, String name) { + return generateNewSitePublishingPasswordWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { @Override - public PremierAddOnInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets a named add-on of an app. - * Gets a named add-on of an app. + * Generates a new publishing password for an app (or deployment slot, if specified). + * Generates a new publishing password for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param premierAddOnName Add-on name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PremierAddOnInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getPremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName) { + public Observable> generateNewSitePublishingPasswordWithServiceResponseAsync(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 (premierAddOnName == null) { - throw new IllegalArgumentException("Parameter premierAddOnName 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.getPremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.generateNewSitePublishingPassword(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getPremierAddOnDelegate(response); + ServiceResponse clientResponse = generateNewSitePublishingPasswordDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -14682,104 +14725,129 @@ 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) + 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); } /** - * Updates a named add-on of an app. - * Updates a named add-on of an app. + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. - * @param premierAddOn A JSON representation of the edited premier add-on. + * @param name Name of web 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 - * @return the PremierAddOnInner object if successful. + * @return the PagedList<PerfMonResponseInner> object if successful. */ - public PremierAddOnInner addPremierAddOn(String resourceGroupName, String name, String premierAddOnName, PremierAddOnInner premierAddOn) { - return addPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).toBlocking().single().body(); + public PagedList listPerfMonCounters(final String resourceGroupName, final String name) { + ServiceResponse> response = listPerfMonCountersSinglePageAsync(resourceGroupName, name).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listPerfMonCountersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Updates a named add-on of an app. - * Updates a named add-on of an app. + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. - * @param premierAddOn A JSON representation of the edited premier add-on. + * @param name Name of web 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 addPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnInner premierAddOn, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(addPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn), serviceCallback); + public ServiceFuture> listPerfMonCountersAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listPerfMonCountersSinglePageAsync(resourceGroupName, name), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listPerfMonCountersNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Updates a named add-on of an app. - * Updates a named add-on of an app. + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. - * @param premierAddOn A JSON representation of the edited premier add-on. + * @param name Name of web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PremierAddOnInner object + * @return the observable to the PagedList<PerfMonResponseInner> object */ - public Observable addPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnInner premierAddOn) { - return addPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).map(new Func1, PremierAddOnInner>() { - @Override - public PremierAddOnInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listPerfMonCountersAsync(final String resourceGroupName, final String name) { + return listPerfMonCountersWithServiceResponseAsync(resourceGroupName, name) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Updates a named add-on of an app. - * Updates a named add-on of an app. + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. - * @param premierAddOn A JSON representation of the edited premier add-on. + * @param name Name of web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PremierAddOnInner object + * @return the observable to the PagedList<PerfMonResponseInner> object */ - public Observable> addPremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnInner premierAddOn) { + public Observable>> listPerfMonCountersWithServiceResponseAsync(final String resourceGroupName, final String name) { + return listPerfMonCountersSinglePageAsync(resourceGroupName, name) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listPerfMonCountersNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<PerfMonResponseInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listPerfMonCountersSinglePageAsync(final String resourceGroupName, final 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 (premierAddOnName == null) { - throw new IllegalArgumentException("Parameter premierAddOnName 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 (premierAddOn == null) { - throw new IllegalArgumentException("Parameter premierAddOn 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(premierAddOn); - return service.addPremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), premierAddOn, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + final String filter = null; + return service.listPerfMonCounters(resourceGroupName, name, this.client.subscriptionId(), filter, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = addPremierAddOnDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listPerfMonCountersDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -14787,95 +14855,125 @@ 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); - } - /** - * Delete a premier add-on from an app. - * Delete a premier add-on from an app. + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. + * @param name Name of web app. + * @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 - * @throws CloudException thrown if the request is rejected by server + * @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 PagedList<PerfMonResponseInner> object if successful. */ - public void deletePremierAddOn(String resourceGroupName, String name, String premierAddOnName) { - deletePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName).toBlocking().single().body(); + public PagedList listPerfMonCounters(final String resourceGroupName, final String name, final String filter) { + ServiceResponse> response = listPerfMonCountersSinglePageAsync(resourceGroupName, name, filter).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listPerfMonCountersNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Delete a premier add-on from an app. - * Delete a premier add-on from an app. + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. + * @param name Name of web app. + * @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]'. * @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 deletePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deletePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName), serviceCallback); + public ServiceFuture> listPerfMonCountersAsync(final String resourceGroupName, final String name, final String filter, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listPerfMonCountersSinglePageAsync(resourceGroupName, name, filter), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listPerfMonCountersNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Delete a premier add-on from an app. - * Delete a premier add-on from an app. + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. + * @param name Name of web app. + * @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 {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<PerfMonResponseInner> object */ - public Observable deletePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName) { - return deletePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listPerfMonCountersAsync(final String resourceGroupName, final String name, final String filter) { + return listPerfMonCountersWithServiceResponseAsync(resourceGroupName, name, filter) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Delete a premier add-on from an app. - * Delete a premier add-on from an app. + * Gets perfmon counters for web app. + * Gets perfmon counters for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. + * @param name Name of web app. + * @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 {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<PerfMonResponseInner> object */ - public Observable> deletePremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName) { - 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 (premierAddOnName == null) { - throw new IllegalArgumentException("Parameter premierAddOnName 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.deletePremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { + public Observable>> listPerfMonCountersWithServiceResponseAsync(final String resourceGroupName, final String name, final String filter) { + return listPerfMonCountersSinglePageAsync(resourceGroupName, name, filter) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listPerfMonCountersNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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]'. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<PerfMonResponseInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listPerfMonCountersSinglePageAsync(final String resourceGroupName, final String name, final String filter) { + 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.listPerfMonCounters(resourceGroupName, name, this.client.subscriptionId(), filter, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = deletePremierAddOnDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listPerfMonCountersDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -14883,103 +14981,88 @@ 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) + private ServiceResponse> 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); } /** - * Updates a named add-on of an app. - * Updates a named add-on of an app. + * Gets web app's event logs. + * Gets web app's event logs. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. - * @param premierAddOn A JSON representation of the edited premier add-on. + * @param name Name of web 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 - * @return the PremierAddOnInner object if successful. + * @return the SitePhpErrorLogFlagInner object if successful. */ - public PremierAddOnInner updatePremierAddOn(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { - return updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).toBlocking().single().body(); + public SitePhpErrorLogFlagInner getSitePhpErrorLogFlag(String resourceGroupName, String name) { + return getSitePhpErrorLogFlagWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** - * Updates a named add-on of an app. - * Updates a named add-on of an app. + * Gets web app's event logs. + * Gets web app's event logs. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. - * @param premierAddOn A JSON representation of the edited premier add-on. + * @param name Name of web 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 updatePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn), serviceCallback); + public ServiceFuture getSitePhpErrorLogFlagAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSitePhpErrorLogFlagWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Updates a named add-on of an app. - * Updates a named add-on of an app. + * Gets web app's event logs. + * Gets web app's event logs. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. - * @param premierAddOn A JSON representation of the edited premier add-on. + * @param name Name of web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PremierAddOnInner object + * @return the observable to the SitePhpErrorLogFlagInner object */ - public Observable updatePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { - return updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).map(new Func1, PremierAddOnInner>() { + public Observable getSitePhpErrorLogFlagAsync(String resourceGroupName, String name) { + return getSitePhpErrorLogFlagWithServiceResponseAsync(resourceGroupName, name).map(new Func1, SitePhpErrorLogFlagInner>() { @Override - public PremierAddOnInner call(ServiceResponse response) { + public SitePhpErrorLogFlagInner call(ServiceResponse response) { return response.body(); } }); } /** - * Updates a named add-on of an app. - * Updates a named add-on of an app. + * Gets web app's event logs. + * Gets web app's event logs. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param premierAddOnName Add-on name. - * @param premierAddOn A JSON representation of the edited premier add-on. + * @param name Name of web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PremierAddOnInner object + * @return the observable to the SitePhpErrorLogFlagInner object */ - public Observable> updatePremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { + public Observable> getSitePhpErrorLogFlagWithServiceResponseAsync(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 (premierAddOnName == null) { - throw new IllegalArgumentException("Parameter premierAddOnName 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 (premierAddOn == null) { - throw new IllegalArgumentException("Parameter premierAddOn 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(premierAddOn); - return service.updatePremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), premierAddOn, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getSitePhpErrorLogFlag(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updatePremierAddOnDelegate(response); + ServiceResponse clientResponse = getSitePhpErrorLogFlagDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -14988,70 +15071,70 @@ 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()) + private ServiceResponse 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); } /** - * Gets data around private site access enablement and authorized Virtual Networks that can access the site. - * Gets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets the premier add-ons of an app. + * Gets the premier add-ons of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. + * @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 - * @return the PrivateAccessInner object if successful. + * @return the PremierAddOnInner object if successful. */ - public PrivateAccessInner getPrivateAccess(String resourceGroupName, String name) { - return getPrivateAccessWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + public PremierAddOnInner listPremierAddOns(String resourceGroupName, String name) { + return listPremierAddOnsWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** - * Gets data around private site access enablement and authorized Virtual Networks that can access the site. - * Gets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets the premier add-ons of an app. + * Gets the premier add-ons of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. + * @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 getPrivateAccessAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getPrivateAccessWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + public ServiceFuture listPremierAddOnsAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listPremierAddOnsWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Gets data around private site access enablement and authorized Virtual Networks that can access the site. - * Gets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets the premier add-ons of an app. + * Gets the premier add-ons of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. + * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PrivateAccessInner object + * @return the observable to the PremierAddOnInner object */ - public Observable getPrivateAccessAsync(String resourceGroupName, String name) { - return getPrivateAccessWithServiceResponseAsync(resourceGroupName, name).map(new Func1, PrivateAccessInner>() { + public Observable listPremierAddOnsAsync(String resourceGroupName, String name) { + return listPremierAddOnsWithServiceResponseAsync(resourceGroupName, name).map(new Func1, PremierAddOnInner>() { @Override - public PrivateAccessInner call(ServiceResponse response) { + public PremierAddOnInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets data around private site access enablement and authorized Virtual Networks that can access the site. - * Gets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets the premier add-ons of an app. + * Gets the premier add-ons of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. + * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PrivateAccessInner object + * @return the observable to the PremierAddOnInner object */ - public Observable> getPrivateAccessWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable> listPremierAddOnsWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -15064,12 +15147,12 @@ public Observable> getPrivateAccessWithServi if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getPrivateAccess(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listPremierAddOns(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getPrivateAccessDelegate(response); + ServiceResponse clientResponse = listPremierAddOnsDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -15078,96 +15161,95 @@ 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()) + private ServiceResponse 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); } /** - * Sets data around private site access enablement and authorized Virtual Networks that can access the site. - * Sets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets a named add-on of an app. + * Gets a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param access The information for the private access + * @param name Name of the app. + * @param premierAddOnName Add-on 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 PrivateAccessInner object if successful. + * @return the PremierAddOnInner object if successful. */ - public PrivateAccessInner putPrivateAccessVnet(String resourceGroupName, String name, PrivateAccessInner access) { - return putPrivateAccessVnetWithServiceResponseAsync(resourceGroupName, name, access).toBlocking().single().body(); + public PremierAddOnInner getPremierAddOn(String resourceGroupName, String name, String premierAddOnName) { + return getPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName).toBlocking().single().body(); } /** - * Sets data around private site access enablement and authorized Virtual Networks that can access the site. - * Sets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets a named add-on of an app. + * Gets a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param access The information for the private access + * @param name Name of the app. + * @param premierAddOnName Add-on 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 putPrivateAccessVnetAsync(String resourceGroupName, String name, PrivateAccessInner access, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(putPrivateAccessVnetWithServiceResponseAsync(resourceGroupName, name, access), serviceCallback); + public ServiceFuture getPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName), serviceCallback); } /** - * Sets data around private site access enablement and authorized Virtual Networks that can access the site. - * Sets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets a named add-on of an app. + * Gets a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param access The information for the private access + * @param name Name of the app. + * @param premierAddOnName Add-on name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PrivateAccessInner object + * @return the observable to the PremierAddOnInner object */ - public Observable putPrivateAccessVnetAsync(String resourceGroupName, String name, PrivateAccessInner access) { - return putPrivateAccessVnetWithServiceResponseAsync(resourceGroupName, name, access).map(new Func1, PrivateAccessInner>() { + public Observable getPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName) { + return getPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName).map(new Func1, PremierAddOnInner>() { @Override - public PrivateAccessInner call(ServiceResponse response) { + public PremierAddOnInner call(ServiceResponse response) { return response.body(); } }); } /** - * Sets data around private site access enablement and authorized Virtual Networks that can access the site. - * Sets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets a named add-on of an app. + * Gets a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param access The information for the private access + * @param name Name of the app. + * @param premierAddOnName Add-on name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PrivateAccessInner object + * @return the observable to the PremierAddOnInner object */ - public Observable> putPrivateAccessVnetWithServiceResponseAsync(String resourceGroupName, String name, PrivateAccessInner access) { + public Observable> getPremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName) { 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 (premierAddOnName == null) { + throw new IllegalArgumentException("Parameter premierAddOnName 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 (access == null) { - throw new IllegalArgumentException("Parameter access 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(access); - return service.putPrivateAccessVnet(resourceGroupName, name, this.client.subscriptionId(), access, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getPremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = putPrivateAccessVnetDelegate(response); + ServiceResponse clientResponse = getPremierAddOnDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -15176,127 +15258,104 @@ 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()) + private ServiceResponse 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); } /** - * 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. + * Updates a named add-on of an app. + * Updates a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 PagedList<ProcessInfoInner> object if successful. + * @return the PremierAddOnInner object if successful. */ - public PagedList listProcesses(final String resourceGroupName, final String name) { - ServiceResponse> response = listProcessesSinglePageAsync(resourceGroupName, name).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listProcessesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public PremierAddOnInner addPremierAddOn(String resourceGroupName, String name, String premierAddOnName, PremierAddOnInner premierAddOn) { + return addPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).toBlocking().single().body(); } /** - * 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. + * Updates a named add-on of an app. + * Updates a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. * @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> listProcessesAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listProcessesSinglePageAsync(resourceGroupName, name), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listProcessesNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture addPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnInner premierAddOn, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(addPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn), serviceCallback); } /** - * 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. + * Updates a named add-on of an app. + * Updates a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ProcessInfoInner> object + * @return the observable to the PremierAddOnInner object */ - public Observable> listProcessesAsync(final String resourceGroupName, final String name) { - return listProcessesWithServiceResponseAsync(resourceGroupName, name) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable addPremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnInner premierAddOn) { + return addPremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).map(new Func1, PremierAddOnInner>() { + @Override + public PremierAddOnInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * 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. + * Updates a named add-on of an app. + * Updates a named add-on of an 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 PagedList<ProcessInfoInner> object - */ - public Observable>> listProcessesWithServiceResponseAsync(final String resourceGroupName, final String name) { - return listProcessesSinglePageAsync(resourceGroupName, name) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listProcessesNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the PremierAddOnInner object */ - public Observable>> listProcessesSinglePageAsync(final String resourceGroupName, final String name) { + public Observable> addPremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnInner premierAddOn) { 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 (premierAddOnName == null) { + throw new IllegalArgumentException("Parameter premierAddOnName 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 (premierAddOn == null) { + throw new IllegalArgumentException("Parameter premierAddOn 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.listProcesses(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + Validator.validate(premierAddOn); + return service.addPremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), premierAddOn, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listProcessesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = addPremierAddOnDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -15304,83 +15363,81 @@ 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) + private ServiceResponse 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); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID for a specific scaled-out instance in a web site. + * Delete a premier add-on from an app. + * Delete a premier add-on from an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name Name of the app. + * @param premierAddOnName Add-on name. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the ProcessInfoInner object if successful. */ - public ProcessInfoInner getProcess(String resourceGroupName, String name, String processId) { - return getProcessWithServiceResponseAsync(resourceGroupName, name, processId).toBlocking().single().body(); + public void deletePremierAddOn(String resourceGroupName, String name, String premierAddOnName) { + deletePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName).toBlocking().single().body(); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID for a specific scaled-out instance in a web site. + * Delete a premier add-on from an app. + * Delete a premier add-on from an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name Name of the app. + * @param premierAddOnName Add-on 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 getProcessAsync(String resourceGroupName, String name, String processId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getProcessWithServiceResponseAsync(resourceGroupName, name, processId), serviceCallback); + public ServiceFuture deletePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deletePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName), serviceCallback); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID for a specific scaled-out instance in a web site. + * Delete a premier add-on from an app. + * Delete a premier add-on from an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name Name of the app. + * @param premierAddOnName Add-on name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessInfoInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getProcessAsync(String resourceGroupName, String name, String processId) { - return getProcessWithServiceResponseAsync(resourceGroupName, name, processId).map(new Func1, ProcessInfoInner>() { + public Observable deletePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName) { + return deletePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName).map(new Func1, Void>() { @Override - public ProcessInfoInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID for a specific scaled-out instance in a web site. + * Delete a premier add-on from an app. + * Delete a premier add-on from an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name Name of the app. + * @param premierAddOnName Add-on name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessInfoInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getProcessWithServiceResponseAsync(String resourceGroupName, String name, String processId) { + public Observable> deletePremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName) { 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + if (premierAddOnName == null) { + throw new IllegalArgumentException("Parameter premierAddOnName is required and cannot be null."); } if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); @@ -15388,12 +15445,12 @@ public Observable> getProcessWithServiceRespon if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getProcess(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deletePremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getProcessDelegate(response); + ServiceResponse clientResponse = deletePremierAddOnDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -15402,95 +15459,103 @@ 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()) + 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); } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Updates a named add-on of an app. + * Updates a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 PremierAddOnInner object if successful. */ - public void deleteProcess(String resourceGroupName, String name, String processId) { - deleteProcessWithServiceResponseAsync(resourceGroupName, name, processId).toBlocking().single().body(); + public PremierAddOnInner updatePremierAddOn(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { + return updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).toBlocking().single().body(); } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Updates a named add-on of an app. + * Updates a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. * @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 deleteProcessAsync(String resourceGroupName, String name, String processId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteProcessWithServiceResponseAsync(resourceGroupName, name, processId), serviceCallback); + public ServiceFuture updatePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn), serviceCallback); } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Updates a named add-on of an app. + * Updates a named add-on of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PremierAddOnInner object */ - public Observable deleteProcessAsync(String resourceGroupName, String name, String processId) { - return deleteProcessWithServiceResponseAsync(resourceGroupName, name, processId).map(new Func1, Void>() { + public Observable updatePremierAddOnAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { + return updatePremierAddOnWithServiceResponseAsync(resourceGroupName, name, premierAddOnName, premierAddOn).map(new Func1, PremierAddOnInner>() { @Override - public Void call(ServiceResponse response) { + public PremierAddOnInner call(ServiceResponse response) { return response.body(); } }); } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * + * Updates a named add-on of an app. + * Updates a named add-on of an app. + * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name Name of the app. + * @param premierAddOnName Add-on name. + * @param premierAddOn A JSON representation of the edited premier add-on. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PremierAddOnInner object */ - public Observable> deleteProcessWithServiceResponseAsync(String resourceGroupName, String name, String processId) { + public Observable> updatePremierAddOnWithServiceResponseAsync(String resourceGroupName, String name, String premierAddOnName, PremierAddOnPatchResource premierAddOn) { 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + if (premierAddOnName == null) { + throw new IllegalArgumentException("Parameter premierAddOnName 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 (premierAddOn == null) { + throw new IllegalArgumentException("Parameter premierAddOn 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.deleteProcess(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(premierAddOn); + return service.updatePremierAddOn(resourceGroupName, name, premierAddOnName, this.client.subscriptionId(), premierAddOn, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteProcessDelegate(response); + ServiceResponse clientResponse = updatePremierAddOnDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -15499,96 +15564,88 @@ 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) + private ServiceResponse 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); } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Gets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets data around private site access enablement and authorized Virtual Networks that can access the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 InputStream object if successful. + * @return the PrivateAccessInner object if successful. */ - public InputStream getProcessDump(String resourceGroupName, String name, String processId) { - return getProcessDumpWithServiceResponseAsync(resourceGroupName, name, processId).toBlocking().single().body(); + public PrivateAccessInner getPrivateAccess(String resourceGroupName, String name) { + return getPrivateAccessWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Gets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets data around private site access enablement and authorized Virtual Networks that can access the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name The name of the web 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 getProcessDumpAsync(String resourceGroupName, String name, String processId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getProcessDumpWithServiceResponseAsync(resourceGroupName, name, processId), serviceCallback); + public ServiceFuture getPrivateAccessAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getPrivateAccessWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Gets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets data around private site access enablement and authorized Virtual Networks that can access the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the PrivateAccessInner object */ - public Observable getProcessDumpAsync(String resourceGroupName, String name, String processId) { - return getProcessDumpWithServiceResponseAsync(resourceGroupName, name, processId).map(new Func1, InputStream>() { + public Observable getPrivateAccessAsync(String resourceGroupName, String name) { + return getPrivateAccessWithServiceResponseAsync(resourceGroupName, name).map(new Func1, PrivateAccessInner>() { @Override - public InputStream call(ServiceResponse response) { + public PrivateAccessInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Gets data around private site access enablement and authorized Virtual Networks that can access the site. + * Gets data around private site access enablement and authorized Virtual Networks that can access the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the PrivateAccessInner object */ - public Observable> getProcessDumpWithServiceResponseAsync(String resourceGroupName, String name, String processId) { + public Observable> getPrivateAccessWithServiceResponseAsync(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 (processId == null) { - throw new IllegalArgumentException("Parameter processId 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.getProcessDump(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getPrivateAccess(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getProcessDumpDelegate(response); + ServiceResponse clientResponse = getPrivateAccessDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -15597,136 +15654,97 @@ 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) + private ServiceResponse 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); } /** - * 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. + * Sets data around private site access enablement and authorized Virtual Networks that can access the site. + * Sets data around private site access enablement and authorized Virtual Networks that can access the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name The name of the web app. + * @param access The information for the private access * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 PagedList<ProcessModuleInfoInner> object if successful. + * @return the PrivateAccessInner object if successful. */ - public PagedList listProcessModules(final String resourceGroupName, final String name, final String processId) { - ServiceResponse> response = listProcessModulesSinglePageAsync(resourceGroupName, name, processId).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listProcessModulesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public PrivateAccessInner putPrivateAccessVnet(String resourceGroupName, String name, PrivateAccessInner access) { + return putPrivateAccessVnetWithServiceResponseAsync(resourceGroupName, name, access).toBlocking().single().body(); } /** - * 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. + * Sets data around private site access enablement and authorized Virtual Networks that can access the site. + * Sets data around private site access enablement and authorized Virtual Networks that can access the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name The name of the web app. + * @param access The information for the private access * @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> listProcessModulesAsync(final String resourceGroupName, final String name, final String processId, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listProcessModulesSinglePageAsync(resourceGroupName, name, processId), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listProcessModulesNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture putPrivateAccessVnetAsync(String resourceGroupName, String name, PrivateAccessInner access, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(putPrivateAccessVnetWithServiceResponseAsync(resourceGroupName, name, access), serviceCallback); } /** - * 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. + * Sets data around private site access enablement and authorized Virtual Networks that can access the site. + * Sets data around private site access enablement and authorized Virtual Networks that can access the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. + * @param name The name of the web app. + * @param access The information for the private access * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ProcessModuleInfoInner> object + * @return the observable to the PrivateAccessInner object */ - public Observable> listProcessModulesAsync(final String resourceGroupName, final String name, final String processId) { - return listProcessModulesWithServiceResponseAsync(resourceGroupName, name, processId) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable putPrivateAccessVnetAsync(String resourceGroupName, String name, PrivateAccessInner access) { + return putPrivateAccessVnetWithServiceResponseAsync(resourceGroupName, name, access).map(new Func1, PrivateAccessInner>() { + @Override + public PrivateAccessInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * 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. + * Sets data around private site access enablement and authorized Virtual Networks that can access the site. + * Sets data around private site access enablement and authorized Virtual Networks that can access the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ProcessModuleInfoInner> object - */ - public Observable>> listProcessModulesWithServiceResponseAsync(final String resourceGroupName, final String name, final String processId) { - return listProcessModulesSinglePageAsync(resourceGroupName, name, processId) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listProcessModulesNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param name The name of the web app. + * @param access The information for the private access * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the PrivateAccessInner object */ - public Observable>> listProcessModulesSinglePageAsync(final String resourceGroupName, final String name, final String processId) { + public Observable> putPrivateAccessVnetWithServiceResponseAsync(String resourceGroupName, String name, PrivateAccessInner access) { 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId 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 (access == null) { + throw new IllegalArgumentException("Parameter access 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.listProcessModules(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + Validator.validate(access); + return service.putPrivateAccessVnet(resourceGroupName, name, this.client.subscriptionId(), access, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listProcessModulesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = putPrivateAccessVnetDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -15734,104 +15752,127 @@ 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) + private ServiceResponse 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); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID 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. + * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param processId PID. - * @param baseAddress Module base address. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the ProcessModuleInfoInner object if successful. + * @return the PagedList<ProcessInfoInner> object if successful. */ - public ProcessModuleInfoInner getProcessModule(String resourceGroupName, String name, String processId, String baseAddress) { - return getProcessModuleWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress).toBlocking().single().body(); + public PagedList listProcesses(final String resourceGroupName, final String name) { + ServiceResponse> response = listProcessesSinglePageAsync(resourceGroupName, name).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listProcessesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID 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. + * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param processId PID. - * @param baseAddress Module base address. * @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 getProcessModuleAsync(String resourceGroupName, String name, String processId, String baseAddress, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getProcessModuleWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress), serviceCallback); + public ServiceFuture> listProcessesAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listProcessesSinglePageAsync(resourceGroupName, name), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listProcessesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID 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. + * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param processId PID. - * @param baseAddress Module base address. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessModuleInfoInner object + * @return the observable to the PagedList<ProcessInfoInner> object */ - public Observable getProcessModuleAsync(String resourceGroupName, String name, String processId, String baseAddress) { - return getProcessModuleWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress).map(new Func1, ProcessModuleInfoInner>() { - @Override - public ProcessModuleInfoInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listProcessesAsync(final String resourceGroupName, final String name) { + return listProcessesWithServiceResponseAsync(resourceGroupName, name) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID 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. + * Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param processId PID. - * @param baseAddress Module base address. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessModuleInfoInner object + * @return the observable to the PagedList<ProcessInfoInner> object */ - public Observable> getProcessModuleWithServiceResponseAsync(String resourceGroupName, String name, String processId, String baseAddress) { + public Observable>> listProcessesWithServiceResponseAsync(final String resourceGroupName, final String name) { + return listProcessesSinglePageAsync(resourceGroupName, name) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listProcessesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listProcessesSinglePageAsync(final String resourceGroupName, final 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); - } - if (baseAddress == null) { - throw new IllegalArgumentException("Parameter baseAddress 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.getProcessModule(resourceGroupName, name, processId, baseAddress, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listProcesses(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = getProcessModuleDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listProcessesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -15839,17 +15880,17 @@ 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()) + private ServiceResponse> 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); } /** - * 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. + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -15857,21 +15898,15 @@ private ServiceResponse getProcessModuleDelegate(Respons * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<ProcessThreadInfoInner> object if successful. + * @return the ProcessInfoInner object if successful. */ - public PagedList listProcessThreads(final String resourceGroupName, final String name, final String processId) { - ServiceResponse> response = listProcessThreadsSinglePageAsync(resourceGroupName, name, processId).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listProcessThreadsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public ProcessInfoInner getProcess(String resourceGroupName, String name, String processId) { + return getProcessWithServiceResponseAsync(resourceGroupName, name, processId).toBlocking().single().body(); } /** - * 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. + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -15880,73 +15915,40 @@ public Page nextPage(String nextPageLink) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture> listProcessThreadsAsync(final String resourceGroupName, final String name, final String processId, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listProcessThreadsSinglePageAsync(resourceGroupName, name, processId), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listProcessThreadsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture getProcessAsync(String resourceGroupName, String name, String processId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getProcessWithServiceResponseAsync(resourceGroupName, name, processId), serviceCallback); } /** - * 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. + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ProcessThreadInfoInner> object + * @return the observable to the ProcessInfoInner object */ - public Observable> listProcessThreadsAsync(final String resourceGroupName, final String name, final String processId) { - return listProcessThreadsWithServiceResponseAsync(resourceGroupName, name, processId) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable getProcessAsync(String resourceGroupName, String name, String processId) { + return getProcessWithServiceResponseAsync(resourceGroupName, name, processId).map(new Func1, ProcessInfoInner>() { + @Override + public ProcessInfoInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * 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. + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ProcessThreadInfoInner> object - */ - public Observable>> listProcessThreadsWithServiceResponseAsync(final String resourceGroupName, final String name, final String processId) { - return listProcessThreadsSinglePageAsync(resourceGroupName, name, processId) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listProcessThreadsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the ProcessInfoInner object */ - public Observable>> listProcessThreadsSinglePageAsync(final String resourceGroupName, final String name, final String processId) { + public Observable> getProcessWithServiceResponseAsync(String resourceGroupName, String name, String processId) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -15962,13 +15964,13 @@ public Observable>> listProcessThre if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listProcessThreads(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.getProcess(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listProcessThreadsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = getProcessDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -15976,79 +15978,74 @@ 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()) + 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); } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param threadId TID. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the ProcessThreadInfoInner object if successful. */ - public ProcessThreadInfoInner getProcessThread(String resourceGroupName, String name, String processId, String threadId) { - return getProcessThreadWithServiceResponseAsync(resourceGroupName, name, processId, threadId).toBlocking().single().body(); + public void deleteProcess(String resourceGroupName, String name, String processId) { + deleteProcessWithServiceResponseAsync(resourceGroupName, name, processId).toBlocking().single().body(); } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param threadId TID. * @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 getProcessThreadAsync(String resourceGroupName, String name, String processId, String threadId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getProcessThreadWithServiceResponseAsync(resourceGroupName, name, processId, threadId), serviceCallback); + public ServiceFuture deleteProcessAsync(String resourceGroupName, String name, String processId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteProcessWithServiceResponseAsync(resourceGroupName, name, processId), serviceCallback); } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param threadId TID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessThreadInfoInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getProcessThreadAsync(String resourceGroupName, String name, String processId, String threadId) { - return getProcessThreadWithServiceResponseAsync(resourceGroupName, name, processId, threadId).map(new Func1, ProcessThreadInfoInner>() { + public Observable deleteProcessAsync(String resourceGroupName, String name, String processId) { + return deleteProcessWithServiceResponseAsync(resourceGroupName, name, processId).map(new Func1, Void>() { @Override - public ProcessThreadInfoInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param threadId TID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessThreadInfoInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getProcessThreadWithServiceResponseAsync(String resourceGroupName, String name, String processId, String threadId) { + public Observable> deleteProcessWithServiceResponseAsync(String resourceGroupName, String name, String processId) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -16058,21 +16055,18 @@ public Observable> getProcessThreadWithS if (processId == null) { throw new IllegalArgumentException("Parameter processId is required and cannot be null."); } - if (threadId == null) { - throw new IllegalArgumentException("Parameter threadId 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.getProcessThread(resourceGroupName, name, processId, threadId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteProcess(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getProcessThreadDelegate(response); + ServiceResponse clientResponse = deleteProcessDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -16081,128 +16075,97 @@ 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()) + 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); } /** - * Get public certificates for an app or a deployment slot. - * Get public certificates for an app or a deployment slot. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<PublicCertificateInner> object if successful. + * @return the InputStream object if successful. */ - public PagedList listPublicCertificates(final String resourceGroupName, final String name) { - ServiceResponse> response = listPublicCertificatesSinglePageAsync(resourceGroupName, name).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listPublicCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public InputStream getProcessDump(String resourceGroupName, String name, String processId) { + return getProcessDumpWithServiceResponseAsync(resourceGroupName, name, processId).toBlocking().single().body(); } /** - * Get public certificates for an app or a deployment slot. - * Get public certificates for an app or a deployment slot. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name Site name. + * @param processId PID. * @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> listPublicCertificatesAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listPublicCertificatesSinglePageAsync(resourceGroupName, name), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listPublicCertificatesNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture getProcessDumpAsync(String resourceGroupName, String name, String processId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getProcessDumpWithServiceResponseAsync(resourceGroupName, name, processId), serviceCallback); } /** - * Get public certificates for an app or a deployment slot. - * Get public certificates for an app or a deployment slot. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<PublicCertificateInner> object + * @return the observable to the InputStream object */ - public Observable> listPublicCertificatesAsync(final String resourceGroupName, final String name) { - return listPublicCertificatesWithServiceResponseAsync(resourceGroupName, name) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable getProcessDumpAsync(String resourceGroupName, String name, String processId) { + return getProcessDumpWithServiceResponseAsync(resourceGroupName, name, processId).map(new Func1, InputStream>() { + @Override + public InputStream call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Get public certificates for an app or a deployment slot. - * Get public certificates for an app or a deployment slot. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. * * @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 to the PagedList<PublicCertificateInner> object - */ - public Observable>> listPublicCertificatesWithServiceResponseAsync(final String resourceGroupName, final String name) { - return listPublicCertificatesSinglePageAsync(resourceGroupName, name) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listPublicCertificatesNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<PublicCertificateInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the InputStream object */ - public Observable>> listPublicCertificatesSinglePageAsync(final String resourceGroupName, final String name) { + public Observable> getProcessDumpWithServiceResponseAsync(String resourceGroupName, String name, String processId) { 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 (processId == null) { + throw new IllegalArgumentException("Parameter processId 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.listPublicCertificates(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.getProcessDump(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listPublicCertificatesDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = getProcessDumpDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -16210,82 +16173,122 @@ 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) + 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); } /** - * Get the named public certificate for an app (or deployment slot, if specified). - * Get the named public certificate for an app (or deployment slot, if specified). + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PublicCertificateInner object if successful. + * @return the PagedList<ProcessModuleInfoInner> object if successful. */ - public PublicCertificateInner getPublicCertificate(String resourceGroupName, String name, String publicCertificateName) { - return getPublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName).toBlocking().single().body(); + public PagedList listProcessModules(final String resourceGroupName, final String name, final String processId) { + ServiceResponse> response = listProcessModulesSinglePageAsync(resourceGroupName, name, processId).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listProcessModulesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Get the named public certificate for an app (or deployment slot, if specified). - * Get the named public certificate for an app (or deployment slot, if specified). + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. + * @param name Site name. + * @param processId PID. * @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 getPublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getPublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName), serviceCallback); + public ServiceFuture> listProcessModulesAsync(final String resourceGroupName, final String name, final String processId, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listProcessModulesSinglePageAsync(resourceGroupName, name, processId), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listProcessModulesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Get the named public certificate for an app (or deployment slot, if specified). - * Get the named public certificate for an app (or deployment slot, if specified). + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PublicCertificateInner object + * @return the observable to the PagedList<ProcessModuleInfoInner> object */ - public Observable getPublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName) { - return getPublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName).map(new Func1, PublicCertificateInner>() { - @Override - public PublicCertificateInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listProcessModulesAsync(final String resourceGroupName, final String name, final String processId) { + return listProcessModulesWithServiceResponseAsync(resourceGroupName, name, processId) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Get the named public certificate for an app (or deployment slot, if specified). - * Get the named public certificate for an app (or deployment slot, if specified). + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PublicCertificateInner object + * @return the observable to the PagedList<ProcessModuleInfoInner> object */ - public Observable> getPublicCertificateWithServiceResponseAsync(String resourceGroupName, String name, String publicCertificateName) { + public Observable>> listProcessModulesWithServiceResponseAsync(final String resourceGroupName, final String name, final String processId) { + return listProcessModulesSinglePageAsync(resourceGroupName, name, processId) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listProcessModulesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listProcessModulesSinglePageAsync(final String resourceGroupName, final String name, final String processId) { 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 (publicCertificateName == null) { - throw new IllegalArgumentException("Parameter publicCertificateName is required and cannot be null."); + if (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); } if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); @@ -16293,13 +16296,13 @@ public Observable> getPublicCertificateW if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getPublicCertificate(resourceGroupName, name, publicCertificateName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listProcessModules(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = getPublicCertificateDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listProcessModulesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -16307,103 +16310,103 @@ 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) + private ServiceResponse> 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); } /** - * Creates a hostname binding for an app. - * Creates a hostname binding for an app. + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. - * @param publicCertificate Public certificate details. This is the JSON representation of a PublicCertificate object. + * @param name Site name. + * @param processId PID. + * @param baseAddress Module base address. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PublicCertificateInner object if successful. + * @return the ProcessModuleInfoInner object if successful. */ - public PublicCertificateInner createOrUpdatePublicCertificate(String resourceGroupName, String name, String publicCertificateName, PublicCertificateInner publicCertificate) { - return createOrUpdatePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName, publicCertificate).toBlocking().single().body(); + public ProcessModuleInfoInner getProcessModule(String resourceGroupName, String name, String processId, String baseAddress) { + return getProcessModuleWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress).toBlocking().single().body(); } /** - * Creates a hostname binding for an app. - * Creates a hostname binding for an app. + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. - * @param publicCertificate Public certificate details. This is the JSON representation of a PublicCertificate object. + * @param name Site name. + * @param processId PID. + * @param baseAddress Module base address. * @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 createOrUpdatePublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName, PublicCertificateInner publicCertificate, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createOrUpdatePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName, publicCertificate), serviceCallback); + public ServiceFuture getProcessModuleAsync(String resourceGroupName, String name, String processId, String baseAddress, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getProcessModuleWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress), serviceCallback); } /** - * Creates a hostname binding for an app. - * Creates a hostname binding for an app. + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. - * @param publicCertificate Public certificate details. This is the JSON representation of a PublicCertificate object. + * @param name Site name. + * @param processId PID. + * @param baseAddress Module base address. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PublicCertificateInner object + * @return the observable to the ProcessModuleInfoInner object */ - public Observable createOrUpdatePublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName, PublicCertificateInner publicCertificate) { - return createOrUpdatePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName, publicCertificate).map(new Func1, PublicCertificateInner>() { + public Observable getProcessModuleAsync(String resourceGroupName, String name, String processId, String baseAddress) { + return getProcessModuleWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress).map(new Func1, ProcessModuleInfoInner>() { @Override - public PublicCertificateInner call(ServiceResponse response) { + public ProcessModuleInfoInner call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a hostname binding for an app. - * Creates a hostname binding for an app. + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. - * @param publicCertificate Public certificate details. This is the JSON representation of a PublicCertificate object. + * @param name Site name. + * @param processId PID. + * @param baseAddress Module base address. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PublicCertificateInner object + * @return the observable to the ProcessModuleInfoInner object */ - public Observable> createOrUpdatePublicCertificateWithServiceResponseAsync(String resourceGroupName, String name, String publicCertificateName, PublicCertificateInner publicCertificate) { + public Observable> getProcessModuleWithServiceResponseAsync(String resourceGroupName, String name, String processId, String baseAddress) { 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 (publicCertificateName == null) { - throw new IllegalArgumentException("Parameter publicCertificateName is required and cannot be null."); + if (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + } + if (baseAddress == null) { + throw new IllegalArgumentException("Parameter baseAddress 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 (publicCertificate == null) { - throw new IllegalArgumentException("Parameter publicCertificate 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(publicCertificate); - return service.createOrUpdatePublicCertificate(resourceGroupName, name, publicCertificateName, this.client.subscriptionId(), publicCertificate, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getProcessModule(resourceGroupName, name, processId, baseAddress, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = createOrUpdatePublicCertificateDelegate(response); + ServiceResponse clientResponse = getProcessModuleDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -16412,81 +16415,122 @@ 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) + private ServiceResponse 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); } /** - * Deletes a hostname binding for an app. - * Deletes a hostname binding for an app. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<ProcessThreadInfoInner> object if successful. */ - public void deletePublicCertificate(String resourceGroupName, String name, String publicCertificateName) { - deletePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName).toBlocking().single().body(); + public PagedList listProcessThreads(final String resourceGroupName, final String name, final String processId) { + ServiceResponse> response = listProcessThreadsSinglePageAsync(resourceGroupName, name, processId).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listProcessThreadsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Deletes a hostname binding for an app. - * Deletes a hostname binding for an app. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. + * @param name Site name. + * @param processId PID. * @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 deletePublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deletePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName), serviceCallback); + public ServiceFuture> listProcessThreadsAsync(final String resourceGroupName, final String name, final String processId, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listProcessThreadsSinglePageAsync(resourceGroupName, name, processId), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listProcessThreadsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Deletes a hostname binding for an app. - * Deletes a hostname binding for an app. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<ProcessThreadInfoInner> object */ - public Observable deletePublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName) { - return deletePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listProcessThreadsAsync(final String resourceGroupName, final String name, final String processId) { + return listProcessThreadsWithServiceResponseAsync(resourceGroupName, name, processId) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Deletes a hostname binding for an app. - * Deletes a hostname binding for an app. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publicCertificateName Public certificate name. + * @param name Site name. + * @param processId PID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<ProcessThreadInfoInner> object */ - public Observable> deletePublicCertificateWithServiceResponseAsync(String resourceGroupName, String name, String publicCertificateName) { + public Observable>> listProcessThreadsWithServiceResponseAsync(final String resourceGroupName, final String name, final String processId) { + return listProcessThreadsSinglePageAsync(resourceGroupName, name, processId) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listProcessThreadsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listProcessThreadsSinglePageAsync(final String resourceGroupName, final String name, final String processId) { 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 (publicCertificateName == null) { - throw new IllegalArgumentException("Parameter publicCertificateName is required and cannot be null."); + if (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); } if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); @@ -16494,13 +16538,13 @@ public Observable> deletePublicCertificateWithServiceRespo if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.deletePublicCertificate(resourceGroupName, name, publicCertificateName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listProcessThreads(resourceGroupName, name, processId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = deletePublicCertificateDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listProcessThreadsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -16508,97 +16552,103 @@ 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()) + private ServiceResponse> 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); } /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. + * @param name Site name. + * @param processId PID. + * @param threadId TID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the InputStream object if successful. + * @return the ProcessThreadInfoInner object if successful. */ - public InputStream listPublishingProfileXmlWithSecrets(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { - return listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, publishingProfileOptions).toBlocking().single().body(); + public ProcessThreadInfoInner getProcessThread(String resourceGroupName, String name, String processId, String threadId) { + return getProcessThreadWithServiceResponseAsync(resourceGroupName, name, processId, threadId).toBlocking().single().body(); } /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. + * @param name Site name. + * @param processId PID. + * @param threadId TID. * @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 listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, publishingProfileOptions), serviceCallback); + public ServiceFuture getProcessThreadAsync(String resourceGroupName, String name, String processId, String threadId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getProcessThreadWithServiceResponseAsync(resourceGroupName, name, processId, threadId), serviceCallback); } /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. + * @param name Site name. + * @param processId PID. + * @param threadId TID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the ProcessThreadInfoInner object */ - public Observable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { - return listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, publishingProfileOptions).map(new Func1, InputStream>() { + public Observable getProcessThreadAsync(String resourceGroupName, String name, String processId, String threadId) { + return getProcessThreadWithServiceResponseAsync(resourceGroupName, name, processId, threadId).map(new Func1, ProcessThreadInfoInner>() { @Override - public InputStream call(ServiceResponse response) { + public ProcessThreadInfoInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the publishing profile for an app (or deployment slot, if specified). - * Gets the publishing profile for an app (or deployment slot, if specified). + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. + * @param name Site name. + * @param processId PID. + * @param threadId TID. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the ProcessThreadInfoInner object */ - public Observable> listPublishingProfileXmlWithSecretsWithServiceResponseAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { + public Observable> getProcessThreadWithServiceResponseAsync(String resourceGroupName, String name, String processId, String threadId) { 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 (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + } + if (threadId == null) { + throw new IllegalArgumentException("Parameter threadId 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 (publishingProfileOptions == null) { - throw new IllegalArgumentException("Parameter publishingProfileOptions 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(publishingProfileOptions); - return service.listPublishingProfileXmlWithSecrets(resourceGroupName, name, this.client.subscriptionId(), publishingProfileOptions, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getProcessThread(resourceGroupName, name, processId, threadId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listPublishingProfileXmlWithSecretsDelegate(response); + ServiceResponse clientResponse = getProcessThreadDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -16607,30 +16657,38 @@ 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) + private ServiceResponse 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); } /** - * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. - * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + * Get public certificates for an app or a deployment slot. + * Get public certificates for an app or a deployment slot. * * @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 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 PagedList<PublicCertificateInner> object if successful. */ - public void resetProductionSlotConfig(String resourceGroupName, String name) { - resetProductionSlotConfigWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + public PagedList listPublicCertificates(final String resourceGroupName, final String name) { + ServiceResponse> response = listPublicCertificatesSinglePageAsync(resourceGroupName, name).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listPublicCertificatesNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. - * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + * Get public certificates for an app or a deployment slot. + * Get public certificates for an app or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. @@ -16638,38 +16696,70 @@ public void resetProductionSlotConfig(String resourceGroupName, String name) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture resetProductionSlotConfigAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(resetProductionSlotConfigWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + public ServiceFuture> listPublicCertificatesAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listPublicCertificatesSinglePageAsync(resourceGroupName, name), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listPublicCertificatesNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. - * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + * Get public certificates for an app or a deployment slot. + * Get public certificates for an app or a deployment slot. * * @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. + * @return the observable to the PagedList<PublicCertificateInner> object */ - public Observable resetProductionSlotConfigAsync(String resourceGroupName, String name) { - return resetProductionSlotConfigWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listPublicCertificatesAsync(final String resourceGroupName, final String name) { + return listPublicCertificatesWithServiceResponseAsync(resourceGroupName, name) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. - * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + * Get public certificates for an app or a deployment slot. + * Get public certificates for an app or a deployment slot. * * @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. + * @return the observable to the PagedList<PublicCertificateInner> object */ - public Observable> resetProductionSlotConfigWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable>> listPublicCertificatesWithServiceResponseAsync(final String resourceGroupName, final String name) { + return listPublicCertificatesSinglePageAsync(resourceGroupName, name) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listPublicCertificatesNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<PublicCertificateInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listPublicCertificatesSinglePageAsync(final String resourceGroupName, final String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -16682,13 +16772,13 @@ public Observable> resetProductionSlotConfigWithServiceRes if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.resetProductionSlotConfig(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listPublicCertificates(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = resetProductionSlotConfigDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listPublicCertificatesDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -16696,89 +16786,95 @@ 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) + private ServiceResponse> 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); } /** - * Restarts an app (or deployment slot, if specified). - * Restarts an app (or deployment slot, if specified). + * Get the named public certificate for an app (or deployment slot, if specified). + * Get the named public certificate for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param publicCertificateName Public certificate name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 PublicCertificateInner object if successful. */ - public void restart(String resourceGroupName, String name) { - restartWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + public PublicCertificateInner getPublicCertificate(String resourceGroupName, String name, String publicCertificateName) { + return getPublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName).toBlocking().single().body(); } /** - * Restarts an app (or deployment slot, if specified). - * Restarts an app (or deployment slot, if specified). + * Get the named public certificate for an app (or deployment slot, if specified). + * Get the named public certificate for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param publicCertificateName Public certificate 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 restartAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restartWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + public ServiceFuture getPublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getPublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName), serviceCallback); } /** - * Restarts an app (or deployment slot, if specified). - * Restarts an app (or deployment slot, if specified). + * Get the named public certificate for an app (or deployment slot, if specified). + * Get the named public certificate for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param publicCertificateName Public certificate name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PublicCertificateInner object */ - public Observable restartAsync(String resourceGroupName, String name) { - return restartWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { + public Observable getPublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName) { + return getPublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName).map(new Func1, PublicCertificateInner>() { @Override - public Void call(ServiceResponse response) { + public PublicCertificateInner call(ServiceResponse response) { return response.body(); } }); } /** - * Restarts an app (or deployment slot, if specified). - * Restarts an app (or deployment slot, if specified). + * Get the named public certificate for an app (or deployment slot, if specified). + * Get the named public certificate for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. + * @param publicCertificateName Public certificate name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PublicCertificateInner object */ - public Observable> restartWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable> getPublicCertificateWithServiceResponseAsync(String resourceGroupName, String name, String publicCertificateName) { 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 (publicCertificateName == null) { + throw new IllegalArgumentException("Parameter publicCertificateName 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."); } - final Boolean softRestart = null; - final Boolean synchronous = null; - return service.restart(resourceGroupName, name, this.client.subscriptionId(), softRestart, synchronous, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getPublicCertificate(resourceGroupName, name, publicCertificateName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = restartDelegate(response); + ServiceResponse clientResponse = getPublicCertificateDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -16787,88 +16883,103 @@ public Observable> call(Response response) { }); } + private ServiceResponse 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); + } + /** - * Restarts an app (or deployment slot, if specified). - * Restarts an app (or deployment slot, if specified). + * Creates a hostname binding for an app. + * Creates a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param softRestart Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. - * @param synchronous Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + * @param publicCertificateName Public certificate name. + * @param publicCertificate Public certificate details. This is the JSON representation of a PublicCertificate object. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 PublicCertificateInner object if successful. */ - public void restart(String resourceGroupName, String name, Boolean softRestart, Boolean synchronous) { - restartWithServiceResponseAsync(resourceGroupName, name, softRestart, synchronous).toBlocking().single().body(); + public PublicCertificateInner createOrUpdatePublicCertificate(String resourceGroupName, String name, String publicCertificateName, PublicCertificateInner publicCertificate) { + return createOrUpdatePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName, publicCertificate).toBlocking().single().body(); } /** - * Restarts an app (or deployment slot, if specified). - * Restarts an app (or deployment slot, if specified). + * Creates a hostname binding for an app. + * Creates a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param softRestart Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. - * @param synchronous Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + * @param publicCertificateName Public certificate name. + * @param publicCertificate Public certificate details. This is the JSON representation of a PublicCertificate object. * @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 restartAsync(String resourceGroupName, String name, Boolean softRestart, Boolean synchronous, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restartWithServiceResponseAsync(resourceGroupName, name, softRestart, synchronous), serviceCallback); + public ServiceFuture createOrUpdatePublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName, PublicCertificateInner publicCertificate, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdatePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName, publicCertificate), serviceCallback); } /** - * Restarts an app (or deployment slot, if specified). - * Restarts an app (or deployment slot, if specified). + * Creates a hostname binding for an app. + * Creates a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param softRestart Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. - * @param synchronous Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + * @param publicCertificateName Public certificate name. + * @param publicCertificate Public certificate details. This is the JSON representation of a PublicCertificate object. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PublicCertificateInner object */ - public Observable restartAsync(String resourceGroupName, String name, Boolean softRestart, Boolean synchronous) { - return restartWithServiceResponseAsync(resourceGroupName, name, softRestart, synchronous).map(new Func1, Void>() { + public Observable createOrUpdatePublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName, PublicCertificateInner publicCertificate) { + return createOrUpdatePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName, publicCertificate).map(new Func1, PublicCertificateInner>() { @Override - public Void call(ServiceResponse response) { + public PublicCertificateInner call(ServiceResponse response) { return response.body(); } }); } /** - * Restarts an app (or deployment slot, if specified). - * Restarts an app (or deployment slot, if specified). + * Creates a hostname binding for an app. + * Creates a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param softRestart Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. - * @param synchronous Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + * @param publicCertificateName Public certificate name. + * @param publicCertificate Public certificate details. This is the JSON representation of a PublicCertificate object. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PublicCertificateInner object */ - public Observable> restartWithServiceResponseAsync(String resourceGroupName, String name, Boolean softRestart, Boolean synchronous) { + public Observable> createOrUpdatePublicCertificateWithServiceResponseAsync(String resourceGroupName, String name, String publicCertificateName, PublicCertificateInner publicCertificate) { 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) { + if (publicCertificateName == null) { + throw new IllegalArgumentException("Parameter publicCertificateName 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 (publicCertificate == null) { + throw new IllegalArgumentException("Parameter publicCertificate 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.restart(resourceGroupName, name, this.client.subscriptionId(), softRestart, synchronous, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(publicCertificate); + return service.createOrUpdatePublicCertificate(resourceGroupName, name, publicCertificateName, this.client.subscriptionId(), publicCertificate, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = restartDelegate(response); + ServiceResponse clientResponse = createOrUpdatePublicCertificateDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -16877,55 +16988,55 @@ 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) + private ServiceResponse 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); } /** - * Restores an app from a backup blob in Azure Storage. - * Restores an app from a backup blob in Azure Storage. + * Deletes a hostname binding for an app. + * Deletes a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param request Information on restore request . + * @param publicCertificateName Public certificate name. * @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 restoreFromBackupBlob(String resourceGroupName, String name, RestoreRequestInner request) { - restoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request).toBlocking().last().body(); + public void deletePublicCertificate(String resourceGroupName, String name, String publicCertificateName) { + deletePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName).toBlocking().single().body(); } /** - * Restores an app from a backup blob in Azure Storage. - * Restores an app from a backup blob in Azure Storage. + * Deletes a hostname binding for an app. + * Deletes a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param request Information on restore request . + * @param publicCertificateName Public certificate 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 restoreFromBackupBlobAsync(String resourceGroupName, String name, RestoreRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request), serviceCallback); + public ServiceFuture deletePublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deletePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName), serviceCallback); } /** - * Restores an app from a backup blob in Azure Storage. - * Restores an app from a backup blob in Azure Storage. + * Deletes a hostname binding for an app. + * Deletes a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param request Information on restore request . + * @param publicCertificateName Public certificate name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the {@link ServiceResponse} object if successful. */ - public Observable restoreFromBackupBlobAsync(String resourceGroupName, String name, RestoreRequestInner request) { - return restoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request).map(new Func1, Void>() { + public Observable deletePublicCertificateAsync(String resourceGroupName, String name, String publicCertificateName) { + return deletePublicCertificateWithServiceResponseAsync(resourceGroupName, name, publicCertificateName).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -16934,96 +17045,114 @@ public Void call(ServiceResponse response) { } /** - * Restores an app from a backup blob in Azure Storage. - * Restores an app from a backup blob in Azure Storage. + * Deletes a hostname binding for an app. + * Deletes a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param request Information on restore request . + * @param publicCertificateName Public certificate name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the {@link ServiceResponse} object if successful. */ - public Observable> restoreFromBackupBlobWithServiceResponseAsync(String resourceGroupName, String name, RestoreRequestInner request) { + public Observable> deletePublicCertificateWithServiceResponseAsync(String resourceGroupName, String name, String publicCertificateName) { 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 (publicCertificateName == null) { + throw new IllegalArgumentException("Parameter publicCertificateName 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 (request == null) { - throw new IllegalArgumentException("Parameter request 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(request); - Observable> observable = service.restoreFromBackupBlob(resourceGroupName, name, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + return service.deletePublicCertificate(resourceGroupName, name, publicCertificateName, 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 = deletePublicCertificateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); } /** - * Restores an app from a backup blob in Azure Storage. - * Restores an app from a backup blob in Azure Storage. + * Gets the publishing profile for an app (or deployment slot, if specified). + * Gets the publishing profile for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param request Information on restore request . + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 InputStream object if successful. */ - public void beginRestoreFromBackupBlob(String resourceGroupName, String name, RestoreRequestInner request) { - beginRestoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request).toBlocking().single().body(); + public InputStream listPublishingProfileXmlWithSecrets(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { + return listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, publishingProfileOptions).toBlocking().single().body(); } /** - * Restores an app from a backup blob in Azure Storage. - * Restores an app from a backup blob in Azure Storage. + * Gets the publishing profile for an app (or deployment slot, if specified). + * Gets the publishing profile for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param request Information on restore request . + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @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 beginRestoreFromBackupBlobAsync(String resourceGroupName, String name, RestoreRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginRestoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request), serviceCallback); + public ServiceFuture listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, publishingProfileOptions), serviceCallback); } /** - * Restores an app from a backup blob in Azure Storage. - * Restores an app from a backup blob in Azure Storage. + * Gets the publishing profile for an app (or deployment slot, if specified). + * Gets the publishing profile for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param request Information on restore request . + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the InputStream object */ - public Observable beginRestoreFromBackupBlobAsync(String resourceGroupName, String name, RestoreRequestInner request) { - return beginRestoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request).map(new Func1, Void>() { + public Observable listPublishingProfileXmlWithSecretsAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { + return listPublishingProfileXmlWithSecretsWithServiceResponseAsync(resourceGroupName, name, publishingProfileOptions).map(new Func1, InputStream>() { @Override - public Void call(ServiceResponse response) { + public InputStream call(ServiceResponse response) { return response.body(); } }); } /** - * Restores an app from a backup blob in Azure Storage. - * Restores an app from a backup blob in Azure Storage. + * Gets the publishing profile for an app (or deployment slot, if specified). + * Gets the publishing profile for an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param request Information on restore request . + * @param publishingProfileOptions Specifies publishingProfileOptions for publishing profile. For example, use {"format": "FileZilla3"} to get a FileZilla publishing profile. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the InputStream object */ - public Observable> beginRestoreFromBackupBlobWithServiceResponseAsync(String resourceGroupName, String name, RestoreRequestInner request) { + public Observable> listPublishingProfileXmlWithSecretsWithServiceResponseAsync(String resourceGroupName, String name, CsmPublishingProfileOptions publishingProfileOptions) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17033,19 +17162,19 @@ public Observable> beginRestoreFromBackupBlobWithServiceRe if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (request == null) { - throw new IllegalArgumentException("Parameter request is required and cannot be null."); + if (publishingProfileOptions == null) { + throw new IllegalArgumentException("Parameter publishingProfileOptions 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(request); - return service.beginRestoreFromBackupBlob(resourceGroupName, name, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(publishingProfileOptions); + return service.listPublishingProfileXmlWithSecrets(resourceGroupName, name, this.client.subscriptionId(), publishingProfileOptions, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = beginRestoreFromBackupBlobDelegate(response); + ServiceResponse clientResponse = listPublishingProfileXmlWithSecretsDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -17054,56 +17183,52 @@ 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) + 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); } /** - * Restores a deleted web app to this web app. - * Restores a deleted web app to this web app. + * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Deleted web app restore information. + * @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 restoreFromDeletedApp(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { - restoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest).toBlocking().last().body(); + public void resetProductionSlotConfig(String resourceGroupName, String name) { + resetProductionSlotConfigWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** - * Restores a deleted web app to this web app. - * Restores a deleted web app to this web app. + * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Deleted web app restore information. + * @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 restoreFromDeletedAppAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest), serviceCallback); + public ServiceFuture resetProductionSlotConfigAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(resetProductionSlotConfigWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Restores a deleted web app to this web app. - * Restores a deleted web app to this web app. + * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Deleted web app restore information. + * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the {@link ServiceResponse} object if successful. */ - public Observable restoreFromDeletedAppAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { - return restoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest).map(new Func1, Void>() { + public Observable resetProductionSlotConfigAsync(String resourceGroupName, String name) { + return resetProductionSlotConfigWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -17112,16 +17237,15 @@ public Void call(ServiceResponse response) { } /** - * Restores a deleted web app to this web app. - * Restores a deleted web app to this web app. + * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. + * Resets the configuration settings of the current slot if they were previously modified by calling the API with POST. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Deleted web app restore information. + * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the {@link ServiceResponse} object if successful. */ - public Observable> restoreFromDeletedAppWithServiceResponseAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { + public Observable> resetProductionSlotConfigWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17131,59 +17255,69 @@ public Observable> restoreFromDeletedAppWithServiceRespons if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (restoreRequest == null) { - throw new IllegalArgumentException("Parameter restoreRequest 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(restoreRequest); - Observable> observable = service.restoreFromDeletedApp(resourceGroupName, name, this.client.subscriptionId(), restoreRequest, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + return service.resetProductionSlotConfig(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 = resetProductionSlotConfigDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); } /** - * Restores a deleted web app to this web app. - * Restores a deleted web app to this web app. + * Restarts an app (or deployment slot, if specified). + * Restarts an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Deleted web app restore information. + * @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 beginRestoreFromDeletedApp(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { - beginRestoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest).toBlocking().single().body(); + public void restart(String resourceGroupName, String name) { + restartWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } /** - * Restores a deleted web app to this web app. - * Restores a deleted web app to this web app. + * Restarts an app (or deployment slot, if specified). + * Restarts an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Deleted web app restore information. + * @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 beginRestoreFromDeletedAppAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginRestoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest), serviceCallback); + public ServiceFuture restartAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restartWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } /** - * Restores a deleted web app to this web app. - * Restores a deleted web app to this web app. + * Restarts an app (or deployment slot, if specified). + * Restarts an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Deleted web app restore information. + * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable beginRestoreFromDeletedAppAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { - return beginRestoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest).map(new Func1, Void>() { + public Observable restartAsync(String resourceGroupName, String name) { + return restartWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -17192,16 +17326,15 @@ public Void call(ServiceResponse response) { } /** - * Restores a deleted web app to this web app. - * Restores a deleted web app to this web app. + * Restarts an app (or deployment slot, if specified). + * Restarts an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Deleted web app restore information. + * @param name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> beginRestoreFromDeletedAppWithServiceResponseAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { + public Observable> restartWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17211,19 +17344,107 @@ public Observable> beginRestoreFromDeletedAppWithServiceRe if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (restoreRequest == null) { - throw new IllegalArgumentException("Parameter restoreRequest is required and cannot be null."); + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + final Boolean softRestart = null; + final Boolean synchronous = null; + return service.restart(resourceGroupName, name, this.client.subscriptionId(), softRestart, synchronous, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = restartDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Restarts an app (or deployment slot, if specified). + * Restarts an app (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param softRestart Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. + * @param synchronous Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + * @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 restart(String resourceGroupName, String name, Boolean softRestart, Boolean synchronous) { + restartWithServiceResponseAsync(resourceGroupName, name, softRestart, synchronous).toBlocking().single().body(); + } + + /** + * Restarts an app (or deployment slot, if specified). + * Restarts an app (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param softRestart Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. + * @param synchronous Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + * @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 restartAsync(String resourceGroupName, String name, Boolean softRestart, Boolean synchronous, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restartWithServiceResponseAsync(resourceGroupName, name, softRestart, synchronous), serviceCallback); + } + + /** + * Restarts an app (or deployment slot, if specified). + * Restarts an app (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param softRestart Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. + * @param synchronous Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable restartAsync(String resourceGroupName, String name, Boolean softRestart, Boolean synchronous) { + return restartWithServiceResponseAsync(resourceGroupName, name, softRestart, synchronous).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Restarts an app (or deployment slot, if specified). + * Restarts an app (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param softRestart Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app. + * @param synchronous Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous). + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> restartWithServiceResponseAsync(String resourceGroupName, String name, Boolean softRestart, Boolean synchronous) { + 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."); } - Validator.validate(restoreRequest); - return service.beginRestoreFromDeletedApp(resourceGroupName, name, this.client.subscriptionId(), restoreRequest, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.restart(resourceGroupName, name, this.client.subscriptionId(), softRestart, synchronous, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = beginRestoreFromDeletedAppDelegate(response); + ServiceResponse clientResponse = restartDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -17232,56 +17453,55 @@ public Observable> call(Response response) { }); } - private ServiceResponse beginRestoreFromDeletedAppDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse restartDelegate(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); } /** - * Restores a web app from a snapshot. - * Restores a web app from a snapshot. + * Restores an app from a backup blob in Azure Storage. + * Restores an app from a backup blob in Azure Storage. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. + * @param name Name of the app. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - public void restoreSnapshot(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { - restoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest).toBlocking().last().body(); + public void restoreFromBackupBlob(String resourceGroupName, String name, RestoreRequestInner request) { + restoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request).toBlocking().last().body(); } /** - * Restores a web app from a snapshot. - * Restores a web app from a snapshot. + * Restores an app from a backup blob in Azure Storage. + * Restores an app from a backup blob in Azure Storage. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. + * @param name Name of the app. + * @param request Information on restore request . * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture restoreSnapshotAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest), serviceCallback); + public ServiceFuture restoreFromBackupBlobAsync(String resourceGroupName, String name, RestoreRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request), serviceCallback); } /** - * Restores a web app from a snapshot. - * Restores a web app from a snapshot. + * Restores an app from a backup blob in Azure Storage. + * Restores an app from a backup blob in Azure Storage. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. + * @param name Name of the app. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable restoreSnapshotAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { - return restoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest).map(new Func1, Void>() { + public Observable restoreFromBackupBlobAsync(String resourceGroupName, String name, RestoreRequestInner request) { + return restoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -17290,16 +17510,16 @@ public Void call(ServiceResponse response) { } /** - * Restores a web app from a snapshot. - * Restores a web app from a snapshot. + * Restores an app from a backup blob in Azure Storage. + * Restores an app from a backup blob in Azure Storage. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. + * @param name Name of the app. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> restoreSnapshotWithServiceResponseAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { + public Observable> restoreFromBackupBlobWithServiceResponseAsync(String resourceGroupName, String name, RestoreRequestInner request) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17309,59 +17529,59 @@ public Observable> restoreSnapshotWithServiceResponseAsync if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (restoreRequest == null) { - throw new IllegalArgumentException("Parameter restoreRequest is required and cannot be null."); + if (request == null) { + throw new IllegalArgumentException("Parameter request 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(restoreRequest); - Observable> observable = service.restoreSnapshot(resourceGroupName, name, this.client.subscriptionId(), restoreRequest, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + Validator.validate(request); + Observable> observable = service.restoreFromBackupBlob(resourceGroupName, name, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } /** - * Restores a web app from a snapshot. - * Restores a web app from a snapshot. + * Restores an app from a backup blob in Azure Storage. + * Restores an app from a backup blob in Azure Storage. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. + * @param name Name of the app. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent */ - public void beginRestoreSnapshot(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { - beginRestoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest).toBlocking().single().body(); + public void beginRestoreFromBackupBlob(String resourceGroupName, String name, RestoreRequestInner request) { + beginRestoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request).toBlocking().single().body(); } /** - * Restores a web app from a snapshot. - * Restores a web app from a snapshot. + * Restores an app from a backup blob in Azure Storage. + * Restores an app from a backup blob in Azure Storage. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. + * @param name Name of the app. + * @param request Information on restore request . * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginRestoreSnapshotAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginRestoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest), serviceCallback); + public ServiceFuture beginRestoreFromBackupBlobAsync(String resourceGroupName, String name, RestoreRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginRestoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request), serviceCallback); } /** - * Restores a web app from a snapshot. - * Restores a web app from a snapshot. + * Restores an app from a backup blob in Azure Storage. + * Restores an app from a backup blob in Azure Storage. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. + * @param name Name of the app. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable beginRestoreSnapshotAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { - return beginRestoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest).map(new Func1, Void>() { + public Observable beginRestoreFromBackupBlobAsync(String resourceGroupName, String name, RestoreRequestInner request) { + return beginRestoreFromBackupBlobWithServiceResponseAsync(resourceGroupName, name, request).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -17370,16 +17590,16 @@ public Void call(ServiceResponse response) { } /** - * Restores a web app from a snapshot. - * Restores a web app from a snapshot. + * Restores an app from a backup blob in Azure Storage. + * Restores an app from a backup blob in Azure Storage. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. + * @param name Name of the app. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> beginRestoreSnapshotWithServiceResponseAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { + public Observable> beginRestoreFromBackupBlobWithServiceResponseAsync(String resourceGroupName, String name, RestoreRequestInner request) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17389,19 +17609,19 @@ public Observable> beginRestoreSnapshotWithServiceResponse if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (restoreRequest == null) { - throw new IllegalArgumentException("Parameter restoreRequest is required and cannot be null."); + if (request == null) { + throw new IllegalArgumentException("Parameter request 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(restoreRequest); - return service.beginRestoreSnapshot(resourceGroupName, name, this.client.subscriptionId(), restoreRequest, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + Validator.validate(request); + return service.beginRestoreFromBackupBlob(resourceGroupName, name, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = beginRestoreSnapshotDelegate(response); + ServiceResponse clientResponse = beginRestoreFromBackupBlobDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -17410,7 +17630,7 @@ public Observable> call(Response response) { }); } - private ServiceResponse beginRestoreSnapshotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + 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()) @@ -17419,100 +17639,65 @@ private ServiceResponse beginRestoreSnapshotDelegate(Response listSiteExtensions(final String resourceGroupName, final String name) { - ServiceResponse> response = listSiteExtensionsSinglePageAsync(resourceGroupName, name).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listSiteExtensionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public void restoreFromDeletedApp(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { + restoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest).toBlocking().last().body(); } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. - * + * Restores a deleted web app to this web app. + * Restores a deleted web app to this web app. + * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. + * @param name Name of web app. + * @param restoreRequest Deleted web app restore information. * @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> listSiteExtensionsAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listSiteExtensionsSinglePageAsync(resourceGroupName, name), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listSiteExtensionsNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture restoreFromDeletedAppAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest), serviceCallback); } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Restores a deleted web app to this web app. + * Restores a deleted web app to this web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. + * @param name Name of web app. + * @param restoreRequest Deleted web app restore information. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteExtensionInfoInner> object + * @return the observable for the request */ - public Observable> listSiteExtensionsAsync(final String resourceGroupName, final String name) { - return listSiteExtensionsWithServiceResponseAsync(resourceGroupName, name) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable restoreFromDeletedAppAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { + return restoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Restores a deleted web app to this web app. + * Restores a deleted web app to this web 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 PagedList<SiteExtensionInfoInner> object - */ - public Observable>> listSiteExtensionsWithServiceResponseAsync(final String resourceGroupName, final String name) { - return listSiteExtensionsSinglePageAsync(resourceGroupName, name) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listSiteExtensionsNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param name Name of web app. + * @param restoreRequest Deleted web app restore information. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SiteExtensionInfoInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable for the request */ - public Observable>> listSiteExtensionsSinglePageAsync(final String resourceGroupName, final String name) { + public Observable> restoreFromDeletedAppWithServiceResponseAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -17522,113 +17707,99 @@ public Observable>> listSiteExtensi if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (restoreRequest == null) { + throw new IllegalArgumentException("Parameter restoreRequest 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.listSiteExtensions(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> result = listSiteExtensionsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse> 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); + Validator.validate(restoreRequest); + Observable> observable = service.restoreFromDeletedApp(resourceGroupName, name, this.client.subscriptionId(), restoreRequest, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } /** - * Get site extension information by its ID for a web site, or a deployment slot. - * Get site extension information by its ID for a web site, or a deployment slot. + * Restores a deleted web app to this web app. + * Restores a deleted web app to this web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Deleted web app restore information. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteExtensionInfoInner object if successful. */ - public SiteExtensionInfoInner getSiteExtension(String resourceGroupName, String name, String siteExtensionId) { - return getSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).toBlocking().single().body(); + public void beginRestoreFromDeletedApp(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { + beginRestoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest).toBlocking().single().body(); } /** - * Get site extension information by its ID for a web site, or a deployment slot. - * Get site extension information by its ID for a web site, or a deployment slot. + * Restores a deleted web app to this web app. + * Restores a deleted web app to this web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Deleted web app restore information. * @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 getSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId), serviceCallback); + public ServiceFuture beginRestoreFromDeletedAppAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginRestoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest), serviceCallback); } /** - * Get site extension information by its ID for a web site, or a deployment slot. - * Get site extension information by its ID for a web site, or a deployment slot. + * Restores a deleted web app to this web app. + * Restores a deleted web app to this web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Deleted web app restore information. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteExtensionInfoInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { - return getSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).map(new Func1, SiteExtensionInfoInner>() { + public Observable beginRestoreFromDeletedAppAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { + return beginRestoreFromDeletedAppWithServiceResponseAsync(resourceGroupName, name, restoreRequest).map(new Func1, Void>() { @Override - public SiteExtensionInfoInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Get site extension information by its ID for a web site, or a deployment slot. - * Get site extension information by its ID for a web site, or a deployment slot. + * Restores a deleted web app to this web app. + * Restores a deleted web app to this web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Deleted web app restore information. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteExtensionInfoInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getSiteExtensionWithServiceResponseAsync(String resourceGroupName, String name, String siteExtensionId) { + public Observable> beginRestoreFromDeletedAppWithServiceResponseAsync(String resourceGroupName, String name, DeletedAppRestoreRequest restoreRequest) { 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 (siteExtensionId == null) { - throw new IllegalArgumentException("Parameter siteExtensionId 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 (restoreRequest == null) { + throw new IllegalArgumentException("Parameter restoreRequest 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.getSiteExtension(resourceGroupName, name, siteExtensionId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(restoreRequest); + return service.beginRestoreFromDeletedApp(resourceGroupName, name, this.client.subscriptionId(), restoreRequest, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getSiteExtensionDelegate(response); + ServiceResponse clientResponse = beginRestoreFromDeletedAppDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -17637,235 +17808,136 @@ 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()) + 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); } /** - * Install site extension on a web site, or a deployment slot. - * Install site extension on a web site, or a deployment slot. + * Restores a web app from a snapshot. + * Restores a web app from a snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteExtensionInfoInner object if successful. */ - public SiteExtensionInfoInner installSiteExtension(String resourceGroupName, String name, String siteExtensionId) { - return installSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).toBlocking().last().body(); + public void restoreSnapshot(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { + restoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest).toBlocking().last().body(); } /** - * Install site extension on a web site, or a deployment slot. - * Install site extension on a web site, or a deployment slot. + * Restores a web app from a snapshot. + * Restores a web app from a snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. * @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 installSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(installSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId), serviceCallback); + public ServiceFuture restoreSnapshotAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest), serviceCallback); } /** - * Install site extension on a web site, or a deployment slot. - * Install site extension on a web site, or a deployment slot. + * Restores a web app from a snapshot. + * Restores a web app from a snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable installSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { - return installSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).map(new Func1, SiteExtensionInfoInner>() { + public Observable restoreSnapshotAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { + return restoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest).map(new Func1, Void>() { @Override - public SiteExtensionInfoInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Install site extension on a web site, or a deployment slot. - * Install site extension on a web site, or a deployment slot. + * Restores a web app from a snapshot. + * Restores a web app from a snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> installSiteExtensionWithServiceResponseAsync(String resourceGroupName, String name, String siteExtensionId) { + public Observable> restoreSnapshotWithServiceResponseAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { 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 (siteExtensionId == null) { - throw new IllegalArgumentException("Parameter siteExtensionId 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 (restoreRequest == null) { + throw new IllegalArgumentException("Parameter restoreRequest is required and cannot be null."); + } if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - Observable> observable = service.installSiteExtension(resourceGroupName, name, siteExtensionId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); + Validator.validate(restoreRequest); + Observable> observable = service.restoreSnapshot(resourceGroupName, name, this.client.subscriptionId(), restoreRequest, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } /** - * Install site extension on a web site, or a deployment slot. - * Install site extension on a web site, or a deployment slot. + * Restores a web app from a snapshot. + * Restores a web app from a snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteExtensionInfoInner object if successful. */ - public SiteExtensionInfoInner beginInstallSiteExtension(String resourceGroupName, String name, String siteExtensionId) { - return beginInstallSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).toBlocking().single().body(); + public void beginRestoreSnapshot(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { + beginRestoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest).toBlocking().single().body(); } /** - * Install site extension on a web site, or a deployment slot. - * Install site extension on a web site, or a deployment slot. + * Restores a web app from a snapshot. + * Restores a web app from a snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension 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 beginInstallSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginInstallSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId), serviceCallback); - } - - /** - * Install site extension on a web site, or a deployment slot. - * Install site extension on a web site, or a deployment slot. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteExtensionInfoInner object - */ - public Observable beginInstallSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { - return beginInstallSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).map(new Func1, SiteExtensionInfoInner>() { - @Override - public SiteExtensionInfoInner call(ServiceResponse response) { - return response.body(); - } - }); - } - - /** - * Install site extension on a web site, or a deployment slot. - * Install site extension on a web site, or a deployment slot. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteExtensionInfoInner object - */ - public Observable> beginInstallSiteExtensionWithServiceResponseAsync(String resourceGroupName, String name, String siteExtensionId) { - 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 (siteExtensionId == null) { - throw new IllegalArgumentException("Parameter siteExtensionId 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.beginInstallSiteExtension(resourceGroupName, name, siteExtensionId, 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 = beginInstallSiteExtensionDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse 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); - } - - /** - * Remove a site extension from a web site, or a deployment slot. - * Remove a site extension from a web site, or a deployment slot. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. - * @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 deleteSiteExtension(String resourceGroupName, String name, String siteExtensionId) { - deleteSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).toBlocking().single().body(); - } - - /** - * Remove a site extension from a web site, or a deployment slot. - * Remove a site extension from a web site, or a deployment slot. - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. * @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 deleteSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId), serviceCallback); + public ServiceFuture beginRestoreSnapshotAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginRestoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest), serviceCallback); } /** - * Remove a site extension from a web site, or a deployment slot. - * Remove a site extension from a web site, or a deployment slot. + * Restores a web app from a snapshot. + * Restores a web app from a snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable deleteSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { - return deleteSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).map(new Func1, Void>() { + public Observable beginRestoreSnapshotAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { + return beginRestoreSnapshotWithServiceResponseAsync(resourceGroupName, name, restoreRequest).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -17874,37 +17946,38 @@ public Void call(ServiceResponse response) { } /** - * Remove a site extension from a web site, or a deployment slot. - * Remove a site extension from a web site, or a deployment slot. + * Restores a web app from a snapshot. + * Restores a web app from a snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param siteExtensionId Site extension name. + * @param name Name of web app. + * @param restoreRequest Snapshot restore settings. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> deleteSiteExtensionWithServiceResponseAsync(String resourceGroupName, String name, String siteExtensionId) { + public Observable> beginRestoreSnapshotWithServiceResponseAsync(String resourceGroupName, String name, SnapshotRestoreRequest restoreRequest) { 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 (siteExtensionId == null) { - throw new IllegalArgumentException("Parameter siteExtensionId 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 (restoreRequest == null) { + throw new IllegalArgumentException("Parameter restoreRequest 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.deleteSiteExtension(resourceGroupName, name, siteExtensionId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + Validator.validate(restoreRequest); + return service.beginRestoreSnapshot(resourceGroupName, name, this.client.subscriptionId(), restoreRequest, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteSiteExtensionDelegate(response); + ServiceResponse clientResponse = beginRestoreSnapshotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -17913,109 +17986,109 @@ public Observable> call(Response response) { }); } - private ServiceResponse deleteSiteExtensionDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse beginRestoreSnapshotDelegate(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()) + .register(200, new TypeToken() { }.getType()) + .register(202, new TypeToken() { }.getType()) .registerError(CloudException.class) .build(response); } /** - * Gets an app's deployment slots. - * Gets an app's deployment slots. + * Get list of siteextensions for a web site, or a deployment slot. + * Get list of siteextensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SiteInner> object if successful. + * @return the PagedList<SiteExtensionInfoInner> object if successful. */ - public PagedList listSlots(final String resourceGroupName, final String name) { - ServiceResponse> response = listSlotsSinglePageAsync(resourceGroupName, name).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listSiteExtensions(final String resourceGroupName, final String name) { + ServiceResponse> response = listSiteExtensionsSinglePageAsync(resourceGroupName, name).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return listSlotsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + public Page nextPage(String nextPageLink) { + return listSiteExtensionsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; } /** - * Gets an app's deployment slots. - * Gets an app's deployment slots. + * Get list of siteextensions for a web site, or a deployment slot. + * Get list of siteextensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @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> listSlotsAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { + public ServiceFuture> listSiteExtensionsAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listSlotsSinglePageAsync(resourceGroupName, name), - new Func1>>>() { + listSiteExtensionsSinglePageAsync(resourceGroupName, name), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return listSlotsNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listSiteExtensionsNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * Gets an app's deployment slots. - * Gets an app's deployment slots. + * Get list of siteextensions for a web site, or a deployment slot. + * Get list of siteextensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteInner> object + * @return the observable to the PagedList<SiteExtensionInfoInner> object */ - public Observable> listSlotsAsync(final String resourceGroupName, final String name) { - return listSlotsWithServiceResponseAsync(resourceGroupName, name) - .map(new Func1>, Page>() { + public Observable> listSiteExtensionsAsync(final String resourceGroupName, final String name) { + return listSiteExtensionsWithServiceResponseAsync(resourceGroupName, name) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * Gets an app's deployment slots. - * Gets an app's deployment slots. + * Get list of siteextensions for a web site, or a deployment slot. + * Get list of siteextensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. + * @param name Site name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteInner> object + * @return the observable to the PagedList<SiteExtensionInfoInner> object */ - public Observable>> listSlotsWithServiceResponseAsync(final String resourceGroupName, final String name) { - return listSlotsSinglePageAsync(resourceGroupName, name) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listSiteExtensionsWithServiceResponseAsync(final String resourceGroupName, final String name) { + return listSiteExtensionsSinglePageAsync(resourceGroupName, name) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(listSlotsNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listSiteExtensionsNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * Gets an app's deployment slots. - * Gets an app's deployment slots. + * 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 Name of the app. + 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<SiteInner> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<SiteExtensionInfoInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listSlotsSinglePageAsync(final String resourceGroupName, final String name) { + public Observable>> listSiteExtensionsSinglePageAsync(final String resourceGroupName, final String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -18028,13 +18101,13 @@ public Observable>> listSlotsSinglePageAsync(fin if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listSlots(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listSiteExtensions(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listSlotsDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listSiteExtensionsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -18042,82 +18115,83 @@ 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) + private ServiceResponse> 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); } /** - * Gets the details of a web, mobile, or API app. - * Gets the details of a web, mobile, or API app. + * Get site extension information by its ID for a web site, or a deployment slot. + * Get site extension information by its ID for a web site, or a deployment slot. * * @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. By default, this API returns the production slot. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteInner object if successful. + * @return the SiteExtensionInfoInner object if successful. */ - public SiteInner getSlot(String resourceGroupName, String name, String slot) { - return getSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public SiteExtensionInfoInner getSiteExtension(String resourceGroupName, String name, String siteExtensionId) { + return getSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).toBlocking().single().body(); } /** - * Gets the details of a web, mobile, or API app. - * Gets the details of a web, mobile, or API app. + * Get site extension information by its ID for a web site, or a deployment slot. + * Get site extension information by its ID for a web site, or a deployment slot. * * @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. By default, this API returns the production slot. + * @param name Site name. + * @param siteExtensionId Site extension 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 getSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture getSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId), serviceCallback); } /** - * Gets the details of a web, mobile, or API app. - * Gets the details of a web, mobile, or API app. + * Get site extension information by its ID for a web site, or a deployment slot. + * Get site extension information by its ID for a web site, or a deployment slot. * * @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. By default, this API returns the production slot. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteInner object + * @return the observable to the SiteExtensionInfoInner object */ - public Observable getSlotAsync(String resourceGroupName, String name, String slot) { - return getSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteInner>() { + public Observable getSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { + return getSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).map(new Func1, SiteExtensionInfoInner>() { @Override - public SiteInner call(ServiceResponse response) { + public SiteExtensionInfoInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the details of a web, mobile, or API app. - * Gets the details of a web, mobile, or API app. + * Get site extension information by its ID for a web site, or a deployment slot. + * Get site extension information by its ID for a web site, or a deployment slot. * * @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. By default, this API returns the production slot. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteInner object + * @return the observable to the SiteExtensionInfoInner object */ - public Observable> getSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> getSiteExtensionWithServiceResponseAsync(String resourceGroupName, String name, String siteExtensionId) { 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 (siteExtensionId == null) { + throw new IllegalArgumentException("Parameter siteExtensionId is required and cannot be null."); } if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); @@ -18125,12 +18199,12 @@ public Observable> getSlotWithServiceResponseAsync(St if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getSiteExtension(resourceGroupName, name, siteExtensionId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getSlotDelegate(response); + ServiceResponse clientResponse = getSiteExtensionDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -18139,192 +18213,176 @@ 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()) + private ServiceResponse 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); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Install site extension on a web site, or a deployment slot. + * Install site extension on a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteInner object if successful. + * @return the SiteExtensionInfoInner object if successful. */ - public SiteInner createOrUpdateSlot(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { - return createOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).toBlocking().last().body(); + public SiteExtensionInfoInner installSiteExtension(String resourceGroupName, String name, String siteExtensionId) { + return installSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).toBlocking().last().body(); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Install site extension on a web site, or a deployment slot. + * Install site extension on a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Site name. + * @param siteExtensionId Site extension 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 createOrUpdateSlotAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope), serviceCallback); + public ServiceFuture installSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(installSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId), serviceCallback); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Install site extension on a web site, or a deployment slot. + * Install site extension on a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable createOrUpdateSlotAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { - return createOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).map(new Func1, SiteInner>() { + public Observable installSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { + return installSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).map(new Func1, SiteExtensionInfoInner>() { @Override - public SiteInner call(ServiceResponse response) { + public SiteExtensionInfoInner call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Install site extension on a web site, or a deployment slot. + * Install site extension on a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> createOrUpdateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { + public Observable> installSiteExtensionWithServiceResponseAsync(String resourceGroupName, String name, String siteExtensionId) { 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 (siteExtensionId == null) { + throw new IllegalArgumentException("Parameter siteExtensionId 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 (siteEnvelope == null) { - throw new IllegalArgumentException("Parameter siteEnvelope 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(siteEnvelope); - Observable> observable = service.createOrUpdateSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); + Observable> observable = service.installSiteExtension(resourceGroupName, name, siteExtensionId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Install site extension on a web site, or a deployment slot. + * Install site extension on a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteInner object if successful. + * @return the SiteExtensionInfoInner object if successful. */ - public SiteInner beginCreateOrUpdateSlot(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { - return beginCreateOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).toBlocking().single().body(); + public SiteExtensionInfoInner beginInstallSiteExtension(String resourceGroupName, String name, String siteExtensionId) { + return beginInstallSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).toBlocking().single().body(); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Install site extension on a web site, or a deployment slot. + * Install site extension on a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Site name. + * @param siteExtensionId Site extension 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 beginCreateOrUpdateSlotAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginCreateOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope), serviceCallback); + public ServiceFuture beginInstallSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginInstallSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId), serviceCallback); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Install site extension on a web site, or a deployment slot. + * Install site extension on a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteInner object + * @return the observable to the SiteExtensionInfoInner object */ - public Observable beginCreateOrUpdateSlotAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { - return beginCreateOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).map(new Func1, SiteInner>() { + public Observable beginInstallSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { + return beginInstallSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).map(new Func1, SiteExtensionInfoInner>() { @Override - public SiteInner call(ServiceResponse response) { + public SiteExtensionInfoInner call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Install site extension on a web site, or a deployment slot. + * Install site extension on a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteInner object + * @return the observable to the SiteExtensionInfoInner object */ - public Observable> beginCreateOrUpdateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { + public Observable> beginInstallSiteExtensionWithServiceResponseAsync(String resourceGroupName, String name, String siteExtensionId) { 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 (siteExtensionId == null) { + throw new IllegalArgumentException("Parameter siteExtensionId 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 (siteEnvelope == null) { - throw new IllegalArgumentException("Parameter siteEnvelope 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(siteEnvelope); - return service.beginCreateOrUpdateSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.beginInstallSiteExtension(resourceGroupName, name, siteExtensionId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = beginCreateOrUpdateSlotDelegate(response); + ServiceResponse clientResponse = beginInstallSiteExtensionDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -18333,56 +18391,57 @@ 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) + private ServiceResponse 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); } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Remove a site extension from a web site, or a deployment slot. + * Remove a site extension from a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app to delete. - * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. + * @param name Site name. + * @param siteExtensionId Site extension name. * @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 deleteSlot(String resourceGroupName, String name, String slot) { - deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public void deleteSiteExtension(String resourceGroupName, String name, String siteExtensionId) { + deleteSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).toBlocking().single().body(); } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Remove a site extension from a web site, or a deployment slot. + * Remove a site extension from a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app to delete. - * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. + * @param name Site name. + * @param siteExtensionId Site extension 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 deleteSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture deleteSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId), serviceCallback); } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Remove a site extension from a web site, or a deployment slot. + * Remove a site extension from a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app to delete. - * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable deleteSlotAsync(String resourceGroupName, String name, String slot) { - return deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { + public Observable deleteSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId) { + return deleteSiteExtensionWithServiceResponseAsync(resourceGroupName, name, siteExtensionId).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -18391,24 +18450,24 @@ public Void call(ServiceResponse response) { } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Remove a site extension from a web site, or a deployment slot. + * Remove a site extension from a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app to delete. - * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. + * @param name Site name. + * @param siteExtensionId Site extension name. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> deleteSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> deleteSiteExtensionWithServiceResponseAsync(String resourceGroupName, String name, String siteExtensionId) { 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 (siteExtensionId == null) { + throw new IllegalArgumentException("Parameter siteExtensionId is required and cannot be null."); } if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); @@ -18416,14 +18475,12 @@ public Observable> deleteSlotWithServiceResponseAsync(Stri if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - final Boolean deleteMetrics = null; - final Boolean deleteEmptyServerFarm = null; - return service.deleteSlot(resourceGroupName, name, slot, this.client.subscriptionId(), deleteMetrics, deleteEmptyServerFarm, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.deleteSiteExtension(resourceGroupName, name, siteExtensionId, 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 = deleteSlotDelegate(response); + ServiceResponse clientResponse = deleteSiteExtensionDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -18432,96 +18489,128 @@ 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); + } + /** - * Deletes a web, mobile, or API app, or one of the deployment slots. - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Gets an app's deployment slots. + * Gets an app's deployment slots. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app to delete. - * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. - * @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 name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 PagedList<SiteInner> object if successful. */ - public void deleteSlot(String resourceGroupName, String name, String slot, Boolean deleteMetrics, Boolean deleteEmptyServerFarm) { - deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot, deleteMetrics, deleteEmptyServerFarm).toBlocking().single().body(); + public PagedList listSlots(final String resourceGroupName, final String name) { + ServiceResponse> response = listSlotsSinglePageAsync(resourceGroupName, name).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSlotsNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Gets an app's deployment slots. + * Gets an app's deployment slots. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app to delete. - * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. - * @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 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 deleteSlotAsync(String resourceGroupName, String name, String slot, Boolean deleteMetrics, Boolean deleteEmptyServerFarm, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot, deleteMetrics, deleteEmptyServerFarm), serviceCallback); + public ServiceFuture> listSlotsAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSlotsSinglePageAsync(resourceGroupName, name), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSlotsNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Gets an app's deployment slots. + * Gets an app's deployment slots. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app to delete. - * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. - * @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 name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<SiteInner> object */ - public Observable deleteSlotAsync(String resourceGroupName, String name, String slot, Boolean deleteMetrics, Boolean deleteEmptyServerFarm) { - return deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot, deleteMetrics, deleteEmptyServerFarm).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listSlotsAsync(final String resourceGroupName, final String name) { + return listSlotsWithServiceResponseAsync(resourceGroupName, name) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Deletes a web, mobile, or API app, or one of the deployment slots. - * Deletes a web, mobile, or API app, or one of the deployment slots. + * Gets an app's deployment slots. + * Gets an app's deployment slots. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app to delete. - * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. - * @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 name Name of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<SiteInner> object */ - public Observable> deleteSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Boolean deleteMetrics, Boolean deleteEmptyServerFarm) { + public Observable>> listSlotsWithServiceResponseAsync(final String resourceGroupName, final String name) { + return listSlotsSinglePageAsync(resourceGroupName, name) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSlotsNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets an app's deployment slots. + * Gets an app's deployment slots. + * + 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. + */ + public Observable>> listSlotsSinglePageAsync(final String resourceGroupName, final 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 (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.deleteSlot(resourceGroupName, name, slot, this.client.subscriptionId(), deleteMetrics, deleteEmptyServerFarm, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listSlots(resourceGroupName, name, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = deleteSlotDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listSlotsDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -18529,61 +18618,56 @@ 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) + 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); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Gets the details of a web, mobile, or API app. + * Gets the details of a web, mobile, or API app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Name of the app. + * @param slot Name of the deployment slot. By default, this API returns the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent * @return the SiteInner object if successful. */ - public SiteInner updateSlot(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { - return updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).toBlocking().single().body(); + public SiteInner getSlot(String resourceGroupName, String name, String slot) { + return getSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Gets the details of a web, mobile, or API app. + * Gets the details of a web, mobile, or API app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Name of the app. + * @param slot Name of the deployment slot. By default, this API returns the production 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 updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope), serviceCallback); + public ServiceFuture getSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Gets the details of a web, mobile, or API app. + * Gets the details of a web, mobile, or API app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Name of the app. + * @param slot Name of the deployment slot. By default, this API returns the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteInner object */ - public Observable updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { - return updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).map(new Func1, SiteInner>() { + public Observable getSlotAsync(String resourceGroupName, String name, String slot) { + return getSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteInner>() { @Override public SiteInner call(ServiceResponse response) { return response.body(); @@ -18592,17 +18676,16 @@ public SiteInner call(ServiceResponse response) { } /** - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. - * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Gets the details of a web, mobile, or API app. + * Gets the details of a web, mobile, or API app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. - * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. - * @param siteEnvelope A JSON representation of the app properties. See example. + * @param name Name of the app. + * @param slot Name of the deployment slot. By default, this API returns the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the SiteInner object */ - public Observable> updateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { + public Observable> getSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -18615,19 +18698,15 @@ public Observable> updateSlotWithServiceResponseAsync if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (siteEnvelope == null) { - throw new IllegalArgumentException("Parameter siteEnvelope 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(siteEnvelope); - return service.updateSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.getSlot(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 = updateSlotDelegate(response); + ServiceResponse clientResponse = getSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -18636,75 +18715,79 @@ public Observable> call(Response respon }); } - private ServiceResponse updateSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + private ServiceResponse getSlotDelegate(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(DefaultErrorResponseException.class) + .register(404, new TypeToken() { }.getType()) + .registerError(CloudException.class) .build(response); } /** - * Analyze a custom hostname. - * Analyze a custom hostname. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @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 CustomHostnameAnalysisResultInner object if successful. + * @return the SiteInner object if successful. */ - public CustomHostnameAnalysisResultInner analyzeCustomHostnameSlot(String resourceGroupName, String name, String slot) { - return analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public SiteInner createOrUpdateSlot(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { + return createOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).toBlocking().last().body(); } /** - * Analyze a custom hostname. - * Analyze a custom hostname. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @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 analyzeCustomHostnameSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture createOrUpdateSlotAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope), serviceCallback); } /** - * Analyze a custom hostname. - * Analyze a custom hostname. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CustomHostnameAnalysisResultInner object + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request */ - public Observable analyzeCustomHostnameSlotAsync(String resourceGroupName, String name, String slot) { - return analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, CustomHostnameAnalysisResultInner>() { + public Observable createOrUpdateSlotAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { + return createOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).map(new Func1, SiteInner>() { @Override - public CustomHostnameAnalysisResultInner call(ServiceResponse response) { + public SiteInner call(ServiceResponse response) { return response.body(); } }); } /** - * Analyze a custom hostname. - * Analyze a custom hostname. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CustomHostnameAnalysisResultInner object + * @return the observable for the request */ - public Observable> analyzeCustomHostnameSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> createOrUpdateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -18717,89 +18800,82 @@ public Observable> analyzeCus if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (siteEnvelope == null) { + throw new IllegalArgumentException("Parameter siteEnvelope is required and cannot be null."); + } if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - final String hostName = null; - return service.analyzeCustomHostnameSlot(resourceGroupName, name, slot, this.client.subscriptionId(), hostName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = analyzeCustomHostnameSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); + Validator.validate(siteEnvelope); + Observable> observable = service.createOrUpdateSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); } /** - * Analyze a custom hostname. - * Analyze a custom hostname. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param hostName Custom hostname. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @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 CustomHostnameAnalysisResultInner object if successful. + * @return the SiteInner object if successful. */ - public CustomHostnameAnalysisResultInner analyzeCustomHostnameSlot(String resourceGroupName, String name, String slot, String hostName) { - return analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).toBlocking().single().body(); + public SiteInner beginCreateOrUpdateSlot(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { + return beginCreateOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).toBlocking().single().body(); } /** - * Analyze a custom hostname. - * Analyze a custom hostname. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param hostName Custom hostname. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @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 analyzeCustomHostnameSlotAsync(String resourceGroupName, String name, String slot, String hostName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName), serviceCallback); + public ServiceFuture beginCreateOrUpdateSlotAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginCreateOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope), serviceCallback); } /** - * Analyze a custom hostname. - * Analyze a custom hostname. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param hostName Custom hostname. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CustomHostnameAnalysisResultInner object + * @return the observable to the SiteInner object */ - public Observable analyzeCustomHostnameSlotAsync(String resourceGroupName, String name, String slot, String hostName) { - return analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).map(new Func1, CustomHostnameAnalysisResultInner>() { + public Observable beginCreateOrUpdateSlotAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { + return beginCreateOrUpdateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).map(new Func1, SiteInner>() { @Override - public CustomHostnameAnalysisResultInner call(ServiceResponse response) { + public SiteInner call(ServiceResponse response) { return response.body(); } }); } /** - * Analyze a custom hostname. - * Analyze a custom hostname. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param hostName Custom hostname. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the CustomHostnameAnalysisResultInner object + * @return the observable to the SiteInner object */ - public Observable> analyzeCustomHostnameSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String hostName) { + public Observable> beginCreateOrUpdateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteInner siteEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -18812,15 +18888,19 @@ public Observable> analyzeCus if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (siteEnvelope == null) { + throw new IllegalArgumentException("Parameter siteEnvelope 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.analyzeCustomHostnameSlot(resourceGroupName, name, slot, this.client.subscriptionId(), hostName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(siteEnvelope); + return service.beginCreateOrUpdateSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = analyzeCustomHostnameSlotDelegate(response); + ServiceResponse clientResponse = beginCreateOrUpdateSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -18829,58 +18909,56 @@ 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()) + 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); } /** - * Applies the configuration settings from the target slot onto the current slot. - * Applies the configuration settings from the target slot onto the current slot. + * Deletes a web, mobile, or API app, or one of the deployment slots. + * Deletes a web, mobile, or API app, or one of the deployment slots. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. - * @param slotSwapEntity JSON object that contains the target slot name. See example. + * @param name Name of the app to delete. + * @param slot Name of the deployment slot to delete. By default, the API deletes the production 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 applySlotConfigurationSlot(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { - applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).toBlocking().single().body(); + public void deleteSlot(String resourceGroupName, String name, String slot) { + deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Applies the configuration settings from the target slot onto the current slot. - * Applies the configuration settings from the target slot onto the current slot. + * Deletes a web, mobile, or API app, or one of the deployment slots. + * Deletes a web, mobile, or API app, or one of the deployment slots. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. - * @param slotSwapEntity JSON object that contains the target slot name. See example. + * @param name Name of the app to delete. + * @param slot Name of the deployment slot to delete. By default, the API deletes the production 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 applySlotConfigurationSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity), serviceCallback); + public ServiceFuture deleteSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Applies the configuration settings from the target slot onto the current slot. - * Applies the configuration settings from the target slot onto the current slot. + * Deletes a web, mobile, or API app, or one of the deployment slots. + * Deletes a web, mobile, or API app, or one of the deployment slots. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. - * @param slotSwapEntity JSON object that contains the target slot name. See example. + * @param name Name of the app to delete. + * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable applySlotConfigurationSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { - return applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).map(new Func1, Void>() { + public Observable deleteSlotAsync(String resourceGroupName, String name, String slot) { + return deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -18889,17 +18967,16 @@ public Void call(ServiceResponse response) { } /** - * Applies the configuration settings from the target slot onto the current slot. - * Applies the configuration settings from the target slot onto the current slot. + * Deletes a web, mobile, or API app, or one of the deployment slots. + * Deletes a web, mobile, or API app, or one of the deployment slots. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. - * @param slotSwapEntity JSON object that contains the target slot name. See example. + * @param name Name of the app to delete. + * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> applySlotConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { + public Observable> deleteSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -18912,19 +18989,17 @@ public Observable> applySlotConfigurationSlotWithServiceRe if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (slotSwapEntity == null) { - throw new IllegalArgumentException("Parameter slotSwapEntity 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(slotSwapEntity); - return service.applySlotConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), slotSwapEntity, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + final Boolean deleteMetrics = null; + final Boolean deleteEmptyServerFarm = null; + return service.deleteSlot(resourceGroupName, name, slot, this.client.subscriptionId(), deleteMetrics, deleteEmptyServerFarm, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) .flatMap(new Func1, Observable>>() { @Override public Observable> call(Response response) { try { - ServiceResponse clientResponse = applySlotConfigurationSlotDelegate(response); + ServiceResponse clientResponse = deleteSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -18933,78 +19008,74 @@ 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); - } - /** - * Creates a backup of an app. - * Creates a backup of an app. + * Deletes a web, mobile, or API app, or one of the deployment slots. + * Deletes a web, mobile, or API app, or one of the deployment slots. * * @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 create a backup for the production slot. - * @param request Backup configuration. You can use the JSON response from the POST action as input here. + * @param name Name of the app to delete. + * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupItemInner object if successful. */ - public BackupItemInner backupSlot(String resourceGroupName, String name, String slot, BackupRequestInner request) { - return backupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).toBlocking().single().body(); + public void deleteSlot(String resourceGroupName, String name, String slot, Boolean deleteMetrics, Boolean deleteEmptyServerFarm) { + deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot, deleteMetrics, deleteEmptyServerFarm).toBlocking().single().body(); } /** - * Creates a backup of an app. - * Creates a backup of an app. + * Deletes a web, mobile, or API app, or one of the deployment slots. + * Deletes a web, mobile, or API app, or one of the deployment slots. * * @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 create a backup for the production slot. - * @param request Backup configuration. You can use the JSON response from the POST action as input here. + * @param name Name of the app to delete. + * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. + * @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 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 backupSlotAsync(String resourceGroupName, String name, String slot, BackupRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(backupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request), serviceCallback); + public ServiceFuture deleteSlotAsync(String resourceGroupName, String name, String slot, Boolean deleteMetrics, Boolean deleteEmptyServerFarm, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot, deleteMetrics, deleteEmptyServerFarm), serviceCallback); } /** - * Creates a backup of an app. - * Creates a backup of an app. + * Deletes a web, mobile, or API app, or one of the deployment slots. + * Deletes a web, mobile, or API app, or one of the deployment slots. * * @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 create a backup for the production slot. - * @param request Backup configuration. You can use the JSON response from the POST action as input here. + * @param name Name of the app to delete. + * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupItemInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable backupSlotAsync(String resourceGroupName, String name, String slot, BackupRequestInner request) { - return backupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).map(new Func1, BackupItemInner>() { + public Observable deleteSlotAsync(String resourceGroupName, String name, String slot, Boolean deleteMetrics, Boolean deleteEmptyServerFarm) { + return deleteSlotWithServiceResponseAsync(resourceGroupName, name, slot, deleteMetrics, deleteEmptyServerFarm).map(new Func1, Void>() { @Override - public BackupItemInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a backup of an app. - * Creates a backup of an app. + * Deletes a web, mobile, or API app, or one of the deployment slots. + * Deletes a web, mobile, or API app, or one of the deployment slots. * * @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 create a backup for the production slot. - * @param request Backup configuration. You can use the JSON response from the POST action as input here. + * @param name Name of the app to delete. + * @param slot Name of the deployment slot to delete. By default, the API deletes the production slot. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupItemInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> backupSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, BackupRequestInner request) { + public Observable> deleteSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Boolean deleteMetrics, Boolean deleteEmptyServerFarm) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -19017,19 +19088,15 @@ public Observable> backupSlotWithServiceRespons if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (request == null) { - throw new IllegalArgumentException("Parameter request 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(request); - return service.backupSlot(resourceGroupName, name, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteSlot(resourceGroupName, name, slot, this.client.subscriptionId(), deleteMetrics, deleteEmptyServerFarm, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = backupSlotDelegate(response); + ServiceResponse clientResponse = deleteSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -19038,113 +19105,80 @@ 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) + 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); } /** - * Gets existing backups of an app. - * Gets existing backups of an app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @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 get backups of the production slot. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @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 PagedList<BackupItemInner> object if successful. + * @return the SiteInner object if successful. */ - public PagedList listBackupsSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listBackupsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listBackupsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public SiteInner updateSlot(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { + return updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).toBlocking().single().body(); } /** - * Gets existing backups of an app. - * Gets existing backups of an app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @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 get backups of the production slot. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @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> listBackupsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listBackupsSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listBackupsSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope), serviceCallback); } /** - * Gets existing backups of an app. - * Gets existing backups of an app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @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 get backups of the production slot. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<BackupItemInner> object + * @return the observable to the SiteInner object */ - public Observable> listBackupsSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listBackupsSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable updateSlotAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { + return updateSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteEnvelope).map(new Func1, SiteInner>() { + @Override + public SiteInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Gets existing backups of an app. - * Gets existing backups of an app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. + * Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. * * @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 get backups of the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<BackupItemInner> object - */ - public Observable>> listBackupsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listBackupsSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listBackupsSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * Gets existing backups of an app. - * Gets existing backups 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 get backups of the production slot. + * @param name Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter. + * @param slot Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot. + * @param siteEnvelope A JSON representation of the app properties. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<BackupItemInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the SiteInner object */ - public Observable>> listBackupsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> updateSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SitePatchResource siteEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -19157,16 +19191,20 @@ public Observable>> listBackupsSlotSingleP if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (siteEnvelope == null) { + throw new IllegalArgumentException("Parameter siteEnvelope 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.listBackupsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + Validator.validate(siteEnvelope); + return service.updateSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listBackupsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = updateSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -19174,87 +19212,81 @@ 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()) + 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); } /** - * Gets a backup of an app by its ID. - * Gets a backup of an app by its ID. + * Analyze a custom hostname. + * Analyze a custom hostname. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 BackupItemInner object if successful. + * @return the CustomHostnameAnalysisResultInner object if successful. */ - public BackupItemInner getBackupStatusSlot(String resourceGroupName, String name, String backupId, String slot) { - return getBackupStatusSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot).toBlocking().single().body(); + public CustomHostnameAnalysisResultInner analyzeCustomHostnameSlot(String resourceGroupName, String name, String slot) { + return analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets a backup of an app by its ID. - * Gets a backup of an app by its ID. + * Analyze a custom hostname. + * Analyze a custom hostname. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 getBackupStatusSlotAsync(String resourceGroupName, String name, String backupId, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getBackupStatusSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot), serviceCallback); + public ServiceFuture analyzeCustomHostnameSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets a backup of an app by its ID. - * Gets a backup of an app by its ID. + * Analyze a custom hostname. + * Analyze a custom hostname. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupItemInner object + * @return the observable to the CustomHostnameAnalysisResultInner object */ - public Observable getBackupStatusSlotAsync(String resourceGroupName, String name, String backupId, String slot) { - return getBackupStatusSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot).map(new Func1, BackupItemInner>() { + public Observable analyzeCustomHostnameSlotAsync(String resourceGroupName, String name, String slot) { + return analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, CustomHostnameAnalysisResultInner>() { @Override - public BackupItemInner call(ServiceResponse response) { + public CustomHostnameAnalysisResultInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets a backup of an app by its ID. - * Gets a backup of an app by its ID. + * Analyze a custom hostname. + * Analyze a custom hostname. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupItemInner object + * @return the observable to the CustomHostnameAnalysisResultInner object */ - public Observable> getBackupStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, String slot) { + public Observable> analyzeCustomHostnameSlotWithServiceResponseAsync(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 (backupId == null) { - throw new IllegalArgumentException("Parameter backupId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -19264,12 +19296,13 @@ public Observable> getBackupStatusSlotWithServi if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getBackupStatusSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + final String hostName = null; + return service.analyzeCustomHostnameSlot(resourceGroupName, name, slot, this.client.subscriptionId(), hostName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getBackupStatusSlotDelegate(response); + ServiceResponse clientResponse = analyzeCustomHostnameSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -19278,86 +19311,77 @@ 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); - } - /** - * Deletes a backup of an app by its ID. - * Deletes a backup of an app by its ID. + * Analyze a custom hostname. + * Analyze a custom hostname. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param hostName Custom hostname. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 CustomHostnameAnalysisResultInner object if successful. */ - public void deleteBackupSlot(String resourceGroupName, String name, String backupId, String slot) { - deleteBackupSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot).toBlocking().single().body(); + public CustomHostnameAnalysisResultInner analyzeCustomHostnameSlot(String resourceGroupName, String name, String slot, String hostName) { + return analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).toBlocking().single().body(); } /** - * Deletes a backup of an app by its ID. - * Deletes a backup of an app by its ID. + * Analyze a custom hostname. + * Analyze a custom hostname. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param hostName Custom hostname. * @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 deleteBackupSlotAsync(String resourceGroupName, String name, String backupId, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteBackupSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot), serviceCallback); + public ServiceFuture analyzeCustomHostnameSlotAsync(String resourceGroupName, String name, String slot, String hostName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName), serviceCallback); } /** - * Deletes a backup of an app by its ID. - * Deletes a backup of an app by its ID. + * Analyze a custom hostname. + * Analyze a custom hostname. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param hostName Custom hostname. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the CustomHostnameAnalysisResultInner object */ - public Observable deleteBackupSlotAsync(String resourceGroupName, String name, String backupId, String slot) { - return deleteBackupSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot).map(new Func1, Void>() { + public Observable analyzeCustomHostnameSlotAsync(String resourceGroupName, String name, String slot, String hostName) { + return analyzeCustomHostnameSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).map(new Func1, CustomHostnameAnalysisResultInner>() { @Override - public Void call(ServiceResponse response) { + public CustomHostnameAnalysisResultInner call(ServiceResponse response) { return response.body(); } }); } /** - * Deletes a backup of an app by its ID. - * Deletes a backup of an app by its ID. + * Analyze a custom hostname. + * Analyze a custom hostname. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param hostName Custom hostname. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the CustomHostnameAnalysisResultInner object */ - public Observable> deleteBackupSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, String slot) { + public Observable> analyzeCustomHostnameSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String hostName) { 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 (backupId == null) { - throw new IllegalArgumentException("Parameter backupId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -19367,12 +19391,12 @@ public Observable> deleteBackupSlotWithServiceResponseAsyn if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.deleteBackupSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.analyzeCustomHostnameSlot(resourceGroupName, name, slot, this.client.subscriptionId(), hostName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteBackupSlotDelegate(response); + ServiceResponse clientResponse = analyzeCustomHostnameSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -19381,111 +19405,102 @@ 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) + 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); } /** - * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. - * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + * Applies the configuration settings from the target slot onto the current slot. + * Applies the configuration settings from the target slot onto the current slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param backupId ID of backup. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param request Information on backup request. + * @param name Name of the app. + * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. + * @param slotSwapEntity JSON object that contains the target slot name. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the BackupItemInner object if successful. */ - public BackupItemInner listBackupStatusSecretsSlot(String resourceGroupName, String name, String backupId, String slot, BackupRequestInner request) { - return listBackupStatusSecretsSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).toBlocking().single().body(); + public void applySlotConfigurationSlot(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { + applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).toBlocking().single().body(); } /** - * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. - * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + * Applies the configuration settings from the target slot onto the current slot. + * Applies the configuration settings from the target slot onto the current slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param backupId ID of backup. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param request Information on backup request. + * @param name Name of the app. + * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. + * @param slotSwapEntity JSON object that contains the target slot name. See example. * @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 listBackupStatusSecretsSlotAsync(String resourceGroupName, String name, String backupId, String slot, BackupRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listBackupStatusSecretsSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request), serviceCallback); + public ServiceFuture applySlotConfigurationSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity), serviceCallback); } /** - * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. - * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + * Applies the configuration settings from the target slot onto the current slot. + * Applies the configuration settings from the target slot onto the current slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param backupId ID of backup. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param request Information on backup request. + * @param name Name of the app. + * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. + * @param slotSwapEntity JSON object that contains the target slot name. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupItemInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable listBackupStatusSecretsSlotAsync(String resourceGroupName, String name, String backupId, String slot, BackupRequestInner request) { - return listBackupStatusSecretsSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).map(new Func1, BackupItemInner>() { + public Observable applySlotConfigurationSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { + return applySlotConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, slotSwapEntity).map(new Func1, Void>() { @Override - public BackupItemInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. - * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + * Applies the configuration settings from the target slot onto the current slot. + * Applies the configuration settings from the target slot onto the current slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param backupId ID of backup. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param request Information on backup request. + * @param name Name of the app. + * @param slot Name of the source slot. If a slot is not specified, the production slot is used as the source slot. + * @param slotSwapEntity JSON object that contains the target slot name. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupItemInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> listBackupStatusSecretsSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, String slot, BackupRequestInner request) { + public Observable> applySlotConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } if (name == null) { throw new IllegalArgumentException("Parameter name is required and cannot be null."); } - if (backupId == null) { - throw new IllegalArgumentException("Parameter backupId 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 (request == null) { - throw new IllegalArgumentException("Parameter request is required and cannot be null."); + if (slotSwapEntity == null) { + throw new IllegalArgumentException("Parameter slotSwapEntity 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(request); - return service.listBackupStatusSecretsSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(slotSwapEntity); + return service.applySlotConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), slotSwapEntity, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listBackupStatusSecretsSlotDelegate(response); + ServiceResponse clientResponse = applySlotConfigurationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -19494,90 +19509,84 @@ 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) + 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); } /** - * Restores a specific backup to another app (or deployment slot, if specified). - * Restores a specific backup to another app (or deployment slot, if specified). + * Creates a backup of an app. + * Creates a backup of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. - * @param request Information on restore request . + * @param slot Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot. + * @param request Backup configuration. You can use the JSON response from the POST action as input here. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 BackupItemInner object if successful. */ - public void restoreSlot(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { - restoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).toBlocking().last().body(); + public BackupItemInner backupSlot(String resourceGroupName, String name, String slot, BackupRequestInner request) { + return backupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).toBlocking().single().body(); } /** - * Restores a specific backup to another app (or deployment slot, if specified). - * Restores a specific backup to another app (or deployment slot, if specified). + * Creates a backup of an app. + * Creates a backup of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. - * @param request Information on restore request . + * @param slot Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot. + * @param request Backup configuration. You can use the JSON response from the POST action as input here. * @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 restoreSlotAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(restoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request), serviceCallback); + public ServiceFuture backupSlotAsync(String resourceGroupName, String name, String slot, BackupRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(backupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request), serviceCallback); } /** - * Restores a specific backup to another app (or deployment slot, if specified). - * Restores a specific backup to another app (or deployment slot, if specified). + * Creates a backup of an app. + * Creates a backup of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. - * @param request Information on restore request . + * @param slot Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot. + * @param request Backup configuration. You can use the JSON response from the POST action as input here. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the observable to the BackupItemInner object */ - public Observable restoreSlotAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { - return restoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).map(new Func1, Void>() { + public Observable backupSlotAsync(String resourceGroupName, String name, String slot, BackupRequestInner request) { + return backupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).map(new Func1, BackupItemInner>() { @Override - public Void call(ServiceResponse response) { + public BackupItemInner call(ServiceResponse response) { return response.body(); } }); } /** - * Restores a specific backup to another app (or deployment slot, if specified). - * Restores a specific backup to another app (or deployment slot, if specified). + * Creates a backup of an app. + * Creates a backup of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. - * @param request Information on restore request . + * @param slot Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot. + * @param request Backup configuration. You can use the JSON response from the POST action as input here. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the observable to the BackupItemInner object */ - public Observable> restoreSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { + public Observable> backupSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, BackupRequestInner request) { 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 (backupId == null) { - throw new IllegalArgumentException("Parameter backupId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -19591,107 +19600,149 @@ public Observable> restoreSlotWithServiceResponseAsync(Str throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } Validator.validate(request); - Observable> observable = service.restoreSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + return service.backupSlot(resourceGroupName, name, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = backupSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); } /** - * Restores a specific backup to another app (or deployment slot, if specified). - * Restores a specific backup to another app (or deployment slot, if specified). + * Gets existing backups of an app. + * Gets existing backups of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. - * @param request Information on restore request . + * @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 - * @throws CloudException thrown if the request is rejected by server + * @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 PagedList<BackupItemInner> object if successful. */ - public void beginRestoreSlot(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { - beginRestoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).toBlocking().single().body(); + public PagedList listBackupsSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listBackupsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listBackupsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Restores a specific backup to another app (or deployment slot, if specified). - * Restores a specific backup to another app (or deployment slot, if specified). + * Gets existing backups of an app. + * Gets existing backups of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. - * @param request Information on restore request . + * @param slot Name of the deployment slot. If a slot is not specified, the API will get backups of the production 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 beginRestoreSlotAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginRestoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request), serviceCallback); + public ServiceFuture> listBackupsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listBackupsSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listBackupsSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Restores a specific backup to another app (or deployment slot, if specified). - * Restores a specific backup to another app (or deployment slot, if specified). + * Gets existing backups of an app. + * Gets existing backups of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. - * @param request Information on restore request . + * @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 {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<BackupItemInner> object */ - public Observable beginRestoreSlotAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { - return beginRestoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listBackupsSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listBackupsSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Restores a specific backup to another app (or deployment slot, if specified). - * Restores a specific backup to another app (or deployment slot, if specified). + * Gets existing backups of an app. + * Gets existing backups of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param backupId ID of the backup. - * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. - * @param request Information on restore request . + * @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 {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<BackupItemInner> object */ - public Observable> beginRestoreSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { + public Observable>> listBackupsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listBackupsSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listBackupsSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets existing backups of an app. + * Gets existing backups 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 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. + */ + public Observable>> listBackupsSlotSinglePageAsync(final String resourceGroupName, final String name, final 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 (backupId == null) { - throw new IllegalArgumentException("Parameter backupId 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 (request == null) { - throw new IllegalArgumentException("Parameter request 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(request); - return service.beginRestoreSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listBackupsSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = beginRestoreSlotDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listBackupsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -19699,120 +19750,87 @@ 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) + private ServiceResponse> 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); } /** - * List the configurations of an app. - * List the configurations of an app. + * Gets a backup of an app by its ID. + * Gets a backup of an app by its ID. * * @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 return configuration for the production slot. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a backup of the production 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 PagedList<SiteConfigResourceInner> object if successful. + * @return the BackupItemInner object if successful. */ - public PagedList listConfigurationsSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listConfigurationsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listConfigurationsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public BackupItemInner getBackupStatusSlot(String resourceGroupName, String name, String backupId, String slot) { + return getBackupStatusSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot).toBlocking().single().body(); } /** - * List the configurations of an app. - * List the configurations of an app. + * Gets a backup of an app by its ID. + * Gets a backup of an app by its ID. * * @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 return configuration for the production slot. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a backup of the production 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> listConfigurationsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listConfigurationsSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listConfigurationsSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture getBackupStatusSlotAsync(String resourceGroupName, String name, String backupId, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getBackupStatusSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot), serviceCallback); } /** - * List the configurations of an app. - * List the configurations of an app. + * Gets a backup of an app by its ID. + * Gets a backup of an app by its ID. * * @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 return configuration for the production slot. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteConfigResourceInner> object + * @return the observable to the BackupItemInner object */ - public Observable> listConfigurationsSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listConfigurationsSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable getBackupStatusSlotAsync(String resourceGroupName, String name, String backupId, String slot) { + return getBackupStatusSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot).map(new Func1, BackupItemInner>() { + @Override + public BackupItemInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * List the configurations of an app. - * List the configurations of an app. + * Gets a backup of an app by its ID. + * Gets a backup of an app by its ID. * * @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 return configuration for the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteConfigResourceInner> object - */ - public Observable>> listConfigurationsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listConfigurationsSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listConfigurationsSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SiteConfigResourceInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the BackupItemInner object */ - public Observable>> listConfigurationsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> getBackupStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, 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 (backupId == null) { + throw new IllegalArgumentException("Parameter backupId is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -19822,13 +19840,13 @@ public Observable>> listConfigurat if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listConfigurationsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.getBackupStatusSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listConfigurationsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = getBackupStatusSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -19836,103 +19854,101 @@ 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()) + 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); } /** - * Replaces the application settings of an app. - * Replaces the application settings of an app. + * Deletes a backup of an app by its ID. + * Deletes a backup of an app by its ID. * * @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 update the application settings for the production slot. - * @param appSettings Application settings of the app. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the StringDictionaryInner object if successful. */ - public StringDictionaryInner updateApplicationSettingsSlot(String resourceGroupName, String name, String slot, StringDictionaryInner appSettings) { - return updateApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, appSettings).toBlocking().single().body(); + public void deleteBackupSlot(String resourceGroupName, String name, String backupId, String slot) { + deleteBackupSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot).toBlocking().single().body(); } /** - * Replaces the application settings of an app. - * Replaces the application settings of an app. + * Deletes a backup of an app by its ID. + * Deletes a backup of an app by its ID. * * @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 update the application settings for the production slot. - * @param appSettings Application settings of the app. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production 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 updateApplicationSettingsSlotAsync(String resourceGroupName, String name, String slot, StringDictionaryInner appSettings, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, appSettings), serviceCallback); + public ServiceFuture deleteBackupSlotAsync(String resourceGroupName, String name, String backupId, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteBackupSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot), serviceCallback); } /** - * Replaces the application settings of an app. - * Replaces the application settings of an app. + * Deletes a backup of an app by its ID. + * Deletes a backup of an app by its ID. * * @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 update the application settings for the production slot. - * @param appSettings Application settings of the app. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StringDictionaryInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable updateApplicationSettingsSlotAsync(String resourceGroupName, String name, String slot, StringDictionaryInner appSettings) { - return updateApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, appSettings).map(new Func1, StringDictionaryInner>() { + public Observable deleteBackupSlotAsync(String resourceGroupName, String name, String backupId, String slot) { + return deleteBackupSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot).map(new Func1, Void>() { @Override - public StringDictionaryInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Replaces the application settings of an app. - * Replaces the application settings of an app. + * Deletes a backup of an app by its ID. + * Deletes a backup of an app by its ID. * * @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 update the application settings for the production slot. - * @param appSettings Application settings of the app. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StringDictionaryInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> updateApplicationSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, StringDictionaryInner appSettings) { + public Observable> deleteBackupSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, 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 (backupId == null) { + throw new IllegalArgumentException("Parameter backupId 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 (appSettings == null) { - throw new IllegalArgumentException("Parameter appSettings 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(appSettings); - return service.updateApplicationSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), appSettings, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteBackupSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateApplicationSettingsSlotDelegate(response); + ServiceResponse clientResponse = deleteBackupSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -19941,95 +19957,111 @@ 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) + 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); } /** - * Gets the application settings of an app. - * Gets the application settings of an app. + * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. * * @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 get the application settings for the production slot. + * @param name Name of web app. + * @param backupId ID of backup. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param request Information on backup request. * @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. + * @return the BackupItemInner object if successful. */ - public StringDictionaryInner listApplicationSettingsSlot(String resourceGroupName, String name, String slot) { - return listApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public BackupItemInner listBackupStatusSecretsSlot(String resourceGroupName, String name, String backupId, String slot, BackupRequestInner request) { + return listBackupStatusSecretsSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).toBlocking().single().body(); } /** - * Gets the application settings of an app. - * Gets the application settings of an app. + * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. * * @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 get the application settings for the production slot. + * @param name Name of web app. + * @param backupId ID of backup. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param request Information on backup request. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture listApplicationSettingsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture listBackupStatusSecretsSlotAsync(String resourceGroupName, String name, String backupId, String slot, BackupRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listBackupStatusSecretsSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request), serviceCallback); } /** - * Gets the application settings of an app. - * Gets the application settings of an app. + * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. * * @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 get the application settings for the production slot. + * @param name Name of web app. + * @param backupId ID of backup. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param request Information on backup request. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StringDictionaryInner object + * @return the observable to the BackupItemInner object */ - public Observable listApplicationSettingsSlotAsync(String resourceGroupName, String name, String slot) { - return listApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, StringDictionaryInner>() { + public Observable listBackupStatusSecretsSlotAsync(String resourceGroupName, String name, String backupId, String slot, BackupRequestInner request) { + return listBackupStatusSecretsSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).map(new Func1, BackupItemInner>() { @Override - public StringDictionaryInner call(ServiceResponse response) { + public BackupItemInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the application settings of an app. - * Gets the application settings of an app. + * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. + * Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. * * @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 get the application settings for the production slot. + * @param name Name of web app. + * @param backupId ID of backup. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param request Information on backup request. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StringDictionaryInner object + * @return the observable to the BackupItemInner object */ - public Observable> listApplicationSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> listBackupStatusSecretsSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, String slot, BackupRequestInner request) { 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 (backupId == null) { + throw new IllegalArgumentException("Parameter backupId 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 (request == null) { + throw new IllegalArgumentException("Parameter request 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.listApplicationSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(request); + return service.listBackupStatusSecretsSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listApplicationSettingsSlotDelegate(response); + ServiceResponse clientResponse = listBackupStatusSecretsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -20038,200 +20070,203 @@ 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()) + 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); } /** - * Updates the Authentication / Authorization settings associated with web app. - * Updates the Authentication / Authorization settings associated with web app. + * Restores a specific backup to another app (or deployment slot, if specified). + * Restores a specific backup to another app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param siteAuthSettings Auth settings associated with web app. + * @param name Name of the app. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteAuthSettingsInner object if successful. */ - public SiteAuthSettingsInner updateAuthSettingsSlot(String resourceGroupName, String name, String slot, SiteAuthSettingsInner siteAuthSettings) { - return updateAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteAuthSettings).toBlocking().single().body(); + public void restoreSlot(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { + restoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).toBlocking().last().body(); } /** - * Updates the Authentication / Authorization settings associated with web app. - * Updates the Authentication / Authorization settings associated with web app. + * Restores a specific backup to another app (or deployment slot, if specified). + * Restores a specific backup to another app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param siteAuthSettings Auth settings associated with web app. + * @param name Name of the app. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param request Information on restore request . * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture updateAuthSettingsSlotAsync(String resourceGroupName, String name, String slot, SiteAuthSettingsInner siteAuthSettings, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteAuthSettings), serviceCallback); + public ServiceFuture restoreSlotAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(restoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request), serviceCallback); } /** - * Updates the Authentication / Authorization settings associated with web app. - * Updates the Authentication / Authorization settings associated with web app. + * Restores a specific backup to another app (or deployment slot, if specified). + * Restores a specific backup to another app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param siteAuthSettings Auth settings associated with web app. + * @param name Name of the app. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteAuthSettingsInner object + * @return the observable for the request */ - public Observable updateAuthSettingsSlotAsync(String resourceGroupName, String name, String slot, SiteAuthSettingsInner siteAuthSettings) { - return updateAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteAuthSettings).map(new Func1, SiteAuthSettingsInner>() { + public Observable restoreSlotAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { + return restoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).map(new Func1, Void>() { @Override - public SiteAuthSettingsInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Updates the Authentication / Authorization settings associated with web app. - * Updates the Authentication / Authorization settings associated with web app. + * Restores a specific backup to another app (or deployment slot, if specified). + * Restores a specific backup to another app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param siteAuthSettings Auth settings associated with web app. + * @param name Name of the app. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteAuthSettingsInner object + * @return the observable for the request */ - public Observable> updateAuthSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteAuthSettingsInner siteAuthSettings) { + public Observable> restoreSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { 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 (backupId == null) { + throw new IllegalArgumentException("Parameter backupId 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 (siteAuthSettings == null) { - throw new IllegalArgumentException("Parameter siteAuthSettings is required and cannot be null."); + if (request == null) { + throw new IllegalArgumentException("Parameter request 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(siteAuthSettings); - return service.updateAuthSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteAuthSettings, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = updateAuthSettingsSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse 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); + Validator.validate(request); + Observable> observable = service.restoreSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } /** - * Gets the Authentication/Authorization settings of an app. - * Gets the Authentication/Authorization settings of an app. + * Restores a specific backup to another app (or deployment slot, if specified). + * Restores a specific backup to another app (or deployment slot, if specified). * * @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 get the settings for the production slot. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteAuthSettingsInner object if successful. */ - public SiteAuthSettingsInner getAuthSettingsSlot(String resourceGroupName, String name, String slot) { - return getAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public void beginRestoreSlot(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { + beginRestoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).toBlocking().single().body(); } /** - * Gets the Authentication/Authorization settings of an app. - * Gets the Authentication/Authorization settings of an app. + * Restores a specific backup to another app (or deployment slot, if specified). + * Restores a specific backup to another app (or deployment slot, if specified). * * @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 get the settings for the production slot. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param request Information on restore request . * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getAuthSettingsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture beginRestoreSlotAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginRestoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request), serviceCallback); } /** - * Gets the Authentication/Authorization settings of an app. - * Gets the Authentication/Authorization settings of an app. + * Restores a specific backup to another app (or deployment slot, if specified). + * Restores a specific backup to another app (or deployment slot, if specified). * * @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 get the settings for the production slot. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteAuthSettingsInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getAuthSettingsSlotAsync(String resourceGroupName, String name, String slot) { - return getAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteAuthSettingsInner>() { + public Observable beginRestoreSlotAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { + return beginRestoreSlotWithServiceResponseAsync(resourceGroupName, name, backupId, slot, request).map(new Func1, Void>() { @Override - public SiteAuthSettingsInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the Authentication/Authorization settings of an app. - * Gets the Authentication/Authorization settings of an app. + * Restores a specific backup to another app (or deployment slot, if specified). + * Restores a specific backup to another app (or deployment slot, if specified). * * @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 get the settings for the production slot. + * @param backupId ID of the backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot. + * @param request Information on restore request . * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteAuthSettingsInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getAuthSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> beginRestoreSlotWithServiceResponseAsync(String resourceGroupName, String name, String backupId, String slot, RestoreRequestInner request) { 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 (backupId == null) { + throw new IllegalArgumentException("Parameter backupId 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 (request == null) { + throw new IllegalArgumentException("Parameter request 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.getAuthSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(request); + return service.beginRestoreSlot(resourceGroupName, name, backupId, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getAuthSettingsSlotDelegate(response); + ServiceResponse clientResponse = beginRestoreSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -20240,78 +20275,114 @@ 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) + 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); } /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. + * List the configurations of an app. + * List the configurations of an app. * * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts of the app. + * @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 * @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 AzureStoragePropertyDictionaryResourceInner object if successful. + * @return the PagedList<SiteConfigResourceInner> object if successful. */ - public AzureStoragePropertyDictionaryResourceInner updateAzureStorageAccountsSlot(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).toBlocking().single().body(); + public PagedList listConfigurationsSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listConfigurationsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listConfigurationsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. + * List the configurations of an app. + * List the configurations of an app. * * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production 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 updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts), serviceCallback); + public ServiceFuture> listConfigurationsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listConfigurationsSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listConfigurationsSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. + * List the configurations of an app. + * List the configurations of an app. * * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts of the app. + * @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 observable to the AzureStoragePropertyDictionaryResourceInner object + * @return the observable to the PagedList<SiteConfigResourceInner> object */ - public Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { - return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { - @Override - public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listConfigurationsSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listConfigurationsSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Updates the Azure storage account configurations of an app. - * Updates the Azure storage account configurations of an app. + * List the configurations of an app. + * List the configurations of an app. * * @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 update the Azure storage account configurations for the production slot. - * @param azureStorageAccounts Azure storage accounts of the app. + * @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 observable to the AzureStoragePropertyDictionaryResourceInner object + * @return the observable to the PagedList<SiteConfigResourceInner> object */ - public Observable> updateAzureStorageAccountsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + public Observable>> listConfigurationsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listConfigurationsSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listConfigurationsSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SiteConfigResourceInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listConfigurationsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -20324,20 +20395,16 @@ public Observable> if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (azureStorageAccounts == null) { - throw new IllegalArgumentException("Parameter azureStorageAccounts 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(azureStorageAccounts); - return service.updateAzureStorageAccountsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), azureStorageAccounts, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listConfigurationsSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = updateAzureStorageAccountsSlotDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listConfigurationsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -20345,74 +20412,78 @@ 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()) + 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); } /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. + * Replaces the application settings of an app. + * Replaces the application settings of an app. * * @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 update the Azure storage account configurations for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot. + * @param appSettings Application settings 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 - * @return the AzureStoragePropertyDictionaryResourceInner object if successful. + * @return the StringDictionaryInner object if successful. */ - public AzureStoragePropertyDictionaryResourceInner listAzureStorageAccountsSlot(String resourceGroupName, String name, String slot) { - return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public StringDictionaryInner updateApplicationSettingsSlot(String resourceGroupName, String name, String slot, StringDictionaryInner appSettings) { + return updateApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, appSettings).toBlocking().single().body(); } /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. + * Replaces the application settings of an app. + * Replaces the application settings of an app. * * @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 update the Azure storage account configurations for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot. + * @param appSettings Application settings 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 listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture updateApplicationSettingsSlotAsync(String resourceGroupName, String name, String slot, StringDictionaryInner appSettings, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, appSettings), serviceCallback); } /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. + * Replaces the application settings of an app. + * Replaces the application settings of an app. * * @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 update the Azure storage account configurations for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot. + * @param appSettings Application settings of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + * @return the observable to the StringDictionaryInner object */ - public Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot) { - return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { + public Observable updateApplicationSettingsSlotAsync(String resourceGroupName, String name, String slot, StringDictionaryInner appSettings) { + return updateApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, appSettings).map(new Func1, StringDictionaryInner>() { @Override - public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { + public StringDictionaryInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the Azure storage account configurations of an app. - * Gets the Azure storage account configurations of an app. + * Replaces the application settings of an app. + * Replaces the application settings of an app. * * @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 update the Azure storage account configurations for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot. + * @param appSettings Application settings of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the AzureStoragePropertyDictionaryResourceInner object + * @return the observable to the StringDictionaryInner object */ - public Observable> listAzureStorageAccountsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> updateApplicationSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, StringDictionaryInner appSettings) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -20425,15 +20496,19 @@ public Observable> if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (appSettings == null) { + throw new IllegalArgumentException("Parameter appSettings 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.listAzureStorageAccountsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(appSettings); + return service.updateApplicationSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), appSettings, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listAzureStorageAccountsSlotDelegate(response); + ServiceResponse clientResponse = updateApplicationSettingsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -20442,78 +20517,74 @@ 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()) + private ServiceResponse 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); } /** - * Updates the backup configuration of an app. - * Updates the backup configuration of an app. + * Gets the application settings of an app. + * Gets the application settings of an app. * * @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 update the backup configuration for the production slot. - * @param request Edited backup configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production 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 BackupRequestInner object if successful. + * @return the StringDictionaryInner object if successful. */ - public BackupRequestInner updateBackupConfigurationSlot(String resourceGroupName, String name, String slot, BackupRequestInner request) { - return updateBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).toBlocking().single().body(); + public StringDictionaryInner listApplicationSettingsSlot(String resourceGroupName, String name, String slot) { + return listApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Updates the backup configuration of an app. - * Updates the backup configuration of an app. + * Gets the application settings of an app. + * Gets the application settings of an app. * * @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 update the backup configuration for the production slot. - * @param request Edited backup configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production 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 updateBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot, BackupRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, request), serviceCallback); + public ServiceFuture listApplicationSettingsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Updates the backup configuration of an app. - * Updates the backup configuration of an app. + * Gets the application settings of an app. + * Gets the application settings of an app. * * @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 update the backup configuration for the production slot. - * @param request Edited backup configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupRequestInner object + * @return the observable to the StringDictionaryInner object */ - public Observable updateBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot, BackupRequestInner request) { - return updateBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).map(new Func1, BackupRequestInner>() { + public Observable listApplicationSettingsSlotAsync(String resourceGroupName, String name, String slot) { + return listApplicationSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, StringDictionaryInner>() { @Override - public BackupRequestInner call(ServiceResponse response) { + public StringDictionaryInner call(ServiceResponse response) { return response.body(); } }); } /** - * Updates the backup configuration of an app. - * Updates the backup configuration of an app. + * Gets the application settings of an app. + * Gets the application settings of an app. * * @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 update the backup configuration for the production slot. - * @param request Edited backup configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupRequestInner object + * @return the observable to the StringDictionaryInner object */ - public Observable> updateBackupConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, BackupRequestInner request) { + public Observable> listApplicationSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -20526,19 +20597,15 @@ public Observable> updateBackupConfiguration if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (request == null) { - throw new IllegalArgumentException("Parameter request 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(request); - return service.updateBackupConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listApplicationSettingsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateBackupConfigurationSlotDelegate(response); + ServiceResponse clientResponse = listApplicationSettingsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -20547,73 +20614,78 @@ 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()) + private ServiceResponse 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); } /** - * Deletes the backup configuration of an app. - * Deletes the backup configuration of an app. + * Updates the Authentication / Authorization settings associated with web app. + * Updates the Authentication / Authorization settings associated with web app. * * @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 delete the backup configuration for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param siteAuthSettings Auth settings associated with web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 SiteAuthSettingsInner object if successful. */ - public void deleteBackupConfigurationSlot(String resourceGroupName, String name, String slot) { - deleteBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public SiteAuthSettingsInner updateAuthSettingsSlot(String resourceGroupName, String name, String slot, SiteAuthSettingsInner siteAuthSettings) { + return updateAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteAuthSettings).toBlocking().single().body(); } /** - * Deletes the backup configuration of an app. - * Deletes the backup configuration of an app. + * Updates the Authentication / Authorization settings associated with web app. + * Updates the Authentication / Authorization settings associated with web app. * * @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 delete the backup configuration for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param siteAuthSettings Auth settings associated with web 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 deleteBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture updateAuthSettingsSlotAsync(String resourceGroupName, String name, String slot, SiteAuthSettingsInner siteAuthSettings, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteAuthSettings), serviceCallback); } /** - * Deletes the backup configuration of an app. - * Deletes the backup configuration of an app. + * Updates the Authentication / Authorization settings associated with web app. + * Updates the Authentication / Authorization settings associated with web app. * * @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 delete the backup configuration for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param siteAuthSettings Auth settings associated with web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the SiteAuthSettingsInner object */ - public Observable deleteBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot) { - return deleteBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { + public Observable updateAuthSettingsSlotAsync(String resourceGroupName, String name, String slot, SiteAuthSettingsInner siteAuthSettings) { + return updateAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteAuthSettings).map(new Func1, SiteAuthSettingsInner>() { @Override - public Void call(ServiceResponse response) { + public SiteAuthSettingsInner call(ServiceResponse response) { return response.body(); } }); } /** - * Deletes the backup configuration of an app. - * Deletes the backup configuration of an app. + * Updates the Authentication / Authorization settings associated with web app. + * Updates the Authentication / Authorization settings associated with web app. * * @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 delete the backup configuration for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param siteAuthSettings Auth settings associated with web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the SiteAuthSettingsInner object */ - public Observable> deleteBackupConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> updateAuthSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteAuthSettingsInner siteAuthSettings) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -20626,15 +20698,19 @@ public Observable> deleteBackupConfigurationSlotWithServic if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (siteAuthSettings == null) { + throw new IllegalArgumentException("Parameter siteAuthSettings 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.deleteBackupConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(siteAuthSettings); + return service.updateAuthSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteAuthSettings, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteBackupConfigurationSlotDelegate(response); + ServiceResponse clientResponse = updateAuthSettingsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -20643,74 +20719,74 @@ 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) + private ServiceResponse 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); } /** - * Gets the backup configuration of an app. - * Gets the backup configuration of an app. + * Gets the Authentication/Authorization settings of an app. + * Gets the Authentication/Authorization settings of an app. * * @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 get the backup configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the settings for the production 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 BackupRequestInner object if successful. + * @return the SiteAuthSettingsInner object if successful. */ - public BackupRequestInner getBackupConfigurationSlot(String resourceGroupName, String name, String slot) { - return getBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public SiteAuthSettingsInner getAuthSettingsSlot(String resourceGroupName, String name, String slot) { + return getAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets the backup configuration of an app. - * Gets the backup configuration of an app. + * Gets the Authentication/Authorization settings of an app. + * Gets the Authentication/Authorization settings of an app. * * @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 get the backup configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the settings for the production 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 getBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture getAuthSettingsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets the backup configuration of an app. - * Gets the backup configuration of an app. + * Gets the Authentication/Authorization settings of an app. + * Gets the Authentication/Authorization settings of an app. * * @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 get the backup configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupRequestInner object + * @return the observable to the SiteAuthSettingsInner object */ - public Observable getBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot) { - return getBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, BackupRequestInner>() { + public Observable getAuthSettingsSlotAsync(String resourceGroupName, String name, String slot) { + return getAuthSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteAuthSettingsInner>() { @Override - public BackupRequestInner call(ServiceResponse response) { + public SiteAuthSettingsInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the backup configuration of an app. - * Gets the backup configuration of an app. + * Gets the Authentication/Authorization settings of an app. + * Gets the Authentication/Authorization settings of an app. * * @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 get the backup configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the BackupRequestInner object + * @return the observable to the SiteAuthSettingsInner object */ - public Observable> getBackupConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> getAuthSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -20726,12 +20802,12 @@ public Observable> getBackupConfigurationSlo if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getBackupConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getAuthSettingsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getBackupConfigurationSlotDelegate(response); + ServiceResponse clientResponse = getAuthSettingsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -20740,78 +20816,78 @@ 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()) + private ServiceResponse 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); } /** - * Replaces the connection strings of an app. - * Replaces the connection strings of an app. + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. * * @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 update the connection settings for the production slot. - * @param connectionStrings Connection strings of the app or deployment slot. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts 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 - * @return the ConnectionStringDictionaryInner object if successful. + * @return the AzureStoragePropertyDictionaryResourceInner object if successful. */ - public ConnectionStringDictionaryInner updateConnectionStringsSlot(String resourceGroupName, String name, String slot, ConnectionStringDictionaryInner connectionStrings) { - return updateConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionStrings).toBlocking().single().body(); + public AzureStoragePropertyDictionaryResourceInner updateAzureStorageAccountsSlot(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).toBlocking().single().body(); } /** - * Replaces the connection strings of an app. - * Replaces the connection strings of an app. + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. * * @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 update the connection settings for the production slot. - * @param connectionStrings Connection strings of the app or deployment slot. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts 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 updateConnectionStringsSlotAsync(String resourceGroupName, String name, String slot, ConnectionStringDictionaryInner connectionStrings, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionStrings), serviceCallback); + public ServiceFuture updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts), serviceCallback); } /** - * Replaces the connection strings of an app. - * Replaces the connection strings of an app. + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. * * @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 update the connection settings for the production slot. - * @param connectionStrings Connection strings of the app or deployment slot. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ConnectionStringDictionaryInner object + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object */ - public Observable updateConnectionStringsSlotAsync(String resourceGroupName, String name, String slot, ConnectionStringDictionaryInner connectionStrings) { - return updateConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionStrings).map(new Func1, ConnectionStringDictionaryInner>() { + public Observable updateAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { + return updateAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot, azureStorageAccounts).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { @Override - public ConnectionStringDictionaryInner call(ServiceResponse response) { + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { return response.body(); } }); } /** - * Replaces the connection strings of an app. - * Replaces the connection strings of an app. + * Updates the Azure storage account configurations of an app. + * Updates the Azure storage account configurations of an app. * * @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 update the connection settings for the production slot. - * @param connectionStrings Connection strings of the app or deployment slot. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot. + * @param azureStorageAccounts Azure storage accounts of the app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ConnectionStringDictionaryInner object + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object */ - public Observable> updateConnectionStringsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, ConnectionStringDictionaryInner connectionStrings) { + public Observable> updateAzureStorageAccountsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, AzureStoragePropertyDictionaryResourceInner azureStorageAccounts) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -20824,19 +20900,19 @@ public Observable> updateConnec if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (connectionStrings == null) { - throw new IllegalArgumentException("Parameter connectionStrings is required and cannot be null."); + if (azureStorageAccounts == null) { + throw new IllegalArgumentException("Parameter azureStorageAccounts 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(connectionStrings); - return service.updateConnectionStringsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), connectionStrings, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(azureStorageAccounts); + return service.updateAzureStorageAccountsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), azureStorageAccounts, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateConnectionStringsSlotDelegate(response); + ServiceResponse clientResponse = updateAzureStorageAccountsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -20845,74 +20921,74 @@ 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()) + 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); } /** - * Gets the connection strings of an app. - * Gets the connection strings of an app. - * + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. + * * @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 get the connection settings for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production 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 ConnectionStringDictionaryInner object if successful. + * @return the AzureStoragePropertyDictionaryResourceInner object if successful. */ - public ConnectionStringDictionaryInner listConnectionStringsSlot(String resourceGroupName, String name, String slot) { - return listConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public AzureStoragePropertyDictionaryResourceInner listAzureStorageAccountsSlot(String resourceGroupName, String name, String slot) { + return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets the connection strings of an app. - * Gets the connection strings of an app. + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. * * @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 get the connection settings for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production 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 listConnectionStringsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets the connection strings of an app. - * Gets the connection strings of an app. + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. * * @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 get the connection settings for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ConnectionStringDictionaryInner object + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object */ - public Observable listConnectionStringsSlotAsync(String resourceGroupName, String name, String slot) { - return listConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, ConnectionStringDictionaryInner>() { + public Observable listAzureStorageAccountsSlotAsync(String resourceGroupName, String name, String slot) { + return listAzureStorageAccountsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, AzureStoragePropertyDictionaryResourceInner>() { @Override - public ConnectionStringDictionaryInner call(ServiceResponse response) { + public AzureStoragePropertyDictionaryResourceInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the connection strings of an app. - * Gets the connection strings of an app. + * Gets the Azure storage account configurations of an app. + * Gets the Azure storage account configurations of an app. * * @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 get the connection settings for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the Azure storage account configurations for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ConnectionStringDictionaryInner object + * @return the observable to the AzureStoragePropertyDictionaryResourceInner object */ - public Observable> listConnectionStringsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> listAzureStorageAccountsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -20928,12 +21004,12 @@ public Observable> listConnecti if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listConnectionStringsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listAzureStorageAccountsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listConnectionStringsSlotDelegate(response); + ServiceResponse clientResponse = listAzureStorageAccountsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -20942,74 +21018,78 @@ 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()) + 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); } /** - * Gets the logging configuration of an app. - * Gets the logging configuration of an app. + * Updates the backup configuration of an app. + * Updates the backup configuration of an app. * * @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 get the logging configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot. + * @param request Edited backup configuration. * @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 SiteLogsConfigInner object if successful. + * @return the BackupRequestInner object if successful. */ - public SiteLogsConfigInner getDiagnosticLogsConfigurationSlot(String resourceGroupName, String name, String slot) { - return getDiagnosticLogsConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public BackupRequestInner updateBackupConfigurationSlot(String resourceGroupName, String name, String slot, BackupRequestInner request) { + return updateBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).toBlocking().single().body(); } /** - * Gets the logging configuration of an app. - * Gets the logging configuration of an app. + * Updates the backup configuration of an app. + * Updates the backup configuration of an app. * * @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 get the logging configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot. + * @param request Edited backup configuration. * @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 getDiagnosticLogsConfigurationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getDiagnosticLogsConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture updateBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot, BackupRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, request), serviceCallback); } /** - * Gets the logging configuration of an app. - * Gets the logging configuration of an app. + * Updates the backup configuration of an app. + * Updates the backup configuration of an app. * * @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 get the logging configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot. + * @param request Edited backup configuration. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteLogsConfigInner object + * @return the observable to the BackupRequestInner object */ - public Observable getDiagnosticLogsConfigurationSlotAsync(String resourceGroupName, String name, String slot) { - return getDiagnosticLogsConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteLogsConfigInner>() { + public Observable updateBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot, BackupRequestInner request) { + return updateBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).map(new Func1, BackupRequestInner>() { @Override - public SiteLogsConfigInner call(ServiceResponse response) { + public BackupRequestInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the logging configuration of an app. - * Gets the logging configuration of an app. + * Updates the backup configuration of an app. + * Updates the backup configuration of an app. * * @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 get the logging configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot. + * @param request Edited backup configuration. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteLogsConfigInner object + * @return the observable to the BackupRequestInner object */ - public Observable> getDiagnosticLogsConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> updateBackupConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, BackupRequestInner request) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21022,15 +21102,19 @@ public Observable> getDiagnosticLogsConfigu if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (request == null) { + throw new IllegalArgumentException("Parameter request 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.getDiagnosticLogsConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(request); + return service.updateBackupConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getDiagnosticLogsConfigurationSlotDelegate(response); + ServiceResponse clientResponse = updateBackupConfigurationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -21039,78 +21123,73 @@ 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()) + private ServiceResponse 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); } /** - * Updates the logging configuration of an app. - * Updates the logging configuration of an app. + * Deletes the backup configuration of an app. + * Deletes the backup configuration of an app. * * @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 update the logging configuration for the production slot. - * @param siteLogsConfig A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the SiteLogsConfigInner object if successful. */ - public SiteLogsConfigInner updateDiagnosticLogsConfigSlot(String resourceGroupName, String name, String slot, SiteLogsConfigInner siteLogsConfig) { - return updateDiagnosticLogsConfigSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteLogsConfig).toBlocking().single().body(); + public void deleteBackupConfigurationSlot(String resourceGroupName, String name, String slot) { + deleteBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Updates the logging configuration of an app. - * Updates the logging configuration of an app. + * Deletes the backup configuration of an app. + * Deletes the backup configuration of an app. * * @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 update the logging configuration for the production slot. - * @param siteLogsConfig A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production 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 updateDiagnosticLogsConfigSlotAsync(String resourceGroupName, String name, String slot, SiteLogsConfigInner siteLogsConfig, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateDiagnosticLogsConfigSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteLogsConfig), serviceCallback); + public ServiceFuture deleteBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Updates the logging configuration of an app. - * Updates the logging configuration of an app. + * Deletes the backup configuration of an app. + * Deletes the backup configuration of an app. * * @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 update the logging configuration for the production slot. - * @param siteLogsConfig A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteLogsConfigInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable updateDiagnosticLogsConfigSlotAsync(String resourceGroupName, String name, String slot, SiteLogsConfigInner siteLogsConfig) { - return updateDiagnosticLogsConfigSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteLogsConfig).map(new Func1, SiteLogsConfigInner>() { + public Observable deleteBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot) { + return deleteBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { @Override - public SiteLogsConfigInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Updates the logging configuration of an app. - * Updates the logging configuration of an app. + * Deletes the backup configuration of an app. + * Deletes the backup configuration of an app. * * @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 update the logging configuration for the production slot. - * @param siteLogsConfig A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteLogsConfigInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> updateDiagnosticLogsConfigSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteLogsConfigInner siteLogsConfig) { + public Observable> deleteBackupConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21123,19 +21202,15 @@ public Observable> updateDiagnosticLogsConf if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (siteLogsConfig == null) { - throw new IllegalArgumentException("Parameter siteLogsConfig 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(siteLogsConfig); - return service.updateDiagnosticLogsConfigSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteLogsConfig, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteBackupConfigurationSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateDiagnosticLogsConfigSlotDelegate(response); + ServiceResponse clientResponse = deleteBackupConfigurationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -21144,78 +21219,74 @@ 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) + 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); } /** - * Replaces the metadata of an app. - * Replaces the metadata of an app. + * Gets the backup configuration of an app. + * Gets the backup configuration of an app. * * @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 update the metadata for the production slot. - * @param metadata Edited metadata of the app or deployment slot. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production 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. + * @return the BackupRequestInner object if successful. */ - public StringDictionaryInner updateMetadataSlot(String resourceGroupName, String name, String slot, StringDictionaryInner metadata) { - return updateMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot, metadata).toBlocking().single().body(); + public BackupRequestInner getBackupConfigurationSlot(String resourceGroupName, String name, String slot) { + return getBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Replaces the metadata of an app. - * Replaces the metadata of an app. + * Gets the backup configuration of an app. + * Gets the backup configuration of an app. * * @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 update the metadata for the production slot. - * @param metadata Edited metadata of the app or deployment slot. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production 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 updateMetadataSlotAsync(String resourceGroupName, String name, String slot, StringDictionaryInner metadata, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot, metadata), serviceCallback); + public ServiceFuture getBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Replaces the metadata of an app. - * Replaces the metadata of an app. + * Gets the backup configuration of an app. + * Gets the backup configuration of an app. * * @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 update the metadata for the production slot. - * @param metadata Edited metadata of the app or deployment slot. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StringDictionaryInner object + * @return the observable to the BackupRequestInner object */ - public Observable updateMetadataSlotAsync(String resourceGroupName, String name, String slot, StringDictionaryInner metadata) { - return updateMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot, metadata).map(new Func1, StringDictionaryInner>() { + public Observable getBackupConfigurationSlotAsync(String resourceGroupName, String name, String slot) { + return getBackupConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, BackupRequestInner>() { @Override - public StringDictionaryInner call(ServiceResponse response) { + public BackupRequestInner call(ServiceResponse response) { return response.body(); } }); } /** - * Replaces the metadata of an app. - * Replaces the metadata of an app. + * Gets the backup configuration of an app. + * Gets the backup configuration of an app. * * @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 update the metadata for the production slot. - * @param metadata Edited metadata of the app or deployment slot. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StringDictionaryInner object + * @return the observable to the BackupRequestInner object */ - public Observable> updateMetadataSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, StringDictionaryInner metadata) { + public Observable> getBackupConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21228,19 +21299,15 @@ public Observable> updateMetadataSlotWith if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (metadata == null) { - throw new IllegalArgumentException("Parameter metadata 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(metadata); - return service.updateMetadataSlot(resourceGroupName, name, slot, this.client.subscriptionId(), metadata, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getBackupConfigurationSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateMetadataSlotDelegate(response); + ServiceResponse clientResponse = getBackupConfigurationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -21249,74 +21316,78 @@ 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()) + private ServiceResponse 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); } /** - * Gets the metadata of an app. - * Gets the metadata of an app. + * Replaces the connection strings of an app. + * Replaces the connection strings of an app. * * @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 get the metadata for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot. + * @param connectionStrings Connection strings of the app or deployment slot. See example. * @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. + * @return the ConnectionStringDictionaryInner object if successful. */ - public StringDictionaryInner listMetadataSlot(String resourceGroupName, String name, String slot) { - return listMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public ConnectionStringDictionaryInner updateConnectionStringsSlot(String resourceGroupName, String name, String slot, ConnectionStringDictionaryInner connectionStrings) { + return updateConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionStrings).toBlocking().single().body(); } /** - * Gets the metadata of an app. - * Gets the metadata of an app. + * Replaces the connection strings of an app. + * Replaces the connection strings of an app. * * @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 get the metadata for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot. + * @param connectionStrings Connection strings of the app or deployment slot. See example. * @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 listMetadataSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture updateConnectionStringsSlotAsync(String resourceGroupName, String name, String slot, ConnectionStringDictionaryInner connectionStrings, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionStrings), serviceCallback); } /** - * Gets the metadata of an app. - * Gets the metadata of an app. + * Replaces the connection strings of an app. + * Replaces the connection strings of an app. * * @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 get the metadata for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot. + * @param connectionStrings Connection strings of the app or deployment slot. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StringDictionaryInner object + * @return the observable to the ConnectionStringDictionaryInner object */ - public Observable listMetadataSlotAsync(String resourceGroupName, String name, String slot) { - return listMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, StringDictionaryInner>() { + public Observable updateConnectionStringsSlotAsync(String resourceGroupName, String name, String slot, ConnectionStringDictionaryInner connectionStrings) { + return updateConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionStrings).map(new Func1, ConnectionStringDictionaryInner>() { @Override - public StringDictionaryInner call(ServiceResponse response) { + public ConnectionStringDictionaryInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the metadata of an app. - * Gets the metadata of an app. + * Replaces the connection strings of an app. + * Replaces the connection strings of an app. * * @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 get the metadata for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot. + * @param connectionStrings Connection strings of the app or deployment slot. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the StringDictionaryInner object + * @return the observable to the ConnectionStringDictionaryInner object */ - public Observable> listMetadataSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> updateConnectionStringsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, ConnectionStringDictionaryInner connectionStrings) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21329,15 +21400,19 @@ public Observable> listMetadataSlotWithSe if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (connectionStrings == null) { + throw new IllegalArgumentException("Parameter connectionStrings 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.listMetadataSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(connectionStrings); + return service.updateConnectionStringsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), connectionStrings, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listMetadataSlotDelegate(response); + ServiceResponse clientResponse = updateConnectionStringsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -21346,74 +21421,74 @@ 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()) + 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); } /** - * Gets the Git/FTP publishing credentials of an app. - * Gets the Git/FTP publishing credentials of an app. + * Gets the connection strings of an app. + * Gets the connection strings of an app. * * @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 get the publishing credentials for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production 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 UserInner object if successful. + * @return the ConnectionStringDictionaryInner object if successful. */ - public UserInner listPublishingCredentialsSlot(String resourceGroupName, String name, String slot) { - return listPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().last().body(); + public ConnectionStringDictionaryInner listConnectionStringsSlot(String resourceGroupName, String name, String slot) { + return listConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets the Git/FTP publishing credentials of an app. - * Gets the Git/FTP publishing credentials of an app. + * Gets the connection strings of an app. + * Gets the connection strings of an app. * * @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 get the publishing credentials for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production 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 listPublishingCredentialsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture listConnectionStringsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets the Git/FTP publishing credentials of an app. - * Gets the Git/FTP publishing credentials of an app. + * Gets the connection strings of an app. + * Gets the connection strings of an app. * * @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 get the publishing credentials for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the observable to the ConnectionStringDictionaryInner object */ - public Observable listPublishingCredentialsSlotAsync(String resourceGroupName, String name, String slot) { - return listPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, UserInner>() { + public Observable listConnectionStringsSlotAsync(String resourceGroupName, String name, String slot) { + return listConnectionStringsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, ConnectionStringDictionaryInner>() { @Override - public UserInner call(ServiceResponse response) { + public ConnectionStringDictionaryInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the Git/FTP publishing credentials of an app. - * Gets the Git/FTP publishing credentials of an app. + * Gets the connection strings of an app. + * Gets the connection strings of an app. * * @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 get the publishing credentials for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the observable to the ConnectionStringDictionaryInner object */ - public Observable> listPublishingCredentialsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> listConnectionStringsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21429,71 +21504,88 @@ public Observable> listPublishingCredentialsSlotWithS if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - Observable> observable = service.listPublishingCredentialsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + return service.listConnectionStringsSlot(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 = listConnectionStringsSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); } /** - * Gets the Git/FTP publishing credentials of an app. - * Gets the Git/FTP publishing credentials of an app. + * Gets the logging configuration of an app. + * Gets the logging configuration of an app. * * @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 get the publishing credentials for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production 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 UserInner object if successful. + * @return the SiteLogsConfigInner object if successful. */ - public UserInner beginListPublishingCredentialsSlot(String resourceGroupName, String name, String slot) { - return beginListPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public SiteLogsConfigInner getDiagnosticLogsConfigurationSlot(String resourceGroupName, String name, String slot) { + return getDiagnosticLogsConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets the Git/FTP publishing credentials of an app. - * Gets the Git/FTP publishing credentials of an app. + * Gets the logging configuration of an app. + * Gets the logging configuration of an app. * * @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 get the publishing credentials for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production 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 beginListPublishingCredentialsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginListPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture getDiagnosticLogsConfigurationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getDiagnosticLogsConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets the Git/FTP publishing credentials of an app. - * Gets the Git/FTP publishing credentials of an app. + * Gets the logging configuration of an app. + * Gets the logging configuration of an app. * * @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 get the publishing credentials for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the UserInner object + * @return the observable to the SiteLogsConfigInner object */ - public Observable beginListPublishingCredentialsSlotAsync(String resourceGroupName, String name, String slot) { - return beginListPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, UserInner>() { + public Observable getDiagnosticLogsConfigurationSlotAsync(String resourceGroupName, String name, String slot) { + return getDiagnosticLogsConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteLogsConfigInner>() { @Override - public UserInner call(ServiceResponse response) { + public SiteLogsConfigInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the Git/FTP publishing credentials of an app. - * Gets the Git/FTP publishing credentials of an app. + * Gets the logging configuration of an app. + * Gets the logging configuration of an app. * * @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 get the publishing credentials for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the UserInner object + * @return the observable to the SiteLogsConfigInner object */ - public Observable> beginListPublishingCredentialsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> getDiagnosticLogsConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21509,12 +21601,12 @@ public Observable> beginListPublishingCredentialsSlot if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.beginListPublishingCredentialsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getDiagnosticLogsConfigurationSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = beginListPublishingCredentialsSlotDelegate(response); + ServiceResponse clientResponse = getDiagnosticLogsConfigurationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -21523,78 +21615,78 @@ 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()) + private ServiceResponse 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); } /** - * Updates the Push settings associated with web app. - * Updates the Push settings associated with web app. + * Updates the logging configuration of an app. + * Updates the logging configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param pushSettings Push settings associated with web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot. + * @param siteLogsConfig A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. * @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 PushSettingsInner object if successful. + * @return the SiteLogsConfigInner object if successful. */ - public PushSettingsInner updateSitePushSettingsSlot(String resourceGroupName, String name, String slot, PushSettingsInner pushSettings) { - return updateSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, pushSettings).toBlocking().single().body(); + public SiteLogsConfigInner updateDiagnosticLogsConfigSlot(String resourceGroupName, String name, String slot, SiteLogsConfigInner siteLogsConfig) { + return updateDiagnosticLogsConfigSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteLogsConfig).toBlocking().single().body(); } /** - * Updates the Push settings associated with web app. - * Updates the Push settings associated with web app. + * Updates the logging configuration of an app. + * Updates the logging configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param pushSettings Push settings associated with web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot. + * @param siteLogsConfig A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. * @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 updateSitePushSettingsSlotAsync(String resourceGroupName, String name, String slot, PushSettingsInner pushSettings, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, pushSettings), serviceCallback); + public ServiceFuture updateDiagnosticLogsConfigSlotAsync(String resourceGroupName, String name, String slot, SiteLogsConfigInner siteLogsConfig, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateDiagnosticLogsConfigSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteLogsConfig), serviceCallback); } /** - * Updates the Push settings associated with web app. - * Updates the Push settings associated with web app. + * Updates the logging configuration of an app. + * Updates the logging configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param pushSettings Push settings associated with web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot. + * @param siteLogsConfig A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PushSettingsInner object + * @return the observable to the SiteLogsConfigInner object */ - public Observable updateSitePushSettingsSlotAsync(String resourceGroupName, String name, String slot, PushSettingsInner pushSettings) { - return updateSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, pushSettings).map(new Func1, PushSettingsInner>() { + public Observable updateDiagnosticLogsConfigSlotAsync(String resourceGroupName, String name, String slot, SiteLogsConfigInner siteLogsConfig) { + return updateDiagnosticLogsConfigSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteLogsConfig).map(new Func1, SiteLogsConfigInner>() { @Override - public PushSettingsInner call(ServiceResponse response) { + public SiteLogsConfigInner call(ServiceResponse response) { return response.body(); } }); } /** - * Updates the Push settings associated with web app. - * Updates the Push settings associated with web app. - * + * Updates the logging configuration of an app. + * Updates the logging configuration of an app. + * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param pushSettings Push settings associated with web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot. + * @param siteLogsConfig A SiteLogsConfig JSON object that contains the logging configuration to change in the "properties" property. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PushSettingsInner object + * @return the observable to the SiteLogsConfigInner object */ - public Observable> updateSitePushSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, PushSettingsInner pushSettings) { + public Observable> updateDiagnosticLogsConfigSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteLogsConfigInner siteLogsConfig) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21607,19 +21699,19 @@ public Observable> updateSitePushSettingsSlot if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (pushSettings == null) { - throw new IllegalArgumentException("Parameter pushSettings is required and cannot be null."); + if (siteLogsConfig == null) { + throw new IllegalArgumentException("Parameter siteLogsConfig 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(pushSettings); - return service.updateSitePushSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), pushSettings, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(siteLogsConfig); + return service.updateDiagnosticLogsConfigSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteLogsConfig, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateSitePushSettingsSlotDelegate(response); + ServiceResponse clientResponse = updateDiagnosticLogsConfigSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -21628,74 +21720,78 @@ 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()) + private ServiceResponse 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); } /** - * Gets the Push settings associated with web app. - * Gets the Push settings associated with web app. + * Replaces the metadata of an app. + * Replaces the metadata of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot. + * @param metadata Edited metadata of the app or deployment slot. See example. * @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 PushSettingsInner object if successful. + * @return the StringDictionaryInner object if successful. */ - public PushSettingsInner listSitePushSettingsSlot(String resourceGroupName, String name, String slot) { - return listSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public StringDictionaryInner updateMetadataSlot(String resourceGroupName, String name, String slot, StringDictionaryInner metadata) { + return updateMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot, metadata).toBlocking().single().body(); } /** - * Gets the Push settings associated with web app. - * Gets the Push settings associated with web app. + * Replaces the metadata of an app. + * Replaces the metadata of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot. + * @param metadata Edited metadata of the app or deployment slot. See example. * @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 listSitePushSettingsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture updateMetadataSlotAsync(String resourceGroupName, String name, String slot, StringDictionaryInner metadata, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot, metadata), serviceCallback); } /** - * Gets the Push settings associated with web app. - * Gets the Push settings associated with web app. + * Replaces the metadata of an app. + * Replaces the metadata of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot. + * @param metadata Edited metadata of the app or deployment slot. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PushSettingsInner object + * @return the observable to the StringDictionaryInner object */ - public Observable listSitePushSettingsSlotAsync(String resourceGroupName, String name, String slot) { - return listSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, PushSettingsInner>() { + public Observable updateMetadataSlotAsync(String resourceGroupName, String name, String slot, StringDictionaryInner metadata) { + return updateMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot, metadata).map(new Func1, StringDictionaryInner>() { @Override - public PushSettingsInner call(ServiceResponse response) { + public StringDictionaryInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the Push settings associated with web app. - * Gets the Push settings associated with web app. + * Replaces the metadata of an app. + * Replaces the metadata of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot. + * @param metadata Edited metadata of the app or deployment slot. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PushSettingsInner object + * @return the observable to the StringDictionaryInner object */ - public Observable> listSitePushSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> updateMetadataSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, StringDictionaryInner metadata) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21708,15 +21804,19 @@ public Observable> listSitePushSettingsSlotWi if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (metadata == null) { + throw new IllegalArgumentException("Parameter metadata 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.listSitePushSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(metadata); + return service.updateMetadataSlot(resourceGroupName, name, slot, this.client.subscriptionId(), metadata, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listSitePushSettingsSlotDelegate(response); + ServiceResponse clientResponse = updateMetadataSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -21725,74 +21825,74 @@ 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()) + private ServiceResponse 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); } /** - * Gets a Swift Virtual Network connection. - * Gets a Swift Virtual Network connection. + * Gets the metadata of an app. + * Gets the metadata of an app. * * @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 get a gateway for the production slot's Virtual Network. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production 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 SwiftVirtualNetworkInner object if successful. + * @return the StringDictionaryInner object if successful. */ - public SwiftVirtualNetworkInner getSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot) { - return getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public StringDictionaryInner listMetadataSlot(String resourceGroupName, String name, String slot) { + return listMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets a Swift Virtual Network connection. - * Gets a Swift Virtual Network connection. + * Gets the metadata of an app. + * Gets the metadata of an app. * * @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 get a gateway for the production slot's Virtual Network. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production 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 getSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture listMetadataSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets a Swift Virtual Network connection. - * Gets a Swift Virtual Network connection. + * Gets the metadata of an app. + * Gets the metadata of an app. * * @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 get a gateway for the production slot's Virtual Network. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SwiftVirtualNetworkInner object + * @return the observable to the StringDictionaryInner object */ - public Observable getSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot) { - return getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SwiftVirtualNetworkInner>() { + public Observable listMetadataSlotAsync(String resourceGroupName, String name, String slot) { + return listMetadataSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, StringDictionaryInner>() { @Override - public SwiftVirtualNetworkInner call(ServiceResponse response) { + public StringDictionaryInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets a Swift Virtual Network connection. - * Gets a Swift Virtual Network connection. + * Gets the metadata of an app. + * Gets the metadata of an app. * * @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 get a gateway for the production slot's Virtual Network. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SwiftVirtualNetworkInner object + * @return the observable to the StringDictionaryInner object */ - public Observable> getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> listMetadataSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21808,12 +21908,12 @@ public Observable> getSwiftVirtualNetw if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getSwiftVirtualNetworkConnectionSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listMetadataSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getSwiftVirtualNetworkConnectionSlotDelegate(response); + ServiceResponse clientResponse = listMetadataSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -21822,86 +21922,74 @@ 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()) + private ServiceResponse 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); } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. + * Gets the Git/FTP publishing credentials of an app. + * Gets the Git/FTP publishing credentials of an app. * * @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 add or update connections for the production slot. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production 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 SwiftVirtualNetworkInner object if successful. + * @return the UserInner object if successful. */ - public SwiftVirtualNetworkInner createOrUpdateSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { - return createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).toBlocking().single().body(); + public UserInner listPublishingCredentialsSlot(String resourceGroupName, String name, String slot) { + return listPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().last().body(); } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. + * Gets the Git/FTP publishing credentials of an app. + * Gets the Git/FTP publishing credentials of an app. * * @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 add or update connections for the production slot. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production 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 createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope), serviceCallback); + public ServiceFuture listPublishingCredentialsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. + * Gets the Git/FTP publishing credentials of an app. + * Gets the Git/FTP publishing credentials of an app. * * @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 add or update connections for the production slot. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SwiftVirtualNetworkInner object + * @return the observable for the request */ - public Observable createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { - return createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).map(new Func1, SwiftVirtualNetworkInner>() { + public Observable listPublishingCredentialsSlotAsync(String resourceGroupName, String name, String slot) { + return listPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, UserInner>() { @Override - public SwiftVirtualNetworkInner call(ServiceResponse response) { + public UserInner call(ServiceResponse response) { return response.body(); } }); } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. + * Gets the Git/FTP publishing credentials of an app. + * Gets the Git/FTP publishing credentials of an app. * * @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 add or update connections for the production slot. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SwiftVirtualNetworkInner object + * @return the observable for the request */ - public Observable> createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + public Observable> listPublishingCredentialsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -21914,94 +22002,74 @@ public Observable> createOrUpdateSwift if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (connectionEnvelope == null) { - throw new IllegalArgumentException("Parameter connectionEnvelope 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(connectionEnvelope); - return service.createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName, name, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { - @Override - public Observable> call(Response response) { - try { - ServiceResponse clientResponse = createOrUpdateSwiftVirtualNetworkConnectionSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse 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); + Observable> observable = service.listPublishingCredentialsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } /** - * Deletes a Swift Virtual Network connection from an app (or deployment slot). - * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Gets the Git/FTP publishing credentials of an app. + * Gets the Git/FTP publishing credentials of an app. * * @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 delete the connection for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 UserInner object if successful. */ - public void deleteSwiftVirtualNetworkSlot(String resourceGroupName, String name, String slot) { - deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public UserInner beginListPublishingCredentialsSlot(String resourceGroupName, String name, String slot) { + return beginListPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Deletes a Swift Virtual Network connection from an app (or deployment slot). - * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Gets the Git/FTP publishing credentials of an app. + * Gets the Git/FTP publishing credentials of an app. * * @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 delete the connection for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production 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 deleteSwiftVirtualNetworkSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture beginListPublishingCredentialsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginListPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Deletes a Swift Virtual Network connection from an app (or deployment slot). - * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Gets the Git/FTP publishing credentials of an app. + * Gets the Git/FTP publishing credentials of an app. * * @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 delete the connection for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the UserInner object */ - public Observable deleteSwiftVirtualNetworkSlotAsync(String resourceGroupName, String name, String slot) { - return deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { + public Observable beginListPublishingCredentialsSlotAsync(String resourceGroupName, String name, String slot) { + return beginListPublishingCredentialsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, UserInner>() { @Override - public Void call(ServiceResponse response) { + public UserInner call(ServiceResponse response) { return response.body(); } }); } /** - * Deletes a Swift Virtual Network connection from an app (or deployment slot). - * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Gets the Git/FTP publishing credentials of an app. + * Gets the Git/FTP publishing credentials of an app. * * @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 delete the connection for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the UserInner object */ - public Observable> deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> beginListPublishingCredentialsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22017,12 +22085,12 @@ public Observable> deleteSwiftVirtualNetworkSlotWithServic if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.deleteSwiftVirtualNetworkSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.beginListPublishingCredentialsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteSwiftVirtualNetworkSlotDelegate(response); + ServiceResponse clientResponse = beginListPublishingCredentialsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22031,87 +22099,78 @@ 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) + 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); } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. + * Updates the Push settings associated with web app. + * Updates the Push settings associated with web app. * * @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 add or update connections for the production slot. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param pushSettings Push settings associated with web 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 - * @return the SwiftVirtualNetworkInner object if successful. + * @return the PushSettingsInner object if successful. */ - public SwiftVirtualNetworkInner updateSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { - return updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).toBlocking().single().body(); + public PushSettingsInner updateSitePushSettingsSlot(String resourceGroupName, String name, String slot, PushSettingsInner pushSettings) { + return updateSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, pushSettings).toBlocking().single().body(); } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. + * Updates the Push settings associated with web app. + * Updates the Push settings associated with web app. * * @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 add or update connections for the production slot. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param pushSettings Push settings associated with web 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 updateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope), serviceCallback); + public ServiceFuture updateSitePushSettingsSlotAsync(String resourceGroupName, String name, String slot, PushSettingsInner pushSettings, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, pushSettings), serviceCallback); } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. + * Updates the Push settings associated with web app. + * Updates the Push settings associated with web app. * * @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 add or update connections for the production slot. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param pushSettings Push settings associated with web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SwiftVirtualNetworkInner object + * @return the observable to the PushSettingsInner object */ - public Observable updateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { - return updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).map(new Func1, SwiftVirtualNetworkInner>() { + public Observable updateSitePushSettingsSlotAsync(String resourceGroupName, String name, String slot, PushSettingsInner pushSettings) { + return updateSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot, pushSettings).map(new Func1, PushSettingsInner>() { @Override - public SwiftVirtualNetworkInner call(ServiceResponse response) { + public PushSettingsInner call(ServiceResponse response) { return response.body(); } }); } /** - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. - * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not - in use by another App Service Plan other than the one this App is in. + * Updates the Push settings associated with web app. + * Updates the Push settings associated with web app. * * @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 add or update connections for the production slot. - * @param connectionEnvelope Properties of the Virtual Network connection. See example. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param pushSettings Push settings associated with web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SwiftVirtualNetworkInner object + * @return the observable to the PushSettingsInner object */ - public Observable> updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + public Observable> updateSitePushSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, PushSettingsInner pushSettings) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22124,19 +22183,19 @@ public Observable> updateSwiftVirtualN if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (connectionEnvelope == null) { - throw new IllegalArgumentException("Parameter connectionEnvelope is required and cannot be null."); + if (pushSettings == null) { + throw new IllegalArgumentException("Parameter pushSettings 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(connectionEnvelope); - return service.updateSwiftVirtualNetworkConnectionSlot(resourceGroupName, name, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(pushSettings); + return service.updateSitePushSettingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), pushSettings, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateSwiftVirtualNetworkConnectionSlotDelegate(response); + ServiceResponse clientResponse = updateSitePushSettingsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22145,74 +22204,74 @@ 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()) + private ServiceResponse 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); } /** - * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. - * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + * Gets the Push settings associated with web app. + * Gets the Push settings associated with web app. * * @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 return configuration for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 SiteConfigResourceInner object if successful. + * @return the PushSettingsInner object if successful. */ - public SiteConfigResourceInner getConfigurationSlot(String resourceGroupName, String name, String slot) { - return getConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public PushSettingsInner listSitePushSettingsSlot(String resourceGroupName, String name, String slot) { + return listSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. - * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + * Gets the Push settings associated with web app. + * Gets the Push settings associated with web app. * * @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 return configuration for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 getConfigurationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture listSitePushSettingsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. - * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + * Gets the Push settings associated with web app. + * Gets the Push settings associated with web app. * * @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 return configuration for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteConfigResourceInner object + * @return the observable to the PushSettingsInner object */ - public Observable getConfigurationSlotAsync(String resourceGroupName, String name, String slot) { - return getConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteConfigResourceInner>() { + public Observable listSitePushSettingsSlotAsync(String resourceGroupName, String name, String slot) { + return listSitePushSettingsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, PushSettingsInner>() { @Override - public SiteConfigResourceInner call(ServiceResponse response) { + public PushSettingsInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. - * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + * Gets the Push settings associated with web app. + * Gets the Push settings associated with web app. * * @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 return configuration for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteConfigResourceInner object + * @return the observable to the PushSettingsInner object */ - public Observable> getConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> listSitePushSettingsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22228,12 +22287,12 @@ public Observable> getConfigurationSlot if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listSitePushSettingsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getConfigurationSlotDelegate(response); + ServiceResponse clientResponse = listSitePushSettingsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22242,78 +22301,74 @@ 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()) + private ServiceResponse 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); } /** - * Updates the configuration of an app. - * Updates the configuration of an app. + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. * * @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 update configuration for the production slot. - * @param siteConfig JSON representation of a SiteConfig object. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network. * @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 SiteConfigResourceInner object if successful. + * @return the SwiftVirtualNetworkInner object if successful. */ - public SiteConfigResourceInner createOrUpdateConfigurationSlot(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { - return createOrUpdateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig).toBlocking().single().body(); + public SwiftVirtualNetworkInner getSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot) { + return getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Updates the configuration of an app. - * Updates the configuration of an app. + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. * * @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 update configuration for the production slot. - * @param siteConfig JSON representation of a SiteConfig object. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network. * @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 createOrUpdateConfigurationSlotAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createOrUpdateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig), serviceCallback); + public ServiceFuture getSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Updates the configuration of an app. - * Updates the configuration of an app. + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. * * @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 update configuration for the production slot. - * @param siteConfig JSON representation of a SiteConfig object. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteConfigResourceInner object + * @return the observable to the SwiftVirtualNetworkInner object */ - public Observable createOrUpdateConfigurationSlotAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { - return createOrUpdateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig).map(new Func1, SiteConfigResourceInner>() { + public Observable getSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot) { + return getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SwiftVirtualNetworkInner>() { @Override - public SiteConfigResourceInner call(ServiceResponse response) { + public SwiftVirtualNetworkInner call(ServiceResponse response) { return response.body(); } }); } /** - * Updates the configuration of an app. - * Updates the configuration of an app. + * Gets a Swift Virtual Network connection. + * Gets a Swift Virtual Network connection. * * @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 update configuration for the production slot. - * @param siteConfig JSON representation of a SiteConfig object. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteConfigResourceInner object + * @return the observable to the SwiftVirtualNetworkInner object */ - public Observable> createOrUpdateConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { + public Observable> getSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22326,19 +22381,15 @@ public Observable> createOrUpdateConfig if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (siteConfig == null) { - throw new IllegalArgumentException("Parameter siteConfig 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(siteConfig); - return service.createOrUpdateConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteConfig, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getSwiftVirtualNetworkConnectionSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = createOrUpdateConfigurationSlotDelegate(response); + ServiceResponse clientResponse = getSwiftVirtualNetworkConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22347,78 +22398,86 @@ 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()) + private ServiceResponse 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); } /** - * Updates the configuration of an app. - * Updates the configuration of an app. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. * * @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 update configuration for the production slot. - * @param siteConfig JSON representation of a SiteConfig object. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. * @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 SiteConfigResourceInner object if successful. + * @return the SwiftVirtualNetworkInner object if successful. */ - public SiteConfigResourceInner updateConfigurationSlot(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { - return updateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig).toBlocking().single().body(); + public SwiftVirtualNetworkInner createOrUpdateSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + return createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).toBlocking().single().body(); } /** - * Updates the configuration of an app. - * Updates the configuration of an app. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. * * @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 update configuration for the production slot. - * @param siteConfig JSON representation of a SiteConfig object. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. * @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 updateConfigurationSlotAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig), serviceCallback); + public ServiceFuture createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope), serviceCallback); } /** - * Updates the configuration of an app. - * Updates the configuration of an app. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. * * @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 update configuration for the production slot. - * @param siteConfig JSON representation of a SiteConfig object. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteConfigResourceInner object + * @return the observable to the SwiftVirtualNetworkInner object */ - public Observable updateConfigurationSlotAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { - return updateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig).map(new Func1, SiteConfigResourceInner>() { + public Observable createOrUpdateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + return createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).map(new Func1, SwiftVirtualNetworkInner>() { @Override - public SiteConfigResourceInner call(ServiceResponse response) { + public SwiftVirtualNetworkInner call(ServiceResponse response) { return response.body(); } }); } /** - * Updates the configuration of an app. - * Updates the configuration of an app. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. * * @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 update configuration for the production slot. - * @param siteConfig JSON representation of a SiteConfig object. See example. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteConfigResourceInner object + * @return the observable to the SwiftVirtualNetworkInner object */ - public Observable> updateConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { + public Observable> createOrUpdateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22431,19 +22490,19 @@ public Observable> updateConfigurationS if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (siteConfig == null) { - throw new IllegalArgumentException("Parameter siteConfig is required and cannot be null."); + if (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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(siteConfig); - return service.updateConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteConfig, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(connectionEnvelope); + return service.createOrUpdateSwiftVirtualNetworkConnectionSlot(resourceGroupName, name, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateConfigurationSlotDelegate(response); + ServiceResponse clientResponse = createOrUpdateSwiftVirtualNetworkConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22452,113 +22511,73 @@ 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()) + private ServiceResponse 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); } /** - * 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. + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). * * @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 return configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<SiteConfigurationSnapshotInfoInner> object if successful. */ - public PagedList listConfigurationSnapshotInfoSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listConfigurationSnapshotInfoSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listConfigurationSnapshotInfoSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public void deleteSwiftVirtualNetworkSlot(String resourceGroupName, String name, String slot) { + deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * 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. + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). * * @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 return configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production 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> listConfigurationSnapshotInfoSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listConfigurationSnapshotInfoSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listConfigurationSnapshotInfoSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture deleteSwiftVirtualNetworkSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * 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. + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). * * @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 return configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteConfigurationSnapshotInfoInner> object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> listConfigurationSnapshotInfoSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listConfigurationSnapshotInfoSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable deleteSwiftVirtualNetworkSlotAsync(String resourceGroupName, String name, String slot) { + return deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); } /** - * 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. + * Deletes a Swift Virtual Network connection from an app (or deployment slot). + * Deletes a Swift Virtual Network connection from an app (or deployment slot). * * @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 return configuration for the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteConfigurationSnapshotInfoInner> object - */ - public Observable>> listConfigurationSnapshotInfoSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listConfigurationSnapshotInfoSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listConfigurationSnapshotInfoSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SiteConfigurationSnapshotInfoInner> object wrapped in {@link ServiceResponse} if successful. + * @return the {@link ServiceResponse} object if successful. */ - public Observable>> listConfigurationSnapshotInfoSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> deleteSwiftVirtualNetworkSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22574,13 +22593,13 @@ public Observable>> lis if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listConfigurationSnapshotInfoSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.deleteSwiftVirtualNetworkSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse> result = listConfigurationSnapshotInfoSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = deleteSwiftVirtualNetworkSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -22588,102 +22607,112 @@ 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) + 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); } /** - * Gets a snapshot of the configuration of an app at a previous point in time. - * Gets a snapshot of the configuration of an app at a previous point in time. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param snapshotId The ID of the snapshot to read. - * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. * @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 SiteConfigResourceInner object if successful. + * @return the SwiftVirtualNetworkInner object if successful. */ - public SiteConfigResourceInner getConfigurationSnapshotSlot(String resourceGroupName, String name, String snapshotId, String slot) { - return getConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot).toBlocking().single().body(); + public SwiftVirtualNetworkInner updateSwiftVirtualNetworkConnectionSlot(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + return updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).toBlocking().single().body(); } /** - * Gets a snapshot of the configuration of an app at a previous point in time. - * Gets a snapshot of the configuration of an app at a previous point in time. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param snapshotId The ID of the snapshot to read. - * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. * @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 getConfigurationSnapshotSlotAsync(String resourceGroupName, String name, String snapshotId, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot), serviceCallback); + public ServiceFuture updateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope), serviceCallback); } /** - * Gets a snapshot of the configuration of an app at a previous point in time. - * Gets a snapshot of the configuration of an app at a previous point in time. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param snapshotId The ID of the snapshot to read. - * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteConfigResourceInner object + * @return the observable to the SwiftVirtualNetworkInner object */ - public Observable getConfigurationSnapshotSlotAsync(String resourceGroupName, String name, String snapshotId, String slot) { - return getConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot).map(new Func1, SiteConfigResourceInner>() { + public Observable updateSwiftVirtualNetworkConnectionSlotAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { + return updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(resourceGroupName, name, slot, connectionEnvelope).map(new Func1, SwiftVirtualNetworkInner>() { @Override - public SiteConfigResourceInner call(ServiceResponse response) { + public SwiftVirtualNetworkInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets a snapshot of the configuration of an app at a previous point in time. - * Gets a snapshot of the configuration of an app at a previous point in time. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. + * Integrates this Web App with a Virtual Network. This requires that 1) "swiftSupported" is true when doing a GET against this resource, and 2) that the target Subnet has already been delegated, and is not + in use by another App Service Plan other than the one this App is in. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param snapshotId The ID of the snapshot to read. - * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot. + * @param slot Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot. + * @param connectionEnvelope Properties of the Virtual Network connection. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteConfigResourceInner object + * @return the observable to the SwiftVirtualNetworkInner object */ - public Observable> getConfigurationSnapshotSlotWithServiceResponseAsync(String resourceGroupName, String name, String snapshotId, String slot) { + public Observable> updateSwiftVirtualNetworkConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SwiftVirtualNetworkInner connectionEnvelope) { 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 (snapshotId == null) { - throw new IllegalArgumentException("Parameter snapshotId 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 (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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.getConfigurationSnapshotSlot(resourceGroupName, name, snapshotId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(connectionEnvelope); + return service.updateSwiftVirtualNetworkConnectionSlot(resourceGroupName, name, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getConfigurationSnapshotSlotDelegate(response); + ServiceResponse clientResponse = updateSwiftVirtualNetworkConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22692,86 +22721,80 @@ 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()) + private ServiceResponse 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); } /** - * Reverts the configuration of an app to a previous snapshot. - * Reverts the configuration of an app to a previous snapshot. + * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param snapshotId The ID of the snapshot to read. * @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 - * @throws CloudException thrown if the request is rejected by server + * @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 SiteConfigResourceInner object if successful. */ - public void recoverSiteConfigurationSnapshotSlot(String resourceGroupName, String name, String snapshotId, String slot) { - recoverSiteConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot).toBlocking().single().body(); + public SiteConfigResourceInner getConfigurationSlot(String resourceGroupName, String name, String slot) { + return getConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Reverts the configuration of an app to a previous snapshot. - * Reverts the configuration of an app to a previous snapshot. + * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param snapshotId The ID of the snapshot to read. * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production 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 recoverSiteConfigurationSnapshotSlotAsync(String resourceGroupName, String name, String snapshotId, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(recoverSiteConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot), serviceCallback); + public ServiceFuture getConfigurationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Reverts the configuration of an app to a previous snapshot. - * Reverts the configuration of an app to a previous snapshot. + * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param snapshotId The ID of the snapshot to read. * @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 {@link ServiceResponse} object if successful. + * @return the observable to the SiteConfigResourceInner object */ - public Observable recoverSiteConfigurationSnapshotSlotAsync(String resourceGroupName, String name, String snapshotId, String slot) { - return recoverSiteConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot).map(new Func1, Void>() { + public Observable getConfigurationSlotAsync(String resourceGroupName, String name, String slot) { + return getConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteConfigResourceInner>() { @Override - public Void call(ServiceResponse response) { + public SiteConfigResourceInner call(ServiceResponse response) { return response.body(); } }); } /** - * Reverts the configuration of an app to a previous snapshot. - * Reverts the configuration of an app to a previous snapshot. + * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. + * Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param snapshotId The ID of the snapshot to read. * @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 {@link ServiceResponse} object if successful. + * @return the observable to the SiteConfigResourceInner object */ - public Observable> recoverSiteConfigurationSnapshotSlotWithServiceResponseAsync(String resourceGroupName, String name, String snapshotId, String slot) { + public Observable> getConfigurationSlotWithServiceResponseAsync(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 (snapshotId == null) { - throw new IllegalArgumentException("Parameter snapshotId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -22781,12 +22804,12 @@ public Observable> recoverSiteConfigurationSnapshotSlotWit if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.recoverSiteConfigurationSnapshotSlot(resourceGroupName, name, snapshotId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getConfigurationSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = recoverSiteConfigurationSnapshotSlotDelegate(response); + ServiceResponse clientResponse = getConfigurationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22795,74 +22818,78 @@ 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) + private ServiceResponse 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); } /** - * Gets the last lines of docker logs for the given site. - * Gets the last lines of docker logs for the given site. + * Updates the configuration of an app. + * Updates the configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot. + * @param siteConfig JSON representation of a SiteConfig object. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 InputStream object if successful. + * @return the SiteConfigResourceInner object if successful. */ - public InputStream getWebSiteContainerLogsSlot(String resourceGroupName, String name, String slot) { - return getWebSiteContainerLogsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public SiteConfigResourceInner createOrUpdateConfigurationSlot(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { + return createOrUpdateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig).toBlocking().single().body(); } /** - * Gets the last lines of docker logs for the given site. - * Gets the last lines of docker logs for the given site. + * Updates the configuration of an app. + * Updates the configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot. + * @param siteConfig JSON representation of a SiteConfig object. See example. * @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 getWebSiteContainerLogsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getWebSiteContainerLogsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture createOrUpdateConfigurationSlotAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig), serviceCallback); } /** - * Gets the last lines of docker logs for the given site. - * Gets the last lines of docker logs for the given site. + * Updates the configuration of an app. + * Updates the configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot. + * @param siteConfig JSON representation of a SiteConfig object. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the SiteConfigResourceInner object */ - public Observable getWebSiteContainerLogsSlotAsync(String resourceGroupName, String name, String slot) { - return getWebSiteContainerLogsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, InputStream>() { + public Observable createOrUpdateConfigurationSlotAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { + return createOrUpdateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig).map(new Func1, SiteConfigResourceInner>() { @Override - public InputStream call(ServiceResponse response) { + public SiteConfigResourceInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the last lines of docker logs for the given site. - * Gets the last lines of docker logs for the given site. + * Updates the configuration of an app. + * Updates the configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot. + * @param siteConfig JSON representation of a SiteConfig object. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the SiteConfigResourceInner object */ - public Observable> getWebSiteContainerLogsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> createOrUpdateConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22875,15 +22902,19 @@ public Observable> getWebSiteContainerLogsSlotWithS if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (siteConfig == null) { + throw new IllegalArgumentException("Parameter siteConfig 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.getWebSiteContainerLogsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(siteConfig); + return service.createOrUpdateConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteConfig, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getWebSiteContainerLogsSlotDelegate(response); + ServiceResponse clientResponse = createOrUpdateConfigurationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22892,75 +22923,78 @@ 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) + private ServiceResponse 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); } /** - * Gets the ZIP archived docker log files for the given site. - * Gets the ZIP archived docker log files for the given site. + * Updates the configuration of an app. + * Updates the configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot. + * @param siteConfig JSON representation of a SiteConfig object. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 InputStream object if successful. + * @return the SiteConfigResourceInner object if successful. */ - public InputStream getContainerLogsZipSlot(String resourceGroupName, String name, String slot) { - return getContainerLogsZipSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public SiteConfigResourceInner updateConfigurationSlot(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { + return updateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig).toBlocking().single().body(); } /** - * Gets the ZIP archived docker log files for the given site. - * Gets the ZIP archived docker log files for the given site. + * Updates the configuration of an app. + * Updates the configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot. + * @param siteConfig JSON representation of a SiteConfig object. See example. * @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 getContainerLogsZipSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getContainerLogsZipSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture updateConfigurationSlotAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig), serviceCallback); } /** - * Gets the ZIP archived docker log files for the given site. - * Gets the ZIP archived docker log files for the given site. + * Updates the configuration of an app. + * Updates the configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot. + * @param siteConfig JSON representation of a SiteConfig object. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the SiteConfigResourceInner object */ - public Observable getContainerLogsZipSlotAsync(String resourceGroupName, String name, String slot) { - return getContainerLogsZipSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, InputStream>() { + public Observable updateConfigurationSlotAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { + return updateConfigurationSlotWithServiceResponseAsync(resourceGroupName, name, slot, siteConfig).map(new Func1, SiteConfigResourceInner>() { @Override - public InputStream call(ServiceResponse response) { + public SiteConfigResourceInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the ZIP archived docker log files for the given site. - * Gets the ZIP archived docker log files for the given site. + * Updates the configuration of an app. + * Updates the configuration of an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot. + * @param siteConfig JSON representation of a SiteConfig object. See example. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the SiteConfigResourceInner object */ - public Observable> getContainerLogsZipSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> updateConfigurationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, SiteConfigResourceInner siteConfig) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -22973,15 +23007,19 @@ public Observable> getContainerLogsZipSlotWithServi if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (this.client.apiVersion() == null) { + if (siteConfig == null) { + throw new IllegalArgumentException("Parameter siteConfig 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.getContainerLogsZipSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(siteConfig); + return service.updateConfigurationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), siteConfig, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getContainerLogsZipSlotDelegate(response); + ServiceResponse clientResponse = updateConfigurationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -22990,114 +23028,113 @@ 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) + private ServiceResponse 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); } /** - * List continuous web jobs for an app, or a deployment slot. - * List continuous web jobs for an app, or a deployment slot. + * 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. * * @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 name Name of the app. + * @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 * @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 PagedList<ContinuousWebJobInner> object if successful. + * @return the PagedList<SiteConfigurationSnapshotInfoInner> object if successful. */ - public PagedList listContinuousWebJobsSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listContinuousWebJobsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listConfigurationSnapshotInfoSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listConfigurationSnapshotInfoSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return listContinuousWebJobsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + public Page nextPage(String nextPageLink) { + return listConfigurationSnapshotInfoSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; } /** - * List continuous web jobs for an app, or a deployment slot. - * List continuous web jobs for an app, or a deployment slot. + * 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. * * @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 name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production 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> listContinuousWebJobsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + public ServiceFuture> listConfigurationSnapshotInfoSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listContinuousWebJobsSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { + listConfigurationSnapshotInfoSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return listContinuousWebJobsSlotNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listConfigurationSnapshotInfoSlotNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * List continuous web jobs for an app, or a deployment slot. - * List continuous web jobs for an app, or a deployment slot. + * 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. * * @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 name Name of the app. + * @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 observable to the PagedList<ContinuousWebJobInner> object + * @return the observable to the PagedList<SiteConfigurationSnapshotInfoInner> object */ - public Observable> listContinuousWebJobsSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listContinuousWebJobsSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { + public Observable> listConfigurationSnapshotInfoSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listConfigurationSnapshotInfoSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * List continuous web jobs for an app, or a deployment slot. - * List continuous web jobs for an app, or a deployment slot. + * 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. * * @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 name Name of the app. + * @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 observable to the PagedList<ContinuousWebJobInner> object + * @return the observable to the PagedList<SiteConfigurationSnapshotInfoInner> object */ - public Observable>> listContinuousWebJobsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listContinuousWebJobsSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listConfigurationSnapshotInfoSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listConfigurationSnapshotInfoSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(listContinuousWebJobsSlotNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listConfigurationSnapshotInfoSlotNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * List continuous web jobs for an app, or a deployment slot. - * List continuous web jobs for an app, or a deployment slot. + * 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 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 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<ContinuousWebJobInner> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<SiteConfigurationSnapshotInfoInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listContinuousWebJobsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable>> listConfigurationSnapshotInfoSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -23113,13 +23150,13 @@ public Observable>> listContinuousWe if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listContinuousWebJobsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listConfigurationSnapshotInfoSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listContinuousWebJobsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listConfigurationSnapshotInfoSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -23127,86 +23164,86 @@ 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()) + 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); } /** - * Gets a continuous web job by its ID for an app, or a deployment slot. - * Gets a continuous web job by its ID for an app, or a deployment slot. + * Gets a snapshot of the configuration of an app at a previous point in time. + * Gets a snapshot of the configuration of an app at a previous point in time. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of the app. + * @param snapshotId The ID of the snapshot to read. + * @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 - * @throws CloudException thrown if the request is rejected by server + * @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 ContinuousWebJobInner object if successful. + * @return the SiteConfigResourceInner object if successful. */ - public ContinuousWebJobInner getContinuousWebJobSlot(String resourceGroupName, String name, String webJobName, String slot) { - return getContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).toBlocking().single().body(); + public SiteConfigResourceInner getConfigurationSnapshotSlot(String resourceGroupName, String name, String snapshotId, String slot) { + return getConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot).toBlocking().single().body(); } /** - * Gets a continuous web job by its ID for an app, or a deployment slot. - * Gets a continuous web job by its ID for an app, or a deployment slot. + * Gets a snapshot of the configuration of an app at a previous point in time. + * Gets a snapshot of the configuration of an app at a previous point in time. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of the app. + * @param snapshotId The ID of the snapshot to read. + * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production 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 getContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot), serviceCallback); + public ServiceFuture getConfigurationSnapshotSlotAsync(String resourceGroupName, String name, String snapshotId, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot), serviceCallback); } /** - * Gets a continuous web job by its ID for an app, or a deployment slot. - * Gets a continuous web job by its ID for an app, or a deployment slot. + * Gets a snapshot of the configuration of an app at a previous point in time. + * Gets a snapshot of the configuration of an app at a previous point in time. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of the app. + * @param snapshotId The ID of the snapshot to read. + * @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 observable to the ContinuousWebJobInner object + * @return the observable to the SiteConfigResourceInner object */ - public Observable getContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { - return getContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).map(new Func1, ContinuousWebJobInner>() { + public Observable getConfigurationSnapshotSlotAsync(String resourceGroupName, String name, String snapshotId, String slot) { + return getConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot).map(new Func1, SiteConfigResourceInner>() { @Override - public ContinuousWebJobInner call(ServiceResponse response) { + public SiteConfigResourceInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets a continuous web job by its ID for an app, or a deployment slot. - * Gets a continuous web job by its ID for an app, or a deployment slot. + * Gets a snapshot of the configuration of an app at a previous point in time. + * Gets a snapshot of the configuration of an app at a previous point in time. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of the app. + * @param snapshotId The ID of the snapshot to read. + * @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 observable to the ContinuousWebJobInner object + * @return the observable to the SiteConfigResourceInner object */ - public Observable> getContinuousWebJobSlotWithServiceResponseAsync(String resourceGroupName, String name, String webJobName, String slot) { + public Observable> getConfigurationSnapshotSlotWithServiceResponseAsync(String resourceGroupName, String name, String snapshotId, 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 (webJobName == null) { - throw new IllegalArgumentException("Parameter webJobName is required and cannot be null."); + if (snapshotId == null) { + throw new IllegalArgumentException("Parameter snapshotId is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -23217,12 +23254,12 @@ public Observable> getContinuousWebJobSlo if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getContinuousWebJobSlot(resourceGroupName, name, webJobName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getConfigurationSnapshotSlot(resourceGroupName, name, snapshotId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getContinuousWebJobSlotDelegate(response); + ServiceResponse clientResponse = getConfigurationSnapshotSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -23231,59 +23268,58 @@ 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) + private ServiceResponse 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); } /** - * Delete a continuous web job by its ID for an app, or a deployment slot. - * Delete a continuous web job by its ID for an app, or a deployment slot. + * Reverts the configuration of an app to a previous snapshot. + * Reverts the configuration of an app to a previous snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of the app. + * @param snapshotId The ID of the snapshot to read. + * @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 * @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 deleteContinuousWebJobSlot(String resourceGroupName, String name, String webJobName, String slot) { - deleteContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).toBlocking().single().body(); + public void recoverSiteConfigurationSnapshotSlot(String resourceGroupName, String name, String snapshotId, String slot) { + recoverSiteConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot).toBlocking().single().body(); } /** - * Delete a continuous web job by its ID for an app, or a deployment slot. - * Delete a continuous web job by its ID for an app, or a deployment slot. + * Reverts the configuration of an app to a previous snapshot. + * Reverts the configuration of an app to a previous snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of the app. + * @param snapshotId The ID of the snapshot to read. + * @param slot Name of the deployment slot. If a slot is not specified, the API will return configuration for the production 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 deleteContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot), serviceCallback); + public ServiceFuture recoverSiteConfigurationSnapshotSlotAsync(String resourceGroupName, String name, String snapshotId, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(recoverSiteConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot), serviceCallback); } /** - * Delete a continuous web job by its ID for an app, or a deployment slot. - * Delete a continuous web job by its ID for an app, or a deployment slot. + * Reverts the configuration of an app to a previous snapshot. + * Reverts the configuration of an app to a previous snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of the app. + * @param snapshotId The ID of the snapshot to read. + * @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 {@link ServiceResponse} object if successful. */ - public Observable deleteContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { - return deleteContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).map(new Func1, Void>() { + public Observable recoverSiteConfigurationSnapshotSlotAsync(String resourceGroupName, String name, String snapshotId, String slot) { + return recoverSiteConfigurationSnapshotSlotWithServiceResponseAsync(resourceGroupName, name, snapshotId, slot).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -23292,25 +23328,25 @@ public Void call(ServiceResponse response) { } /** - * Delete a continuous web job by its ID for an app, or a deployment slot. - * Delete a continuous web job by its ID for an app, or a deployment slot. + * Reverts the configuration of an app to a previous snapshot. + * Reverts the configuration of an app to a previous snapshot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of the app. + * @param snapshotId The ID of the snapshot to read. + * @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 {@link ServiceResponse} object if successful. */ - public Observable> deleteContinuousWebJobSlotWithServiceResponseAsync(String resourceGroupName, String name, String webJobName, String slot) { + public Observable> recoverSiteConfigurationSnapshotSlotWithServiceResponseAsync(String resourceGroupName, String name, String snapshotId, 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 (webJobName == null) { - throw new IllegalArgumentException("Parameter webJobName is required and cannot be null."); + if (snapshotId == null) { + throw new IllegalArgumentException("Parameter snapshotId is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -23321,12 +23357,12 @@ public Observable> deleteContinuousWebJobSlotWithServiceRe if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.deleteContinuousWebJobSlot(resourceGroupName, name, webJobName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.recoverSiteConfigurationSnapshotSlot(resourceGroupName, name, snapshotId, 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 = deleteContinuousWebJobSlotDelegate(response); + ServiceResponse clientResponse = recoverSiteConfigurationSnapshotSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -23335,87 +23371,80 @@ public Observable> call(Response response) { }); } - private ServiceResponse deleteContinuousWebJobSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse recoverSiteConfigurationSnapshotSlotDelegate(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); } /** - * Start a continuous web job for an app, or a deployment slot. - * Start a continuous web job for an app, or a deployment slot. + * Gets the last lines of docker logs for the given site. + * Gets the last lines of docker logs for the given site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 + * @return the InputStream object if successful. */ - public void startContinuousWebJobSlot(String resourceGroupName, String name, String webJobName, String slot) { - startContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).toBlocking().single().body(); + public InputStream getWebSiteContainerLogsSlot(String resourceGroupName, String name, String slot) { + return getWebSiteContainerLogsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Start a continuous web job for an app, or a deployment slot. - * Start a continuous web job for an app, or a deployment slot. + * Gets the last lines of docker logs for the given site. + * Gets the last lines of docker logs for the given site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 startContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(startContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot), serviceCallback); + public ServiceFuture getWebSiteContainerLogsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWebSiteContainerLogsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Start a continuous web job for an app, or a deployment slot. - * Start a continuous web job for an app, or a deployment slot. + * Gets the last lines of docker logs for the given site. + * Gets the last lines of docker logs for the given site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the InputStream object */ - public Observable startContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { - return startContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).map(new Func1, Void>() { + public Observable getWebSiteContainerLogsSlotAsync(String resourceGroupName, String name, String slot) { + return getWebSiteContainerLogsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, InputStream>() { @Override - public Void call(ServiceResponse response) { + public InputStream call(ServiceResponse response) { return response.body(); } }); } /** - * Start a continuous web job for an app, or a deployment slot. - * Start a continuous web job for an app, or a deployment slot. + * Gets the last lines of docker logs for the given site. + * Gets the last lines of docker logs for the given site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the InputStream object */ - public Observable> startContinuousWebJobSlotWithServiceResponseAsync(String resourceGroupName, String name, String webJobName, String slot) { + public Observable> getWebSiteContainerLogsSlotWithServiceResponseAsync(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 (webJobName == null) { - throw new IllegalArgumentException("Parameter webJobName is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -23425,12 +23454,12 @@ public Observable> startContinuousWebJobSlotWithServiceRes if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.startContinuousWebJobSlot(resourceGroupName, name, webJobName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getWebSiteContainerLogsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = startContinuousWebJobSlotDelegate(response); + ServiceResponse clientResponse = getWebSiteContainerLogsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -23439,87 +23468,81 @@ 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()) + 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); } /** - * Stop a continuous web job for an app, or a deployment slot. - * Stop a continuous web job for an app, or a deployment slot. + * Gets the ZIP archived docker log files for the given site. + * Gets the ZIP archived docker log files for the given site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 + * @return the InputStream object if successful. */ - public void stopContinuousWebJobSlot(String resourceGroupName, String name, String webJobName, String slot) { - stopContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).toBlocking().single().body(); + public InputStream getContainerLogsZipSlot(String resourceGroupName, String name, String slot) { + return getContainerLogsZipSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Stop a continuous web job for an app, or a deployment slot. - * Stop a continuous web job for an app, or a deployment slot. + * Gets the ZIP archived docker log files for the given site. + * Gets the ZIP archived docker log files for the given site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 stopContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(stopContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot), serviceCallback); + public ServiceFuture getContainerLogsZipSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getContainerLogsZipSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Stop a continuous web job for an app, or a deployment slot. - * Stop a continuous web job for an app, or a deployment slot. + * Gets the ZIP archived docker log files for the given site. + * Gets the ZIP archived docker log files for the given site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the InputStream object */ - public Observable stopContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { - return stopContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).map(new Func1, Void>() { + public Observable getContainerLogsZipSlotAsync(String resourceGroupName, String name, String slot) { + return getContainerLogsZipSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, InputStream>() { @Override - public Void call(ServiceResponse response) { + public InputStream call(ServiceResponse response) { return response.body(); } }); } /** - * Stop a continuous web job for an app, or a deployment slot. - * Stop a continuous web job for an app, or a deployment slot. + * Gets the ZIP archived docker log files for the given site. + * Gets the ZIP archived docker log files for the given site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param webJobName Name of Web Job. - * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the InputStream object */ - public Observable> stopContinuousWebJobSlotWithServiceResponseAsync(String resourceGroupName, String name, String webJobName, String slot) { + public Observable> getContainerLogsZipSlotWithServiceResponseAsync(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 (webJobName == null) { - throw new IllegalArgumentException("Parameter webJobName is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -23529,12 +23552,12 @@ public Observable> stopContinuousWebJobSlotWithServiceResp if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.stopContinuousWebJobSlot(resourceGroupName, name, webJobName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getContainerLogsZipSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = stopContinuousWebJobSlotDelegate(response); + ServiceResponse clientResponse = getContainerLogsZipSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -23543,114 +23566,114 @@ 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()) + 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); } /** - * List deployments for an app, or a deployment slot. - * List deployments for an app, or a deployment slot. + * List continuous web jobs for an app, or a deployment slot. + * List continuous web jobs for an app, or a deployment slot. * * @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 returns deployments for the production slot. + * @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. * @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 PagedList<DeploymentInner> object if successful. + * @return the PagedList<ContinuousWebJobInner> object if successful. */ - public PagedList listDeploymentsSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listDeploymentsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listContinuousWebJobsSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listContinuousWebJobsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return listDeploymentsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + public Page nextPage(String nextPageLink) { + return listContinuousWebJobsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; } /** - * List deployments for an app, or a deployment slot. - * List deployments for an app, or a deployment slot. + * List continuous web jobs for an app, or a deployment slot. + * List continuous web jobs for an app, or a deployment slot. * * @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 returns deployments for the production slot. + * @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 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> listDeploymentsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + public ServiceFuture> listContinuousWebJobsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listDeploymentsSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { + listContinuousWebJobsSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return listDeploymentsSlotNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listContinuousWebJobsSlotNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * List deployments for an app, or a deployment slot. - * List deployments for an app, or a deployment slot. + * List continuous web jobs for an app, or a deployment slot. + * List continuous web jobs for an app, or a deployment slot. * * @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 returns deployments for the production slot. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeploymentInner> object + * @return the observable to the PagedList<ContinuousWebJobInner> object */ - public Observable> listDeploymentsSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listDeploymentsSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { + public Observable> listContinuousWebJobsSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listContinuousWebJobsSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * List deployments for an app, or a deployment slot. - * List deployments for an app, or a deployment slot. + * List continuous web jobs for an app, or a deployment slot. + * List continuous web jobs for an app, or a deployment slot. * * @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 returns deployments for the production slot. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<DeploymentInner> object + * @return the observable to the PagedList<ContinuousWebJobInner> object */ - public Observable>> listDeploymentsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listDeploymentsSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listContinuousWebJobsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listContinuousWebJobsSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(listDeploymentsSlotNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listContinuousWebJobsSlotNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * List deployments for an app, or a deployment slot. - * List deployments for an app, or a deployment slot. + * 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 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 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<DeploymentInner> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<ContinuousWebJobInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listDeploymentsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable>> listContinuousWebJobsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -23666,13 +23689,13 @@ public Observable>> listDeploymentsSlotSin if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listDeploymentsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listContinuousWebJobsSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listDeploymentsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listContinuousWebJobsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -23680,86 +23703,86 @@ 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()) + private ServiceResponse> 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); } /** - * Get a deployment by its ID for an app, or a deployment slot. - * Get a deployment by its ID for an app, or a deployment slot. + * Gets a continuous web job by its ID for an app, or a deployment slot. + * Gets a continuous web job by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id Deployment ID. - * @param slot Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeploymentInner object if successful. + * @return the ContinuousWebJobInner object if successful. */ - public DeploymentInner getDeploymentSlot(String resourceGroupName, String name, String id, String slot) { - return getDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).toBlocking().single().body(); + public ContinuousWebJobInner getContinuousWebJobSlot(String resourceGroupName, String name, String webJobName, String slot) { + return getContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).toBlocking().single().body(); } /** - * Get a deployment by its ID for an app, or a deployment slot. - * Get a deployment by its ID for an app, or a deployment slot. + * Gets a continuous web job by its ID for an app, or a deployment slot. + * Gets a continuous web job by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id Deployment ID. - * @param slot Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot. + * @param name Site name. + * @param webJobName Name of Web Job. + * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production 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 getDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot), serviceCallback); + public ServiceFuture getContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot), serviceCallback); } /** - * Get a deployment by its ID for an app, or a deployment slot. - * Get a deployment by its ID for an app, or a deployment slot. + * Gets a continuous web job by its ID for an app, or a deployment slot. + * Gets a continuous web job by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id Deployment ID. - * @param slot Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 observable to the DeploymentInner object + * @return the observable to the ContinuousWebJobInner object */ - public Observable getDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot) { - return getDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).map(new Func1, DeploymentInner>() { + public Observable getContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { + return getContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).map(new Func1, ContinuousWebJobInner>() { @Override - public DeploymentInner call(ServiceResponse response) { + public ContinuousWebJobInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get a deployment by its ID for an app, or a deployment slot. - * Get a deployment by its ID for an app, or a deployment slot. + * Gets a continuous web job by its ID for an app, or a deployment slot. + * Gets a continuous web job by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id Deployment ID. - * @param slot Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 observable to the DeploymentInner object + * @return the observable to the ContinuousWebJobInner object */ - public Observable> getDeploymentSlotWithServiceResponseAsync(String resourceGroupName, String name, String id, String slot) { + public Observable> getContinuousWebJobSlotWithServiceResponseAsync(String resourceGroupName, String name, String webJobName, 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 (id == null) { - throw new IllegalArgumentException("Parameter id is required and cannot be null."); + if (webJobName == null) { + throw new IllegalArgumentException("Parameter webJobName is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -23770,12 +23793,12 @@ public Observable> getDeploymentSlotWithService if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getDeploymentSlot(resourceGroupName, name, id, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getContinuousWebJobSlot(resourceGroupName, name, webJobName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getDeploymentSlotDelegate(response); + ServiceResponse clientResponse = getContinuousWebJobSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -23784,90 +23807,86 @@ 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) + private ServiceResponse 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); } /** - * Create a deployment for an app, or a deployment slot. - * Create a deployment for an app, or a deployment slot. + * Delete a continuous web job by its ID for an app, or a deployment slot. + * Delete a continuous web job by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id ID of an existing deployment. - * @param slot Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. - * @param deployment Deployment details. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeploymentInner object if successful. */ - public DeploymentInner createDeploymentSlot(String resourceGroupName, String name, String id, String slot, DeploymentInner deployment) { - return createDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot, deployment).toBlocking().single().body(); + public void deleteContinuousWebJobSlot(String resourceGroupName, String name, String webJobName, String slot) { + deleteContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).toBlocking().single().body(); } /** - * Create a deployment for an app, or a deployment slot. - * Create a deployment for an app, or a deployment slot. + * Delete a continuous web job by its ID for an app, or a deployment slot. + * Delete a continuous web job by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id ID of an existing deployment. - * @param slot Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. - * @param deployment Deployment details. + * @param name Site name. + * @param webJobName Name of Web Job. + * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production 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 createDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot, DeploymentInner deployment, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot, deployment), serviceCallback); + public ServiceFuture deleteContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot), serviceCallback); } /** - * Create a deployment for an app, or a deployment slot. - * Create a deployment for an app, or a deployment slot. + * Delete a continuous web job by its ID for an app, or a deployment slot. + * Delete a continuous web job by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id ID of an existing deployment. - * @param slot Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. - * @param deployment Deployment details. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 observable to the DeploymentInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable createDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot, DeploymentInner deployment) { - return createDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot, deployment).map(new Func1, DeploymentInner>() { + public Observable deleteContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { + return deleteContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).map(new Func1, Void>() { @Override - public DeploymentInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Create a deployment for an app, or a deployment slot. - * Create a deployment for an app, or a deployment slot. + * Delete a continuous web job by its ID for an app, or a deployment slot. + * Delete a continuous web job by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id ID of an existing deployment. - * @param slot Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. - * @param deployment Deployment details. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 observable to the DeploymentInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> createDeploymentSlotWithServiceResponseAsync(String resourceGroupName, String name, String id, String slot, DeploymentInner deployment) { + public Observable> deleteContinuousWebJobSlotWithServiceResponseAsync(String resourceGroupName, String name, String webJobName, 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 (id == null) { - throw new IllegalArgumentException("Parameter id is required and cannot be null."); + if (webJobName == null) { + throw new IllegalArgumentException("Parameter webJobName is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -23875,19 +23894,15 @@ public Observable> createDeploymentSlotWithServ if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (deployment == null) { - throw new IllegalArgumentException("Parameter deployment 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(deployment); - return service.createDeploymentSlot(resourceGroupName, name, id, slot, this.client.subscriptionId(), deployment, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteContinuousWebJobSlot(resourceGroupName, name, webJobName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = createDeploymentSlotDelegate(response); + ServiceResponse clientResponse = deleteContinuousWebJobSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -23896,58 +23911,59 @@ 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) + 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); } /** - * Delete a deployment by its ID for an app, or a deployment slot. - * Delete a deployment by its ID for an app, or a deployment slot. + * Start a continuous web job for an app, or a deployment slot. + * Start a continuous web job for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id Deployment ID. + * @param name Site name. + * @param webJobName Name of Web Job. * @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 * @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 deleteDeploymentSlot(String resourceGroupName, String name, String id, String slot) { - deleteDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).toBlocking().single().body(); + public void startContinuousWebJobSlot(String resourceGroupName, String name, String webJobName, String slot) { + startContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).toBlocking().single().body(); } /** - * Delete a deployment by its ID for an app, or a deployment slot. - * Delete a deployment by its ID for an app, or a deployment slot. + * Start a continuous web job for an app, or a deployment slot. + * Start a continuous web job for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id Deployment ID. + * @param name Site name. + * @param webJobName Name of Web Job. * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production 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 deleteDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot), serviceCallback); + public ServiceFuture startContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(startContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot), serviceCallback); } /** - * Delete a deployment by its ID for an app, or a deployment slot. - * Delete a deployment by its ID for an app, or a deployment slot. + * Start a continuous web job for an app, or a deployment slot. + * Start a continuous web job for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id Deployment ID. + * @param name Site name. + * @param webJobName Name of Web Job. * @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 {@link ServiceResponse} object if successful. */ - public Observable deleteDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot) { - return deleteDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).map(new Func1, Void>() { + public Observable startContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { + return startContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -23956,25 +23972,25 @@ public Void call(ServiceResponse response) { } /** - * Delete a deployment by its ID for an app, or a deployment slot. - * Delete a deployment by its ID for an app, or a deployment slot. + * Start a continuous web job for an app, or a deployment slot. + * Start a continuous web job for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id Deployment ID. + * @param name Site name. + * @param webJobName Name of Web Job. * @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 {@link ServiceResponse} object if successful. */ - public Observable> deleteDeploymentSlotWithServiceResponseAsync(String resourceGroupName, String name, String id, String slot) { + public Observable> startContinuousWebJobSlotWithServiceResponseAsync(String resourceGroupName, String name, String webJobName, 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 (id == null) { - throw new IllegalArgumentException("Parameter id is required and cannot be null."); + if (webJobName == null) { + throw new IllegalArgumentException("Parameter webJobName is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -23985,12 +24001,12 @@ public Observable> deleteDeploymentSlotWithServiceResponse if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.deleteDeploymentSlot(resourceGroupName, name, id, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.startContinuousWebJobSlot(resourceGroupName, name, webJobName, 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 = deleteDeploymentSlotDelegate(response); + ServiceResponse clientResponse = startContinuousWebJobSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -23999,87 +24015,86 @@ public Observable> call(Response response) { }); } - private ServiceResponse deleteDeploymentSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse startContinuousWebJobSlotDelegate(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); } /** - * List deployment log for specific deployment for an app, or a deployment slot. - * List deployment log for specific deployment for an app, or a deployment slot. + * Stop a continuous web job for an app, or a deployment slot. + * Stop a continuous web job for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the DeploymentInner object if successful. */ - public DeploymentInner listDeploymentLogSlot(String resourceGroupName, String name, String id, String slot) { - return listDeploymentLogSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).toBlocking().single().body(); + public void stopContinuousWebJobSlot(String resourceGroupName, String name, String webJobName, String slot) { + stopContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).toBlocking().single().body(); } /** - * List deployment log for specific deployment for an app, or a deployment slot. - * List deployment log for specific deployment for an app, or a deployment slot. + * Stop a continuous web job for an app, or a deployment slot. + * Stop a continuous web job for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @param name Site name. + * @param webJobName Name of Web Job. + * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production 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 listDeploymentLogSlotAsync(String resourceGroupName, String name, String id, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listDeploymentLogSlotWithServiceResponseAsync(resourceGroupName, name, id, slot), serviceCallback); + public ServiceFuture stopContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(stopContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot), serviceCallback); } /** - * List deployment log for specific deployment for an app, or a deployment slot. - * List deployment log for specific deployment for an app, or a deployment slot. + * Stop a continuous web job for an app, or a deployment slot. + * Stop a continuous web job for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 observable to the DeploymentInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable listDeploymentLogSlotAsync(String resourceGroupName, String name, String id, String slot) { - return listDeploymentLogSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).map(new Func1, DeploymentInner>() { + public Observable stopContinuousWebJobSlotAsync(String resourceGroupName, String name, String webJobName, String slot) { + return stopContinuousWebJobSlotWithServiceResponseAsync(resourceGroupName, name, webJobName, slot).map(new Func1, Void>() { @Override - public DeploymentInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * List deployment log for specific deployment for an app, or a deployment slot. - * List deployment log for specific deployment for an app, or a deployment slot. + * Stop a continuous web job for an app, or a deployment slot. + * Stop a continuous web job for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param id The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @param name Site name. + * @param webJobName Name of Web Job. + * @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 observable to the DeploymentInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> listDeploymentLogSlotWithServiceResponseAsync(String resourceGroupName, String name, String id, String slot) { + public Observable> stopContinuousWebJobSlotWithServiceResponseAsync(String resourceGroupName, String name, String webJobName, 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 (id == null) { - throw new IllegalArgumentException("Parameter id is required and cannot be null."); + if (webJobName == null) { + throw new IllegalArgumentException("Parameter webJobName is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -24090,12 +24105,12 @@ public Observable> listDeploymentLogSlotWithSer if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listDeploymentLogSlot(resourceGroupName, name, id, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.stopContinuousWebJobSlot(resourceGroupName, name, webJobName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listDeploymentLogSlotDelegate(response); + ServiceResponse clientResponse = stopContinuousWebJobSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -24104,78 +24119,114 @@ 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) + 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); } /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * List deployments for an app, or a deployment slot. + * List deployments for an app, or a deployment slot. * * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @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 * @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 RestoreRequestInner object if successful. + * @return the PagedList<DeploymentInner> object if successful. */ - public RestoreRequestInner discoverBackupSlot(String resourceGroupName, String name, String slot, RestoreRequestInner request) { - return discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).toBlocking().single().body(); + public PagedList listDeploymentsSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listDeploymentsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listDeploymentsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * List deployments for an app, or a deployment slot. + * List deployments for an app, or a deployment slot. * * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production 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 discoverBackupSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request), serviceCallback); + public ServiceFuture> listDeploymentsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listDeploymentsSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listDeploymentsSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * List deployments for an app, or a deployment slot. + * List deployments for an app, or a deployment slot. * * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @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 observable to the RestoreRequestInner object + * @return the observable to the PagedList<DeploymentInner> object */ - public Observable discoverBackupSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { - return discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).map(new Func1, RestoreRequestInner>() { - @Override - public RestoreRequestInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listDeploymentsSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listDeploymentsSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. - * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * List deployments for an app, or a deployment slot. + * List deployments for an app, or a deployment slot. * * @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 perform discovery for the production slot. - * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. + * @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 observable to the RestoreRequestInner object + * @return the observable to the PagedList<DeploymentInner> object */ - public Observable> discoverBackupSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { + public Observable>> listDeploymentsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listDeploymentsSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listDeploymentsSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * List deployments for an app, or a deployment slot. + * List deployments 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 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. + */ + public Observable>> listDeploymentsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -24188,20 +24239,16 @@ public Observable> discoverBackupSlotWithSe if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (request == null) { - throw new IllegalArgumentException("Parameter request 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(request); - return service.discoverBackupSlot(resourceGroupName, name, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listDeploymentsSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = discoverBackupSlotDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listDeploymentsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -24209,119 +24256,87 @@ 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()) + private ServiceResponse> 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); } /** - * Lists ownership identifiers for domain associated with web app. - * Lists ownership identifiers for domain associated with web app. + * Get a deployment by its ID for an app, or a deployment slot. + * Get a deployment by its ID for an app, or a deployment slot. * * @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 delete the binding for the production slot. + * @param id Deployment ID. + * @param slot Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production 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 PagedList<IdentifierInner> object if successful. + * @return the DeploymentInner object if successful. */ - public PagedList listDomainOwnershipIdentifiersSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listDomainOwnershipIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listDomainOwnershipIdentifiersSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public DeploymentInner getDeploymentSlot(String resourceGroupName, String name, String id, String slot) { + return getDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).toBlocking().single().body(); } /** - * Lists ownership identifiers for domain associated with web app. - * Lists ownership identifiers for domain associated with web app. + * Get a deployment by its ID for an app, or a deployment slot. + * Get a deployment by its ID for an app, or a deployment slot. * * @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 delete the binding for the production slot. + * @param id Deployment ID. + * @param slot Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production 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> listDomainOwnershipIdentifiersSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listDomainOwnershipIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listDomainOwnershipIdentifiersSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture getDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot), serviceCallback); } /** - * Lists ownership identifiers for domain associated with web app. - * Lists ownership identifiers for domain associated with web app. + * Get a deployment by its ID for an app, or a deployment slot. + * Get a deployment by its ID for an app, or a deployment slot. * * @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 delete the binding for the production slot. + * @param id Deployment ID. + * @param slot Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<IdentifierInner> object + * @return the observable to the DeploymentInner object */ - public Observable> listDomainOwnershipIdentifiersSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listDomainOwnershipIdentifiersSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable getDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot) { + return getDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).map(new Func1, DeploymentInner>() { + @Override + public DeploymentInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Lists ownership identifiers for domain associated with web app. - * Lists ownership identifiers for domain associated with web app. + * Get a deployment by its ID for an app, or a deployment slot. + * Get a deployment by its ID for an app, or a deployment slot. * * @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 delete the binding for the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<IdentifierInner> object - */ - public Observable>> listDomainOwnershipIdentifiersSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listDomainOwnershipIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listDomainOwnershipIdentifiersSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * Lists ownership identifiers for domain associated with web app. - * Lists ownership identifiers for domain associated with web 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 delete the binding for the production slot. + * @param id Deployment ID. + * @param slot Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<IdentifierInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the DeploymentInner object */ - public Observable>> listDomainOwnershipIdentifiersSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> getDeploymentSlotWithServiceResponseAsync(String resourceGroupName, String name, String id, 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 (id == null) { + throw new IllegalArgumentException("Parameter id is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -24331,13 +24346,13 @@ public Observable>> listDomainOwnershipIde if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listDomainOwnershipIdentifiersSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.getDeploymentSlot(resourceGroupName, name, id, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listDomainOwnershipIdentifiersSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = getDeploymentSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -24345,86 +24360,90 @@ 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()) + 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); } /** - * Get domain ownership identifier for web app. - * Get domain ownership identifier for web app. + * Create a deployment for an app, or a deployment slot. + * Create a deployment for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param id ID of an existing deployment. + * @param slot Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. + * @param deployment Deployment details. * @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 IdentifierInner object if successful. + * @return the DeploymentInner object if successful. */ - public IdentifierInner getDomainOwnershipIdentifierSlot(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { - return getDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot).toBlocking().single().body(); + public DeploymentInner createDeploymentSlot(String resourceGroupName, String name, String id, String slot, DeploymentInner deployment) { + return createDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot, deployment).toBlocking().single().body(); } /** - * Get domain ownership identifier for web app. - * Get domain ownership identifier for web app. + * Create a deployment for an app, or a deployment slot. + * Create a deployment for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param id ID of an existing deployment. + * @param slot Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. + * @param deployment Deployment details. * @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 getDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot), serviceCallback); + public ServiceFuture createDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot, DeploymentInner deployment, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot, deployment), serviceCallback); } /** - * Get domain ownership identifier for web app. - * Get domain ownership identifier for web app. + * Create a deployment for an app, or a deployment slot. + * Create a deployment for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param id ID of an existing deployment. + * @param slot Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. + * @param deployment Deployment details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IdentifierInner object + * @return the observable to the DeploymentInner object */ - public Observable getDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { - return getDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot).map(new Func1, IdentifierInner>() { + public Observable createDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot, DeploymentInner deployment) { + return createDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot, deployment).map(new Func1, DeploymentInner>() { @Override - public IdentifierInner call(ServiceResponse response) { + public DeploymentInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get domain ownership identifier for web app. - * Get domain ownership identifier for web app. + * Create a deployment for an app, or a deployment slot. + * Create a deployment for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param id ID of an existing deployment. + * @param slot Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot. + * @param deployment Deployment details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IdentifierInner object + * @return the observable to the DeploymentInner object */ - public Observable> getDomainOwnershipIdentifierSlotWithServiceResponseAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { + public Observable> createDeploymentSlotWithServiceResponseAsync(String resourceGroupName, String name, String id, String slot, DeploymentInner deployment) { 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 (domainOwnershipIdentifierName == null) { - throw new IllegalArgumentException("Parameter domainOwnershipIdentifierName is required and cannot be null."); + if (id == null) { + throw new IllegalArgumentException("Parameter id is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -24432,15 +24451,19 @@ public Observable> getDomainOwnershipIdentifier if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (deployment == null) { + throw new IllegalArgumentException("Parameter deployment 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.getDomainOwnershipIdentifierSlot(resourceGroupName, name, domainOwnershipIdentifierName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(deployment); + return service.createDeploymentSlot(resourceGroupName, name, id, slot, this.client.subscriptionId(), deployment, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getDomainOwnershipIdentifierSlotDelegate(response); + ServiceResponse clientResponse = createDeploymentSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -24449,90 +24472,85 @@ 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()) + 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); } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Delete a deployment by its ID for an app, or a deployment slot. + * Delete a deployment by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. - * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. + * @param id Deployment ID. + * @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 - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the IdentifierInner object if successful. */ - public IdentifierInner createOrUpdateDomainOwnershipIdentifierSlot(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { - return createOrUpdateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier).toBlocking().single().body(); + public void deleteDeploymentSlot(String resourceGroupName, String name, String id, String slot) { + deleteDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).toBlocking().single().body(); } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Delete a deployment by its ID for an app, or a deployment slot. + * Delete a deployment by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. - * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. + * @param id Deployment ID. + * @param slot Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production 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 createOrUpdateDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createOrUpdateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier), serviceCallback); + public ServiceFuture deleteDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot), serviceCallback); } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Delete a deployment by its ID for an app, or a deployment slot. + * Delete a deployment by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. - * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. + * @param id Deployment ID. + * @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 observable to the IdentifierInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable createOrUpdateDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { - return createOrUpdateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier).map(new Func1, IdentifierInner>() { + public Observable deleteDeploymentSlotAsync(String resourceGroupName, String name, String id, String slot) { + return deleteDeploymentSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).map(new Func1, Void>() { @Override - public IdentifierInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Delete a deployment by its ID for an app, or a deployment slot. + * Delete a deployment by its ID for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. - * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. + * @param id Deployment ID. + * @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 observable to the IdentifierInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> createOrUpdateDomainOwnershipIdentifierSlotWithServiceResponseAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { + public Observable> deleteDeploymentSlotWithServiceResponseAsync(String resourceGroupName, String name, String id, 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 (domainOwnershipIdentifierName == null) { - throw new IllegalArgumentException("Parameter domainOwnershipIdentifierName is required and cannot be null."); + if (id == null) { + throw new IllegalArgumentException("Parameter id is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -24540,19 +24558,15 @@ public Observable> createOrUpdateDomainOwnershi if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (domainOwnershipIdentifier == null) { - throw new IllegalArgumentException("Parameter domainOwnershipIdentifier 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(domainOwnershipIdentifier); - return service.createOrUpdateDomainOwnershipIdentifierSlot(resourceGroupName, name, domainOwnershipIdentifierName, slot, this.client.subscriptionId(), domainOwnershipIdentifier, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteDeploymentSlot(resourceGroupName, name, id, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = createOrUpdateDomainOwnershipIdentifierSlotDelegate(response); + ServiceResponse clientResponse = deleteDeploymentSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -24561,85 +24575,87 @@ 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) + 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); } /** - * Deletes a domain ownership identifier for a web app. - * Deletes a domain ownership identifier for a web app. + * List deployment log for specific deployment for an app, or a deployment slot. + * List deployment log for specific deployment for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param id The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". + * @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 - * @throws CloudException thrown if the request is rejected by server + * @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 DeploymentInner object if successful. */ - public void deleteDomainOwnershipIdentifierSlot(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { - deleteDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot).toBlocking().single().body(); + public DeploymentInner listDeploymentLogSlot(String resourceGroupName, String name, String id, String slot) { + return listDeploymentLogSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).toBlocking().single().body(); } /** - * Deletes a domain ownership identifier for a web app. - * Deletes a domain ownership identifier for a web app. + * List deployment log for specific deployment for an app, or a deployment slot. + * List deployment log for specific deployment for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param id The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production 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 deleteDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot), serviceCallback); + public ServiceFuture listDeploymentLogSlotAsync(String resourceGroupName, String name, String id, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listDeploymentLogSlotWithServiceResponseAsync(resourceGroupName, name, id, slot), serviceCallback); } /** - * Deletes a domain ownership identifier for a web app. - * Deletes a domain ownership identifier for a web app. + * List deployment log for specific deployment for an app, or a deployment slot. + * List deployment log for specific deployment for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param id The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". + * @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 {@link ServiceResponse} object if successful. + * @return the observable to the DeploymentInner object */ - public Observable deleteDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { - return deleteDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot).map(new Func1, Void>() { + public Observable listDeploymentLogSlotAsync(String resourceGroupName, String name, String id, String slot) { + return listDeploymentLogSlotWithServiceResponseAsync(resourceGroupName, name, id, slot).map(new Func1, DeploymentInner>() { @Override - public Void call(ServiceResponse response) { + public DeploymentInner call(ServiceResponse response) { return response.body(); } }); } /** - * Deletes a domain ownership identifier for a web app. - * Deletes a domain ownership identifier for a web app. + * List deployment log for specific deployment for an app, or a deployment slot. + * List deployment log for specific deployment for an app, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param id The ID of a specific deployment. This is the value of the name property in the JSON response from "GET /api/sites/{siteName}/deployments". + * @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 {@link ServiceResponse} object if successful. + * @return the observable to the DeploymentInner object */ - public Observable> deleteDomainOwnershipIdentifierSlotWithServiceResponseAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { + public Observable> listDeploymentLogSlotWithServiceResponseAsync(String resourceGroupName, String name, String id, 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 (domainOwnershipIdentifierName == null) { - throw new IllegalArgumentException("Parameter domainOwnershipIdentifierName is required and cannot be null."); + if (id == null) { + throw new IllegalArgumentException("Parameter id is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -24650,12 +24666,12 @@ public Observable> deleteDomainOwnershipIdentifierSlotWith if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.deleteDomainOwnershipIdentifierSlot(resourceGroupName, name, domainOwnershipIdentifierName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listDeploymentLogSlot(resourceGroupName, name, id, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteDomainOwnershipIdentifierSlotDelegate(response); + ServiceResponse clientResponse = listDeploymentLogSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -24664,111 +24680,103 @@ 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) + 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); } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. - * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. + * @param slot Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. * @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 IdentifierInner object if successful. + * @return the RestoreRequestInner object if successful. */ - public IdentifierInner updateDomainOwnershipIdentifierSlot(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { - return updateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier).toBlocking().single().body(); + public RestoreRequestInner discoverBackupSlot(String resourceGroupName, String name, String slot, RestoreRequestInner request) { + return discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).toBlocking().single().body(); } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. - * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. + * @param slot Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. * @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 updateDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier), serviceCallback); + public ServiceFuture discoverBackupSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request), serviceCallback); } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. - * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. + * @param slot Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IdentifierInner object + * @return the observable to the RestoreRequestInner object */ - public Observable updateDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { - return updateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier).map(new Func1, IdentifierInner>() { + public Observable discoverBackupSlotAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { + return discoverBackupSlotWithServiceResponseAsync(resourceGroupName, name, slot, request).map(new Func1, RestoreRequestInner>() { @Override - public IdentifierInner call(ServiceResponse response) { + public RestoreRequestInner call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. - * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. + * Discovers an existing app backup that can be restored from a blob in Azure storage. Use this to get information about the databases stored in a backup. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the app. - * @param domainOwnershipIdentifierName Name of domain ownership identifier. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. - * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. + * @param slot Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot. + * @param request A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the IdentifierInner object + * @return the observable to the RestoreRequestInner object */ - public Observable> updateDomainOwnershipIdentifierSlotWithServiceResponseAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { + public Observable> discoverBackupSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, RestoreRequestInner request) { 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 (domainOwnershipIdentifierName == null) { - throw new IllegalArgumentException("Parameter domainOwnershipIdentifierName 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 (domainOwnershipIdentifier == null) { - throw new IllegalArgumentException("Parameter domainOwnershipIdentifier is required and cannot be null."); + if (request == null) { + throw new IllegalArgumentException("Parameter request 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(domainOwnershipIdentifier); - return service.updateDomainOwnershipIdentifierSlot(resourceGroupName, name, domainOwnershipIdentifierName, slot, this.client.subscriptionId(), domainOwnershipIdentifier, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(request); + return service.discoverBackupSlot(resourceGroupName, name, slot, this.client.subscriptionId(), request, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateDomainOwnershipIdentifierSlotDelegate(response); + ServiceResponse clientResponse = discoverBackupSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -24777,74 +24785,113 @@ 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()) + private ServiceResponse 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); } /** - * Get the status of the last MSDeploy operation. - * Get the status of the last MSDeploy operation. + * Lists ownership identifiers for domain associated with web app. + * Lists ownership identifiers for domain associated with web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @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 * @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 MSDeployStatusInner object if successful. + * @return the PagedList<IdentifierInner> object if successful. */ - public MSDeployStatusInner getMSDeployStatusSlot(String resourceGroupName, String name, String slot) { - return getMSDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public PagedList listDomainOwnershipIdentifiersSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listDomainOwnershipIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listDomainOwnershipIdentifiersSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Get the status of the last MSDeploy operation. - * Get the status of the last MSDeploy operation. + * Lists ownership identifiers for domain associated with web app. + * Lists ownership identifiers for domain associated with web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production 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 getMSDeployStatusSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getMSDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture> listDomainOwnershipIdentifiersSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listDomainOwnershipIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listDomainOwnershipIdentifiersSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Get the status of the last MSDeploy operation. - * Get the status of the last MSDeploy operation. + * Lists ownership identifiers for domain associated with web app. + * Lists ownership identifiers for domain associated with web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @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 observable to the MSDeployStatusInner object + * @return the observable to the PagedList<IdentifierInner> object */ - public Observable getMSDeployStatusSlotAsync(String resourceGroupName, String name, String slot) { - return getMSDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, MSDeployStatusInner>() { - @Override - public MSDeployStatusInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listDomainOwnershipIdentifiersSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listDomainOwnershipIdentifiersSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Get the status of the last MSDeploy operation. - * Get the status of the last MSDeploy operation. + * Lists ownership identifiers for domain associated with web app. + * Lists ownership identifiers for domain associated with web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @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 observable to the MSDeployStatusInner object + * @return the observable to the PagedList<IdentifierInner> object */ - public Observable> getMSDeployStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable>> listDomainOwnershipIdentifiersSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listDomainOwnershipIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listDomainOwnershipIdentifiersSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Lists ownership identifiers for domain associated with web app. + * Lists ownership identifiers for domain associated with web 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 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. + */ + public Observable>> listDomainOwnershipIdentifiersSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -24860,13 +24907,13 @@ public Observable> getMSDeployStatusSlotWit if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getMSDeployStatusSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listDomainOwnershipIdentifiersSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = getMSDeployStatusSlotDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listDomainOwnershipIdentifiersSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -24874,191 +24921,214 @@ 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()) + private ServiceResponse> 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); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Get domain ownership identifier for web app. + * Get domain ownership identifier for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @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 - * @throws CloudException thrown if the request is rejected by server + * @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 MSDeployStatusInner object if successful. + * @return the IdentifierInner object if successful. */ - public MSDeployStatusInner createMSDeployOperationSlot(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { - return createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).toBlocking().last().body(); + public IdentifierInner getDomainOwnershipIdentifierSlot(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { + return getDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot).toBlocking().single().body(); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Get domain ownership identifier for web app. + * Get domain ownership identifier for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production 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 createMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy), serviceCallback); + public ServiceFuture getDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot), serviceCallback); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Get domain ownership identifier for web app. + * Get domain ownership identifier for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @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 observable for the request + * @return the observable to the IdentifierInner object */ - public Observable createMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { - return createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).map(new Func1, MSDeployStatusInner>() { + public Observable getDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { + return getDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot).map(new Func1, IdentifierInner>() { @Override - public MSDeployStatusInner call(ServiceResponse response) { + public IdentifierInner call(ServiceResponse response) { return response.body(); } }); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Get domain ownership identifier for web app. + * Get domain ownership identifier for web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @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 observable for the request + * @return the observable to the IdentifierInner object */ - public Observable> createMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { + public Observable> getDomainOwnershipIdentifierSlotWithServiceResponseAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, 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 (domainOwnershipIdentifierName == null) { + throw new IllegalArgumentException("Parameter domainOwnershipIdentifierName 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 (mSDeploy == null) { - throw new IllegalArgumentException("Parameter mSDeploy 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(mSDeploy); - Observable> observable = service.createMSDeployOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), mSDeploy, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); + return service.getDomainOwnershipIdentifierSlot(resourceGroupName, name, domainOwnershipIdentifierName, 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 = getDomainOwnershipIdentifierSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 MSDeployStatusInner object if successful. + * @return the IdentifierInner object if successful. */ - public MSDeployStatusInner beginCreateMSDeployOperationSlot(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { - return beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).toBlocking().single().body(); + public IdentifierInner createOrUpdateDomainOwnershipIdentifierSlot(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { + return createOrUpdateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier).toBlocking().single().body(); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. * @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 beginCreateMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy), serviceCallback); + public ServiceFuture createOrUpdateDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier), serviceCallback); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MSDeployStatusInner object + * @return the observable to the IdentifierInner object */ - public Observable beginCreateMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { - return beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).map(new Func1, MSDeployStatusInner>() { + public Observable createOrUpdateDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { + return createOrUpdateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier).map(new Func1, IdentifierInner>() { @Override - public MSDeployStatusInner call(ServiceResponse response) { + public IdentifierInner call(ServiceResponse response) { return response.body(); } }); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MSDeployStatusInner object + * @return the observable to the IdentifierInner object */ - public Observable> beginCreateMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { + public Observable> createOrUpdateDomainOwnershipIdentifierSlotWithServiceResponseAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { 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 (domainOwnershipIdentifierName == null) { + throw new IllegalArgumentException("Parameter domainOwnershipIdentifierName 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 (mSDeploy == null) { - throw new IllegalArgumentException("Parameter mSDeploy is required and cannot be null."); + if (domainOwnershipIdentifier == null) { + throw new IllegalArgumentException("Parameter domainOwnershipIdentifier 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(mSDeploy); - return service.beginCreateMSDeployOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), mSDeploy, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(domainOwnershipIdentifier); + return service.createOrUpdateDomainOwnershipIdentifierSlot(resourceGroupName, name, domainOwnershipIdentifierName, slot, this.client.subscriptionId(), domainOwnershipIdentifier, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = beginCreateMSDeployOperationSlotDelegate(response); + ServiceResponse clientResponse = createOrUpdateDomainOwnershipIdentifierSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -25067,81 +25137,86 @@ 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) + 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); } /** - * Get the MSDeploy Log for the last MSDeploy operation. - * Get the MSDeploy Log for the last MSDeploy operation. + * Deletes a domain ownership identifier for a web app. + * Deletes a domain ownership identifier for a web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @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 * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the MSDeployLogInner object if successful. */ - public MSDeployLogInner getMSDeployLogSlot(String resourceGroupName, String name, String slot) { - return getMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public void deleteDomainOwnershipIdentifierSlot(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { + deleteDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot).toBlocking().single().body(); } /** - * Get the MSDeploy Log for the last MSDeploy operation. - * Get the MSDeploy Log for the last MSDeploy operation. + * Deletes a domain ownership identifier for a web app. + * Deletes a domain ownership identifier for a web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production 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 getMSDeployLogSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture deleteDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot), serviceCallback); } /** - * Get the MSDeploy Log for the last MSDeploy operation. - * Get the MSDeploy Log for the last MSDeploy operation. + * Deletes a domain ownership identifier for a web app. + * Deletes a domain ownership identifier for a web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @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 observable to the MSDeployLogInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getMSDeployLogSlotAsync(String resourceGroupName, String name, String slot) { - return getMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, MSDeployLogInner>() { + public Observable deleteDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot) { + return deleteDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot).map(new Func1, Void>() { @Override - public MSDeployLogInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Get the MSDeploy Log for the last MSDeploy operation. - * Get the MSDeploy Log for the last MSDeploy operation. + * Deletes a domain ownership identifier for a web app. + * Deletes a domain ownership identifier for a web app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @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 observable to the MSDeployLogInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getMSDeployLogSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> deleteDomainOwnershipIdentifierSlotWithServiceResponseAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, 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 (domainOwnershipIdentifierName == null) { + throw new IllegalArgumentException("Parameter domainOwnershipIdentifierName is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -25151,12 +25226,12 @@ public Observable> getMSDeployLogSlotWithServi if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getMSDeployLogSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteDomainOwnershipIdentifierSlot(resourceGroupName, name, domainOwnershipIdentifierName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getMSDeployLogSlotDelegate(response); + ServiceResponse clientResponse = deleteDomainOwnershipIdentifierSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -25165,136 +25240,112 @@ 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()) + 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); } /** - * List the functions for a web site, or a deployment slot. - * List the functions for a web site, or a deployment slot. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. * * @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 name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 PagedList<FunctionEnvelopeInner> object if successful. + * @return the IdentifierInner object if successful. */ - public PagedList listInstanceFunctionsSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listInstanceFunctionsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listInstanceFunctionsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public IdentifierInner updateDomainOwnershipIdentifierSlot(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { + return updateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier).toBlocking().single().body(); } /** - * List the functions for a web site, or a deployment slot. - * List the functions for a web site, or a deployment slot. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. * * @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 name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. * @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> listInstanceFunctionsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listInstanceFunctionsSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listInstanceFunctionsSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture updateDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier), serviceCallback); } /** - * List the functions for a web site, or a deployment slot. - * List the functions for a web site, or a deployment slot. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. * * @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 name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<FunctionEnvelopeInner> object + * @return the observable to the IdentifierInner object */ - public Observable> listInstanceFunctionsSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listInstanceFunctionsSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable updateDomainOwnershipIdentifierSlotAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { + return updateDomainOwnershipIdentifierSlotWithServiceResponseAsync(resourceGroupName, name, domainOwnershipIdentifierName, slot, domainOwnershipIdentifier).map(new Func1, IdentifierInner>() { + @Override + public IdentifierInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * List the functions for a web site, or a deployment slot. - * List the functions for a web site, or a deployment slot. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. + * Creates a domain ownership identifier for web app, or updates an existing ownership identifier. * * @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. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<FunctionEnvelopeInner> object - */ - public Observable>> listInstanceFunctionsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listInstanceFunctionsSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listInstanceFunctionsSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param name Name of the app. + * @param domainOwnershipIdentifierName Name of domain ownership identifier. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param domainOwnershipIdentifier A JSON representation of the domain ownership properties. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<FunctionEnvelopeInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the IdentifierInner object */ - public Observable>> listInstanceFunctionsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> updateDomainOwnershipIdentifierSlotWithServiceResponseAsync(String resourceGroupName, String name, String domainOwnershipIdentifierName, String slot, IdentifierInner domainOwnershipIdentifier) { 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 (domainOwnershipIdentifierName == null) { + throw new IllegalArgumentException("Parameter domainOwnershipIdentifierName 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 (domainOwnershipIdentifier == null) { + throw new IllegalArgumentException("Parameter domainOwnershipIdentifier 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.listInstanceFunctionsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + Validator.validate(domainOwnershipIdentifier); + return service.updateDomainOwnershipIdentifierSlot(resourceGroupName, name, domainOwnershipIdentifierName, slot, this.client.subscriptionId(), domainOwnershipIdentifier, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listInstanceFunctionsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = updateDomainOwnershipIdentifierSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -25302,17 +25353,16 @@ 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) + 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); } /** - * Fetch a short lived token that can be exchanged for a master key. - * Fetch a short lived token that can be exchanged for a master key. + * Get the status of the last MSDeploy operation. + * Get the status of the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -25320,15 +25370,15 @@ private ServiceResponse> listInstanceFunctionsSl * @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 String object if successful. + * @return the MSDeployStatusInner object if successful. */ - public String getFunctionsAdminTokenSlot(String resourceGroupName, String name, String slot) { - return getFunctionsAdminTokenSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public MSDeployStatusInner getMSDeployStatusSlot(String resourceGroupName, String name, String slot) { + return getMSDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Fetch a short lived token that can be exchanged for a master key. - * Fetch a short lived token that can be exchanged for a master key. + * Get the status of the last MSDeploy operation. + * Get the status of the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. @@ -25337,40 +25387,40 @@ public String getFunctionsAdminTokenSlot(String resourceGroupName, String name, * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getFunctionsAdminTokenSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getFunctionsAdminTokenSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture getMSDeployStatusSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getMSDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Fetch a short lived token that can be exchanged for a master key. - * Fetch a short lived token that can be exchanged for a master key. + * Get the status of the last MSDeploy operation. + * Get the status of the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the observable to the MSDeployStatusInner object */ - public Observable getFunctionsAdminTokenSlotAsync(String resourceGroupName, String name, String slot) { - return getFunctionsAdminTokenSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, String>() { + public Observable getMSDeployStatusSlotAsync(String resourceGroupName, String name, String slot) { + return getMSDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, MSDeployStatusInner>() { @Override - public String call(ServiceResponse response) { + public MSDeployStatusInner call(ServiceResponse response) { return response.body(); } }); } /** - * Fetch a short lived token that can be exchanged for a master key. - * Fetch a short lived token that can be exchanged for a master key. + * Get the status of the last MSDeploy operation. + * Get the status of the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of web app. * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the observable to the MSDeployStatusInner object */ - public Observable> getFunctionsAdminTokenSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> getMSDeployStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -25386,12 +25436,12 @@ public Observable> getFunctionsAdminTokenSlotWithService if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getFunctionsAdminTokenSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getMSDeployStatusSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getFunctionsAdminTokenSlotDelegate(response); + ServiceResponse clientResponse = getMSDeployStatusSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -25400,310 +25450,289 @@ 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()) + private ServiceResponse 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); } /** - * Get function information by its ID for web site, or a deployment slot. - * Get function information by its ID for web site, or a deployment slot. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @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 name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the FunctionEnvelopeInner object if successful. + * @return the MSDeployStatusInner object if successful. */ - public FunctionEnvelopeInner getInstanceFunctionSlot(String resourceGroupName, String name, String functionName, String slot) { - return getInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).toBlocking().single().body(); + public MSDeployStatusInner createMSDeployOperationSlot(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { + return createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).toBlocking().last().body(); } /** - * Get function information by its ID for web site, or a deployment slot. - * Get function information by its ID for web site, or a deployment slot. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @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 name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param mSDeploy Details of MSDeploy operation * @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 getInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot), serviceCallback); + public ServiceFuture createMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy), serviceCallback); } /** - * Get function information by its ID for web site, or a deployment slot. - * Get function information by its ID for web site, or a deployment slot. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @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 name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the FunctionEnvelopeInner object + * @return the observable for the request */ - public Observable getInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot) { - return getInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).map(new Func1, FunctionEnvelopeInner>() { + public Observable createMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { + return createMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override - public FunctionEnvelopeInner call(ServiceResponse response) { + public MSDeployStatusInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get function information by its ID for web site, or a deployment slot. - * Get function information by its ID for web site, or a deployment slot. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @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 name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the FunctionEnvelopeInner object + * @return the observable for the request */ - public Observable> getInstanceFunctionSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String slot) { + public Observable> createMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } 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 (mSDeploy == null) { + throw new IllegalArgumentException("Parameter mSDeploy 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.getInstanceFunctionSlot(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 = getInstanceFunctionSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse 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); + Validator.validate(mSDeploy); + Observable> observable = service.createMSDeployOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), mSDeploy, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); } /** - * Create function for web site, or a deployment slot. - * Create function for web site, or a deployment slot. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @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 functionEnvelope Function details. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the FunctionEnvelopeInner object if successful. + * @return the MSDeployStatusInner object if successful. */ - public FunctionEnvelopeInner createInstanceFunctionSlot(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { - return createInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope).toBlocking().last().body(); + public MSDeployStatusInner beginCreateMSDeployOperationSlot(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { + return beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).toBlocking().single().body(); } /** - * Create function for web site, or a deployment slot. - * Create function for web site, or a deployment slot. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @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 functionEnvelope Function details. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param mSDeploy Details of MSDeploy operation * @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 createInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope), serviceCallback); + public ServiceFuture beginCreateMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy), serviceCallback); } /** - * Create function for web site, or a deployment slot. - * Create function for web site, or a deployment slot. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @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 functionEnvelope Function details. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the observable to the MSDeployStatusInner object */ - public Observable createInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { - return createInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope).map(new Func1, FunctionEnvelopeInner>() { + public Observable beginCreateMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { + return beginCreateMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override - public FunctionEnvelopeInner call(ServiceResponse response) { + public MSDeployStatusInner call(ServiceResponse response) { return response.body(); } }); } /** - * Create function for web site, or a deployment slot. - * Create function for web site, or a deployment slot. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @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 functionEnvelope Function details. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the observable to the MSDeployStatusInner object */ - public Observable> createInstanceFunctionSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { + public Observable> beginCreateMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } 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 (functionEnvelope == null) { - throw new IllegalArgumentException("Parameter functionEnvelope is required and cannot be null."); + if (mSDeploy == null) { + throw new IllegalArgumentException("Parameter mSDeploy 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(functionEnvelope); - Observable> observable = service.createInstanceFunctionSlot(resourceGroupName, name, functionName, slot, this.client.subscriptionId(), functionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); + Validator.validate(mSDeploy); + return service.beginCreateMSDeployOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), mSDeploy, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = beginCreateMSDeployOperationSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); } /** - * Create function for web site, or a deployment slot. - * Create function for web site, or a deployment slot. + * Get the MSDeploy Log for the last MSDeploy operation. + * Get the MSDeploy Log for the last MSDeploy operation. * * @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 functionEnvelope Function details. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the FunctionEnvelopeInner object if successful. + * @return the MSDeployLogInner object if successful. */ - public FunctionEnvelopeInner beginCreateInstanceFunctionSlot(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { - return beginCreateInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope).toBlocking().single().body(); + public MSDeployLogInner getMSDeployLogSlot(String resourceGroupName, String name, String slot) { + return getMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Create function for web site, or a deployment slot. - * Create function for web site, or a deployment slot. + * Get the MSDeploy Log for the last MSDeploy operation. + * Get the MSDeploy Log for the last MSDeploy operation. * * @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 functionEnvelope Function details. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 beginCreateInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginCreateInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope), serviceCallback); + public ServiceFuture getMSDeployLogSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Create function for web site, or a deployment slot. - * Create function for web site, or a deployment slot. + * Get the MSDeploy Log for the last MSDeploy operation. + * Get the MSDeploy Log for the last MSDeploy operation. * * @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 functionEnvelope Function details. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the FunctionEnvelopeInner object + * @return the observable to the MSDeployLogInner object */ - public Observable beginCreateInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { - return beginCreateInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope).map(new Func1, FunctionEnvelopeInner>() { + public Observable getMSDeployLogSlotAsync(String resourceGroupName, String name, String slot) { + return getMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, MSDeployLogInner>() { @Override - public FunctionEnvelopeInner call(ServiceResponse response) { + public MSDeployLogInner call(ServiceResponse response) { return response.body(); } }); } /** - * Create function for web site, or a deployment slot. - * Create function for web site, or a deployment slot. + * Get the MSDeploy Log for the last MSDeploy operation. + * Get the MSDeploy Log for the last MSDeploy operation. * * @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 functionEnvelope Function details. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the FunctionEnvelopeInner object + * @return the observable to the MSDeployLogInner object */ - public Observable> beginCreateInstanceFunctionSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { + public Observable> getMSDeployLogSlotWithServiceResponseAsync(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 (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 (functionEnvelope == null) { - throw new IllegalArgumentException("Parameter functionEnvelope 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(functionEnvelope); - return service.beginCreateInstanceFunctionSlot(resourceGroupName, name, functionName, slot, this.client.subscriptionId(), functionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getMSDeployLogSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = beginCreateInstanceFunctionSlotDelegate(response); + ServiceResponse clientResponse = getMSDeployLogSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -25712,86 +25741,120 @@ 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) + 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); } /** - * Delete a function for web site, or a deployment slot. - * Delete a function for web site, or a deployment slot. + * List the functions for a web site, or a deployment slot. + * List the functions for 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. If a slot is not specified, the API deletes a deployment for the production 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 + * @return the PagedList<FunctionEnvelopeInner> object if successful. */ - public void deleteInstanceFunctionSlot(String resourceGroupName, String name, String functionName, String slot) { - deleteInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).toBlocking().single().body(); + public PagedList listInstanceFunctionsSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listInstanceFunctionsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listInstanceFunctionsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Delete a function for web site, or a deployment slot. - * Delete a function for web site, or a deployment slot. + * List the functions for a web site, or a deployment slot. + * List the functions for 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. If a slot is not specified, the API deletes a deployment for the production 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 deleteInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot), serviceCallback); + public ServiceFuture> listInstanceFunctionsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listInstanceFunctionsSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listInstanceFunctionsSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Delete a function for web site, or a deployment slot. - * Delete a function for web site, or a deployment slot. + * List the functions for a web site, or a deployment slot. + * List the functions for 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. 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 {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<FunctionEnvelopeInner> object */ - public Observable deleteInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot) { - return deleteInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).map(new Func1, Void>() { - @Override - public Void call(ServiceResponse response) { - return response.body(); - } - }); - } - + public Observable> listInstanceFunctionsSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listInstanceFunctionsSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + /** - * Delete a function for web site, or a deployment slot. - * Delete a function for web site, or a deployment slot. + * List the functions for a web site, or a deployment slot. + * List the functions for 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. 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 {@link ServiceResponse} object if successful. + * @return the observable to the PagedList<FunctionEnvelopeInner> object */ - public Observable> deleteInstanceFunctionSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String slot) { + public Observable>> listInstanceFunctionsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listInstanceFunctionsSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listInstanceFunctionsSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<FunctionEnvelopeInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listInstanceFunctionsSlotSinglePageAsync(final String resourceGroupName, final String name, final 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."); } @@ -25801,13 +25864,13 @@ public Observable> deleteInstanceFunctionSlotWithServiceRe if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.deleteInstanceFunctionSlot(resourceGroupName, name, functionName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listInstanceFunctionsSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = deleteInstanceFunctionSlotDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listInstanceFunctionsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -25815,88 +25878,81 @@ 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()) + private ServiceResponse> 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); } /** - * 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. + * Fetch a short lived token that can be exchanged for a master key. + * Fetch a short lived token that can be exchanged for a master key. * * @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 name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 FunctionSecretsInner object if successful. + * @return the String object if successful. */ - public FunctionSecretsInner listFunctionSecretsSlot(String resourceGroupName, String name, String functionName, String slot) { - return listFunctionSecretsSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).toBlocking().single().body(); + public String getFunctionsAdminTokenSlot(String resourceGroupName, String name, String slot) { + return getFunctionsAdminTokenSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * 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. + * Fetch a short lived token that can be exchanged for a master key. + * Fetch a short lived token that can be exchanged for a master key. * * @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 name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production 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 listFunctionSecretsSlotAsync(String resourceGroupName, String name, String functionName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listFunctionSecretsSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot), serviceCallback); + public ServiceFuture getFunctionsAdminTokenSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getFunctionsAdminTokenSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * 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. + * Fetch a short lived token that can be exchanged for a master key. + * Fetch a short lived token that can be exchanged for a master key. * * @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 name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the FunctionSecretsInner object + * @return the observable to the String object */ - public Observable listFunctionSecretsSlotAsync(String resourceGroupName, String name, String functionName, String slot) { - return listFunctionSecretsSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).map(new Func1, FunctionSecretsInner>() { + public Observable getFunctionsAdminTokenSlotAsync(String resourceGroupName, String name, String slot) { + return getFunctionsAdminTokenSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, String>() { @Override - public FunctionSecretsInner call(ServiceResponse response) { + public String call(ServiceResponse response) { return response.body(); } }); } /** - * 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. + * Fetch a short lived token that can be exchanged for a master key. + * Fetch a short lived token that can be exchanged for a master key. * * @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 name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the FunctionSecretsInner object + * @return the observable to the String object */ - public Observable> listFunctionSecretsSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String slot) { + public Observable> getFunctionsAdminTokenSlotWithServiceResponseAsync(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 (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."); } @@ -25906,12 +25962,12 @@ public Observable> listFunctionSecretsSlot if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listFunctionSecretsSlot(resourceGroupName, name, functionName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getFunctionsAdminTokenSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listFunctionSecretsSlotDelegate(response); + ServiceResponse clientResponse = getFunctionsAdminTokenSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -25920,119 +25976,87 @@ 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()) + 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); } /** - * Get hostname bindings for an app or a deployment slot. - * Get hostname bindings for an app or a deployment slot. + * Get function information by its ID for web site, or a deployment slot. + * Get function information by its ID for web site, or a deployment slot. * * @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 gets hostname bindings for the production slot. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<HostNameBindingInner> object if successful. + * @return the FunctionEnvelopeInner object if successful. */ - public PagedList listHostNameBindingsSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listHostNameBindingsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listHostNameBindingsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public FunctionEnvelopeInner getInstanceFunctionSlot(String resourceGroupName, String name, String functionName, String slot) { + return getInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).toBlocking().single().body(); } /** - * Get hostname bindings for an app or a deployment slot. - * Get hostname bindings for an app or a deployment slot. + * Get function information by its ID for web site, or a deployment slot. + * Get function information by its ID for web site, or a deployment slot. * * @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 gets hostname bindings for the production slot. + * @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 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> listHostNameBindingsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listHostNameBindingsSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listHostNameBindingsSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture getInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot), serviceCallback); } /** - * Get hostname bindings for an app or a deployment slot. - * Get hostname bindings for an app or a deployment slot. + * Get function information by its ID for web site, or a deployment slot. + * Get function information by its ID for web site, or a deployment slot. * * @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 gets hostname bindings for the production slot. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<HostNameBindingInner> object + * @return the observable to the FunctionEnvelopeInner object */ - public Observable> listHostNameBindingsSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listHostNameBindingsSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable getInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot) { + return getInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).map(new Func1, FunctionEnvelopeInner>() { + @Override + public FunctionEnvelopeInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Get hostname bindings for an app or a deployment slot. - * Get hostname bindings for an app or a deployment slot. + * Get function information by its ID for web site, or a deployment slot. + * Get function information by its ID for web site, or a deployment slot. * * @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 gets hostname bindings for the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<HostNameBindingInner> object - */ - public Observable>> listHostNameBindingsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listHostNameBindingsSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listHostNameBindingsSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<HostNameBindingInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the FunctionEnvelopeInner object */ - public Observable>> listHostNameBindingsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> getInstanceFunctionSlotWithServiceResponseAsync(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."); } @@ -26042,208 +26066,200 @@ public Observable>> listHostNameBindi if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listHostNameBindingsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.getInstanceFunctionSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse> result = listHostNameBindingsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); - } catch (Throwable t) { + ServiceResponse clientResponse = getInstanceFunctionSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { return Observable.error(t); } } }); } - private ServiceResponse> 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) + private ServiceResponse 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); } /** - * 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). + * Create function for web site, or a deployment slot. + * Create function for web site, or a deployment slot. * * @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 the named binding for the production slot. - * @param hostName Hostname in the hostname binding. + * @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 functionEnvelope Function details. * @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 HostNameBindingInner object if successful. + * @return the FunctionEnvelopeInner object if successful. */ - public HostNameBindingInner getHostNameBindingSlot(String resourceGroupName, String name, String slot, String hostName) { - return getHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).toBlocking().single().body(); + public FunctionEnvelopeInner createInstanceFunctionSlot(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { + return createInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope).toBlocking().last().body(); } /** - * 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). + * Create function for web site, or a deployment slot. + * Create function for web site, or a deployment slot. * * @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 the named binding for the production slot. - * @param hostName Hostname in the hostname binding. + * @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 functionEnvelope Function details. * @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 getHostNameBindingSlotAsync(String resourceGroupName, String name, String slot, String hostName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName), serviceCallback); + public ServiceFuture createInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope), serviceCallback); } /** - * 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). + * Create function for web site, or a deployment slot. + * Create function for web site, or a deployment slot. * * @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 the named binding for the production slot. - * @param hostName Hostname in the hostname binding. + * @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 functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HostNameBindingInner object + * @return the observable for the request */ - public Observable getHostNameBindingSlotAsync(String resourceGroupName, String name, String slot, String hostName) { - return getHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).map(new Func1, HostNameBindingInner>() { + public Observable createInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { + return createInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope).map(new Func1, FunctionEnvelopeInner>() { @Override - public HostNameBindingInner call(ServiceResponse response) { + public FunctionEnvelopeInner call(ServiceResponse response) { return response.body(); } }); } /** - * 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). + * Create function for web site, or a deployment slot. + * Create function for web site, or a deployment slot. * * @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 the named binding for the production slot. - * @param hostName Hostname in the hostname binding. + * @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 functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HostNameBindingInner object + * @return the observable for the request */ - public Observable> getHostNameBindingSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String hostName) { + public Observable> createInstanceFunctionSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { 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 (hostName == null) { - throw new IllegalArgumentException("Parameter hostName 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 (functionEnvelope == null) { + throw new IllegalArgumentException("Parameter functionEnvelope 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.getHostNameBindingSlot(resourceGroupName, name, slot, hostName, 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 = getHostNameBindingSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse 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); + Validator.validate(functionEnvelope); + Observable> observable = service.createInstanceFunctionSlot(resourceGroupName, name, functionName, slot, this.client.subscriptionId(), functionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); } /** - * Creates a hostname binding for an app. - * Creates a hostname binding for an app. + * Create function for web site, or a deployment slot. + * Create function for web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param hostName Hostname in the hostname binding. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. - * @param hostNameBinding Binding details. This is the JSON representation of a HostNameBinding object. + * @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 functionEnvelope Function details. * @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 HostNameBindingInner object if successful. + * @return the FunctionEnvelopeInner object if successful. */ - public HostNameBindingInner createOrUpdateHostNameBindingSlot(String resourceGroupName, String name, String hostName, String slot, HostNameBindingInner hostNameBinding) { - return createOrUpdateHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, hostName, slot, hostNameBinding).toBlocking().single().body(); + public FunctionEnvelopeInner beginCreateInstanceFunctionSlot(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { + return beginCreateInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope).toBlocking().single().body(); } /** - * Creates a hostname binding for an app. - * Creates a hostname binding for an app. + * Create function for web site, or a deployment slot. + * Create function for web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param hostName Hostname in the hostname binding. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. - * @param hostNameBinding Binding details. This is the JSON representation of a HostNameBinding object. + * @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 functionEnvelope Function details. * @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 createOrUpdateHostNameBindingSlotAsync(String resourceGroupName, String name, String hostName, String slot, HostNameBindingInner hostNameBinding, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createOrUpdateHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, hostName, slot, hostNameBinding), serviceCallback); + public ServiceFuture beginCreateInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginCreateInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope), serviceCallback); } /** - * Creates a hostname binding for an app. - * Creates a hostname binding for an app. + * Create function for web site, or a deployment slot. + * Create function for web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param hostName Hostname in the hostname binding. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. - * @param hostNameBinding Binding details. This is the JSON representation of a HostNameBinding object. + * @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 functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HostNameBindingInner object + * @return the observable to the FunctionEnvelopeInner object */ - public Observable createOrUpdateHostNameBindingSlotAsync(String resourceGroupName, String name, String hostName, String slot, HostNameBindingInner hostNameBinding) { - return createOrUpdateHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, hostName, slot, hostNameBinding).map(new Func1, HostNameBindingInner>() { + public Observable beginCreateInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { + return beginCreateInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot, functionEnvelope).map(new Func1, FunctionEnvelopeInner>() { @Override - public HostNameBindingInner call(ServiceResponse response) { + public FunctionEnvelopeInner call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a hostname binding for an app. - * Creates a hostname binding for an app. + * Create function for web site, or a deployment slot. + * Create function for web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param hostName Hostname in the hostname binding. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. - * @param hostNameBinding Binding details. This is the JSON representation of a HostNameBinding object. + * @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 functionEnvelope Function details. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HostNameBindingInner object + * @return the observable to the FunctionEnvelopeInner object */ - public Observable> createOrUpdateHostNameBindingSlotWithServiceResponseAsync(String resourceGroupName, String name, String hostName, String slot, HostNameBindingInner hostNameBinding) { + public Observable> beginCreateInstanceFunctionSlotWithServiceResponseAsync(String resourceGroupName, String name, String functionName, String slot, FunctionEnvelopeInner functionEnvelope) { 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 (hostName == null) { - throw new IllegalArgumentException("Parameter hostName 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."); @@ -26251,19 +26267,19 @@ public Observable> createOrUpdateHostNameB if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (hostNameBinding == null) { - throw new IllegalArgumentException("Parameter hostNameBinding is required and cannot be null."); + if (functionEnvelope == null) { + throw new IllegalArgumentException("Parameter functionEnvelope 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(hostNameBinding); - return service.createOrUpdateHostNameBindingSlot(resourceGroupName, name, hostName, slot, this.client.subscriptionId(), hostNameBinding, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(functionEnvelope); + return service.beginCreateInstanceFunctionSlot(resourceGroupName, name, functionName, slot, this.client.subscriptionId(), functionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = createOrUpdateHostNameBindingSlotDelegate(response); + ServiceResponse clientResponse = beginCreateInstanceFunctionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -26272,58 +26288,58 @@ 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()) + private ServiceResponse 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); } /** - * Deletes a hostname binding for an app. - * Deletes a hostname binding for an app. + * Delete a function for web site, or a deployment slot. + * Delete a function for web site, or a deployment slot. * * @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 delete the binding for the production slot. - * @param hostName Hostname in the hostname binding. + * @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. * @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 deleteHostNameBindingSlot(String resourceGroupName, String name, String slot, String hostName) { - deleteHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).toBlocking().single().body(); + public void deleteInstanceFunctionSlot(String resourceGroupName, String name, String functionName, String slot) { + deleteInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).toBlocking().single().body(); } /** - * Deletes a hostname binding for an app. - * Deletes a hostname binding for an app. + * Delete a function for web site, or a deployment slot. + * Delete a function for web site, or a deployment slot. * * @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 delete the binding for the production slot. - * @param hostName Hostname in the hostname binding. + * @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 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 deleteHostNameBindingSlotAsync(String resourceGroupName, String name, String slot, String hostName, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName), serviceCallback); + public ServiceFuture deleteInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot), serviceCallback); } /** - * Deletes a hostname binding for an app. - * Deletes a hostname binding for an app. + * Delete a function for web site, or a deployment slot. + * Delete a function for web site, or a deployment slot. * * @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 delete the binding for the production slot. - * @param hostName Hostname in the hostname binding. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable deleteHostNameBindingSlotAsync(String resourceGroupName, String name, String slot, String hostName) { - return deleteHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).map(new Func1, Void>() { + public Observable deleteInstanceFunctionSlotAsync(String resourceGroupName, String name, String functionName, String slot) { + return deleteInstanceFunctionSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).map(new Func1, Void>() { @Override public Void call(ServiceResponse response) { return response.body(); @@ -26332,41 +26348,41 @@ public Void call(ServiceResponse response) { } /** - * Deletes a hostname binding for an app. - * Deletes a hostname binding for an app. + * Delete a function for web site, or a deployment slot. + * Delete a function for web site, or a deployment slot. * * @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 delete the binding for the production slot. - * @param hostName Hostname in the hostname binding. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ - public Observable> deleteHostNameBindingSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String hostName) { + public Observable> deleteInstanceFunctionSlotWithServiceResponseAsync(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 (hostName == null) { - throw new IllegalArgumentException("Parameter hostName 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.deleteHostNameBindingSlot(resourceGroupName, name, slot, hostName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.deleteInstanceFunctionSlot(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 = deleteHostNameBindingSlotDelegate(response); + ServiceResponse clientResponse = deleteInstanceFunctionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -26375,94 +26391,87 @@ public Observable> call(Response response) { }); } - private ServiceResponse deleteHostNameBindingSlotDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + private ServiceResponse deleteInstanceFunctionSlotDelegate(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); } /** - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @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. * @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 HybridConnectionInner object if successful. + * @return the FunctionSecretsInner object if successful. */ - public HybridConnectionInner getHybridConnectionSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { - return getHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).toBlocking().single().body(); + public FunctionSecretsInner listFunctionSecretsSlot(String resourceGroupName, String name, String functionName, String slot) { + return listFunctionSecretsSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).toBlocking().single().body(); } /** - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @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 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 getHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot), serviceCallback); + public ServiceFuture listFunctionSecretsSlotAsync(String resourceGroupName, String name, String functionName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listFunctionSecretsSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot), serviceCallback); } /** - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HybridConnectionInner object + * @return the observable to the FunctionSecretsInner object */ - public Observable getHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { - return getHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).map(new Func1, HybridConnectionInner>() { + public Observable listFunctionSecretsSlotAsync(String resourceGroupName, String name, String functionName, String slot) { + return listFunctionSecretsSlotWithServiceResponseAsync(resourceGroupName, name, functionName, slot).map(new Func1, FunctionSecretsInner>() { @Override - public HybridConnectionInner call(ServiceResponse response) { + public FunctionSecretsInner call(ServiceResponse response) { return response.body(); } }); } /** - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. - * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @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. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HybridConnectionInner object + * @return the observable to the FunctionSecretsInner object */ - public Observable> getHybridConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + public Observable> listFunctionSecretsSlotWithServiceResponseAsync(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 (namespaceName == null) { - throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); - } - if (relayName == null) { - throw new IllegalArgumentException("Parameter relayName 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."); @@ -26473,12 +26482,12 @@ public Observable> getHybridConnectionSlo if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getHybridConnectionSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listFunctionSecretsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getHybridConnectionSlotDelegate(response); + ServiceResponse clientResponse = listFunctionSecretsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -26487,118 +26496,135 @@ 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()) + private ServiceResponse 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); } /** - * Creates a new Hybrid Connection using a Service Bus relay. - * Creates a new Hybrid Connection using a Service Bus relay. + * Get hostname bindings for an app or a deployment slot. + * Get hostname bindings for an app or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param connectionEnvelope The details of the hybrid connection. + * @param name Name of the app. + * @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 * @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 HybridConnectionInner object if successful. + * @return the PagedList<HostNameBindingInner> object if successful. */ - public HybridConnectionInner createOrUpdateHybridConnectionSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { - return createOrUpdateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope).toBlocking().single().body(); + public PagedList listHostNameBindingsSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listHostNameBindingsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listHostNameBindingsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Creates a new Hybrid Connection using a Service Bus relay. - * Creates a new Hybrid Connection using a Service Bus relay. + * Get hostname bindings for an app or a deployment slot. + * Get hostname bindings for an app or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param connectionEnvelope The details of the hybrid connection. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production 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 createOrUpdateHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createOrUpdateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope), serviceCallback); + public ServiceFuture> listHostNameBindingsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listHostNameBindingsSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listHostNameBindingsSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Creates a new Hybrid Connection using a Service Bus relay. - * Creates a new Hybrid Connection using a Service Bus relay. + * Get hostname bindings for an app or a deployment slot. + * Get hostname bindings for an app or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param connectionEnvelope The details of the hybrid connection. + * @param name Name of the app. + * @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 observable to the HybridConnectionInner object + * @return the observable to the PagedList<HostNameBindingInner> object */ - public Observable createOrUpdateHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { - return createOrUpdateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope).map(new Func1, HybridConnectionInner>() { - @Override - public HybridConnectionInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listHostNameBindingsSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listHostNameBindingsSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Creates a new Hybrid Connection using a Service Bus relay. - * Creates a new Hybrid Connection using a Service Bus relay. + * Get hostname bindings for an app or a deployment slot. + * Get hostname bindings for an app or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param connectionEnvelope The details of the hybrid connection. + * @param name Name of the app. + * @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 observable to the HybridConnectionInner object + * @return the observable to the PagedList<HostNameBindingInner> object */ - public Observable> createOrUpdateHybridConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { + public Observable>> listHostNameBindingsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listHostNameBindingsSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listHostNameBindingsSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<HostNameBindingInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listHostNameBindingsSlotSinglePageAsync(final String resourceGroupName, final String name, final 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 (namespaceName == null) { - throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); - } - if (relayName == null) { - throw new IllegalArgumentException("Parameter relayName 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 (connectionEnvelope == null) { - throw new IllegalArgumentException("Parameter connectionEnvelope 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(connectionEnvelope); - return service.createOrUpdateHybridConnectionSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listHostNameBindingsSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = createOrUpdateHybridConnectionSlotDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listHostNameBindingsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -26606,108 +26632,102 @@ 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()) + private ServiceResponse> 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); } /** - * Removes a Hybrid Connection from this site. - * Removes a Hybrid Connection from this site. + * 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). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. + * @param hostName Hostname in the hostname binding. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 HostNameBindingInner object if successful. */ - public void deleteHybridConnectionSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { - deleteHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).toBlocking().single().body(); + public HostNameBindingInner getHostNameBindingSlot(String resourceGroupName, String name, String slot, String hostName) { + return getHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).toBlocking().single().body(); } /** - * Removes a Hybrid Connection from this site. - * Removes a Hybrid Connection from this site. + * 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). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. + * @param hostName Hostname in the hostname binding. * @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 deleteHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot), serviceCallback); + public ServiceFuture getHostNameBindingSlotAsync(String resourceGroupName, String name, String slot, String hostName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName), serviceCallback); } /** - * Removes a Hybrid Connection from this site. - * Removes a Hybrid Connection from this site. + * 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). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. + * @param hostName Hostname in the hostname binding. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the HostNameBindingInner object */ - public Observable deleteHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { - return deleteHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).map(new Func1, Void>() { + public Observable getHostNameBindingSlotAsync(String resourceGroupName, String name, String slot, String hostName) { + return getHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).map(new Func1, HostNameBindingInner>() { @Override - public Void call(ServiceResponse response) { + public HostNameBindingInner call(ServiceResponse response) { return response.body(); } }); } /** - * Removes a Hybrid Connection from this site. - * Removes a Hybrid Connection from this site. + * 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). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot. + * @param hostName Hostname in the hostname binding. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the HostNameBindingInner object */ - public Observable> deleteHybridConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + public Observable> getHostNameBindingSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String hostName) { 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 (namespaceName == null) { - throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); - } - if (relayName == null) { - throw new IllegalArgumentException("Parameter relayName is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } + if (hostName == null) { + throw new IllegalArgumentException("Parameter hostName 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.deleteHybridConnectionSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getHostNameBindingSlot(resourceGroupName, name, slot, hostName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteHybridConnectionSlotDelegate(response); + ServiceResponse clientResponse = getHostNameBindingSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -26716,98 +26736,90 @@ 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) + private ServiceResponse 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); } /** - * Creates a new Hybrid Connection using a Service Bus relay. - * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a hostname binding for an app. + * Creates a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param connectionEnvelope The details of the hybrid connection. + * @param name Name of the app. + * @param hostName Hostname in the hostname binding. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. + * @param hostNameBinding Binding details. This is the JSON representation of a HostNameBinding object. * @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 HybridConnectionInner object if successful. + * @return the HostNameBindingInner object if successful. */ - public HybridConnectionInner updateHybridConnectionSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { - return updateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope).toBlocking().single().body(); + public HostNameBindingInner createOrUpdateHostNameBindingSlot(String resourceGroupName, String name, String hostName, String slot, HostNameBindingInner hostNameBinding) { + return createOrUpdateHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, hostName, slot, hostNameBinding).toBlocking().single().body(); } /** - * Creates a new Hybrid Connection using a Service Bus relay. - * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a hostname binding for an app. + * Creates a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param connectionEnvelope The details of the hybrid connection. + * @param name Name of the app. + * @param hostName Hostname in the hostname binding. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. + * @param hostNameBinding Binding details. This is the JSON representation of a HostNameBinding object. * @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 updateHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope), serviceCallback); + public ServiceFuture createOrUpdateHostNameBindingSlotAsync(String resourceGroupName, String name, String hostName, String slot, HostNameBindingInner hostNameBinding, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, hostName, slot, hostNameBinding), serviceCallback); } /** - * Creates a new Hybrid Connection using a Service Bus relay. - * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a hostname binding for an app. + * Creates a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param connectionEnvelope The details of the hybrid connection. + * @param name Name of the app. + * @param hostName Hostname in the hostname binding. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. + * @param hostNameBinding Binding details. This is the JSON representation of a HostNameBinding object. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HybridConnectionInner object + * @return the observable to the HostNameBindingInner object */ - public Observable updateHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { - return updateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope).map(new Func1, HybridConnectionInner>() { + public Observable createOrUpdateHostNameBindingSlotAsync(String resourceGroupName, String name, String hostName, String slot, HostNameBindingInner hostNameBinding) { + return createOrUpdateHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, hostName, slot, hostNameBinding).map(new Func1, HostNameBindingInner>() { @Override - public HybridConnectionInner call(ServiceResponse response) { + public HostNameBindingInner call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a new Hybrid Connection using a Service Bus relay. - * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a hostname binding for an app. + * Creates a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. - * @param connectionEnvelope The details of the hybrid connection. + * @param name Name of the app. + * @param hostName Hostname in the hostname binding. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. + * @param hostNameBinding Binding details. This is the JSON representation of a HostNameBinding object. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HybridConnectionInner object + * @return the observable to the HostNameBindingInner object */ - public Observable> updateHybridConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { + public Observable> createOrUpdateHostNameBindingSlotWithServiceResponseAsync(String resourceGroupName, String name, String hostName, String slot, HostNameBindingInner hostNameBinding) { 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 (namespaceName == null) { - throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); - } - if (relayName == null) { - throw new IllegalArgumentException("Parameter relayName is required and cannot be null."); + if (hostName == null) { + throw new IllegalArgumentException("Parameter hostName is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -26815,19 +26827,19 @@ public Observable> updateHybridConnection if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } - if (connectionEnvelope == null) { - throw new IllegalArgumentException("Parameter connectionEnvelope is required and cannot be null."); + if (hostNameBinding == null) { + throw new IllegalArgumentException("Parameter hostNameBinding 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(connectionEnvelope); - return service.updateHybridConnectionSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(hostNameBinding); + return service.createOrUpdateHostNameBindingSlot(resourceGroupName, name, hostName, slot, this.client.subscriptionId(), hostNameBinding, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateHybridConnectionSlotDelegate(response); + ServiceResponse clientResponse = createOrUpdateHostNameBindingSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -26836,109 +26848,101 @@ 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()) + private ServiceResponse 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); } /** - * Gets the send key name and value for a Hybrid Connection. - * Gets the send key name and value for a Hybrid Connection. + * Deletes a hostname binding for an app. + * Deletes a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param hostName Hostname in the hostname binding. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the HybridConnectionKeyInner object if successful. */ - public HybridConnectionKeyInner listHybridConnectionKeysSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { - return listHybridConnectionKeysSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).toBlocking().single().body(); + public void deleteHostNameBindingSlot(String resourceGroupName, String name, String slot, String hostName) { + deleteHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).toBlocking().single().body(); } /** - * Gets the send key name and value for a Hybrid Connection. - * Gets the send key name and value for a Hybrid Connection. + * Deletes a hostname binding for an app. + * Deletes a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param hostName Hostname in the hostname binding. * @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 listHybridConnectionKeysSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listHybridConnectionKeysSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot), serviceCallback); + public ServiceFuture deleteHostNameBindingSlotAsync(String resourceGroupName, String name, String slot, String hostName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName), serviceCallback); } /** - * Gets the send key name and value for a Hybrid Connection. - * Gets the send key name and value for a Hybrid Connection. + * Deletes a hostname binding for an app. + * Deletes a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param hostName Hostname in the hostname binding. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HybridConnectionKeyInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable listHybridConnectionKeysSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { - return listHybridConnectionKeysSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).map(new Func1, HybridConnectionKeyInner>() { + public Observable deleteHostNameBindingSlotAsync(String resourceGroupName, String name, String slot, String hostName) { + return deleteHostNameBindingSlotWithServiceResponseAsync(resourceGroupName, name, slot, hostName).map(new Func1, Void>() { @Override - public HybridConnectionKeyInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets the send key name and value for a Hybrid Connection. - * Gets the send key name and value for a Hybrid Connection. + * Deletes a hostname binding for an app. + * Deletes a hostname binding for an app. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name The name of the web app. - * @param namespaceName The namespace for this hybrid connection. - * @param relayName The relay name for this hybrid connection. - * @param slot The name of the slot for the web app. + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot. + * @param hostName Hostname in the hostname binding. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the HybridConnectionKeyInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> listHybridConnectionKeysSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + public Observable> deleteHostNameBindingSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String hostName) { 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 (namespaceName == null) { - throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); - } - if (relayName == null) { - throw new IllegalArgumentException("Parameter relayName is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } + if (hostName == null) { + throw new IllegalArgumentException("Parameter hostName 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.listHybridConnectionKeysSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteHostNameBindingSlot(resourceGroupName, name, slot, hostName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listHybridConnectionKeysSlotDelegate(response); + ServiceResponse clientResponse = deleteHostNameBindingSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -26947,56 +26951,63 @@ 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) + 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); } /** - * Retrieves all Service Bus Hybrid Connections used by this Web App. - * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * Retrieves a specific Service Bus Hybrid Connection used by this Web App. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. * @param slot The name of the slot for the web 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 * @return the HybridConnectionInner object if successful. */ - public HybridConnectionInner listHybridConnectionsSlot(String resourceGroupName, String name, String slot) { - return listHybridConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public HybridConnectionInner getHybridConnectionSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + return getHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).toBlocking().single().body(); } /** - * Retrieves all Service Bus Hybrid Connections used by this Web App. - * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * Retrieves a specific Service Bus Hybrid Connection used by this Web App. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. * @param slot The name of the slot for the web 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 listHybridConnectionsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listHybridConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture getHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot), serviceCallback); } /** - * Retrieves all Service Bus Hybrid Connections used by this Web App. - * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * Retrieves a specific Service Bus Hybrid Connection used by this Web App. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the HybridConnectionInner object */ - public Observable listHybridConnectionsSlotAsync(String resourceGroupName, String name, String slot) { - return listHybridConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, HybridConnectionInner>() { + public Observable getHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + return getHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).map(new Func1, HybridConnectionInner>() { @Override public HybridConnectionInner call(ServiceResponse response) { return response.body(); @@ -27005,22 +27016,30 @@ public HybridConnectionInner call(ServiceResponse respons } /** - * Retrieves all Service Bus Hybrid Connections used by this Web App. - * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Retrieves a specific Service Bus Hybrid Connection used by this Web App. + * Retrieves a specific Service Bus Hybrid Connection used by this Web App. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the HybridConnectionInner object */ - public Observable> listHybridConnectionsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> getHybridConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, 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 (namespaceName == null) { + throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); + } + if (relayName == null) { + throw new IllegalArgumentException("Parameter relayName is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -27030,12 +27049,12 @@ public Observable> listHybridConnectionsS if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listHybridConnectionsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + return service.getHybridConnectionSlot(resourceGroupName, name, namespaceName, relayName, 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 = listHybridConnectionsSlotDelegate(response); + ServiceResponse clientResponse = getHybridConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -27044,7 +27063,7 @@ public Observable> call(Response listHybridConnectionsSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { + private ServiceResponse getHybridConnectionSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) .register(200, new TypeToken() { }.getType()) .registerError(DefaultErrorResponseException.class) @@ -27052,87 +27071,109 @@ private ServiceResponse listHybridConnectionsSlotDelegate } /** - * Gets hybrid connections configured for an app (or deployment slot, if specified). - * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a new Hybrid Connection using a Service Bus relay. * * @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 get hybrid connections for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. + * @param connectionEnvelope The details of the hybrid connection. * @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 RelayServiceConnectionEntityInner object if successful. + * @return the HybridConnectionInner object if successful. */ - public RelayServiceConnectionEntityInner listRelayServiceConnectionsSlot(String resourceGroupName, String name, String slot) { - return listRelayServiceConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public HybridConnectionInner createOrUpdateHybridConnectionSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { + return createOrUpdateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope).toBlocking().single().body(); } /** - * Gets hybrid connections configured for an app (or deployment slot, if specified). - * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a new Hybrid Connection using a Service Bus relay. * * @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 get hybrid connections for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. + * @param connectionEnvelope The details of the hybrid connection. * @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 listRelayServiceConnectionsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listRelayServiceConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture createOrUpdateHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope), serviceCallback); } /** - * Gets hybrid connections configured for an app (or deployment slot, if specified). - * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a new Hybrid Connection using a Service Bus relay. * * @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 get hybrid connections for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. + * @param connectionEnvelope The details of the hybrid connection. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RelayServiceConnectionEntityInner object + * @return the observable to the HybridConnectionInner object */ - public Observable listRelayServiceConnectionsSlotAsync(String resourceGroupName, String name, String slot) { - return listRelayServiceConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, RelayServiceConnectionEntityInner>() { + public Observable createOrUpdateHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { + return createOrUpdateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope).map(new Func1, HybridConnectionInner>() { @Override - public RelayServiceConnectionEntityInner call(ServiceResponse response) { + public HybridConnectionInner call(ServiceResponse response) { return response.body(); } }); } /** - * Gets hybrid connections configured for an app (or deployment slot, if specified). - * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a new Hybrid Connection using a Service Bus relay. * * @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 get hybrid connections for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. + * @param connectionEnvelope The details of the hybrid connection. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RelayServiceConnectionEntityInner object + * @return the observable to the HybridConnectionInner object */ - public Observable> listRelayServiceConnectionsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> createOrUpdateHybridConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { 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 (namespaceName == null) { + throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); + } + if (relayName == null) { + throw new IllegalArgumentException("Parameter relayName 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 (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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.listRelayServiceConnectionsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(connectionEnvelope); + return service.createOrUpdateHybridConnectionSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listRelayServiceConnectionsSlotDelegate(response); + ServiceResponse clientResponse = createOrUpdateHybridConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -27141,86 +27182,92 @@ 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()) + private ServiceResponse 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); } /** - * Gets a hybrid connection configuration by its name. - * Gets a hybrid connection configuration by its name. + * Removes a Hybrid Connection from this site. + * Removes a Hybrid Connection from this site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the RelayServiceConnectionEntityInner object if successful. */ - public RelayServiceConnectionEntityInner getRelayServiceConnectionSlot(String resourceGroupName, String name, String entityName, String slot) { - return getRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot).toBlocking().single().body(); + public void deleteHybridConnectionSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + deleteHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).toBlocking().single().body(); } /** - * Gets a hybrid connection configuration by its name. - * Gets a hybrid connection configuration by its name. + * Removes a Hybrid Connection from this site. + * Removes a Hybrid Connection from this site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web 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 getRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot), serviceCallback); + public ServiceFuture deleteHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot), serviceCallback); } /** - * Gets a hybrid connection configuration by its name. - * Gets a hybrid connection configuration by its name. + * Removes a Hybrid Connection from this site. + * Removes a Hybrid Connection from this site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RelayServiceConnectionEntityInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable getRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot) { - return getRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot).map(new Func1, RelayServiceConnectionEntityInner>() { + public Observable deleteHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + return deleteHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).map(new Func1, Void>() { @Override - public RelayServiceConnectionEntityInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Gets a hybrid connection configuration by its name. - * Gets a hybrid connection configuration by its name. + * Removes a Hybrid Connection from this site. + * Removes a Hybrid Connection from this site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RelayServiceConnectionEntityInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> getRelayServiceConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String entityName, String slot) { + public Observable> deleteHybridConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, 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 (entityName == null) { - throw new IllegalArgumentException("Parameter entityName is required and cannot be null."); + if (namespaceName == null) { + throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); + } + if (relayName == null) { + throw new IllegalArgumentException("Parameter relayName is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -27231,12 +27278,12 @@ public Observable> getRelaySe if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getRelayServiceConnectionSlot(resourceGroupName, name, entityName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteHybridConnectionSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getRelayServiceConnectionSlotDelegate(response); + ServiceResponse clientResponse = deleteHybridConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -27245,90 +27292,98 @@ 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) + 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); } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a new Hybrid Connection using a Service Bus relay. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. - * @param connectionEnvelope Details of the hybrid connection configuration. - * @throws IllegalArgumentException thrown if parameters fail the validation + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. + * @param connectionEnvelope The details of the hybrid connection. + * @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 RelayServiceConnectionEntityInner object if successful. + * @return the HybridConnectionInner object if successful. */ - public RelayServiceConnectionEntityInner createOrUpdateRelayServiceConnectionSlot(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { - return createOrUpdateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope).toBlocking().single().body(); + public HybridConnectionInner updateHybridConnectionSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { + return updateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope).toBlocking().single().body(); } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a new Hybrid Connection using a Service Bus relay. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. - * @param connectionEnvelope Details of the hybrid connection configuration. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. + * @param connectionEnvelope The details of the hybrid connection. * @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 createOrUpdateRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createOrUpdateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope), serviceCallback); + public ServiceFuture updateHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope), serviceCallback); } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a new Hybrid Connection using a Service Bus relay. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. - * @param connectionEnvelope Details of the hybrid connection configuration. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. + * @param connectionEnvelope The details of the hybrid connection. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RelayServiceConnectionEntityInner object + * @return the observable to the HybridConnectionInner object */ - public Observable createOrUpdateRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { - return createOrUpdateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope).map(new Func1, RelayServiceConnectionEntityInner>() { + public Observable updateHybridConnectionSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { + return updateHybridConnectionSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot, connectionEnvelope).map(new Func1, HybridConnectionInner>() { @Override - public RelayServiceConnectionEntityInner call(ServiceResponse response) { + public HybridConnectionInner call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new Hybrid Connection using a Service Bus relay. + * Creates a new Hybrid Connection using a Service Bus relay. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. - * @param connectionEnvelope Details of the hybrid connection configuration. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. + * @param connectionEnvelope The details of the hybrid connection. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RelayServiceConnectionEntityInner object + * @return the observable to the HybridConnectionInner object */ - public Observable> createOrUpdateRelayServiceConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { + public Observable> updateHybridConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, HybridConnectionInner connectionEnvelope) { 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 (entityName == null) { - throw new IllegalArgumentException("Parameter entityName is required and cannot be null."); + if (namespaceName == null) { + throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); + } + if (relayName == null) { + throw new IllegalArgumentException("Parameter relayName is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -27343,12 +27398,12 @@ public Observable> createOrUp throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } Validator.validate(connectionEnvelope); - return service.createOrUpdateRelayServiceConnectionSlot(resourceGroupName, name, entityName, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.updateHybridConnectionSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = createOrUpdateRelayServiceConnectionSlotDelegate(response); + ServiceResponse clientResponse = updateHybridConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -27357,85 +27412,93 @@ 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()) + private ServiceResponse 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); } /** - * Deletes a relay service connection by its name. - * Deletes a relay service connection by its name. + * Gets the send key name and value for a Hybrid Connection. + * Gets the send key name and value for a Hybrid Connection. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 HybridConnectionKeyInner object if successful. */ - public void deleteRelayServiceConnectionSlot(String resourceGroupName, String name, String entityName, String slot) { - deleteRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot).toBlocking().single().body(); + public HybridConnectionKeyInner listHybridConnectionKeysSlot(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + return listHybridConnectionKeysSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).toBlocking().single().body(); } /** - * Deletes a relay service connection by its name. - * Deletes a relay service connection by its name. + * Gets the send key name and value for a Hybrid Connection. + * Gets the send key name and value for a Hybrid Connection. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web 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 deleteRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot), serviceCallback); + public ServiceFuture listHybridConnectionKeysSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listHybridConnectionKeysSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot), serviceCallback); } /** - * Deletes a relay service connection by its name. - * Deletes a relay service connection by its name. + * Gets the send key name and value for a Hybrid Connection. + * Gets the send key name and value for a Hybrid Connection. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the HybridConnectionKeyInner object */ - public Observable deleteRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot) { - return deleteRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot).map(new Func1, Void>() { + public Observable listHybridConnectionKeysSlotAsync(String resourceGroupName, String name, String namespaceName, String relayName, String slot) { + return listHybridConnectionKeysSlotWithServiceResponseAsync(resourceGroupName, name, namespaceName, relayName, slot).map(new Func1, HybridConnectionKeyInner>() { @Override - public Void call(ServiceResponse response) { + public HybridConnectionKeyInner call(ServiceResponse response) { return response.body(); } }); } /** - * Deletes a relay service connection by its name. - * Deletes a relay service connection by its name. + * Gets the send key name and value for a Hybrid Connection. + * Gets the send key name and value for a Hybrid Connection. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot. + * @param name The name of the web app. + * @param namespaceName The namespace for this hybrid connection. + * @param relayName The relay name for this hybrid connection. + * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable to the HybridConnectionKeyInner object */ - public Observable> deleteRelayServiceConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String entityName, String slot) { + public Observable> listHybridConnectionKeysSlotWithServiceResponseAsync(String resourceGroupName, String name, String namespaceName, String relayName, 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 (entityName == null) { - throw new IllegalArgumentException("Parameter entityName is required and cannot be null."); + if (namespaceName == null) { + throw new IllegalArgumentException("Parameter namespaceName is required and cannot be null."); + } + if (relayName == null) { + throw new IllegalArgumentException("Parameter relayName is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -27446,12 +27509,12 @@ public Observable> deleteRelayServiceConnectionSlotWithSer if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.deleteRelayServiceConnectionSlot(resourceGroupName, name, entityName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listHybridConnectionKeysSlot(resourceGroupName, name, namespaceName, relayName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteRelayServiceConnectionSlotDelegate(response); + ServiceResponse clientResponse = listHybridConnectionKeysSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -27460,111 +27523,95 @@ 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) + private ServiceResponse 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); } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Retrieves all Service Bus Hybrid Connections used by this Web App. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. - * @param connectionEnvelope Details of the hybrid connection configuration. + * @param name The name of the web app. + * @param slot The name of the slot for the web 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 - * @return the RelayServiceConnectionEntityInner object if successful. + * @return the HybridConnectionInner object if successful. */ - public RelayServiceConnectionEntityInner updateRelayServiceConnectionSlot(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { - return updateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope).toBlocking().single().body(); + public HybridConnectionInner listHybridConnectionsSlot(String resourceGroupName, String name, String slot) { + return listHybridConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Retrieves all Service Bus Hybrid Connections used by this Web App. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. - * @param connectionEnvelope Details of the hybrid connection configuration. + * @param name The name of the web app. + * @param slot The name of the slot for the web 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 updateRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(updateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope), serviceCallback); + public ServiceFuture listHybridConnectionsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listHybridConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Retrieves all Service Bus Hybrid Connections used by this Web App. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. - * @param connectionEnvelope Details of the hybrid connection configuration. + * @param name The name of the web app. + * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RelayServiceConnectionEntityInner object + * @return the observable to the HybridConnectionInner object */ - public Observable updateRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { - return updateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope).map(new Func1, RelayServiceConnectionEntityInner>() { + public Observable listHybridConnectionsSlotAsync(String resourceGroupName, String name, String slot) { + return listHybridConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, HybridConnectionInner>() { @Override - public RelayServiceConnectionEntityInner call(ServiceResponse response) { + public HybridConnectionInner call(ServiceResponse response) { return response.body(); } }); } /** - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). - * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Retrieves all Service Bus Hybrid Connections used by this Web App. + * Retrieves all Service Bus Hybrid Connections used by this Web App. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param entityName Name of the hybrid connection configuration. - * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. - * @param connectionEnvelope Details of the hybrid connection configuration. + * @param name The name of the web app. + * @param slot The name of the slot for the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the RelayServiceConnectionEntityInner object + * @return the observable to the HybridConnectionInner object */ - public Observable> updateRelayServiceConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { + public Observable> listHybridConnectionsSlotWithServiceResponseAsync(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 (entityName == null) { - throw new IllegalArgumentException("Parameter entityName 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 (connectionEnvelope == null) { - throw new IllegalArgumentException("Parameter connectionEnvelope 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(connectionEnvelope); - return service.updateRelayServiceConnectionSlot(resourceGroupName, name, entityName, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listHybridConnectionsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = updateRelayServiceConnectionSlotDelegate(response); + ServiceResponse clientResponse = listHybridConnectionsSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -27573,113 +27620,74 @@ 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()) + private ServiceResponse 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); } /** - * Gets all scale-out instances of an app. - * Gets all scale-out instances of an app. + * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Gets hybrid connections configured for an app (or deployment slot, if specified). * * @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 gets the production slot instances. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production 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 PagedList<SiteInstanceInner> object if successful. + * @return the RelayServiceConnectionEntityInner object if successful. */ - public PagedList listInstanceIdentifiersSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listInstanceIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listInstanceIdentifiersSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public RelayServiceConnectionEntityInner listRelayServiceConnectionsSlot(String resourceGroupName, String name, String slot) { + return listRelayServiceConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets all scale-out instances of an app. - * Gets all scale-out instances of an app. + * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Gets hybrid connections configured for an app (or deployment slot, if specified). * * @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 gets the production slot instances. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production 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> listInstanceIdentifiersSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listInstanceIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listInstanceIdentifiersSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture listRelayServiceConnectionsSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listRelayServiceConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets all scale-out instances of an app. - * Gets all scale-out instances of an app. + * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Gets hybrid connections configured for an app (or deployment slot, if specified). * * @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 gets the production slot instances. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteInstanceInner> object + * @return the observable to the RelayServiceConnectionEntityInner object */ - public Observable> listInstanceIdentifiersSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listInstanceIdentifiersSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable listRelayServiceConnectionsSlotAsync(String resourceGroupName, String name, String slot) { + return listRelayServiceConnectionsSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, RelayServiceConnectionEntityInner>() { + @Override + public RelayServiceConnectionEntityInner call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Gets all scale-out instances of an app. - * Gets all scale-out instances of an app. + * Gets hybrid connections configured for an app (or deployment slot, if specified). + * Gets hybrid connections configured for an app (or deployment slot, if specified). * * @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 gets the production slot instances. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<SiteInstanceInner> object - */ - public Observable>> listInstanceIdentifiersSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listInstanceIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listInstanceIdentifiersSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<SiteInstanceInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the RelayServiceConnectionEntityInner object */ - public Observable>> listInstanceIdentifiersSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> listRelayServiceConnectionsSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -27695,13 +27703,13 @@ public Observable>> listInstanceIdentifi if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listInstanceIdentifiersSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listRelayServiceConnectionsSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse> result = listInstanceIdentifiersSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = listRelayServiceConnectionsSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -27709,102 +27717,102 @@ 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()) + 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); } /** - * Get the status of the last MSDeploy operation. - * Get the status of the last MSDeploy operation. + * Gets a hybrid connection configuration by its name. + * Gets a hybrid connection configuration by its name. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. + * @param name Name of the app. + * @param entityName Name of the hybrid connection. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production 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 MSDeployStatusInner object if successful. + * @return the RelayServiceConnectionEntityInner object if successful. */ - public MSDeployStatusInner getInstanceMsDeployStatusSlot(String resourceGroupName, String name, String slot, String instanceId) { - return getInstanceMsDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId).toBlocking().single().body(); + public RelayServiceConnectionEntityInner getRelayServiceConnectionSlot(String resourceGroupName, String name, String entityName, String slot) { + return getRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot).toBlocking().single().body(); } /** - * Get the status of the last MSDeploy operation. - * Get the status of the last MSDeploy operation. + * Gets a hybrid connection configuration by its name. + * Gets a hybrid connection configuration by its name. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. + * @param name Name of the app. + * @param entityName Name of the hybrid connection. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production 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 getInstanceMsDeployStatusSlotAsync(String resourceGroupName, String name, String slot, String instanceId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getInstanceMsDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId), serviceCallback); + public ServiceFuture getRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot), serviceCallback); } /** - * Get the status of the last MSDeploy operation. - * Get the status of the last MSDeploy operation. + * Gets a hybrid connection configuration by its name. + * Gets a hybrid connection configuration by its name. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. + * @param name Name of the app. + * @param entityName Name of the hybrid connection. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MSDeployStatusInner object + * @return the observable to the RelayServiceConnectionEntityInner object */ - public Observable getInstanceMsDeployStatusSlotAsync(String resourceGroupName, String name, String slot, String instanceId) { - return getInstanceMsDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId).map(new Func1, MSDeployStatusInner>() { + public Observable getRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot) { + return getRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot).map(new Func1, RelayServiceConnectionEntityInner>() { @Override - public MSDeployStatusInner call(ServiceResponse response) { + public RelayServiceConnectionEntityInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get the status of the last MSDeploy operation. - * Get the status of the last MSDeploy operation. + * Gets a hybrid connection configuration by its name. + * Gets a hybrid connection configuration by its name. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. + * @param name Name of the app. + * @param entityName Name of the hybrid connection. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MSDeployStatusInner object + * @return the observable to the RelayServiceConnectionEntityInner object */ - public Observable> getInstanceMsDeployStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId) { + public Observable> getRelayServiceConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String entityName, 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 (entityName == null) { + throw new IllegalArgumentException("Parameter entityName is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } - if (instanceId == null) { - throw new IllegalArgumentException("Parameter instanceId 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.getInstanceMsDeployStatusSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getRelayServiceConnectionSlot(resourceGroupName, name, entityName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getInstanceMsDeployStatusSlotDelegate(response); + ServiceResponse clientResponse = getRelayServiceConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -27813,205 +27821,213 @@ 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()) + 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); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. + * @param connectionEnvelope Details of the hybrid connection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 MSDeployStatusInner object if successful. + * @return the RelayServiceConnectionEntityInner object if successful. */ - public MSDeployStatusInner createInstanceMSDeployOperationSlot(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { - return createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).toBlocking().last().body(); + public RelayServiceConnectionEntityInner createOrUpdateRelayServiceConnectionSlot(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { + return createOrUpdateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope).toBlocking().single().body(); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. + * @param connectionEnvelope Details of the hybrid connection configuration. * @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 createInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy), serviceCallback); + public ServiceFuture createOrUpdateRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope), serviceCallback); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. + * @param connectionEnvelope Details of the hybrid connection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the observable to the RelayServiceConnectionEntityInner object */ - public Observable createInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { - return createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).map(new Func1, MSDeployStatusInner>() { + public Observable createOrUpdateRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { + return createOrUpdateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope).map(new Func1, RelayServiceConnectionEntityInner>() { @Override - public MSDeployStatusInner call(ServiceResponse response) { + public RelayServiceConnectionEntityInner call(ServiceResponse response) { return response.body(); } }); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. - * + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. + * @param connectionEnvelope Details of the hybrid connection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request + * @return the observable to the RelayServiceConnectionEntityInner object */ - public Observable> createInstanceMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { + public Observable> createOrUpdateRelayServiceConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { 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 (entityName == null) { + throw new IllegalArgumentException("Parameter entityName is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } - if (instanceId == null) { - throw new IllegalArgumentException("Parameter instanceId 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 (mSDeploy == null) { - throw new IllegalArgumentException("Parameter mSDeploy is required and cannot be null."); + if (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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(mSDeploy); - Observable> observable = service.createInstanceMSDeployOperationSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), mSDeploy, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); + Validator.validate(connectionEnvelope); + return service.createOrUpdateRelayServiceConnectionSlot(resourceGroupName, name, entityName, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateRelayServiceConnectionSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Deletes a relay service connection by its name. + * Deletes a relay service connection by its name. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production 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 - * @return the MSDeployStatusInner object if successful. */ - public MSDeployStatusInner beginCreateInstanceMSDeployOperationSlot(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { - return beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).toBlocking().single().body(); + public void deleteRelayServiceConnectionSlot(String resourceGroupName, String name, String entityName, String slot) { + deleteRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot).toBlocking().single().body(); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Deletes a relay service connection by its name. + * Deletes a relay service connection by its name. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production 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 beginCreateInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy), serviceCallback); + public ServiceFuture deleteRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot), serviceCallback); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Deletes a relay service connection by its name. + * Deletes a relay service connection by its name. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MSDeployStatusInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable beginCreateInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { - return beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).map(new Func1, MSDeployStatusInner>() { + public Observable deleteRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot) { + return deleteRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot).map(new Func1, Void>() { @Override - public MSDeployStatusInner call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); } /** - * Invoke the MSDeploy web app extension. - * Invoke the MSDeploy web app extension. + * Deletes a relay service connection by its name. + * Deletes a relay service connection by its name. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. - * @param mSDeploy Details of MSDeploy operation + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MSDeployStatusInner object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { + public Observable> deleteRelayServiceConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String entityName, 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 (entityName == null) { + throw new IllegalArgumentException("Parameter entityName is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } - if (instanceId == null) { - throw new IllegalArgumentException("Parameter instanceId 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 (mSDeploy == null) { - throw new IllegalArgumentException("Parameter mSDeploy 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(mSDeploy); - return service.beginCreateInstanceMSDeployOperationSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), mSDeploy, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteRelayServiceConnectionSlot(resourceGroupName, name, entityName, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = beginCreateInstanceMSDeployOperationSlotDelegate(response); + ServiceResponse clientResponse = deleteRelayServiceConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -28020,103 +28036,111 @@ 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()) + 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); } /** - * Get the MSDeploy Log for the last MSDeploy operation. - * Get the MSDeploy Log for the last MSDeploy operation. + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. + * @param connectionEnvelope Details of the hybrid connection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 MSDeployLogInner object if successful. + * @return the RelayServiceConnectionEntityInner object if successful. */ - public MSDeployLogInner getInstanceMSDeployLogSlot(String resourceGroupName, String name, String slot, String instanceId) { - return getInstanceMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId).toBlocking().single().body(); + public RelayServiceConnectionEntityInner updateRelayServiceConnectionSlot(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { + return updateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope).toBlocking().single().body(); } /** - * Get the MSDeploy Log for the last MSDeploy operation. - * Get the MSDeploy Log for the last MSDeploy operation. + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. + * @param connectionEnvelope Details of the hybrid connection configuration. * @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 getInstanceMSDeployLogSlotAsync(String resourceGroupName, String name, String slot, String instanceId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getInstanceMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId), serviceCallback); + public ServiceFuture updateRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope), serviceCallback); } /** - * Get the MSDeploy Log for the last MSDeploy operation. - * Get the MSDeploy Log for the last MSDeploy operation. + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. + * @param connectionEnvelope Details of the hybrid connection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MSDeployLogInner object + * @return the observable to the RelayServiceConnectionEntityInner object */ - public Observable getInstanceMSDeployLogSlotAsync(String resourceGroupName, String name, String slot, String instanceId) { - return getInstanceMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId).map(new Func1, MSDeployLogInner>() { + public Observable updateRelayServiceConnectionSlotAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { + return updateRelayServiceConnectionSlotWithServiceResponseAsync(resourceGroupName, name, entityName, slot, connectionEnvelope).map(new Func1, RelayServiceConnectionEntityInner>() { @Override - public MSDeployLogInner call(ServiceResponse response) { + public RelayServiceConnectionEntityInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get the MSDeploy Log for the last MSDeploy operation. - * Get the MSDeploy Log for the last MSDeploy operation. + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). + * Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of web app slot. If not specified then will default to production slot. - * @param instanceId ID of web app instance. + * @param name Name of the app. + * @param entityName Name of the hybrid connection configuration. + * @param slot Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot. + * @param connectionEnvelope Details of the hybrid connection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MSDeployLogInner object + * @return the observable to the RelayServiceConnectionEntityInner object */ - public Observable> getInstanceMSDeployLogSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId) { + public Observable> updateRelayServiceConnectionSlotWithServiceResponseAsync(String resourceGroupName, String name, String entityName, String slot, RelayServiceConnectionEntityInner connectionEnvelope) { 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 (entityName == null) { + throw new IllegalArgumentException("Parameter entityName is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } - if (instanceId == null) { - throw new IllegalArgumentException("Parameter instanceId 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 (connectionEnvelope == null) { + throw new IllegalArgumentException("Parameter connectionEnvelope 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.getInstanceMSDeployLogSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(connectionEnvelope); + return service.updateRelayServiceConnectionSlot(resourceGroupName, name, entityName, slot, this.client.subscriptionId(), connectionEnvelope, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getInstanceMSDeployLogSlotDelegate(response); + ServiceResponse clientResponse = updateRelayServiceConnectionSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -28125,119 +28149,113 @@ 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) + 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); } /** - * 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. + * Gets all scale-out instances of an app. + * Gets all scale-out instances of an app. * * @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 returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @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 - * @throws CloudException thrown if the request is rejected by server + * @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 PagedList<ProcessInfoInner> object if successful. + * @return the PagedList<SiteInstanceInner> object if successful. */ - public PagedList listInstanceProcessesSlot(final String resourceGroupName, final String name, final String slot, final String instanceId) { - ServiceResponse> response = listInstanceProcessesSlotSinglePageAsync(resourceGroupName, name, slot, instanceId).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listInstanceIdentifiersSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listInstanceIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return listInstanceProcessesSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } + public Page nextPage(String nextPageLink) { + return listInstanceIdentifiersSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } }; } /** - * 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. + * Gets all scale-out instances of an app. + * Gets all scale-out instances of an app. * * @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 returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API gets the production slot instances. * @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> listInstanceProcessesSlotAsync(final String resourceGroupName, final String name, final String slot, final String instanceId, final ListOperationCallback serviceCallback) { + public ServiceFuture> listInstanceIdentifiersSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listInstanceProcessesSlotSinglePageAsync(resourceGroupName, name, slot, instanceId), - new Func1>>>() { + listInstanceIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return listInstanceProcessesSlotNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listInstanceIdentifiersSlotNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * 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. + * Gets all scale-out instances of an app. + * Gets all scale-out instances of an app. * * @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 returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @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 observable to the PagedList<ProcessInfoInner> object + * @return the observable to the PagedList<SiteInstanceInner> object */ - public Observable> listInstanceProcessesSlotAsync(final String resourceGroupName, final String name, final String slot, final String instanceId) { - return listInstanceProcessesSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId) - .map(new Func1>, Page>() { + public Observable> listInstanceIdentifiersSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listInstanceIdentifiersSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * 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. + * Gets all scale-out instances of an app. + * Gets all scale-out instances of an app. * * @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 returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @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 observable to the PagedList<ProcessInfoInner> object + * @return the observable to the PagedList<SiteInstanceInner> object */ - public Observable>> listInstanceProcessesSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot, final String instanceId) { - return listInstanceProcessesSlotSinglePageAsync(resourceGroupName, name, slot, instanceId) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listInstanceIdentifiersSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listInstanceIdentifiersSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(listInstanceProcessesSlotNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listInstanceIdentifiersSlotNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * 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. + * 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 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 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<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<SiteInstanceInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listInstanceProcessesSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot, final String instanceId) { + public Observable>> listInstanceIdentifiersSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -28247,22 +28265,19 @@ public Observable>> listInstanceProcesses if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } - if (instanceId == null) { - throw new IllegalArgumentException("Parameter instanceId 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.listInstanceProcessesSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listInstanceIdentifiersSlot(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) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listInstanceProcessesSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listInstanceIdentifiersSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -28270,92 +28285,84 @@ 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) + private ServiceResponse> 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); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID for a specific scaled-out instance in a web site. + * Get the status of the last MSDeploy operation. + * Get the status of the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 ProcessInfoInner object if successful. + * @return the MSDeployStatusInner object if successful. */ - public ProcessInfoInner getInstanceProcessSlot(String resourceGroupName, String name, String processId, String slot, String instanceId) { - return getInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single().body(); + public MSDeployStatusInner getInstanceMsDeployStatusSlot(String resourceGroupName, String name, String slot, String instanceId) { + return getInstanceMsDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId).toBlocking().single().body(); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID for a specific scaled-out instance in a web site. + * Get the status of the last MSDeploy operation. + * Get the status of the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. * @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 getInstanceProcessSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId), serviceCallback); + public ServiceFuture getInstanceMsDeployStatusSlotAsync(String resourceGroupName, String name, String slot, String instanceId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getInstanceMsDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId), serviceCallback); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID for a specific scaled-out instance in a web site. + * Get the status of the last MSDeploy operation. + * Get the status of the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessInfoInner object + * @return the observable to the MSDeployStatusInner object */ - public Observable getInstanceProcessSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { - return getInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).map(new Func1, ProcessInfoInner>() { + public Observable getInstanceMsDeployStatusSlotAsync(String resourceGroupName, String name, String slot, String instanceId) { + return getInstanceMsDeployStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId).map(new Func1, MSDeployStatusInner>() { @Override - public ProcessInfoInner call(ServiceResponse response) { + public MSDeployStatusInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get process information by its ID for a specific scaled-out instance in a web site. - * Get process information by its ID for a specific scaled-out instance in a web site. + * Get the status of the last MSDeploy operation. + * Get the status of the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessInfoInner object + * @return the observable to the MSDeployStatusInner object */ - public Observable> getInstanceProcessSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { + public Observable> getInstanceMsDeployStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId) { 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -28368,12 +28375,12 @@ public Observable> getInstanceProcessSlotWithS if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getInstanceProcessSlot(resourceGroupName, name, processId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getInstanceMsDeployStatusSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getInstanceProcessSlotDelegate(response); + ServiceResponse clientResponse = getInstanceMsDeployStatusSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -28382,90 +28389,182 @@ 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) + private ServiceResponse 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); } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the MSDeployStatusInner object if successful. */ - public void deleteInstanceProcessSlot(String resourceGroupName, String name, String processId, String slot, String instanceId) { - deleteInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single().body(); + public MSDeployStatusInner createInstanceMSDeployOperationSlot(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { + return createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).toBlocking().last().body(); } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. + * @param mSDeploy Details of MSDeploy operation * @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 deleteInstanceProcessSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(deleteInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId), serviceCallback); + public ServiceFuture createInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy), serviceCallback); } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable for the request */ - public Observable deleteInstanceProcessSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { - return deleteInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).map(new Func1, Void>() { + public Observable createInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { + return createInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).map(new Func1, MSDeployStatusInner>() { @Override - public Void call(ServiceResponse response) { + public MSDeployStatusInner call(ServiceResponse response) { return response.body(); } }); } /** - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. - * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. + * @param mSDeploy Details of MSDeploy operation * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the {@link ServiceResponse} object if successful. + * @return the observable for the request */ - public Observable> deleteInstanceProcessSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { + public Observable> createInstanceMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } if (name == null) { throw new IllegalArgumentException("Parameter name is required and cannot be null."); } - if (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (instanceId == null) { + throw new IllegalArgumentException("Parameter instanceId 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 (mSDeploy == null) { + throw new IllegalArgumentException("Parameter mSDeploy 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(mSDeploy); + Observable> observable = service.createInstanceMSDeployOperationSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), mSDeploy, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPutOrPatchResultAsync(observable, new TypeToken() { }.getType()); + } + + /** + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. + * @param mSDeploy Details of MSDeploy operation + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the MSDeployStatusInner object if successful. + */ + public MSDeployStatusInner beginCreateInstanceMSDeployOperationSlot(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { + return beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).toBlocking().single().body(); + } + + /** + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. + * @param mSDeploy Details of MSDeploy operation + * @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 beginCreateInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy), serviceCallback); + } + + /** + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. + * @param mSDeploy Details of MSDeploy operation + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MSDeployStatusInner object + */ + public Observable beginCreateInstanceMSDeployOperationSlotAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { + return beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId, mSDeploy).map(new Func1, MSDeployStatusInner>() { + @Override + public MSDeployStatusInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Invoke the MSDeploy web app extension. + * Invoke the MSDeploy web app extension. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. + * @param mSDeploy Details of MSDeploy operation + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MSDeployStatusInner object + */ + public Observable> beginCreateInstanceMSDeployOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId, MSDeploy mSDeploy) { + 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."); @@ -28476,15 +28575,19 @@ public Observable> deleteInstanceProcessSlotWithServiceRes if (this.client.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); } + if (mSDeploy == null) { + throw new IllegalArgumentException("Parameter mSDeploy 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.deleteInstanceProcessSlot(resourceGroupName, name, processId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + Validator.validate(mSDeploy); + return service.beginCreateInstanceMSDeployOperationSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), mSDeploy, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = deleteInstanceProcessSlotDelegate(response); + ServiceResponse clientResponse = beginCreateInstanceMSDeployOperationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -28493,92 +28596,85 @@ 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()) + private ServiceResponse 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); } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get the MSDeploy Log for the last MSDeploy operation. + * Get the MSDeploy Log for the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the InputStream object if successful. + * @return the MSDeployLogInner object if successful. */ - public InputStream getInstanceProcessDumpSlot(String resourceGroupName, String name, String processId, String slot, String instanceId) { - return getInstanceProcessDumpSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single().body(); + public MSDeployLogInner getInstanceMSDeployLogSlot(String resourceGroupName, String name, String slot, String instanceId) { + return getInstanceMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId).toBlocking().single().body(); } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get the MSDeploy Log for the last MSDeploy operation. + * Get the MSDeploy Log for the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. * @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 getInstanceProcessDumpSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getInstanceProcessDumpSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId), serviceCallback); + public ServiceFuture getInstanceMSDeployLogSlotAsync(String resourceGroupName, String name, String slot, String instanceId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getInstanceMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId), serviceCallback); } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get the MSDeploy Log for the last MSDeploy operation. + * Get the MSDeploy Log for the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the MSDeployLogInner object */ - public Observable getInstanceProcessDumpSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { - return getInstanceProcessDumpSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).map(new Func1, InputStream>() { + public Observable getInstanceMSDeployLogSlotAsync(String resourceGroupName, String name, String slot, String instanceId) { + return getInstanceMSDeployLogSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId).map(new Func1, MSDeployLogInner>() { @Override - public InputStream call(ServiceResponse response) { + public MSDeployLogInner call(ServiceResponse response) { return response.body(); } }); } /** - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. - * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get the MSDeploy Log for the last MSDeploy operation. + * Get the MSDeploy Log for the last MSDeploy operation. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of web app. + * @param slot Name of web app slot. If not specified then will default to production slot. + * @param instanceId ID of web app instance. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the InputStream object + * @return the observable to the MSDeployLogInner object */ - public Observable> getInstanceProcessDumpSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { + public Observable> getInstanceMSDeployLogSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, String instanceId) { 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -28591,12 +28687,12 @@ public Observable> getInstanceProcessDumpSlotWithSe if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getInstanceProcessDumpSlot(resourceGroupName, name, processId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getInstanceMSDeployLogSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getInstanceProcessDumpSlotDelegate(response); + ServiceResponse clientResponse = getInstanceMSDeployLogSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -28605,133 +28701,125 @@ 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()) + 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); } /** - * 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. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param processId PID. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @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 * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the PagedList<ProcessModuleInfoInner> object if successful. + * @return the PagedList<ProcessInfoInner> object if successful. */ - public PagedList listInstanceProcessModulesSlot(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { - ServiceResponse> response = listInstanceProcessModulesSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listInstanceProcessesSlot(final String resourceGroupName, final String name, final String slot, final String instanceId) { + ServiceResponse> response = listInstanceProcessesSlotSinglePageAsync(resourceGroupName, name, slot, instanceId).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return listInstanceProcessModulesSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + public Page nextPage(String nextPageLink) { + return listInstanceProcessesSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; } /** - * 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. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param processId PID. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @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". * @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> listInstanceProcessModulesSlotAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId, final ListOperationCallback serviceCallback) { + public ServiceFuture> listInstanceProcessesSlotAsync(final String resourceGroupName, final String name, final String slot, final String instanceId, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listInstanceProcessModulesSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId), - new Func1>>>() { + listInstanceProcessesSlotSinglePageAsync(resourceGroupName, name, slot, instanceId), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return listInstanceProcessModulesSlotNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listInstanceProcessesSlotNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * 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. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param processId PID. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @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 observable to the PagedList<ProcessModuleInfoInner> object + * @return the observable to the PagedList<ProcessInfoInner> object */ - public Observable> listInstanceProcessModulesSlotAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { - return listInstanceProcessModulesSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId) - .map(new Func1>, Page>() { + public Observable> listInstanceProcessesSlotAsync(final String resourceGroupName, final String name, final String slot, final String instanceId) { + return listInstanceProcessesSlotWithServiceResponseAsync(resourceGroupName, name, slot, instanceId) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * 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. + * 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. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. - * @param processId PID. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @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 observable to the PagedList<ProcessModuleInfoInner> object + * @return the observable to the PagedList<ProcessInfoInner> object */ - public Observable>> listInstanceProcessModulesSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { - return listInstanceProcessModulesSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listInstanceProcessesSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot, final String instanceId) { + return listInstanceProcessesSlotSinglePageAsync(resourceGroupName, name, slot, instanceId) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(listInstanceProcessModulesSlotNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listInstanceProcessesSlotNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * 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. + * 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 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 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. + * @return the PagedList<ProcessInfoInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listInstanceProcessModulesSlotSinglePageAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + public Observable>> listInstanceProcessesSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot, final String instanceId) { 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -28744,13 +28832,13 @@ public Observable>> listInstancePro if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listInstanceProcessModulesSlot(resourceGroupName, name, processId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.listInstanceProcessesSlot(resourceGroupName, name, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listInstanceProcessModulesSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listInstanceProcessesSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -28758,9 +28846,9 @@ 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()) + private ServiceResponse> 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); @@ -28773,16 +28861,15 @@ private ServiceResponse> listInstanceProcessMod * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param baseAddress Module base address. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @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 * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the ProcessModuleInfoInner object if successful. + * @return the ProcessInfoInner object if successful. */ - public ProcessModuleInfoInner getInstanceProcessModuleSlot(String resourceGroupName, String name, String processId, String baseAddress, String slot, String instanceId) { - return getInstanceProcessModuleSlotWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress, slot, instanceId).toBlocking().single().body(); + public ProcessInfoInner getInstanceProcessSlot(String resourceGroupName, String name, String processId, String slot, String instanceId) { + return getInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single().body(); } /** @@ -28792,15 +28879,14 @@ public ProcessModuleInfoInner getInstanceProcessModuleSlot(String resourceGroupN * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param baseAddress Module base address. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @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". * @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 getInstanceProcessModuleSlotAsync(String resourceGroupName, String name, String processId, String baseAddress, String slot, String instanceId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getInstanceProcessModuleSlotWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress, slot, instanceId), serviceCallback); + public ServiceFuture getInstanceProcessSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId), serviceCallback); } /** @@ -28810,16 +28896,15 @@ public ServiceFuture getInstanceProcessModuleSlotAsync(S * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param baseAddress Module base address. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @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 observable to the ProcessModuleInfoInner object + * @return the observable to the ProcessInfoInner object */ - public Observable getInstanceProcessModuleSlotAsync(String resourceGroupName, String name, String processId, String baseAddress, String slot, String instanceId) { - return getInstanceProcessModuleSlotWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress, slot, instanceId).map(new Func1, ProcessModuleInfoInner>() { + public Observable getInstanceProcessSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { + return getInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).map(new Func1, ProcessInfoInner>() { @Override - public ProcessModuleInfoInner call(ServiceResponse response) { + public ProcessInfoInner call(ServiceResponse response) { return response.body(); } }); @@ -28832,13 +28917,12 @@ public ProcessModuleInfoInner call(ServiceResponse respo * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. * @param processId PID. - * @param baseAddress Module base address. * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. * @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 observable to the ProcessModuleInfoInner object + * @return the observable to the ProcessInfoInner object */ - public Observable> getInstanceProcessModuleSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String baseAddress, String slot, String instanceId) { + public Observable> getInstanceProcessSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -28848,8 +28932,116 @@ public Observable> getInstanceProcessMod if (processId == null) { throw new IllegalArgumentException("Parameter processId is required and cannot be null."); } - if (baseAddress == null) { - throw new IllegalArgumentException("Parameter baseAddress is required and cannot be null."); + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (instanceId == null) { + throw new IllegalArgumentException("Parameter instanceId 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.getInstanceProcessSlot(resourceGroupName, name, processId, slot, instanceId, 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 = getInstanceProcessSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 + * @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 deleteInstanceProcessSlot(String resourceGroupName, String name, String processId, String slot, String instanceId) { + deleteInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single().body(); + } + + /** + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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". + * @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 deleteInstanceProcessSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId), serviceCallback); + } + + /** + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 {@link ServiceResponse} object if successful. + */ + public Observable deleteInstanceProcessSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { + return deleteInstanceProcessSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 {@link ServiceResponse} object if successful. + */ + public Observable> deleteInstanceProcessSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { + 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 (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); @@ -28863,12 +29055,12 @@ public Observable> getInstanceProcessMod if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getInstanceProcessModuleSlot(resourceGroupName, name, processId, baseAddress, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.deleteInstanceProcessSlot(resourceGroupName, name, processId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = getInstanceProcessModuleSlotDelegate(response); + ServiceResponse clientResponse = deleteInstanceProcessSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -28877,152 +29069,1124 @@ 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) + 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); + } + + /** + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the InputStream object if successful. + */ + public InputStream getInstanceProcessDumpSlot(String resourceGroupName, String name, String processId, String slot, String instanceId) { + return getInstanceProcessDumpSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single().body(); + } + + /** + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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". + * @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 getInstanceProcessDumpSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getInstanceProcessDumpSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId), serviceCallback); + } + + /** + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the InputStream object + */ + public Observable getInstanceProcessDumpSlotAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { + return getInstanceProcessDumpSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId).map(new Func1, InputStream>() { + @Override + public InputStream call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * Get a memory dump of a process by its ID for a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the InputStream object + */ + public Observable> getInstanceProcessDumpSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String slot, String instanceId) { + 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 (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (instanceId == null) { + throw new IllegalArgumentException("Parameter instanceId 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.getInstanceProcessDumpSlot(resourceGroupName, name, processId, slot, instanceId, 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 = getInstanceProcessDumpSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + + /** + * 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. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<ProcessModuleInfoInner> object if successful. + */ + public PagedList listInstanceProcessModulesSlot(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + ServiceResponse> response = listInstanceProcessModulesSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listInstanceProcessModulesSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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". + * @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> listInstanceProcessModulesSlotAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listInstanceProcessModulesSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listInstanceProcessModulesSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * 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. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the PagedList<ProcessModuleInfoInner> object + */ + public Observable> listInstanceProcessModulesSlotAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + return listInstanceProcessModulesSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the PagedList<ProcessModuleInfoInner> object + */ + public Observable>> listInstanceProcessModulesSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + return listInstanceProcessModulesSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listInstanceProcessModulesSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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". + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ProcessModuleInfoInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listInstanceProcessModulesSlotSinglePageAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + 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 (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (instanceId == null) { + throw new IllegalArgumentException("Parameter instanceId 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.listInstanceProcessModulesSlot(resourceGroupName, name, processId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listInstanceProcessModulesSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + + /** + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param baseAddress Module base address. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ProcessModuleInfoInner object if successful. + */ + public ProcessModuleInfoInner getInstanceProcessModuleSlot(String resourceGroupName, String name, String processId, String baseAddress, String slot, String instanceId) { + return getInstanceProcessModuleSlotWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress, slot, instanceId).toBlocking().single().body(); + } + + /** + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param baseAddress Module base address. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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". + * @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 getInstanceProcessModuleSlotAsync(String resourceGroupName, String name, String processId, String baseAddress, String slot, String instanceId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getInstanceProcessModuleSlotWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress, slot, instanceId), serviceCallback); + } + + /** + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param baseAddress Module base address. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the ProcessModuleInfoInner object + */ + public Observable getInstanceProcessModuleSlotAsync(String resourceGroupName, String name, String processId, String baseAddress, String slot, String instanceId) { + return getInstanceProcessModuleSlotWithServiceResponseAsync(resourceGroupName, name, processId, baseAddress, slot, instanceId).map(new Func1, ProcessModuleInfoInner>() { + @Override + public ProcessModuleInfoInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get process information by its ID for a specific scaled-out instance in a web site. + * Get process information by its ID for a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param baseAddress Module base address. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the ProcessModuleInfoInner object + */ + public Observable> getInstanceProcessModuleSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String baseAddress, String slot, String instanceId) { + 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 (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + } + if (baseAddress == null) { + throw new IllegalArgumentException("Parameter baseAddress is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (instanceId == null) { + throw new IllegalArgumentException("Parameter instanceId 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.getInstanceProcessModuleSlot(resourceGroupName, name, processId, baseAddress, slot, instanceId, 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 = getInstanceProcessModuleSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + + /** + * 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. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<ProcessThreadInfoInner> object if successful. + */ + public PagedList listInstanceProcessThreadsSlot(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + ServiceResponse> response = listInstanceProcessThreadsSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listInstanceProcessThreadsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * 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. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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". + * @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> listInstanceProcessThreadsSlotAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listInstanceProcessThreadsSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listInstanceProcessThreadsSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * 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. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the PagedList<ProcessThreadInfoInner> object + */ + public Observable> listInstanceProcessThreadsSlotAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + return listInstanceProcessThreadsSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * 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. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the PagedList<ProcessThreadInfoInner> object + */ + public Observable>> listInstanceProcessThreadsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + return listInstanceProcessThreadsSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listInstanceProcessThreadsSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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". + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listInstanceProcessThreadsSlotSinglePageAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + 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 (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (instanceId == null) { + throw new IllegalArgumentException("Parameter instanceId 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.listInstanceProcessThreadsSlot(resourceGroupName, name, processId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listInstanceProcessThreadsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + + /** + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param threadId TID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ProcessThreadInfoInner object if successful. + */ + public ProcessThreadInfoInner getInstanceProcessThreadSlot(String resourceGroupName, String name, String processId, String threadId, String slot, String instanceId) { + return getInstanceProcessThreadSlotWithServiceResponseAsync(resourceGroupName, name, processId, threadId, slot, instanceId).toBlocking().single().body(); + } + + /** + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param threadId TID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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". + * @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 getInstanceProcessThreadSlotAsync(String resourceGroupName, String name, String processId, String threadId, String slot, String instanceId, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getInstanceProcessThreadSlotWithServiceResponseAsync(resourceGroupName, name, processId, threadId, slot, instanceId), serviceCallback); + } + + /** + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param threadId TID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the ProcessThreadInfoInner object + */ + public Observable getInstanceProcessThreadSlotAsync(String resourceGroupName, String name, String processId, String threadId, String slot, String instanceId) { + return getInstanceProcessThreadSlotWithServiceResponseAsync(resourceGroupName, name, processId, threadId, slot, instanceId).map(new Func1, ProcessThreadInfoInner>() { + @Override + public ProcessThreadInfoInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Site name. + * @param processId PID. + * @param threadId TID. + * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. + * @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 observable to the ProcessThreadInfoInner object + */ + public Observable> getInstanceProcessThreadSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String threadId, String slot, String instanceId) { + 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 (processId == null) { + throw new IllegalArgumentException("Parameter processId is required and cannot be null."); + } + if (threadId == null) { + throw new IllegalArgumentException("Parameter threadId is required and cannot be null."); + } + if (slot == null) { + throw new IllegalArgumentException("Parameter slot is required and cannot be null."); + } + if (instanceId == null) { + throw new IllegalArgumentException("Parameter instanceId 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.getInstanceProcessThreadSlot(resourceGroupName, name, processId, threadId, slot, instanceId, 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 = getInstanceProcessThreadSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + + /** + * Shows whether an app can be cloned to another resource group or subscription. + * Shows whether an app can be cloned to another resource group or subscription. + * + * @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. By default, this API returns information on the production 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 SiteCloneabilityInner object if successful. + */ + public SiteCloneabilityInner isCloneableSlot(String resourceGroupName, String name, String slot) { + return isCloneableSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Shows whether an app can be cloned to another resource group or subscription. + * Shows whether an app can be cloned to another resource group or subscription. + * + * @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. By default, this API returns information on the production 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 isCloneableSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(isCloneableSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Shows whether an app can be cloned to another resource group or subscription. + * Shows whether an app can be cloned to another resource group or subscription. + * + * @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. By default, this API returns information on the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SiteCloneabilityInner object + */ + public Observable isCloneableSlotAsync(String resourceGroupName, String name, String slot) { + return isCloneableSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteCloneabilityInner>() { + @Override + public SiteCloneabilityInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Shows whether an app can be cloned to another resource group or subscription. + * Shows whether an app can be cloned to another resource group or subscription. + * + * @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. By default, this API returns information on the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the SiteCloneabilityInner object + */ + public Observable> isCloneableSlotWithServiceResponseAsync(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.isCloneableSlot(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 = isCloneableSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + + /** + * 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. If a slot is not specified, the API will restore a backup of the production 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 FunctionSecretsInner object if successful. + */ + public FunctionSecretsInner listSyncFunctionTriggersSlot(String resourceGroupName, String name, String slot) { + return listSyncFunctionTriggersSlotWithServiceResponseAsync(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. If a slot is not specified, the API will restore a backup of the production 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 listSyncFunctionTriggersSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listSyncFunctionTriggersSlotWithServiceResponseAsync(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. If a slot is not specified, the API will restore a backup of the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the FunctionSecretsInner object + */ + public Observable listSyncFunctionTriggersSlotAsync(String resourceGroupName, String name, String slot) { + return listSyncFunctionTriggersSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, FunctionSecretsInner>() { + @Override + public FunctionSecretsInner 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. If a slot is not specified, the API will restore a backup of the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the FunctionSecretsInner object + */ + public Observable> listSyncFunctionTriggersSlotWithServiceResponseAsync(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.listSyncFunctionTriggersSlot(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 = listSyncFunctionTriggersSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse 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); + } + + /** + * Gets all metric definitions of an app (or deployment slot, if specified). + * Gets all metric definitions of an app (or deployment slot, if specified). + * + * @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 get metric definitions of the production 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 PagedList<ResourceMetricDefinitionInner> object if successful. + */ + public PagedList listMetricDefinitionsSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listMetricDefinitionsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listMetricDefinitionsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Gets all metric definitions of an app (or deployment slot, if specified). + * Gets all metric definitions of an app (or deployment slot, if specified). + * + * @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 get metric definitions of the production 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> listMetricDefinitionsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listMetricDefinitionsSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listMetricDefinitionsSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Gets all metric definitions of an app (or deployment slot, if specified). + * Gets all metric definitions of an app (or deployment slot, if specified). + * + * @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 get metric definitions of the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceMetricDefinitionInner> object + */ + public Observable> listMetricDefinitionsSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listMetricDefinitionsSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets all metric definitions of an app (or deployment slot, if specified). + * Gets all metric definitions of an app (or deployment slot, if specified). + * + * @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 get metric definitions of the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<ResourceMetricDefinitionInner> object + */ + public Observable>> listMetricDefinitionsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listMetricDefinitionsSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listMetricDefinitionsSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<ResourceMetricDefinitionInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listMetricDefinitionsSlotSinglePageAsync(final String resourceGroupName, final String name, final 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.listMetricDefinitionsSlot(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> result = listMetricDefinitionsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); } /** - * 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. + * Gets performance metrics of an app (or deployment slot, if specified). + * Gets performance metrics of an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 PagedList<ProcessThreadInfoInner> object if successful. + * @return the PagedList<ResourceMetricInner> object if successful. */ - public PagedList listInstanceProcessThreadsSlot(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { - ServiceResponse> response = listInstanceProcessThreadsSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId).toBlocking().single(); - return new PagedList(response.body()) { + public PagedList listMetricsSlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listMetricsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { @Override - public Page nextPage(String nextPageLink) { - return listInstanceProcessThreadsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + public Page nextPage(String nextPageLink) { + return listMetricsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); } }; } /** - * 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. + * Gets performance metrics of an app (or deployment slot, if specified). + * Gets performance metrics of an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production 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> listInstanceProcessThreadsSlotAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId, final ListOperationCallback serviceCallback) { + public ServiceFuture> listMetricsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listInstanceProcessThreadsSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId), - new Func1>>>() { + listMetricsSlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { @Override - public Observable>> call(String nextPageLink) { - return listInstanceProcessThreadsSlotNextSinglePageAsync(nextPageLink); + public Observable>> call(String nextPageLink) { + return listMetricsSlotNextSinglePageAsync(nextPageLink); } }, serviceCallback); } /** - * 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. + * Gets performance metrics of an app (or deployment slot, if specified). + * Gets performance metrics of an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ProcessThreadInfoInner> object + * @return the observable to the PagedList<ResourceMetricInner> object */ - public Observable> listInstanceProcessThreadsSlotAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { - return listInstanceProcessThreadsSlotWithServiceResponseAsync(resourceGroupName, name, processId, slot, instanceId) - .map(new Func1>, Page>() { + public Observable> listMetricsSlotAsync(final String resourceGroupName, final String name, final String slot) { + return listMetricsSlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { @Override - public Page call(ServiceResponse> response) { + public Page call(ServiceResponse> response) { return response.body(); } }); } /** - * 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. + * Gets performance metrics of an app (or deployment slot, if specified). + * Gets performance metrics of an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ProcessThreadInfoInner> object + * @return the observable to the PagedList<ResourceMetricInner> object */ - public Observable>> listInstanceProcessThreadsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { - return listInstanceProcessThreadsSlotSinglePageAsync(resourceGroupName, name, processId, slot, instanceId) - .concatMap(new Func1>, Observable>>>() { + public Observable>> listMetricsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listMetricsSlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { @Override - public Observable>> call(ServiceResponse> page) { + public Observable>> call(ServiceResponse> page) { String nextPageLink = page.body().nextPageLink(); if (nextPageLink == null) { return Observable.just(page); } - return Observable.just(page).concatWith(listInstanceProcessThreadsSlotNextWithServiceResponseAsync(nextPageLink)); + return Observable.just(page).concatWith(listMetricsSlotNextWithServiceResponseAsync(nextPageLink)); } }); } /** - * 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. + * 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 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". + * @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 get metrics of the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<ProcessThreadInfoInner> object wrapped in {@link ServiceResponse} if successful. + * @return the PagedList<ResourceMetricInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listInstanceProcessThreadsSlotSinglePageAsync(final String resourceGroupName, final String name, final String processId, final String slot, final String instanceId) { + public Observable>> listMetricsSlotSinglePageAsync(final String resourceGroupName, final String name, final 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } - if (instanceId == null) { - throw new IllegalArgumentException("Parameter instanceId 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.listInstanceProcessThreadsSlot(resourceGroupName, name, processId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + final Boolean details = null; + final String filter = null; + return service.listMetricsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), details, filter, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable>> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse> result = listInstanceProcessThreadsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse> result = listMetricsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -29030,118 +30194,138 @@ 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); - } - /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Gets performance metrics of an app (or deployment slot, if specified). + * Gets performance metrics of an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. + * @param details Specify "true" to include metric details in the response. It is "false" by default. + * @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 - * @throws CloudException thrown if the request is rejected by server + * @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 ProcessThreadInfoInner object if successful. + * @return the PagedList<ResourceMetricInner> object if successful. */ - public ProcessThreadInfoInner getInstanceProcessThreadSlot(String resourceGroupName, String name, String processId, String threadId, String slot, String instanceId) { - return getInstanceProcessThreadSlotWithServiceResponseAsync(resourceGroupName, name, processId, threadId, slot, instanceId).toBlocking().single().body(); + public PagedList listMetricsSlot(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter) { + ServiceResponse> response = listMetricsSlotSinglePageAsync(resourceGroupName, name, slot, details, filter).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listMetricsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Gets performance metrics of an app (or deployment slot, if specified). + * Gets performance metrics of an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. + * @param details Specify "true" to include metric details in the response. It is "false" by default. + * @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]'. * @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 getInstanceProcessThreadSlotAsync(String resourceGroupName, String name, String processId, String threadId, String slot, String instanceId, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getInstanceProcessThreadSlotWithServiceResponseAsync(resourceGroupName, name, processId, threadId, slot, instanceId), serviceCallback); + public ServiceFuture> listMetricsSlotAsync(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listMetricsSlotSinglePageAsync(resourceGroupName, name, slot, details, filter), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listMetricsSlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Gets performance metrics of an app (or deployment slot, if specified). + * Gets performance metrics of an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. + * @param details Specify "true" to include metric details in the response. It is "false" by default. + * @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 observable to the ProcessThreadInfoInner object + * @return the observable to the PagedList<ResourceMetricInner> object */ - public Observable getInstanceProcessThreadSlotAsync(String resourceGroupName, String name, String processId, String threadId, String slot, String instanceId) { - return getInstanceProcessThreadSlotWithServiceResponseAsync(resourceGroupName, name, processId, threadId, slot, instanceId).map(new Func1, ProcessThreadInfoInner>() { - @Override - public ProcessThreadInfoInner call(ServiceResponse response) { - return response.body(); - } - }); + public Observable> listMetricsSlotAsync(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter) { + return listMetricsSlotWithServiceResponseAsync(resourceGroupName, name, slot, details, filter) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); } /** - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. - * Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site. + * Gets performance metrics of an app (or deployment slot, if specified). + * Gets performance metrics of an app (or deployment slot, if specified). * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Site name. - * @param processId PID. - * @param threadId TID. - * @param slot Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot. - * @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". + * @param name Name of the app. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot. + * @param details Specify "true" to include metric details in the response. It is "false" by default. + * @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 observable to the PagedList<ResourceMetricInner> object + */ + public Observable>> listMetricsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter) { + return listMetricsSlotSinglePageAsync(resourceGroupName, name, slot, details, filter) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listMetricsSlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * 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]'. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the ProcessThreadInfoInner object + * @return the PagedList<ResourceMetricInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable> getInstanceProcessThreadSlotWithServiceResponseAsync(String resourceGroupName, String name, String processId, String threadId, String slot, String instanceId) { + public Observable>> listMetricsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter) { 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 (processId == null) { - throw new IllegalArgumentException("Parameter processId is required and cannot be null."); - } - if (threadId == null) { - throw new IllegalArgumentException("Parameter threadId is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } - if (instanceId == null) { - throw new IllegalArgumentException("Parameter instanceId 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.getInstanceProcessThreadSlot(resourceGroupName, name, processId, threadId, slot, instanceId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listMetricsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), details, filter, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = getInstanceProcessThreadSlotDelegate(response); - return Observable.just(clientResponse); + ServiceResponse> result = listMetricsSlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); } catch (Throwable t) { return Observable.error(t); } @@ -29149,75 +30333,74 @@ 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) + private ServiceResponse> 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); } /** - * Shows whether an app can be cloned to another resource group or subscription. - * Shows whether an app can be cloned to another resource group or subscription. + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. * * @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. By default, this API returns information on the production slot. + * @param name Name of web 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 - * @return the SiteCloneabilityInner object if successful. + * @return the MigrateMySqlStatusInner object if successful. */ - public SiteCloneabilityInner isCloneableSlot(String resourceGroupName, String name, String slot) { - return isCloneableSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public MigrateMySqlStatusInner getMigrateMySqlStatusSlot(String resourceGroupName, String name, String slot) { + return getMigrateMySqlStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Shows whether an app can be cloned to another resource group or subscription. - * Shows whether an app can be cloned to another resource group or subscription. + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. * * @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. By default, this API returns information on the production slot. + * @param name Name of web 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 isCloneableSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(isCloneableSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture getMigrateMySqlStatusSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getMigrateMySqlStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Shows whether an app can be cloned to another resource group or subscription. - * Shows whether an app can be cloned to another resource group or subscription. + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. * * @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. By default, this API returns information on the production slot. + * @param name Name of web app. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteCloneabilityInner object + * @return the observable to the MigrateMySqlStatusInner object */ - public Observable isCloneableSlotAsync(String resourceGroupName, String name, String slot) { - return isCloneableSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, SiteCloneabilityInner>() { + public Observable getMigrateMySqlStatusSlotAsync(String resourceGroupName, String name, String slot) { + return getMigrateMySqlStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, MigrateMySqlStatusInner>() { @Override - public SiteCloneabilityInner call(ServiceResponse response) { + public MigrateMySqlStatusInner call(ServiceResponse response) { return response.body(); } }); } /** - * Shows whether an app can be cloned to another resource group or subscription. - * Shows whether an app can be cloned to another resource group or subscription. + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. + * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. * * @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. By default, this API returns information on the production slot. + * @param name Name of web app. + * @param slot Name of the deployment slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the SiteCloneabilityInner object + * @return the observable to the MigrateMySqlStatusInner object */ - public Observable> isCloneableSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> getMigrateMySqlStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -29233,12 +30416,12 @@ public Observable> isCloneableSlotWithSer if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.isCloneableSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.getMigrateMySqlStatusSlot(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) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = isCloneableSlotDelegate(response); + ServiceResponse clientResponse = getMigrateMySqlStatusSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -29247,80 +30430,87 @@ 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()) + private ServiceResponse 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); } /** - * This is to allow calling via powershell and ARM template. - * This is to allow calling via powershell and ARM template. + * Gets all network features used by the app (or deployment slot, if specified). + * Gets all network features used by the app (or deployment slot, if specified). * * @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 view The type of view. This can either be "summary" or "detailed". + * @param slot Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws DefaultErrorResponseException thrown if the request is rejected by server + * @throws CloudException thrown if the request is rejected by server * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent - * @return the FunctionSecretsInner object if successful. + * @return the NetworkFeaturesInner object if successful. */ - public FunctionSecretsInner listSyncFunctionTriggersSlot(String resourceGroupName, String name, String slot) { - return listSyncFunctionTriggersSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public NetworkFeaturesInner listNetworkFeaturesSlot(String resourceGroupName, String name, String view, String slot) { + return listNetworkFeaturesSlotWithServiceResponseAsync(resourceGroupName, name, view, slot).toBlocking().single().body(); } /** - * This is to allow calling via powershell and ARM template. - * This is to allow calling via powershell and ARM template. + * Gets all network features used by the app (or deployment slot, if specified). + * Gets all network features used by the app (or deployment slot, if specified). * * @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 view The type of view. This can either be "summary" or "detailed". + * @param slot Name of the deployment slot. If a slot is not specified, the API will get network features for the production 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 listSyncFunctionTriggersSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listSyncFunctionTriggersSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture listNetworkFeaturesSlotAsync(String resourceGroupName, String name, String view, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(listNetworkFeaturesSlotWithServiceResponseAsync(resourceGroupName, name, view, slot), serviceCallback); } /** - * This is to allow calling via powershell and ARM template. - * This is to allow calling via powershell and ARM template. + * Gets all network features used by the app (or deployment slot, if specified). + * Gets all network features used by the app (or deployment slot, if specified). * * @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 view The type of view. This can either be "summary" or "detailed". + * @param slot Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the FunctionSecretsInner object + * @return the observable to the NetworkFeaturesInner object */ - public Observable listSyncFunctionTriggersSlotAsync(String resourceGroupName, String name, String slot) { - return listSyncFunctionTriggersSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, FunctionSecretsInner>() { + public Observable listNetworkFeaturesSlotAsync(String resourceGroupName, String name, String view, String slot) { + return listNetworkFeaturesSlotWithServiceResponseAsync(resourceGroupName, name, view, slot).map(new Func1, NetworkFeaturesInner>() { @Override - public FunctionSecretsInner call(ServiceResponse response) { + public NetworkFeaturesInner 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. + * Gets all network features used by the app (or deployment slot, if specified). + * Gets all network features used by the app (or deployment slot, if specified). * * @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 view The type of view. This can either be "summary" or "detailed". + * @param slot Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the FunctionSecretsInner object + * @return the observable to the NetworkFeaturesInner object */ - public Observable> listSyncFunctionTriggersSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> listNetworkFeaturesSlotWithServiceResponseAsync(String resourceGroupName, String name, String view, 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 (view == null) { + throw new IllegalArgumentException("Parameter view is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -29330,12 +30520,12 @@ public Observable> listSyncFunctionTrigger if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listSyncFunctionTriggersSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.listNetworkFeaturesSlot(resourceGroupName, name, view, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = listSyncFunctionTriggersSlotDelegate(response); + ServiceResponse clientResponse = listNetworkFeaturesSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -29344,119 +30534,88 @@ 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) + private ServiceResponse 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); } /** - * Gets all metric definitions of an app (or deployment slot, if specified). - * Gets all metric definitions of an app (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). * * @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 get metric definitions of the production slot. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production 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 PagedList<ResourceMetricDefinitionInner> object if successful. + * @return the Object object if successful. */ - public PagedList listMetricDefinitionsSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listMetricDefinitionsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listMetricDefinitionsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public Object getNetworkTraceOperationSlot(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot).toBlocking().single().body(); } /** - * Gets all metric definitions of an app (or deployment slot, if specified). - * Gets all metric definitions of an app (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). * * @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 get metric definitions of the production slot. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production 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> listMetricDefinitionsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listMetricDefinitionsSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listMetricDefinitionsSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot), serviceCallback); } /** - * Gets all metric definitions of an app (or deployment slot, if specified). - * Gets all metric definitions of an app (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). * * @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 get metric definitions of the production slot. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ResourceMetricDefinitionInner> object + * @return the observable to the Object object */ - public Observable> listMetricDefinitionsSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listMetricDefinitionsSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot).map(new Func1, Object>() { + @Override + public Object call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Gets all metric definitions of an app (or deployment slot, if specified). - * Gets all metric definitions of an app (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). * * @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 get metric definitions of the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ResourceMetricDefinitionInner> object - */ - public Observable>> listMetricDefinitionsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listMetricDefinitionsSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listMetricDefinitionsSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<ResourceMetricDefinitionInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the Object object */ - public Observable>> listMetricDefinitionsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> getNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String operationId, 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 (operationId == null) { + throw new IllegalArgumentException("Parameter operationId is required and cannot be null."); + } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -29466,13 +30625,13 @@ public Observable>> listMetr if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listMetricDefinitionsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.getNetworkTraceOperationSlot(resourceGroupName, name, operationId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listMetricDefinitionsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = getNetworkTraceOperationSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -29480,113 +30639,75 @@ 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()) + private ServiceResponse getNetworkTraceOperationSlotDelegate(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); } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * Gets performance metrics of an app (or deployment slot, if specified). + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @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 get metrics of the production slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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 - * @return the PagedList<ResourceMetricInner> object if successful. + * @return the String object if successful. */ - public PagedList listMetricsSlot(final String resourceGroupName, final String name, final String slot) { - ServiceResponse> response = listMetricsSlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listMetricsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public String startWebSiteNetworkTraceSlot(String resourceGroupName, String name, String slot) { + return startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * Gets performance metrics of an app (or deployment slot, if specified). + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @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 get metrics of the production slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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> listMetricsSlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listMetricsSlotSinglePageAsync(resourceGroupName, name, slot), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listMetricsSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); - } - - /** - * Gets performance metrics of an app (or deployment slot, if specified). - * Gets performance metrics of an app (or deployment slot, if specified). - * - * @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 get metrics of the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ResourceMetricInner> object - */ - public Observable> listMetricsSlotAsync(final String resourceGroupName, final String name, final String slot) { - return listMetricsSlotWithServiceResponseAsync(resourceGroupName, name, slot) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public ServiceFuture startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * Gets performance metrics of an app (or deployment slot, if specified). + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @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 get metrics of the production slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ResourceMetricInner> object + * @return the observable to the String object */ - public Observable>> listMetricsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { - return listMetricsSlotSinglePageAsync(resourceGroupName, name, slot) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listMetricsSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); + public Observable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { + return startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, String>() { + @Override + public String call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * Gets performance metrics of an app (or deployment slot, if specified). + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @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 get metrics of the production slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<ResourceMetricInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the String object */ - public Observable>> listMetricsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot) { + public Observable> startWebSiteNetworkTraceSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -29602,15 +30723,16 @@ public Observable>> listMetricsSlotSin if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - final Boolean details = null; - final String filter = null; - return service.listMetricsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), details, filter, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + final Integer durationInSeconds = null; + final Integer maxFrameLength = null; + final String sasUrl = null; + return service.startWebSiteNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listMetricsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = startWebSiteNetworkTraceSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -29619,115 +30741,78 @@ public Observable>> call(Response listMetricsSlot(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter) { - ServiceResponse> response = listMetricsSlotSinglePageAsync(resourceGroupName, name, slot, details, filter).toBlocking().single(); - return new PagedList(response.body()) { - @Override - public Page nextPage(String nextPageLink) { - return listMetricsSlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); - } - }; + public String startWebSiteNetworkTraceSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).toBlocking().single().body(); } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * Gets performance metrics of an app (or deployment slot, if specified). + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @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 get metrics of the production slot. - * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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]'. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @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> listMetricsSlotAsync(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter, final ListOperationCallback serviceCallback) { - return AzureServiceFuture.fromPageResponse( - listMetricsSlotSinglePageAsync(resourceGroupName, name, slot, details, filter), - new Func1>>>() { - @Override - public Observable>> call(String nextPageLink) { - return listMetricsSlotNextSinglePageAsync(nextPageLink); - } - }, - serviceCallback); + public ServiceFuture startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * Gets performance metrics of an app (or deployment slot, if specified). + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @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 get metrics of the production slot. - * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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]'. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the PagedList<ResourceMetricInner> object + * @return the observable to the String object */ - public Observable> listMetricsSlotAsync(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter) { - return listMetricsSlotWithServiceResponseAsync(resourceGroupName, name, slot, details, filter) - .map(new Func1>, Page>() { - @Override - public Page call(ServiceResponse> response) { - return response.body(); - } - }); + public Observable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, String>() { + @Override + public String call(ServiceResponse response) { + return response.body(); + } + }); } /** - * Gets performance metrics of an app (or deployment slot, if specified). - * Gets performance metrics of an app (or deployment slot, if specified). + * Start capturing network packets for the site (To be deprecated). + * Start capturing network packets for the site (To be deprecated). * * @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 get metrics of the production slot. - * @param details Specify "true" to include metric details in the response. It is "false" by default. - * @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 observable to the PagedList<ResourceMetricInner> object - */ - public Observable>> listMetricsSlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter) { - return listMetricsSlotSinglePageAsync(resourceGroupName, name, slot, details, filter) - .concatMap(new Func1>, Observable>>>() { - @Override - public Observable>> call(ServiceResponse> page) { - String nextPageLink = page.body().nextPageLink(); - if (nextPageLink == null) { - return Observable.just(page); - } - return Observable.just(page).concatWith(listMetricsSlotNextWithServiceResponseAsync(nextPageLink)); - } - }); - } - - /** - * 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]'. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the PagedList<ResourceMetricInner> object wrapped in {@link ServiceResponse} if successful. + * @return the observable to the String object */ - public Observable>> listMetricsSlotSinglePageAsync(final String resourceGroupName, final String name, final String slot, final Boolean details, final String filter) { + public Observable> startWebSiteNetworkTraceSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -29743,13 +30828,13 @@ public Observable>> listMetricsSlotSin if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listMetricsSlot(resourceGroupName, name, slot, this.client.subscriptionId(), details, filter, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>>() { + return service.startWebSiteNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable>> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse> result = listMetricsSlotDelegate(response); - return Observable.just(new ServiceResponse>(result.body(), result.response())); + ServiceResponse clientResponse = startWebSiteNetworkTraceSlotDelegate(response); + return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); } @@ -29757,74 +30842,74 @@ 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()) + 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); } /** - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of the deployment slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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 - * @return the MigrateMySqlStatusInner object if successful. + * @return the Object object if successful. */ - public MigrateMySqlStatusInner getMigrateMySqlStatusSlot(String resourceGroupName, String name, String slot) { - return getMigrateMySqlStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public Object startWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot) { + return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().last().body(); } /** - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of the deployment slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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 getMigrateMySqlStatusSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(getMigrateMySqlStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of the deployment slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MigrateMySqlStatusInner object + * @return the observable for the request */ - public Observable getMigrateMySqlStatusSlotAsync(String resourceGroupName, String name, String slot) { - return getMigrateMySqlStatusSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, MigrateMySqlStatusInner>() { + public Observable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { + return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Object>() { @Override - public MigrateMySqlStatusInner call(ServiceResponse response) { + public Object call(ServiceResponse response) { return response.body(); } }); } /** - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. - * Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled. + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of web app. - * @param slot Name of the deployment slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the MigrateMySqlStatusInner object + * @return the observable for the request */ - public Observable> getMigrateMySqlStatusSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -29840,101 +30925,91 @@ public Observable> getMigrateMySqlStatu if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.getMigrateMySqlStatusSlot(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 = getMigrateMySqlStatusSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse 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); + final Integer durationInSeconds = null; + final Integer maxFrameLength = null; + final String sasUrl = null; + Observable> observable = service.startWebSiteNetworkTraceOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } - /** - * Gets all network features used by the app (or deployment slot, if specified). - * Gets all network features used by the app (or deployment slot, if specified). + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param view The type of view. This can either be "summary" or "detailed". - * @param slot Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @throws CloudException thrown if the request is rejected by server + * @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 NetworkFeaturesInner object if successful. + * @return the Object object if successful. */ - public NetworkFeaturesInner listNetworkFeaturesSlot(String resourceGroupName, String name, String view, String slot) { - return listNetworkFeaturesSlotWithServiceResponseAsync(resourceGroupName, name, view, slot).toBlocking().single().body(); + public Object startWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).toBlocking().last().body(); } /** - * Gets all network features used by the app (or deployment slot, if specified). - * Gets all network features used by the app (or deployment slot, if specified). + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param view The type of view. This can either be "summary" or "detailed". - * @param slot Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @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 listNetworkFeaturesSlotAsync(String resourceGroupName, String name, String view, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(listNetworkFeaturesSlotWithServiceResponseAsync(resourceGroupName, name, view, slot), serviceCallback); + public ServiceFuture startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } /** - * Gets all network features used by the app (or deployment slot, if specified). - * Gets all network features used by the app (or deployment slot, if specified). + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param view The type of view. This can either be "summary" or "detailed". - * @param slot Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the NetworkFeaturesInner object + * @return the observable for the request */ - public Observable listNetworkFeaturesSlotAsync(String resourceGroupName, String name, String view, String slot) { - return listNetworkFeaturesSlotWithServiceResponseAsync(resourceGroupName, name, view, slot).map(new Func1, NetworkFeaturesInner>() { + public Observable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, Object>() { @Override - public NetworkFeaturesInner call(ServiceResponse response) { + public Object call(ServiceResponse response) { return response.body(); } }); } /** - * Gets all network features used by the app (or deployment slot, if specified). - * Gets all network features used by the app (or deployment slot, if specified). + * Start capturing network packets for the site. + * Start capturing network packets for the site. * * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param view The type of view. This can either be "summary" or "detailed". - * @param slot Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the NetworkFeaturesInner object + * @return the observable for the request */ - public Observable> listNetworkFeaturesSlotWithServiceResponseAsync(String resourceGroupName, String name, String view, String slot) { + public Observable> startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { 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 (view == null) { - throw new IllegalArgumentException("Parameter view is required and cannot be null."); - } if (slot == null) { throw new IllegalArgumentException("Parameter slot is required and cannot be null."); } @@ -29944,26 +31019,8 @@ public Observable> listNetworkFeaturesSlot if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.listNetworkFeaturesSlot(resourceGroupName, name, view, 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 = listNetworkFeaturesSlotDelegate(response); - return Observable.just(clientResponse); - } catch (Throwable t) { - return Observable.error(t); - } - } - }); - } - - private ServiceResponse 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); + Observable> observable = service.startWebSiteNetworkTraceOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); } /** @@ -29976,10 +31033,10 @@ private ServiceResponse listNetworkFeaturesSlotDelegate(Re * @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 String object if successful. + * @return the Object object if successful. */ - public String startWebSiteNetworkTraceSlot(String resourceGroupName, String name, String slot) { - return startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + public Object beginStartWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot) { + return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } /** @@ -29993,8 +31050,8 @@ public String startWebSiteNetworkTraceSlot(String resourceGroupName, String name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + public ServiceFuture beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } /** @@ -30005,12 +31062,12 @@ public ServiceFuture startWebSiteNetworkTraceSlotAsync(String resourceGr * @param name The name of the web app. * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the observable to the Object object */ - public Observable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { - return startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, String>() { + public Observable beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { + return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Object>() { @Override - public String call(ServiceResponse response) { + public Object call(ServiceResponse response) { return response.body(); } }); @@ -30024,9 +31081,9 @@ public String call(ServiceResponse response) { * @param name The name of the web app. * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the observable to the Object object */ - public Observable> startWebSiteNetworkTraceSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -30045,12 +31102,12 @@ public Observable> startWebSiteNetworkTraceSlotWithServi final Integer durationInSeconds = null; final Integer maxFrameLength = null; final String sasUrl = null; - return service.startWebSiteNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.beginStartWebSiteNetworkTraceOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = startWebSiteNetworkTraceSlotDelegate(response); + ServiceResponse clientResponse = beginStartWebSiteNetworkTraceOperationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -30072,10 +31129,10 @@ public Observable> call(Response response) * @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 String object if successful. + * @return the Object object if successful. */ - public String startWebSiteNetworkTraceSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { - return startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).toBlocking().single().body(); + public Object beginStartWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).toBlocking().single().body(); } /** @@ -30092,8 +31149,8 @@ public String startWebSiteNetworkTraceSlot(String resourceGroupName, String name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { - return ServiceFuture.fromResponse(startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); + public ServiceFuture beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } /** @@ -30107,12 +31164,12 @@ public ServiceFuture startWebSiteNetworkTraceSlotAsync(String resourceGr * @param maxFrameLength The maximum frame length in bytes (Optional). * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the observable to the Object object */ - public Observable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { - return startWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, String>() { + public Observable beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, Object>() { @Override - public String call(ServiceResponse response) { + public Object call(ServiceResponse response) { return response.body(); } }); @@ -30129,9 +31186,9 @@ public String call(ServiceResponse response) { * @param maxFrameLength The maximum frame length in bytes (Optional). * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the observable to the Object object */ - public Observable> startWebSiteNetworkTraceSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public Observable> beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -30147,12 +31204,12 @@ public Observable> startWebSiteNetworkTraceSlotWithServi if (this.client.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } - return service.startWebSiteNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + return service.beginStartWebSiteNetworkTraceOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = startWebSiteNetworkTraceSlotDelegate(response); + ServiceResponse clientResponse = beginStartWebSiteNetworkTraceOperationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -30161,9 +31218,10 @@ 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()) + private ServiceResponse beginStartWebSiteNetworkTraceOperationSlotDelegate(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); } @@ -30176,12 +31234,11 @@ private ServiceResponse startWebSiteNetworkTraceSlotDelegate(Response stopWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + public ServiceFuture stopWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { return ServiceFuture.fromResponse(stopWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } @@ -30207,12 +31264,12 @@ public ServiceFuture stopWebSiteNetworkTraceSlotAsync(String resourceGro * @param name The name of the web app. * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the {@link ServiceResponse} object if successful. */ - public Observable stopWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { - return stopWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, String>() { + public Observable stopWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { + return stopWebSiteNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { @Override - public String call(ServiceResponse response) { + public Void call(ServiceResponse response) { return response.body(); } }); @@ -30226,9 +31283,9 @@ public String call(ServiceResponse response) { * @param name The name of the web app. * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the String object + * @return the {@link ServiceResponse} object if successful. */ - public Observable> stopWebSiteNetworkTraceSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable> stopWebSiteNetworkTraceSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -30245,11 +31302,11 @@ public Observable> stopWebSiteNetworkTraceSlotWithServic throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.stopWebSiteNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>() { @Override - public Observable> call(Response response) { + public Observable> call(Response response) { try { - ServiceResponse clientResponse = stopWebSiteNetworkTraceSlotDelegate(response); + ServiceResponse clientResponse = stopWebSiteNetworkTraceSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -30258,9 +31315,114 @@ public Observable> call(Response response) }); } - private ServiceResponse stopWebSiteNetworkTraceSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) - .register(200, new TypeToken() { }.getType()) + 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); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production 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 List<NetworkTraceInner> object if successful. + */ + public List getNetworkTracesSlot(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTracesSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot).toBlocking().single().body(); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production 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> getNetworkTracesSlotAsync(String resourceGroupName, String name, String operationId, String slot, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(getNetworkTracesSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot), serviceCallback); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> getNetworkTracesSlotAsync(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTracesSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> getNetworkTracesSlotWithServiceResponseAsync(String resourceGroupName, String name, String operationId, 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 (operationId == null) { + throw new IllegalArgumentException("Parameter operationId 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.getNetworkTracesSlot(resourceGroupName, name, operationId, 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 = getNetworkTracesSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); } From 16e120e1830695566cc37ffd8d2aa097180d313c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 26 Sep 2018 12:02:38 -0700 Subject: [PATCH 12/22] Generated from fb5e0d2a554999fbe48d88f317ce832a4e93ba73 (#2429) update Swagger with Elastic Premium and MaximumElasticWorkerCount --- .../v2018_02_01/AppServicePlan.java | 29 +++++++++++++++++-- .../AppServicePlanPatchResource.java | 27 +++++++++++++++++ .../HostingEnvironmentAppServicePlan.java | 5 ++++ .../appservice/v2018_02_01/SkuName.java | 6 ++++ .../implementation/AppServicePlanImpl.java | 15 ++++++++++ .../implementation/AppServicePlanInner.java | 27 +++++++++++++++++ .../HostingEnvironmentAppServicePlanImpl.java | 5 ++++ .../WebSiteManagementClientImpl.java | 10 +++---- 8 files changed, 117 insertions(+), 7 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java index 6f6cc290ad8de..5326825c017b8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlan.java @@ -65,6 +65,11 @@ public interface AppServicePlan extends HasInner, Resource, */ String kind(); + /** + * @return the maximumElasticWorkerCount value. + */ + Integer maximumElasticWorkerCount(); + /** * @return the maximumNumberOfWorkers value. */ @@ -222,6 +227,16 @@ interface WithKind { WithCreate withKind(String kind); } + /** + * The stage of the appserviceplan update allowing to specify MaximumElasticWorkerCount. + */ + interface WithMaximumElasticWorkerCount { + /** + * Specifies maximumElasticWorkerCount. + */ + WithCreate withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount); + } + /** * The stage of the appserviceplan update allowing to specify PerSiteScaling. */ @@ -297,13 +312,13 @@ interface WithWorkerTierName { * the resource to be created (via {@link WithCreate#create()}), but also allows * for any other optional settings to be specified. */ - interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAdminSiteName, DefinitionStages.WithFreeOfferExpirationTime, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHyperV, DefinitionStages.WithIsSpot, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithPerSiteScaling, DefinitionStages.WithReserved, DefinitionStages.WithSku, DefinitionStages.WithSpotExpirationTime, DefinitionStages.WithTargetWorkerCount, DefinitionStages.WithTargetWorkerSizeId, DefinitionStages.WithWorkerTierName { + interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAdminSiteName, DefinitionStages.WithFreeOfferExpirationTime, DefinitionStages.WithHostingEnvironmentProfile, DefinitionStages.WithHyperV, DefinitionStages.WithIsSpot, DefinitionStages.WithIsXenon, DefinitionStages.WithKind, DefinitionStages.WithMaximumElasticWorkerCount, DefinitionStages.WithPerSiteScaling, DefinitionStages.WithReserved, DefinitionStages.WithSku, DefinitionStages.WithSpotExpirationTime, DefinitionStages.WithTargetWorkerCount, DefinitionStages.WithTargetWorkerSizeId, DefinitionStages.WithWorkerTierName { } } /** * The template for a AppServicePlan update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithAdminSiteName, UpdateStages.WithFreeOfferExpirationTime, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHyperV, UpdateStages.WithIsSpot, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithPerSiteScaling, UpdateStages.WithReserved, UpdateStages.WithSpotExpirationTime, UpdateStages.WithTargetWorkerCount, UpdateStages.WithTargetWorkerSizeId, UpdateStages.WithWorkerTierName { + interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithAdminSiteName, UpdateStages.WithFreeOfferExpirationTime, UpdateStages.WithHostingEnvironmentProfile, UpdateStages.WithHyperV, UpdateStages.WithIsSpot, UpdateStages.WithIsXenon, UpdateStages.WithKind, UpdateStages.WithMaximumElasticWorkerCount, UpdateStages.WithPerSiteScaling, UpdateStages.WithReserved, UpdateStages.WithSpotExpirationTime, UpdateStages.WithTargetWorkerCount, UpdateStages.WithTargetWorkerSizeId, UpdateStages.WithWorkerTierName { } /** @@ -380,6 +395,16 @@ interface WithKind { Update withKind(String kind); } + /** + * The stage of the appserviceplan {0} allowing to specify MaximumElasticWorkerCount. + */ + interface WithMaximumElasticWorkerCount { + /** + * Specifies maximumElasticWorkerCount. + */ + Update withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount); + } + /** * The stage of the appserviceplan {0} allowing to specify PerSiteScaling. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java index 7602c9cd14594..a4251923904d5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlanPatchResource.java @@ -71,6 +71,13 @@ public class AppServicePlanPatchResource extends ProxyOnlyResource { @JsonProperty(value = "properties.perSiteScaling") private Boolean perSiteScaling; + /** + * Maximum number of total workers allowed for this ElasticScaleEnabled App + * Service Plan. + */ + @JsonProperty(value = "properties.maximumElasticWorkerCount") + private Integer maximumElasticWorkerCount; + /** * Number of apps assigned to this App Service plan. */ @@ -261,6 +268,26 @@ public AppServicePlanPatchResource withPerSiteScaling(Boolean perSiteScaling) { return this; } + /** + * Get maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan. + * + * @return the maximumElasticWorkerCount value + */ + public Integer maximumElasticWorkerCount() { + return this.maximumElasticWorkerCount; + } + + /** + * Set maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan. + * + * @param maximumElasticWorkerCount the maximumElasticWorkerCount value to set + * @return the AppServicePlanPatchResource object itself. + */ + public AppServicePlanPatchResource withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount) { + this.maximumElasticWorkerCount = maximumElasticWorkerCount; + return this; + } + /** * Get number of apps assigned to this App Service plan. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java index ecbb65f08e57e..2adff3517835a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/HostingEnvironmentAppServicePlan.java @@ -69,6 +69,11 @@ public interface HostingEnvironmentAppServicePlan extends HasInner { /** Static value PremiumV2 for SkuName. */ public static final SkuName PREMIUM_V2 = fromString("PremiumV2"); + /** Static value ElasticPremium for SkuName. */ + public static final SkuName ELASTIC_PREMIUM = fromString("ElasticPremium"); + + /** Static value ElasticIsolated for SkuName. */ + public static final SkuName ELASTIC_ISOLATED = fromString("ElasticIsolated"); + /** * Creates or finds a SkuName from its string representation. * @param name a name to look for diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java index a9f6aea83618c..323701ddd964d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanImpl.java @@ -109,6 +109,11 @@ public String kind() { return this.inner().kind(); } + @Override + public Integer maximumElasticWorkerCount() { + return this.inner().maximumElasticWorkerCount(); + } + @Override public Integer maximumNumberOfWorkers() { return this.inner().maximumNumberOfWorkers(); @@ -250,6 +255,16 @@ public AppServicePlanImpl withKind(String kind) { return this; } + @Override + public AppServicePlanImpl withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount) { + if (isInCreateMode()) { + this.inner().withMaximumElasticWorkerCount(maximumElasticWorkerCount); + } else { + this.updateParameter.withMaximumElasticWorkerCount(maximumElasticWorkerCount); + } + return this; + } + @Override public AppServicePlanImpl withPerSiteScaling(Boolean perSiteScaling) { if (isInCreateMode()) { diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java index f806d405a5b43..92e23df87baa2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlanInner.java @@ -76,6 +76,13 @@ public class AppServicePlanInner extends Resource { @JsonProperty(value = "properties.perSiteScaling") private Boolean perSiteScaling; + /** + * Maximum number of total workers allowed for this ElasticScaleEnabled App + * Service Plan. + */ + @JsonProperty(value = "properties.maximumElasticWorkerCount") + private Integer maximumElasticWorkerCount; + /** * Number of apps assigned to this App Service plan. */ @@ -278,6 +285,26 @@ public AppServicePlanInner withPerSiteScaling(Boolean perSiteScaling) { return this; } + /** + * Get maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan. + * + * @return the maximumElasticWorkerCount value + */ + public Integer maximumElasticWorkerCount() { + return this.maximumElasticWorkerCount; + } + + /** + * Set maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan. + * + * @param maximumElasticWorkerCount the maximumElasticWorkerCount value to set + * @return the AppServicePlanInner object itself. + */ + public AppServicePlanInner withMaximumElasticWorkerCount(Integer maximumElasticWorkerCount) { + this.maximumElasticWorkerCount = maximumElasticWorkerCount; + return this; + } + /** * Get number of apps assigned to this App Service plan. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java index 07a74e6562085..5689e1dc45804 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/HostingEnvironmentAppServicePlanImpl.java @@ -83,6 +83,11 @@ public String location() { return this.inner().location(); } + @Override + public Integer maximumElasticWorkerCount() { + return this.inner().maximumElasticWorkerCount(); + } + @Override public Integer maximumNumberOfWorkers() { return this.inner().maximumNumberOfWorkers(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java index 08a463b4fd234..6733306ceb632 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java @@ -1540,7 +1540,7 @@ public Observable>> call(Response nextPage(String nextPageLink) { * Get a list of available geographical regions. * Get a list of available geographical regions. * - * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2' + * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. @@ -1585,7 +1585,7 @@ public Observable>> call(String nextPageLin * Get a list of available geographical regions. * Get a list of available geographical regions. * - * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2' + * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -1605,7 +1605,7 @@ public Page call(ServiceResponse> response) * Get a list of available geographical regions. * Get a list of available geographical regions. * - * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2' + * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -1629,7 +1629,7 @@ public Observable>> call(ServiceResponse> * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2' + ServiceResponse> * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' ServiceResponse> * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. ServiceResponse> * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. * @throws IllegalArgumentException thrown if parameters fail the validation From f2b23ff8773016855e95af78177b1068564cec9f Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 26 Sep 2018 14:48:25 -0700 Subject: [PATCH 13/22] Generated from 903e68174fdd5f13ba438df543325289f0a4c37c (#2430) Add Microsoft.Web georegions filter parameter LinuxDynamicWorkersEnabled --- .../WebSiteManagementClientImpl.java | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java index 6733306ceb632..ccabdd457a28a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebSiteManagementClientImpl.java @@ -454,7 +454,7 @@ interface WebSiteManagementClientService { @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebSiteManagementClient listGeoRegions" }) @GET("subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions") - Observable> listGeoRegions(@Path("subscriptionId") String subscriptionId, @Query("sku") SkuName sku, @Query("linuxWorkersEnabled") Boolean linuxWorkersEnabled, @Query("xenonWorkersEnabled") Boolean xenonWorkersEnabled, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + Observable> listGeoRegions(@Path("subscriptionId") String subscriptionId, @Query("sku") SkuName sku, @Query("linuxWorkersEnabled") Boolean linuxWorkersEnabled, @Query("xenonWorkersEnabled") Boolean xenonWorkersEnabled, @Query("linuxDynamicWorkersEnabled") Boolean linuxDynamicWorkersEnabled, @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.WebSiteManagementClient listSiteIdentifiersAssignedToHostName" }) @POST("subscriptions/{subscriptionId}/providers/Microsoft.Web/listSitesAssignedToHostName") @@ -1522,7 +1522,8 @@ public Observable>> listGeoRegionsSinglePag final SkuName sku = null; final Boolean linuxWorkersEnabled = null; final Boolean xenonWorkersEnabled = null; - return service.listGeoRegions(this.subscriptionId(), sku, linuxWorkersEnabled, xenonWorkersEnabled, this.apiVersion(), this.acceptLanguage(), this.userAgent()) + final Boolean linuxDynamicWorkersEnabled = null; + return service.listGeoRegions(this.subscriptionId(), sku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled, this.apiVersion(), this.acceptLanguage(), this.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { @@ -1543,13 +1544,14 @@ public Observable>> call(Response listGeoRegions(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled) { - ServiceResponse> response = listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled).toBlocking().single(); + public PagedList listGeoRegions(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled, final Boolean linuxDynamicWorkersEnabled) { + ServiceResponse> response = listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled).toBlocking().single(); return new PagedList(response.body()) { @Override public Page nextPage(String nextPageLink) { @@ -1565,13 +1567,14 @@ public Page nextPage(String nextPageLink) { * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. + * @param linuxDynamicWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers. * @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> listGeoRegionsAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled, final ListOperationCallback serviceCallback) { + public ServiceFuture> listGeoRegionsAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled, final Boolean linuxDynamicWorkersEnabled, final ListOperationCallback serviceCallback) { return AzureServiceFuture.fromPageResponse( - listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled), + listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled), new Func1>>>() { @Override public Observable>> call(String nextPageLink) { @@ -1588,11 +1591,12 @@ public Observable>> call(String nextPageLin * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. + * @param linuxDynamicWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<GeoRegionInner> object */ - public Observable> listGeoRegionsAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled) { - return listGeoRegionsWithServiceResponseAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled) + public Observable> listGeoRegionsAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled, final Boolean linuxDynamicWorkersEnabled) { + return listGeoRegionsWithServiceResponseAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled) .map(new Func1>, Page>() { @Override public Page call(ServiceResponse> response) { @@ -1608,11 +1612,12 @@ public Page call(ServiceResponse> response) * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. + * @param linuxDynamicWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<GeoRegionInner> object */ - public Observable>> listGeoRegionsWithServiceResponseAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled) { - return listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled) + public Observable>> listGeoRegionsWithServiceResponseAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled, final Boolean linuxDynamicWorkersEnabled) { + return listGeoRegionsSinglePageAsync(sku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled) .concatMap(new Func1>, Observable>>>() { @Override public Observable>> call(ServiceResponse> page) { @@ -1632,17 +1637,18 @@ public Observable>> call(ServiceResponse> * @param sku Name of SKU used to filter the regions. Possible values include: 'Free', 'Shared', 'Basic', 'Standard', 'Premium', 'Dynamic', 'Isolated', 'PremiumV2', 'ElasticPremium', 'ElasticIsolated' ServiceResponse> * @param linuxWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux workers. ServiceResponse> * @param xenonWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Xenon workers. + ServiceResponse> * @param linuxDynamicWorkersEnabled Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<GeoRegionInner> object wrapped in {@link ServiceResponse} if successful. */ - public Observable>> listGeoRegionsSinglePageAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled) { + public Observable>> listGeoRegionsSinglePageAsync(final SkuName sku, final Boolean linuxWorkersEnabled, final Boolean xenonWorkersEnabled, final Boolean linuxDynamicWorkersEnabled) { if (this.subscriptionId() == null) { throw new IllegalArgumentException("Parameter this.subscriptionId() is required and cannot be null."); } if (this.apiVersion() == null) { throw new IllegalArgumentException("Parameter this.apiVersion() is required and cannot be null."); } - return service.listGeoRegions(this.subscriptionId(), sku, linuxWorkersEnabled, xenonWorkersEnabled, this.apiVersion(), this.acceptLanguage(), this.userAgent()) + return service.listGeoRegions(this.subscriptionId(), sku, linuxWorkersEnabled, xenonWorkersEnabled, linuxDynamicWorkersEnabled, this.apiVersion(), this.acceptLanguage(), this.userAgent()) .flatMap(new Func1, Observable>>>() { @Override public Observable>> call(Response response) { From f70333a096046a96630a095a75d94ca60cbaffa1 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 1 Nov 2018 13:51:53 -0700 Subject: [PATCH 14/22] [AutoPR web/resource-manager] Fix network trace API bugs (Retake) (#2549) * Generated from 490314cf7a09e90d28985acda96d9d8d39e3e052 Fix network trace API bugs * Generated from cd188bfe4b478640564185f58a0c505640d2d095 Fix network trace API V2 --- .../appservice/v2018_02_01/WebApps.java | 150 +- .../implementation/WebAppsImpl.java | 200 ++- .../implementation/WebAppsInner.java | 1589 +++++++++++++++-- 3 files changed, 1780 insertions(+), 159 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index 4b06826b1ef45..527b0a5a7de35 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -515,18 +515,6 @@ public interface WebApps { */ Observable migrateMySqlAsync(String resourceGroupName, String name, MigrateMySqlRequest migrationRequestEnvelope); - /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). - * Gets a named operation for a network trace capturing (or deployment slot, if specified). - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param operationId GUID of the operation. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - Completable getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId); - /** * Start capturing network packets for the site (To be deprecated). * Start capturing network packets for the site (To be deprecated). @@ -547,7 +535,7 @@ public interface WebApps { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Completable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name); + Observable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name); /** * Stop ongoing capturing network packets for the site. @@ -711,6 +699,17 @@ public interface WebApps { */ Completable startAsync(String resourceGroupName, String name); + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable startNetworkTraceAsync(String resourceGroupName, String name); + /** * Stops an app (or deployment slot, if specified). * Stops an app (or deployment slot, if specified). @@ -722,6 +721,17 @@ public interface WebApps { */ Completable stopAsync(String resourceGroupName, String name); + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable stopNetworkTraceAsync(String resourceGroupName, String name); + /** * Sync web app repository. * Sync web app repository. @@ -2653,6 +2663,81 @@ public interface WebApps { */ Observable listNetworkFeaturesSlotAsync(String resourceGroupName, String name, String view, String slot); + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId); + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getNetworkTraceOperationV2Async(String resourceGroupName, String name, String operationId); + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot); + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getNetworkTraceOperationSlotV2Async(String resourceGroupName, String name, String operationId, String slot); + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getNetworkTracesV2Async(String resourceGroupName, String name, String operationId); + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getNetworkTracesSlotV2Async(String resourceGroupName, String name, String operationId, String slot); + /** * Gets perfmon counters for web app. * Gets perfmon counters for web app. @@ -3364,19 +3449,6 @@ public interface WebApps { */ Observable listSyncFunctionTriggersSlotAsync(String resourceGroupName, String name, String slot); - /** - * Gets a named operation for a network trace capturing (or deployment slot, if specified). - * Gets a named operation for a network trace capturing (or deployment slot, if specified). - * - * @param resourceGroupName Name of the resource group to which the resource belongs. - * @param name Name of the app. - * @param operationId GUID of the operation. - * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. - * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable for the request - */ - Completable getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot); - /** * Start capturing network packets for the site (To be deprecated). * Start capturing network packets for the site (To be deprecated). @@ -3399,7 +3471,7 @@ public interface WebApps { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - Completable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot); + Observable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot); /** * Stop ongoing capturing network packets for the site. @@ -3577,6 +3649,18 @@ public interface WebApps { */ Completable startSlotAsync(String resourceGroupName, String name, String slot); + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable startNetworkTraceSlotAsync(String resourceGroupName, String name, String slot); + /** * Stops an app (or deployment slot, if specified). * Stops an app (or deployment slot, if specified). @@ -3589,6 +3673,18 @@ public interface WebApps { */ Completable stopSlotAsync(String resourceGroupName, String name, String slot); + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable stopNetworkTraceSlotAsync(String resourceGroupName, String name, String slot); + /** * Sync web app repository. * Sync web app repository. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java index 8fb7a65bacdca..cdbd26aadcd5f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java @@ -829,12 +829,6 @@ public Operation call(OperationInner inner) { }); } - @Override - public Completable getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId) { - WebAppsInner client = this.inner(); - return client.getNetworkTraceOperationAsync(resourceGroupName, name, operationId).toCompletable(); - } - @Override public Completable startWebSiteNetworkTraceAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); @@ -842,9 +836,21 @@ public Completable startWebSiteNetworkTraceAsync(String resourceGroupName, Strin } @Override - public Completable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { + public Observable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); - return client.startWebSiteNetworkTraceOperationAsync(resourceGroupName, name).toCompletable(); + return client.startWebSiteNetworkTraceOperationAsync(resourceGroupName, name) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); } @Override @@ -961,12 +967,36 @@ public Completable startAsync(String resourceGroupName, String name) { return client.startAsync(resourceGroupName, name).toCompletable(); } + @Override + public Observable startNetworkTraceAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.startNetworkTraceAsync(resourceGroupName, name) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + @Override public Completable stopAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); return client.stopAsync(resourceGroupName, name).toCompletable(); } + @Override + public Completable stopNetworkTraceAsync(String resourceGroupName, String name) { + WebAppsInner client = this.inner(); + return client.stopNetworkTraceAsync(resourceGroupName, name).toCompletable(); + } + @Override public Completable syncRepositoryAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); @@ -2839,6 +2869,114 @@ public NetworkFeatures call(NetworkFeaturesInner inner) { }); } + @Override + public Observable getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId) { + WebAppsInner client = this.inner(); + return client.getNetworkTraceOperationAsync(resourceGroupName, name, operationId) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + + @Override + public Observable getNetworkTraceOperationV2Async(String resourceGroupName, String name, String operationId) { + WebAppsInner client = this.inner(); + return client.getNetworkTraceOperationV2Async(resourceGroupName, name, operationId) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + + @Override + public Observable getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot) { + WebAppsInner client = this.inner(); + return client.getNetworkTraceOperationSlotAsync(resourceGroupName, name, operationId, slot) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + + @Override + public Observable getNetworkTraceOperationSlotV2Async(String resourceGroupName, String name, String operationId, String slot) { + WebAppsInner client = this.inner(); + return client.getNetworkTraceOperationSlotV2Async(resourceGroupName, name, operationId, slot) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + + @Override + public Observable getNetworkTracesV2Async(String resourceGroupName, String name, String operationId) { + WebAppsInner client = this.inner(); + return client.getNetworkTracesV2Async(resourceGroupName, name, operationId) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + + @Override + public Observable getNetworkTracesSlotV2Async(String resourceGroupName, String name, String operationId, String slot) { + WebAppsInner client = this.inner(); + return client.getNetworkTracesSlotV2Async(resourceGroupName, name, operationId, slot) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + @Override public Observable listPerfMonCountersAsync(final String resourceGroupName, final String name) { WebAppsInner client = this.inner(); @@ -3493,12 +3631,6 @@ public FunctionSecrets call(FunctionSecretsInner inner) { }); } - @Override - public Completable getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot) { - WebAppsInner client = this.inner(); - return client.getNetworkTraceOperationSlotAsync(resourceGroupName, name, operationId, slot).toCompletable(); - } - @Override public Completable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); @@ -3506,9 +3638,21 @@ public Completable startWebSiteNetworkTraceSlotAsync(String resourceGroupName, S } @Override - public Completable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { + public Observable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); - return client.startWebSiteNetworkTraceOperationSlotAsync(resourceGroupName, name, slot).toCompletable(); + return client.startWebSiteNetworkTraceOperationSlotAsync(resourceGroupName, name, slot) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); } @Override @@ -3625,12 +3769,36 @@ public Completable startSlotAsync(String resourceGroupName, String name, String return client.startSlotAsync(resourceGroupName, name, slot).toCompletable(); } + @Override + public Observable startNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.startNetworkTraceSlotAsync(resourceGroupName, name, slot) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public NetworkTrace call(NetworkTraceInner inner) { + return new NetworkTraceImpl(inner, manager()); + } + }); + } + @Override public Completable stopSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); return client.stopSlotAsync(resourceGroupName, name, slot).toCompletable(); } + @Override + public Completable stopNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { + WebAppsInner client = this.inner(); + return client.stopNetworkTraceSlotAsync(resourceGroupName, name, slot).toCompletable(); + } + @Override public Completable syncRepositorySlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index 767030d8b63fc..bfe4168935c2a 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -565,6 +565,14 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTrace/{operationId}") Observable> getNetworkTraces(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 getNetworkTraceOperationV2" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/current/operationresults/{operationId}") + Observable> getNetworkTraceOperationV2(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 getNetworkTracesV2" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkTraces/{operationId}") + Observable> getNetworkTracesV2(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 generateNewSitePublishingPassword" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/newpassword") Observable> generateNewSitePublishingPassword(@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); @@ -1170,6 +1178,14 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/{operationId}") Observable> getNetworkTracesSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 getNetworkTraceOperationSlotV2" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/current/operationresults/{operationId}") + Observable> getNetworkTraceOperationSlotV2(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 getNetworkTracesSlotV2" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTraces/{operationId}") + Observable> getNetworkTracesSlotV2(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("operationId") String operationId, @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 generateNewSitePublishingPasswordSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword") Observable> generateNewSitePublishingPasswordSlot(@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); @@ -1356,10 +1372,22 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start") Observable> startSlot(@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 startNetworkTraceSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace") + Observable> startNetworkTraceSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 beginStartNetworkTraceSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/startNetworkTrace") + Observable> beginStartNetworkTraceSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 stopSlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop") Observable> stopSlot(@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 stopNetworkTraceSlot" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stopNetworkTrace") + Observable> stopNetworkTraceSlot(@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 syncRepositorySlot" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync") Observable> syncRepositorySlot(@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); @@ -1476,10 +1504,22 @@ interface WebAppsService { @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start") Observable> start(@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 startNetworkTrace" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace") + Observable> startNetworkTrace(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 beginStartNetworkTrace" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/startNetworkTrace") + Observable> beginStartNetworkTrace(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Query("durationInSeconds") Integer durationInSeconds, @Query("maxFrameLength") Integer maxFrameLength, @Query("sasUrl") String sasUrl, @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 stop" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop") Observable> stop(@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 stopNetworkTrace" }) + @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stopNetworkTrace") + Observable> stopNetworkTrace(@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 syncRepository" }) @POST("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync") Observable> syncRepository(@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); @@ -13831,9 +13871,9 @@ private ServiceResponse listNetworkFeaturesDelegate(Respon * @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 Object object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public Object getNetworkTraceOperation(String resourceGroupName, String name, String operationId) { + public List getNetworkTraceOperation(String resourceGroupName, String name, String operationId) { return getNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, operationId).toBlocking().single().body(); } @@ -13848,7 +13888,7 @@ public Object getNetworkTraceOperation(String resourceGroupName, String name, St * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId, final ServiceCallback serviceCallback) { + public ServiceFuture> getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(getNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, operationId), serviceCallback); } @@ -13860,12 +13900,12 @@ public ServiceFuture getNetworkTraceOperationAsync(String resourceGroupN * @param name Name of the app. * @param operationId GUID of the operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId) { - return getNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, operationId).map(new Func1, Object>() { + public Observable> getNetworkTraceOperationAsync(String resourceGroupName, String name, String operationId) { + return getNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, operationId).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -13879,9 +13919,9 @@ public Object call(ServiceResponse response) { * @param name Name of the app. * @param operationId GUID of the operation. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable> getNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, String operationId) { + public Observable>> getNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, String operationId) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -13898,11 +13938,11 @@ public Observable> getNetworkTraceOperationWithServiceRe throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.getNetworkTraceOperation(resourceGroupName, name, operationId, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = getNetworkTraceOperationDelegate(response); + ServiceResponse> clientResponse = getNetworkTraceOperationDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -13911,10 +13951,10 @@ public Observable> call(Response response) }); } - private ServiceResponse getNetworkTraceOperationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + private ServiceResponse> 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()) + .register(202, new TypeToken>() { }.getType()) .registerError(DefaultErrorResponseException.class) .build(response); } @@ -14116,9 +14156,9 @@ private ServiceResponse startWebSiteNetworkTraceDelegate(Response startWebSiteNetworkTraceOperation(String resourceGroupName, String name) { return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).toBlocking().last().body(); } @@ -14132,7 +14172,7 @@ public Object startWebSiteNetworkTraceOperation(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + public ServiceFuture> startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } @@ -14145,10 +14185,10 @@ public ServiceFuture startWebSiteNetworkTraceOperationAsync(String resou * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { - return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Object>() { + public Observable> startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { + return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -14163,7 +14203,7 @@ public Object call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> startWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable>> startWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14180,7 +14220,7 @@ public Observable> startWebSiteNetworkTraceOperationWith final Integer maxFrameLength = null; final String sasUrl = null; Observable> observable = service.startWebSiteNetworkTraceOperation(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken>() { }.getType()); } /** * Start capturing network packets for the site. @@ -14194,9 +14234,9 @@ public Observable> startWebSiteNetworkTraceOperationWith * @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 Object object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public Object startWebSiteNetworkTraceOperation(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public List startWebSiteNetworkTraceOperation(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).toBlocking().last().body(); } @@ -14213,7 +14253,7 @@ public Object startWebSiteNetworkTraceOperation(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + public ServiceFuture> startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } @@ -14229,10 +14269,10 @@ public ServiceFuture startWebSiteNetworkTraceOperationAsync(String resou * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { - return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, Object>() { + public Observable> startWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -14250,7 +14290,7 @@ public Object call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> startWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public Observable>> startWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14264,7 +14304,7 @@ public Observable> startWebSiteNetworkTraceOperationWith throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } Observable> observable = service.startWebSiteNetworkTraceOperation(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken>() { }.getType()); } /** @@ -14276,9 +14316,9 @@ public Observable> startWebSiteNetworkTraceOperationWith * @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 Object object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public Object beginStartWebSiteNetworkTraceOperation(String resourceGroupName, String name) { + public List beginStartWebSiteNetworkTraceOperation(String resourceGroupName, String name) { return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); } @@ -14292,7 +14332,7 @@ public Object beginStartWebSiteNetworkTraceOperation(String resourceGroupName, S * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + public ServiceFuture> beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name), serviceCallback); } @@ -14303,12 +14343,12 @@ public ServiceFuture beginStartWebSiteNetworkTraceOperationAsync(String * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { - return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Object>() { + public Observable> beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name) { + return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -14321,9 +14361,9 @@ public Object call(ServiceResponse response) { * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name The name of the web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable> beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name) { + public Observable>> beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14340,11 +14380,11 @@ public Observable> beginStartWebSiteNetworkTraceOperatio final Integer maxFrameLength = null; final String sasUrl = null; return service.beginStartWebSiteNetworkTraceOperation(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = beginStartWebSiteNetworkTraceOperationDelegate(response); + ServiceResponse> clientResponse = beginStartWebSiteNetworkTraceOperationDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -14365,9 +14405,9 @@ public Observable> call(Response response) * @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 Object object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public Object beginStartWebSiteNetworkTraceOperation(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public List beginStartWebSiteNetworkTraceOperation(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).toBlocking().single().body(); } @@ -14384,7 +14424,7 @@ public Object beginStartWebSiteNetworkTraceOperation(String resourceGroupName, S * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + public ServiceFuture> beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } @@ -14398,12 +14438,12 @@ public ServiceFuture beginStartWebSiteNetworkTraceOperationAsync(String * @param maxFrameLength The maximum frame length in bytes (Optional). * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { - return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, Object>() { + public Observable> beginStartWebSiteNetworkTraceOperationAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -14419,9 +14459,9 @@ public Object call(ServiceResponse response) { * @param maxFrameLength The maximum frame length in bytes (Optional). * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable> beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public Observable>> beginStartWebSiteNetworkTraceOperationWithServiceResponseAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -14435,11 +14475,11 @@ public Observable> beginStartWebSiteNetworkTraceOperatio throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.beginStartWebSiteNetworkTraceOperation(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = beginStartWebSiteNetworkTraceOperationDelegate(response); + ServiceResponse> clientResponse = beginStartWebSiteNetworkTraceOperationDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -14448,10 +14488,10 @@ public Observable> call(Response response) }); } - private ServiceResponse beginStartWebSiteNetworkTraceOperationDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + private ServiceResponse> 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()) + .register(202, new TypeToken>() { }.getType()) .registerError(DefaultErrorResponseException.class) .build(response); } @@ -14643,6 +14683,201 @@ private ServiceResponse> getNetworkTracesDelegate(Respon .build(response); } + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @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 List<NetworkTraceInner> object if successful. + */ + public List getNetworkTraceOperationV2(String resourceGroupName, String name, String operationId) { + return getNetworkTraceOperationV2WithServiceResponseAsync(resourceGroupName, name, operationId).toBlocking().single().body(); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @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> getNetworkTraceOperationV2Async(String resourceGroupName, String name, String operationId, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(getNetworkTraceOperationV2WithServiceResponseAsync(resourceGroupName, name, operationId), serviceCallback); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> getNetworkTraceOperationV2Async(String resourceGroupName, String name, String operationId) { + return getNetworkTraceOperationV2WithServiceResponseAsync(resourceGroupName, name, operationId).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> getNetworkTraceOperationV2WithServiceResponseAsync(String resourceGroupName, String name, String operationId) { + 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 (operationId == null) { + throw new IllegalArgumentException("Parameter operationId 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.getNetworkTraceOperationV2(resourceGroupName, name, operationId, 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 = getNetworkTraceOperationV2Delegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @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 List<NetworkTraceInner> object if successful. + */ + public List getNetworkTracesV2(String resourceGroupName, String name, String operationId) { + return getNetworkTracesV2WithServiceResponseAsync(resourceGroupName, name, operationId).toBlocking().single().body(); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @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> getNetworkTracesV2Async(String resourceGroupName, String name, String operationId, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(getNetworkTracesV2WithServiceResponseAsync(resourceGroupName, name, operationId), serviceCallback); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> getNetworkTracesV2Async(String resourceGroupName, String name, String operationId) { + return getNetworkTracesV2WithServiceResponseAsync(resourceGroupName, name, operationId).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> getNetworkTracesV2WithServiceResponseAsync(String resourceGroupName, String name, String operationId) { + 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 (operationId == null) { + throw new IllegalArgumentException("Parameter operationId 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.getNetworkTracesV2(resourceGroupName, name, operationId, 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 = getNetworkTracesV2Delegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + /** * Generates a new publishing password for an app (or deployment slot, if specified). * Generates a new publishing password for an app (or deployment slot, if specified). @@ -30553,9 +30788,9 @@ private ServiceResponse listNetworkFeaturesSlotDelegate(Re * @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 Object object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public Object getNetworkTraceOperationSlot(String resourceGroupName, String name, String operationId, String slot) { + public List getNetworkTraceOperationSlot(String resourceGroupName, String name, String operationId, String slot) { return getNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot).toBlocking().single().body(); } @@ -30571,7 +30806,7 @@ public Object getNetworkTraceOperationSlot(String resourceGroupName, String name * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot, final ServiceCallback serviceCallback) { + public ServiceFuture> getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(getNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot), serviceCallback); } @@ -30584,12 +30819,12 @@ public ServiceFuture getNetworkTraceOperationSlotAsync(String resourceGr * @param operationId GUID of the operation. * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot) { - return getNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot).map(new Func1, Object>() { + public Observable> getNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, operationId, slot).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -30604,9 +30839,9 @@ public Object call(ServiceResponse response) { * @param operationId GUID of the operation. * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable> getNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String operationId, String slot) { + public Observable>> getNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String operationId, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -30626,11 +30861,11 @@ public Observable> getNetworkTraceOperationSlotWithServi throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.getNetworkTraceOperationSlot(resourceGroupName, name, operationId, slot, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = getNetworkTraceOperationSlotDelegate(response); + ServiceResponse> clientResponse = getNetworkTraceOperationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -30639,10 +30874,10 @@ public Observable> call(Response response) }); } - private ServiceResponse getNetworkTraceOperationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + private ServiceResponse> 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()) + .register(202, new TypeToken>() { }.getType()) .registerError(DefaultErrorResponseException.class) .build(response); } @@ -30859,9 +31094,9 @@ private ServiceResponse startWebSiteNetworkTraceSlotDelegate(Response startWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot) { return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().last().body(); } @@ -30876,7 +31111,7 @@ public Object startWebSiteNetworkTraceOperationSlot(String resourceGroupName, St * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + public ServiceFuture> startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } @@ -30890,10 +31125,10 @@ public ServiceFuture startWebSiteNetworkTraceOperationSlotAsync(String r * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { - return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Object>() { + public Observable> startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { + return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -30909,7 +31144,7 @@ public Object call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable>> startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -30929,7 +31164,7 @@ public Observable> startWebSiteNetworkTraceOperationSlot final Integer maxFrameLength = null; final String sasUrl = null; Observable> observable = service.startWebSiteNetworkTraceOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken>() { }.getType()); } /** * Start capturing network packets for the site. @@ -30944,9 +31179,9 @@ public Observable> startWebSiteNetworkTraceOperationSlot * @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 Object object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public Object startWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public List startWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).toBlocking().last().body(); } @@ -30964,7 +31199,7 @@ public Object startWebSiteNetworkTraceOperationSlot(String resourceGroupName, St * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + public ServiceFuture> startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } @@ -30981,10 +31216,10 @@ public ServiceFuture startWebSiteNetworkTraceOperationSlotAsync(String r * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { - return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, Object>() { + public Observable> startWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -31003,7 +31238,7 @@ public Object call(ServiceResponse response) { * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ - public Observable> startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public Observable>> startWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -31020,7 +31255,7 @@ public Observable> startWebSiteNetworkTraceOperationSlot throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } Observable> observable = service.startWebSiteNetworkTraceOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); - return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken() { }.getType()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken>() { }.getType()); } /** @@ -31033,9 +31268,9 @@ public Observable> startWebSiteNetworkTraceOperationSlot * @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 Object object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public Object beginStartWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot) { + public List beginStartWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot) { return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); } @@ -31050,7 +31285,7 @@ public Object beginStartWebSiteNetworkTraceOperationSlot(String resourceGroupNam * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + public ServiceFuture> beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); } @@ -31062,12 +31297,12 @@ public ServiceFuture beginStartWebSiteNetworkTraceOperationSlotAsync(Str * @param name The name of the web app. * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { - return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Object>() { + public Observable> beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot) { + return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -31081,9 +31316,9 @@ public Object call(ServiceResponse response) { * @param name The name of the web app. * @param slot The name of the slot for this web app. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable> beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { + public Observable>> beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -31103,11 +31338,11 @@ public Observable> beginStartWebSiteNetworkTraceOperatio final Integer maxFrameLength = null; final String sasUrl = null; return service.beginStartWebSiteNetworkTraceOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = beginStartWebSiteNetworkTraceOperationSlotDelegate(response); + ServiceResponse> clientResponse = beginStartWebSiteNetworkTraceOperationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -31129,9 +31364,9 @@ public Observable> call(Response response) * @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 Object object if successful. + * @return the List<NetworkTraceInner> object if successful. */ - public Object beginStartWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public List beginStartWebSiteNetworkTraceOperationSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).toBlocking().single().body(); } @@ -31149,7 +31384,7 @@ public Object beginStartWebSiteNetworkTraceOperationSlot(String resourceGroupNam * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object */ - public ServiceFuture beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback serviceCallback) { + public ServiceFuture> beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback> serviceCallback) { return ServiceFuture.fromResponse(beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); } @@ -31164,12 +31399,12 @@ public ServiceFuture beginStartWebSiteNetworkTraceOperationSlotAsync(Str * @param maxFrameLength The maximum frame length in bytes (Optional). * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { - return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1, Object>() { + public Observable> beginStartWebSiteNetworkTraceOperationSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1>, List>() { @Override - public Object call(ServiceResponse response) { + public List call(ServiceResponse> response) { return response.body(); } }); @@ -31186,9 +31421,9 @@ public Object call(ServiceResponse response) { * @param maxFrameLength The maximum frame length in bytes (Optional). * @param sasUrl The Blob URL to store capture file. * @throws IllegalArgumentException thrown if parameters fail the validation - * @return the observable to the Object object + * @return the observable to the List<NetworkTraceInner> object */ - public Observable> beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + public Observable>> beginStartWebSiteNetworkTraceOperationSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { if (resourceGroupName == null) { throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); } @@ -31205,11 +31440,11 @@ public Observable> beginStartWebSiteNetworkTraceOperatio throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); } return service.beginStartWebSiteNetworkTraceOperationSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) - .flatMap(new Func1, Observable>>() { + .flatMap(new Func1, Observable>>>() { @Override - public Observable> call(Response response) { + public Observable>> call(Response response) { try { - ServiceResponse clientResponse = beginStartWebSiteNetworkTraceOperationSlotDelegate(response); + ServiceResponse> clientResponse = beginStartWebSiteNetworkTraceOperationSlotDelegate(response); return Observable.just(clientResponse); } catch (Throwable t) { return Observable.error(t); @@ -31218,10 +31453,10 @@ public Observable> call(Response response) }); } - private ServiceResponse beginStartWebSiteNetworkTraceOperationSlotDelegate(Response response) throws DefaultErrorResponseException, IOException, IllegalArgumentException { - return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + private ServiceResponse> 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()) + .register(202, new TypeToken>() { }.getType()) .registerError(DefaultErrorResponseException.class) .build(response); } @@ -31427,6 +31662,215 @@ private ServiceResponse> getNetworkTracesSlotDelegate(Re .build(response); } + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production 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 List<NetworkTraceInner> object if successful. + */ + public List getNetworkTraceOperationSlotV2(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTraceOperationSlotV2WithServiceResponseAsync(resourceGroupName, name, operationId, slot).toBlocking().single().body(); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production 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> getNetworkTraceOperationSlotV2Async(String resourceGroupName, String name, String operationId, String slot, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(getNetworkTraceOperationSlotV2WithServiceResponseAsync(resourceGroupName, name, operationId, slot), serviceCallback); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> getNetworkTraceOperationSlotV2Async(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTraceOperationSlotV2WithServiceResponseAsync(resourceGroupName, name, operationId, slot).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> getNetworkTraceOperationSlotV2WithServiceResponseAsync(String resourceGroupName, String name, String operationId, 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 (operationId == null) { + throw new IllegalArgumentException("Parameter operationId 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.getNetworkTraceOperationSlotV2(resourceGroupName, name, operationId, 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 = getNetworkTraceOperationSlotV2Delegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production 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 List<NetworkTraceInner> object if successful. + */ + public List getNetworkTracesSlotV2(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTracesSlotV2WithServiceResponseAsync(resourceGroupName, name, operationId, slot).toBlocking().single().body(); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production 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> getNetworkTracesSlotV2Async(String resourceGroupName, String name, String operationId, String slot, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(getNetworkTracesSlotV2WithServiceResponseAsync(resourceGroupName, name, operationId, slot), serviceCallback); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> getNetworkTracesSlotV2Async(String resourceGroupName, String name, String operationId, String slot) { + return getNetworkTracesSlotV2WithServiceResponseAsync(resourceGroupName, name, operationId, slot).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * Gets a named operation for a network trace capturing (or deployment slot, if specified). + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Name of the app. + * @param operationId GUID of the operation. + * @param slot Name of the deployment slot. If a slot is not specified, the API will get an operation for the production slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> getNetworkTracesSlotV2WithServiceResponseAsync(String resourceGroupName, String name, String operationId, 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 (operationId == null) { + throw new IllegalArgumentException("Parameter operationId 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.getNetworkTracesSlotV2(resourceGroupName, name, operationId, 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 = getNetworkTracesSlotV2Delegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + /** * Generates a new publishing password for an app (or deployment slot, if specified). * Generates a new publishing password for an app (or deployment slot, if specified). @@ -36622,6 +37066,383 @@ private ServiceResponse startSlotDelegate(Response response) .build(response); } + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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 + * @return the List<NetworkTraceInner> object if successful. + */ + public List startNetworkTraceSlot(String resourceGroupName, String name, String slot) { + return startNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().last().body(); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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> startNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(startNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable> startNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { + return startNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable>> startNetworkTraceSlotWithServiceResponseAsync(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."); + } + final Integer durationInSeconds = null; + final Integer maxFrameLength = null; + final String sasUrl = null; + Observable> observable = service.startNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken>() { }.getType()); + } + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @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 List<NetworkTraceInner> object if successful. + */ + public List startNetworkTraceSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).toBlocking().last().body(); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @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> startNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(startNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable> startNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable>> startNetworkTraceSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + 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."); + } + Observable> observable = service.startNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken>() { }.getType()); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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 + * @return the List<NetworkTraceInner> object if successful. + */ + public List beginStartNetworkTraceSlot(String resourceGroupName, String name, String slot) { + return beginStartNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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> beginStartNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(beginStartNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> beginStartNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { + return beginStartNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> beginStartNetworkTraceSlotWithServiceResponseAsync(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."); + } + final Integer durationInSeconds = null; + final Integer maxFrameLength = null; + final String sasUrl = null; + return service.beginStartNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> clientResponse = beginStartNetworkTraceSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @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 List<NetworkTraceInner> object if successful. + */ + public List beginStartNetworkTraceSlot(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).toBlocking().single().body(); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @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> beginStartNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(beginStartNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> beginStartNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot, durationInSeconds, maxFrameLength, sasUrl).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> beginStartNetworkTraceSlotWithServiceResponseAsync(String resourceGroupName, String name, String slot, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + 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.beginStartNetworkTraceSlot(resourceGroupName, name, slot, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> clientResponse = beginStartNetworkTraceSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + /** * Stops an app (or deployment slot, if specified). * Stops an app (or deployment slot, if specified). @@ -36718,6 +37539,103 @@ private ServiceResponse stopSlotDelegate(Response response) .build(response); } + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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 stopNetworkTraceSlot(String resourceGroupName, String name, String slot) { + stopNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).toBlocking().single().body(); + } + + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web 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 stopNetworkTraceSlotAsync(String resourceGroupName, String name, String slot, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(stopNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot), serviceCallback); + } + + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable stopNetworkTraceSlotAsync(String resourceGroupName, String name, String slot) { + return stopNetworkTraceSlotWithServiceResponseAsync(resourceGroupName, name, slot).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param slot The name of the slot for this web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> stopNetworkTraceSlotWithServiceResponseAsync(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.stopNetworkTraceSlot(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 = stopNetworkTraceSlotDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + /** * Sync web app repository. * Sync web app repository. @@ -40002,6 +40920,355 @@ private ServiceResponse startDelegate(Response response) thr .build(response); } + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web 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 + * @return the List<NetworkTraceInner> object if successful. + */ + public List startNetworkTrace(String resourceGroupName, String name) { + return startNetworkTraceWithServiceResponseAsync(resourceGroupName, name).toBlocking().last().body(); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web 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> startNetworkTraceAsync(String resourceGroupName, String name, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(startNetworkTraceWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable> startNetworkTraceAsync(String resourceGroupName, String name) { + return startNetworkTraceWithServiceResponseAsync(resourceGroupName, name).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable>> startNetworkTraceWithServiceResponseAsync(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."); + } + final Integer durationInSeconds = null; + final Integer maxFrameLength = null; + final String sasUrl = null; + Observable> observable = service.startNetworkTrace(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken>() { }.getType()); + } + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @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 List<NetworkTraceInner> object if successful. + */ + public List startNetworkTrace(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startNetworkTraceWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).toBlocking().last().body(); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @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> startNetworkTraceAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(startNetworkTraceWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable> startNetworkTraceAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return startNetworkTraceWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + public Observable>> startNetworkTraceWithServiceResponseAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + 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."); + } + Observable> observable = service.startNetworkTrace(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()); + return client.getAzureClient().getPostOrDeleteResultAsync(observable, new TypeToken>() { }.getType()); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web 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 + * @return the List<NetworkTraceInner> object if successful. + */ + public List beginStartNetworkTrace(String resourceGroupName, String name) { + return beginStartNetworkTraceWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web 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> beginStartNetworkTraceAsync(String resourceGroupName, String name, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(beginStartNetworkTraceWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> beginStartNetworkTraceAsync(String resourceGroupName, String name) { + return beginStartNetworkTraceWithServiceResponseAsync(resourceGroupName, name).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> beginStartNetworkTraceWithServiceResponseAsync(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."); + } + final Integer durationInSeconds = null; + final Integer maxFrameLength = null; + final String sasUrl = null; + return service.beginStartNetworkTrace(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> clientResponse = beginStartNetworkTraceDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @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 List<NetworkTraceInner> object if successful. + */ + public List beginStartNetworkTrace(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartNetworkTraceWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).toBlocking().single().body(); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @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> beginStartNetworkTraceAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(beginStartNetworkTraceWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl), serviceCallback); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable> beginStartNetworkTraceAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + return beginStartNetworkTraceWithServiceResponseAsync(resourceGroupName, name, durationInSeconds, maxFrameLength, sasUrl).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Start capturing network packets for the site. + * Start capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @param durationInSeconds The duration to keep capturing in seconds. + * @param maxFrameLength The maximum frame length in bytes (Optional). + * @param sasUrl The Blob URL to store capture file. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<NetworkTraceInner> object + */ + public Observable>> beginStartNetworkTraceWithServiceResponseAsync(String resourceGroupName, String name, Integer durationInSeconds, Integer maxFrameLength, String sasUrl) { + 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.beginStartNetworkTrace(resourceGroupName, name, this.client.subscriptionId(), durationInSeconds, maxFrameLength, sasUrl, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> clientResponse = beginStartNetworkTraceDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + /** * Stops an app (or deployment slot, if specified). * Stops an app (or deployment slot, if specified). @@ -40091,6 +41358,96 @@ private ServiceResponse stopDelegate(Response response) thro .build(response); } + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web 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 stopNetworkTrace(String resourceGroupName, String name) { + stopNetworkTraceWithServiceResponseAsync(resourceGroupName, name).toBlocking().single().body(); + } + + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web 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 stopNetworkTraceAsync(String resourceGroupName, String name, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(stopNetworkTraceWithServiceResponseAsync(resourceGroupName, name), serviceCallback); + } + + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable stopNetworkTraceAsync(String resourceGroupName, String name) { + return stopNetworkTraceWithServiceResponseAsync(resourceGroupName, name).map(new Func1, Void>() { + @Override + public Void call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Stop ongoing capturing network packets for the site. + * Stop ongoing capturing network packets for the site. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name The name of the web app. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceResponse} object if successful. + */ + public Observable> stopNetworkTraceWithServiceResponseAsync(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.stopNetworkTrace(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 = stopNetworkTraceDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + 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); + } + /** * Sync web app repository. * Sync web app repository. From 78a25a083b839a6621da4c575b85ae98e4af4a05 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Thu, 8 Nov 2018 17:36:37 -0800 Subject: [PATCH 15/22] Generated from c0b2862c0002fa73fe7b3e70cb1bac9435719186 (#2583) Snapshots API for DR stamps --- .../v2018_02_01/DeletedAppRestoreRequest.java | 26 + .../v2018_02_01/SnapshotRestoreRequest.java | 26 + .../appservice/v2018_02_01/WebApps.java | 23 + .../implementation/WebAppsImpl.java | 38 +- .../implementation/WebAppsInner.java | 512 ++++++++++++++++++ 5 files changed, 624 insertions(+), 1 deletion(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedAppRestoreRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedAppRestoreRequest.java index 5907be148642d..f64f8735eab57 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedAppRestoreRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedAppRestoreRequest.java @@ -38,6 +38,12 @@ public class DeletedAppRestoreRequest extends ProxyOnlyResource { @JsonProperty(value = "properties.snapshotTime") private String snapshotTime; + /** + * If true, the snapshot is retrieved from DRSecondary endpoint. + */ + @JsonProperty(value = "properties.useDRSecondary") + private Boolean useDRSecondary; + /** * Get aRM resource ID of the deleted app. Example: /subscriptions/{subId}/providers/Microsoft.Web/deletedSites/{deletedSiteId}. @@ -102,4 +108,24 @@ public DeletedAppRestoreRequest withSnapshotTime(String snapshotTime) { return this; } + /** + * Get if true, the snapshot is retrieved from DRSecondary endpoint. + * + * @return the useDRSecondary value + */ + public Boolean useDRSecondary() { + return this.useDRSecondary; + } + + /** + * Set if true, the snapshot is retrieved from DRSecondary endpoint. + * + * @param useDRSecondary the useDRSecondary value to set + * @return the DeletedAppRestoreRequest object itself. + */ + public DeletedAppRestoreRequest withUseDRSecondary(Boolean useDRSecondary) { + this.useDRSecondary = useDRSecondary; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRestoreRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRestoreRequest.java index a6bdda909ef20..f8a00cf4f4a6e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRestoreRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SnapshotRestoreRequest.java @@ -52,6 +52,12 @@ public class SnapshotRestoreRequest extends ProxyOnlyResource { @JsonProperty(value = "properties.ignoreConflictingHostNames") private Boolean ignoreConflictingHostNames; + /** + * If true, the snapshot is retrieved from DRSecondary endpoint. + */ + @JsonProperty(value = "properties.useDRSecondary") + private Boolean useDRSecondary; + /** * Get point in time in which the app restore should be done, formatted as a DateTime string. * @@ -156,4 +162,24 @@ public SnapshotRestoreRequest withIgnoreConflictingHostNames(Boolean ignoreConfl return this; } + /** + * Get if true, the snapshot is retrieved from DRSecondary endpoint. + * + * @return the useDRSecondary value + */ + public Boolean useDRSecondary() { + return this.useDRSecondary; + } + + /** + * Set if true, the snapshot is retrieved from DRSecondary endpoint. + * + * @param useDRSecondary the useDRSecondary value to set + * @return the SnapshotRestoreRequest object itself. + */ + public SnapshotRestoreRequest withUseDRSecondary(Boolean useDRSecondary) { + this.useDRSecondary = useDRSecondary; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java index 527b0a5a7de35..4982bec5d3f3d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/WebApps.java @@ -688,6 +688,17 @@ public interface WebApps { */ Completable swapSlotWithProductionAsync(String resourceGroupName, String name, CsmSlotEntity slotSwapEntity); + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listSnapshotsFromDRSecondaryAsync(final String resourceGroupName, final String name); + /** * Starts an app (or deployment slot, if specified). * Starts an app (or deployment slot, if specified). @@ -3637,6 +3648,18 @@ public interface WebApps { */ Completable swapSlotSlotAsync(String resourceGroupName, String name, String slot, CsmSlotEntity slotSwapEntity); + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param slot Website Slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listSnapshotsFromDRSecondarySlotAsync(final String resourceGroupName, final String name, final String slot); + /** * Starts an app (or deployment slot, if specified). * Starts an app (or deployment slot, if specified). diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java index cdbd26aadcd5f..cf128aa315099 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsImpl.java @@ -32,6 +32,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.NetworkTrace; import com.microsoft.azure.management.appservice.v2018_02_01.SitePhpErrorLogFlag; import com.microsoft.azure.management.appservice.v2018_02_01.SlotDifference; +import com.microsoft.azure.management.appservice.v2018_02_01.Snapshot; import com.microsoft.azure.management.appservice.v2018_02_01.CsmSlotEntity; import com.microsoft.azure.management.appservice.v2018_02_01.StorageMigrationOptions; import com.microsoft.azure.management.appservice.v2018_02_01.MigrateMySqlRequest; @@ -45,7 +46,6 @@ import com.microsoft.azure.management.appservice.v2018_02_01.User; import com.microsoft.azure.management.appservice.v2018_02_01.PushSettings; import com.microsoft.azure.management.appservice.v2018_02_01.SlotConfigNamesResource; -import com.microsoft.azure.management.appservice.v2018_02_01.Snapshot; import com.microsoft.azure.management.appservice.v2018_02_01.SiteConfigurationSnapshotInfo; import com.microsoft.azure.management.appservice.v2018_02_01.ContinuousWebJob; import com.microsoft.azure.management.appservice.v2018_02_01.Deployment; @@ -961,6 +961,24 @@ public Completable swapSlotWithProductionAsync(String resourceGroupName, String return client.swapSlotWithProductionAsync(resourceGroupName, name, slotSwapEntity).toCompletable(); } + @Override + public Observable listSnapshotsFromDRSecondaryAsync(final String resourceGroupName, final String name) { + WebAppsInner client = this.inner(); + return client.listSnapshotsFromDRSecondaryAsync(resourceGroupName, name) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public Snapshot call(SnapshotInner inner) { + return new SnapshotImpl(inner, manager()); + } + }); + } + @Override public Completable startAsync(String resourceGroupName, String name) { WebAppsInner client = this.inner(); @@ -3763,6 +3781,24 @@ public Completable swapSlotSlotAsync(String resourceGroupName, String name, Stri return client.swapSlotSlotAsync(resourceGroupName, name, slot, slotSwapEntity).toCompletable(); } + @Override + public Observable listSnapshotsFromDRSecondarySlotAsync(final String resourceGroupName, final String name, final String slot) { + WebAppsInner client = this.inner(); + return client.listSnapshotsFromDRSecondarySlotAsync(resourceGroupName, name, slot) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public Snapshot call(SnapshotInner inner) { + return new SnapshotImpl(inner, manager()); + } + }); + } + @Override public Completable startSlotAsync(String resourceGroupName, String name, String slot) { WebAppsInner client = this.inner(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index bfe4168935c2a..4abdfcb0c4a06 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -1348,6 +1348,10 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots") Observable> listSnapshotsSlot(@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 listSnapshotsFromDRSecondarySlot" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshotsdr") + Observable> listSnapshotsFromDRSecondarySlot(@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 getSourceControlSlot" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web") Observable> getSourceControlSlot(@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); @@ -1480,6 +1484,10 @@ interface WebAppsService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots") Observable> listSnapshots(@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 listSnapshotsFromDRSecondary" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshotsdr") + Observable> listSnapshotsFromDRSecondary(@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 getSourceControl" }) @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web") Observable> getSourceControl(@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); @@ -1776,6 +1784,10 @@ interface WebAppsService { @GET Observable> listSnapshotsSlotNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listSnapshotsFromDRSecondarySlotNext" }) + @GET + Observable> listSnapshotsFromDRSecondarySlotNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listTriggeredWebJobsSlotNext" }) @GET Observable> listTriggeredWebJobsSlotNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -1800,6 +1812,10 @@ interface WebAppsService { @GET Observable> listSnapshotsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listSnapshotsFromDRSecondaryNext" }) + @GET + Observable> listSnapshotsFromDRSecondaryNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.appservice.v2018_02_01.WebApps listTriggeredWebJobsNext" }) @GET Observable> listTriggeredWebJobsNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -36471,6 +36487,142 @@ private ServiceResponse> listSnapshotsSlotDelegate(Respo .build(response); } + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param slot Website 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 PagedList<SnapshotInner> object if successful. + */ + public PagedList listSnapshotsFromDRSecondarySlot(final String resourceGroupName, final String name, final String slot) { + ServiceResponse> response = listSnapshotsFromDRSecondarySlotSinglePageAsync(resourceGroupName, name, slot).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSnapshotsFromDRSecondarySlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param slot Website 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> listSnapshotsFromDRSecondarySlotAsync(final String resourceGroupName, final String name, final String slot, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSnapshotsFromDRSecondarySlotSinglePageAsync(resourceGroupName, name, slot), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSnapshotsFromDRSecondarySlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param slot Website Slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SnapshotInner> object + */ + public Observable> listSnapshotsFromDRSecondarySlotAsync(final String resourceGroupName, final String name, final String slot) { + return listSnapshotsFromDRSecondarySlotWithServiceResponseAsync(resourceGroupName, name, slot) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @param slot Website Slot. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SnapshotInner> object + */ + public Observable>> listSnapshotsFromDRSecondarySlotWithServiceResponseAsync(final String resourceGroupName, final String name, final String slot) { + return listSnapshotsFromDRSecondarySlotSinglePageAsync(resourceGroupName, name, slot) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSnapshotsFromDRSecondarySlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + 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. + */ + public Observable>> listSnapshotsFromDRSecondarySlotSinglePageAsync(final String resourceGroupName, final String name, final 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.listSnapshotsFromDRSecondarySlot(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> result = listSnapshotsFromDRSecondarySlotDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + /** * Gets the source control configuration of an app. * Gets the source control configuration of an app. @@ -40367,6 +40519,134 @@ private ServiceResponse> listSnapshotsDelegate(Response< .build(response); } + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website 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 PagedList<SnapshotInner> object if successful. + */ + public PagedList listSnapshotsFromDRSecondary(final String resourceGroupName, final String name) { + ServiceResponse> response = listSnapshotsFromDRSecondarySinglePageAsync(resourceGroupName, name).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSnapshotsFromDRSecondaryNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website 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> listSnapshotsFromDRSecondaryAsync(final String resourceGroupName, final String name, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSnapshotsFromDRSecondarySinglePageAsync(resourceGroupName, name), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSnapshotsFromDRSecondaryNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SnapshotInner> object + */ + public Observable> listSnapshotsFromDRSecondaryAsync(final String resourceGroupName, final String name) { + return listSnapshotsFromDRSecondaryWithServiceResponseAsync(resourceGroupName, name) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param resourceGroupName Name of the resource group to which the resource belongs. + * @param name Website Name. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SnapshotInner> object + */ + public Observable>> listSnapshotsFromDRSecondaryWithServiceResponseAsync(final String resourceGroupName, final String name) { + return listSnapshotsFromDRSecondarySinglePageAsync(resourceGroupName, name) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSnapshotsFromDRSecondaryNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + 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. + */ + public Observable>> listSnapshotsFromDRSecondarySinglePageAsync(final String resourceGroupName, final 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.listSnapshotsFromDRSecondary(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> result = listSnapshotsFromDRSecondaryDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + /** * Gets the source control configuration of an app. * Gets the source control configuration of an app. @@ -48827,6 +49107,122 @@ private ServiceResponse> listSnapshotsSlotNextDelegate(R .build(response); } + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<SnapshotInner> object if successful. + */ + public PagedList listSnapshotsFromDRSecondarySlotNext(final String nextPageLink) { + ServiceResponse> response = listSnapshotsFromDRSecondarySlotNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSnapshotsFromDRSecondarySlotNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listSnapshotsFromDRSecondarySlotNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSnapshotsFromDRSecondarySlotNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSnapshotsFromDRSecondarySlotNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SnapshotInner> object + */ + public Observable> listSnapshotsFromDRSecondarySlotNextAsync(final String nextPageLink) { + return listSnapshotsFromDRSecondarySlotNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SnapshotInner> object + */ + public Observable>> listSnapshotsFromDRSecondarySlotNextWithServiceResponseAsync(final String nextPageLink) { + return listSnapshotsFromDRSecondarySlotNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSnapshotsFromDRSecondarySlotNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + 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. + */ + public Observable>> listSnapshotsFromDRSecondarySlotNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listSnapshotsFromDRSecondarySlotNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listSnapshotsFromDRSecondarySlotNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + /** * List triggered web jobs for an app, or a deployment slot. * List triggered web jobs for an app, or a deployment slot. @@ -49524,6 +49920,122 @@ private ServiceResponse> listSnapshotsNextDelegate(Respo .build(response); } + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @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 PagedList<SnapshotInner> object if successful. + */ + public PagedList listSnapshotsFromDRSecondaryNext(final String nextPageLink) { + ServiceResponse> response = listSnapshotsFromDRSecondaryNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listSnapshotsFromDRSecondaryNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listSnapshotsFromDRSecondaryNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listSnapshotsFromDRSecondaryNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listSnapshotsFromDRSecondaryNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SnapshotInner> object + */ + public Observable> listSnapshotsFromDRSecondaryNextAsync(final String nextPageLink) { + return listSnapshotsFromDRSecondaryNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SnapshotInner> object + */ + public Observable>> listSnapshotsFromDRSecondaryNextWithServiceResponseAsync(final String nextPageLink) { + return listSnapshotsFromDRSecondaryNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listSnapshotsFromDRSecondaryNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Returns all Snapshots to the user from DRSecondary endpoint. + * Returns all Snapshots to the user from DRSecondary endpoint. + * + 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. + */ + public Observable>> listSnapshotsFromDRSecondaryNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listSnapshotsFromDRSecondaryNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listSnapshotsFromDRSecondaryNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> 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); + } + /** * List triggered web jobs for an app, or a deployment slot. * List triggered web jobs for an app, or a deployment slot. From 1117638363a66713cb0c4815f9d734e09a3a41ad Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Tue, 13 Nov 2018 09:19:44 -0800 Subject: [PATCH 16/22] Generated from 900b6c8ae4554a88ce344bd2fd77e81b39426d75 (#2595) Add GeoRegion property to DeletedSite model --- .../appservice/v2018_02_01/DeletedSite.java | 5 +++++ .../implementation/DeletedSiteImpl.java | 5 +++++ .../implementation/DeletedSiteInner.java | 15 +++++++++++++++ 3 files changed, 25 insertions(+) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java index e7045e609b75b..69d10f480732e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DeletedSite.java @@ -37,6 +37,11 @@ public interface DeletedSite extends HasInner, HasManager Date: Tue, 20 Nov 2018 16:20:17 -0800 Subject: [PATCH 17/22] Generated from ea6142485e60849209520c2c736b36f74f395a77 (#2621) typo: Fix Microsoft.Web/CommonDefinitions.json - Double word "to" - resourse -> resource - mimuntes -> minutes - specificed -> specified - successfull -> successful - crendentials -> credentials --- .../appservice/v2016_03_01/CsmUsageQuota.java | 6 +++--- .../appservice/v2016_03_01/RampUpRule.java | 18 +++++++++--------- .../appservice/v2016_03_01/SlotSwapStatus.java | 2 +- .../v2016_03_01/implementation/UserInner.java | 2 +- .../appservice/v2016_08_01/RampUpRule.java | 18 +++++++++--------- .../appservice/v2016_08_01/SlotSwapStatus.java | 2 +- .../implementation/CsmUsageQuotaInner.java | 6 +++--- .../v2016_08_01/implementation/UserInner.java | 2 +- .../appservice/v2016_09_01/RampUpRule.java | 18 +++++++++--------- .../appservice/v2016_09_01/SlotSwapStatus.java | 2 +- .../appservice/v2016_09_01/User.java | 2 +- .../implementation/CsmUsageQuotaInner.java | 6 +++--- .../appservice/v2018_02_01/RampUpRule.java | 18 +++++++++--------- .../appservice/v2018_02_01/SlotSwapStatus.java | 2 +- .../v2018_02_01/implementation/UserInner.java | 2 +- 15 files changed, 53 insertions(+), 53 deletions(-) diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuota.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuota.java index f84202a672a49..02c006b763a0c 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuota.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CsmUsageQuota.java @@ -16,7 +16,7 @@ */ public class CsmUsageQuota { /** - * Units of measurement for the quota resourse. + * Units of measurement for the quota resource. */ @JsonProperty(value = "unit") private String unit; @@ -46,7 +46,7 @@ public class CsmUsageQuota { private LocalizableString name; /** - * Get units of measurement for the quota resourse. + * Get units of measurement for the quota resource. * * @return the unit value */ @@ -55,7 +55,7 @@ public String unit() { } /** - * Set units of measurement for the quota resourse. + * Set units of measurement for the quota resource. * * @param unit the unit value to set * @return the CsmUsageQuota object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RampUpRule.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RampUpRule.java index 06575a150066a..db3c705a020d0 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RampUpRule.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/RampUpRule.java @@ -30,11 +30,11 @@ public class RampUpRule { private Double reroutePercentage; /** - * In auto ramp up scenario this is the step to to add/remove from + * In auto ramp up scenario this is the step to add/remove from * <code>ReroutePercentage</code> until it reaches * <code>MinReroutePercentage</code> or * <code>MaxReroutePercentage</code>. Site metrics are checked - * every N minutes specificed in + * every N minutes specified in * <code>ChangeIntervalInMinutes</code>. * Custom decision algorithm can be provided in TiPCallback site extension * which URL can be specified in @@ -44,7 +44,7 @@ public class RampUpRule { private Double changeStep; /** - * Specifies interval in mimuntes to reevaluate ReroutePercentage. + * Specifies interval in minutes to reevaluate ReroutePercentage. */ @JsonProperty(value = "changeIntervalInMinutes") private Integer changeIntervalInMinutes; @@ -118,8 +118,8 @@ public RampUpRule withReroutePercentage(Double reroutePercentage) { } /** - * Get in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches - <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + * Get in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @return the changeStep value @@ -129,8 +129,8 @@ public Double changeStep() { } /** - * Set in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches - <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + * Set in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @param changeStep the changeStep value to set @@ -142,7 +142,7 @@ public RampUpRule withChangeStep(Double changeStep) { } /** - * Get specifies interval in mimuntes to reevaluate ReroutePercentage. + * Get specifies interval in minutes to reevaluate ReroutePercentage. * * @return the changeIntervalInMinutes value */ @@ -151,7 +151,7 @@ public Integer changeIntervalInMinutes() { } /** - * Set specifies interval in mimuntes to reevaluate ReroutePercentage. + * Set specifies interval in minutes to reevaluate ReroutePercentage. * * @param changeIntervalInMinutes the changeIntervalInMinutes value to set * @return the RampUpRule object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlotSwapStatus.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlotSwapStatus.java index 610165e24b594..bd65f51a6a97e 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlotSwapStatus.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SlotSwapStatus.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * The status of the last successfull slot swap operation. + * The status of the last successful slot swap operation. */ public class SlotSwapStatus { /** diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/UserInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/UserInner.java index 1a2aaf23c9ef4..82dcce18fac90 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/UserInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/UserInner.java @@ -13,7 +13,7 @@ import com.microsoft.azure.management.appservice.v2016_03_01.ProxyOnlyResource; /** - * User crendentials used for publishing activity. + * User credentials used for publishing activity. */ @JsonFlatten public class UserInner extends ProxyOnlyResource { diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RampUpRule.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RampUpRule.java index e90557e352764..5c6bddc12f041 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RampUpRule.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/RampUpRule.java @@ -30,11 +30,11 @@ public class RampUpRule { private Double reroutePercentage; /** - * In auto ramp up scenario this is the step to to add/remove from + * In auto ramp up scenario this is the step to add/remove from * <code>ReroutePercentage</code> until it reaches * <code>MinReroutePercentage</code> or * <code>MaxReroutePercentage</code>. Site metrics are checked - * every N minutes specificed in + * every N minutes specified in * <code>ChangeIntervalInMinutes</code>. * Custom decision algorithm can be provided in TiPCallback site extension * which URL can be specified in @@ -44,7 +44,7 @@ public class RampUpRule { private Double changeStep; /** - * Specifies interval in mimuntes to reevaluate ReroutePercentage. + * Specifies interval in minutes to reevaluate ReroutePercentage. */ @JsonProperty(value = "changeIntervalInMinutes") private Integer changeIntervalInMinutes; @@ -118,8 +118,8 @@ public RampUpRule withReroutePercentage(Double reroutePercentage) { } /** - * Get in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches - <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + * Get in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @return the changeStep value @@ -129,8 +129,8 @@ public Double changeStep() { } /** - * Set in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches - <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + * Set in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @param changeStep the changeStep value to set @@ -142,7 +142,7 @@ public RampUpRule withChangeStep(Double changeStep) { } /** - * Get specifies interval in mimuntes to reevaluate ReroutePercentage. + * Get specifies interval in minutes to reevaluate ReroutePercentage. * * @return the changeIntervalInMinutes value */ @@ -151,7 +151,7 @@ public Integer changeIntervalInMinutes() { } /** - * Set specifies interval in mimuntes to reevaluate ReroutePercentage. + * Set specifies interval in minutes to reevaluate ReroutePercentage. * * @param changeIntervalInMinutes the changeIntervalInMinutes value to set * @return the RampUpRule object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotSwapStatus.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotSwapStatus.java index 400327be42fb7..cd58405280ee1 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotSwapStatus.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SlotSwapStatus.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * The status of the last successfull slot swap operation. + * The status of the last successful slot swap operation. */ public class SlotSwapStatus { /** diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaInner.java index f23a0362137b0..cb24dfd999c5e 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CsmUsageQuotaInner.java @@ -17,7 +17,7 @@ */ public class CsmUsageQuotaInner { /** - * Units of measurement for the quota resourse. + * Units of measurement for the quota resource. */ @JsonProperty(value = "unit") private String unit; @@ -47,7 +47,7 @@ public class CsmUsageQuotaInner { private LocalizableString name; /** - * Get units of measurement for the quota resourse. + * Get units of measurement for the quota resource. * * @return the unit value */ @@ -56,7 +56,7 @@ public String unit() { } /** - * Set units of measurement for the quota resourse. + * Set units of measurement for the quota resource. * * @param unit the unit value to set * @return the CsmUsageQuotaInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserInner.java index d07bc0af1c211..6835b887c6baf 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/UserInner.java @@ -13,7 +13,7 @@ import com.microsoft.azure.management.appservice.v2016_08_01.ProxyOnlyResource; /** - * User crendentials used for publishing activity. + * User credentials used for publishing activity. */ @JsonFlatten public class UserInner extends ProxyOnlyResource { diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RampUpRule.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RampUpRule.java index f57b6a5e7630a..5bc8295d25cdc 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RampUpRule.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/RampUpRule.java @@ -30,11 +30,11 @@ public class RampUpRule { private Double reroutePercentage; /** - * In auto ramp up scenario this is the step to to add/remove from + * In auto ramp up scenario this is the step to add/remove from * <code>ReroutePercentage</code> until it reaches * <code>MinReroutePercentage</code> or * <code>MaxReroutePercentage</code>. Site metrics are checked - * every N minutes specificed in + * every N minutes specified in * <code>ChangeIntervalInMinutes</code>. * Custom decision algorithm can be provided in TiPCallback site extension * which URL can be specified in @@ -44,7 +44,7 @@ public class RampUpRule { private Double changeStep; /** - * Specifies interval in mimuntes to reevaluate ReroutePercentage. + * Specifies interval in minutes to reevaluate ReroutePercentage. */ @JsonProperty(value = "changeIntervalInMinutes") private Integer changeIntervalInMinutes; @@ -118,8 +118,8 @@ public RampUpRule withReroutePercentage(Double reroutePercentage) { } /** - * Get in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches - <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + * Get in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @return the changeStep value @@ -129,8 +129,8 @@ public Double changeStep() { } /** - * Set in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches - <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + * Set in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @param changeStep the changeStep value to set @@ -142,7 +142,7 @@ public RampUpRule withChangeStep(Double changeStep) { } /** - * Get specifies interval in mimuntes to reevaluate ReroutePercentage. + * Get specifies interval in minutes to reevaluate ReroutePercentage. * * @return the changeIntervalInMinutes value */ @@ -151,7 +151,7 @@ public Integer changeIntervalInMinutes() { } /** - * Set specifies interval in mimuntes to reevaluate ReroutePercentage. + * Set specifies interval in minutes to reevaluate ReroutePercentage. * * @param changeIntervalInMinutes the changeIntervalInMinutes value to set * @return the RampUpRule object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlotSwapStatus.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlotSwapStatus.java index a1d26d87f8b75..44dc133b4496b 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlotSwapStatus.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SlotSwapStatus.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * The status of the last successfull slot swap operation. + * The status of the last successful slot swap operation. */ public class SlotSwapStatus { /** diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/User.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/User.java index d408a0647cbb5..3e1eb17285baf 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/User.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/User.java @@ -12,7 +12,7 @@ import com.microsoft.rest.serializer.JsonFlatten; /** - * User crendentials used for publishing activity. + * User credentials used for publishing activity. */ @JsonFlatten public class User extends ProxyOnlyResource { diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaInner.java index f9bda94dec8bb..8aadaedc84d3f 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/CsmUsageQuotaInner.java @@ -17,7 +17,7 @@ */ public class CsmUsageQuotaInner { /** - * Units of measurement for the quota resourse. + * Units of measurement for the quota resource. */ @JsonProperty(value = "unit") private String unit; @@ -47,7 +47,7 @@ public class CsmUsageQuotaInner { private LocalizableString name; /** - * Get units of measurement for the quota resourse. + * Get units of measurement for the quota resource. * * @return the unit value */ @@ -56,7 +56,7 @@ public String unit() { } /** - * Set units of measurement for the quota resourse. + * Set units of measurement for the quota resource. * * @param unit the unit value to set * @return the CsmUsageQuotaInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RampUpRule.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RampUpRule.java index 3d06c5c350159..f1374753e761c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RampUpRule.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/RampUpRule.java @@ -30,11 +30,11 @@ public class RampUpRule { private Double reroutePercentage; /** - * In auto ramp up scenario this is the step to to add/remove from + * In auto ramp up scenario this is the step to add/remove from * <code>ReroutePercentage</code> until it reaches * <code>MinReroutePercentage</code> or * <code>MaxReroutePercentage</code>. Site metrics are checked - * every N minutes specificed in + * every N minutes specified in * <code>ChangeIntervalInMinutes</code>. * Custom decision algorithm can be provided in TiPCallback site extension * which URL can be specified in @@ -44,7 +44,7 @@ public class RampUpRule { private Double changeStep; /** - * Specifies interval in mimuntes to reevaluate ReroutePercentage. + * Specifies interval in minutes to reevaluate ReroutePercentage. */ @JsonProperty(value = "changeIntervalInMinutes") private Integer changeIntervalInMinutes; @@ -118,8 +118,8 @@ public RampUpRule withReroutePercentage(Double reroutePercentage) { } /** - * Get in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches - <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + * Get in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @return the changeStep value @@ -129,8 +129,8 @@ public Double changeStep() { } /** - * Set in auto ramp up scenario this is the step to to add/remove from <code>ReroutePercentage</code> until it reaches - <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specificed in <code>ChangeIntervalInMinutes</code>. + * Set in auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches + <code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>. Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. * * @param changeStep the changeStep value to set @@ -142,7 +142,7 @@ public RampUpRule withChangeStep(Double changeStep) { } /** - * Get specifies interval in mimuntes to reevaluate ReroutePercentage. + * Get specifies interval in minutes to reevaluate ReroutePercentage. * * @return the changeIntervalInMinutes value */ @@ -151,7 +151,7 @@ public Integer changeIntervalInMinutes() { } /** - * Set specifies interval in mimuntes to reevaluate ReroutePercentage. + * Set specifies interval in minutes to reevaluate ReroutePercentage. * * @param changeIntervalInMinutes the changeIntervalInMinutes value to set * @return the RampUpRule object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotSwapStatus.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotSwapStatus.java index 0dff21295ba1a..d9120874b2f24 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotSwapStatus.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SlotSwapStatus.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * The status of the last successfull slot swap operation. + * The status of the last successful slot swap operation. */ public class SlotSwapStatus { /** diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserInner.java index ecd0a93c45881..92a42c45522ae 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/UserInner.java @@ -13,7 +13,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ProxyOnlyResource; /** - * User crendentials used for publishing activity. + * User credentials used for publishing activity. */ @JsonFlatten public class UserInner extends ProxyOnlyResource { From 665433ae7bf3baa4d476187137b794e46397958f Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 21 Nov 2018 13:24:10 -0800 Subject: [PATCH 18/22] Generated from b6d11c1299ea99c838603371c427e130a4326a10 (#2631) typo: web/resource-manager/Microsoft.Web/AppServiceEnvironments - enviroment -> environment --- .../v2016_09_01/AppServiceEnvironmentPatchResource.java | 2 +- .../v2018_02_01/AppServiceEnvironmentPatchResource.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentPatchResource.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentPatchResource.java index 7aec6fadb8a2f..9ead7a87cbf17 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentPatchResource.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServiceEnvironmentPatchResource.java @@ -14,7 +14,7 @@ import com.microsoft.rest.serializer.JsonFlatten; /** - * ARM resource for a app service enviroment. + * ARM resource for a app service environment. */ @JsonFlatten public class AppServiceEnvironmentPatchResource extends ProxyOnlyResource { diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java index dbe0816480309..2944621532eb9 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServiceEnvironmentPatchResource.java @@ -14,7 +14,7 @@ import com.microsoft.rest.serializer.JsonFlatten; /** - * ARM resource for a app service enviroment. + * ARM resource for a app service environment. */ @JsonFlatten public class AppServiceEnvironmentPatchResource extends ProxyOnlyResource { From 0aca5ba30fa3ff8ed90dc7ce38602a07bb0ffd52 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Wed, 28 Nov 2018 10:56:37 -0800 Subject: [PATCH 19/22] [AutoPR web/resource-manager] typo: Fix AppServiceCertificateOrders.json (#2620) * Generated from d033f613f837a5bce9730a1fa0ad7ad25e9fba0d typo: Fix AppServiceCertificateOrders.json - Double word "to" - Successully -> Successfully - certitificate -> certificate * Generated from d033f613f837a5bce9730a1fa0ad7ad25e9fba0d typo: Fix AppServiceCertificateOrders.json - Double word "to" - Successully -> Successfully - certitificate -> certificate --- .../AppServiceCertificateOrdersInner.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersInner.java index c3ce78d1e1951..e14e3d20f1bf2 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServiceCertificateOrdersInner.java @@ -585,7 +585,7 @@ private ServiceResponse getByResourceGroupDeleg * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @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 @@ -601,7 +601,7 @@ public AppServiceCertificateOrderInner createOrUpdate(String resourceGroupName, * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -616,7 +616,7 @@ public ServiceFuture createOrUpdateAsync(String * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request */ @@ -635,7 +635,7 @@ public AppServiceCertificateOrderInner call(ServiceResponse> createOrUpda * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @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 @@ -682,7 +682,7 @@ public AppServiceCertificateOrderInner beginCreateOrUpdate(String resourceGroupN * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -697,7 +697,7 @@ public ServiceFuture beginCreateOrUpdateAsync(S * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the AppServiceCertificateOrderInner object */ @@ -716,7 +716,7 @@ public AppServiceCertificateOrderInner call(ServiceResponse deleteDelegate(Response response) th * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @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 @@ -871,7 +871,7 @@ public AppServiceCertificateOrderInner update(String resourceGroupName, String c * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -886,7 +886,7 @@ public ServiceFuture updateAsync(String resourc * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param certificateOrderName Name of the certificate order. - * @param certificateDistinguishedName Distinguished name to to use for the certificate order. + * @param certificateDistinguishedName Distinguished name to use for the certificate order. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the AppServiceCertificateOrderInner object */ @@ -905,7 +905,7 @@ public AppServiceCertificateOrderInner call(ServiceResponse Date: Mon, 10 Dec 2018 11:55:56 -0800 Subject: [PATCH 20/22] Generated from 44daf7f132856acd96b3c01f5ee2ca744b6ee897 (#2749) typo: web/resource-manager/Microsoft.DomainRegistration - Succesfully -> Successfully - identifider -> identifier - availablility -> availability --- .../implementation/DomainAvailablilityCheckResultInner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultInner.java index 5d34fbfce813c..b1948e56f1c39 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DomainAvailablilityCheckResultInner.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * Domain availablility check result. + * Domain availability check result. */ public class DomainAvailablilityCheckResultInner { /** From 6991c6bd22233a744db17d0684618bf7aa1d072c Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Mon, 17 Dec 2018 12:00:13 -0800 Subject: [PATCH 21/22] Generated from 0b6db23cb07bd170d9d26d2a338c526d4d9fc21e (#2796) typo: web/resource-manager/Microsoft.Web - nuget -> NuGet - mimuntes -> minutes - repesenting -> representing - souce -> source - containting -> containing - databses -> databases - inclue -> include - Priviledged -> Privileged --- .../v2016_03_01/CertificatePatchResource.java | 4 +- .../appservice/v2016_03_01/DataSource.java | 6 +- .../DetectorAbnormalTimePeriod.java | 12 +- .../appservice/v2016_03_01/SiteConfig.java | 6 +- .../v2016_03_01/ValidateRequest.java | 6 +- .../implementation/CertificateInner.java | 4 +- .../DiagnosticDetectorResponseInner.java | 2 +- .../implementation/RecommendationsInner.java | 8 +- .../ResourceNameAvailabilityInner.java | 2 +- .../appservice/v2016_08_01/SiteConfig.java | 6 +- .../appservice/v2016_08_01/WebApps.java | 8 +- .../CustomHostnameAnalysisResultInner.java | 4 +- .../implementation/DeploymentInner.java | 2 +- .../ProcessThreadInfoInner.java | 6 +- .../SiteConfigResourceInner.java | 6 +- .../implementation/WebAppsInner.java | 80 +++++----- .../v2016_09_01/AppServicePlans.java | 12 +- .../appservice/v2016_09_01/SiteConfig.java | 6 +- .../implementation/AppServicePlansInner.java | 144 +++++++++--------- .../v2018_02_01/AppServicePlans.java | 12 +- .../v2018_02_01/CertificatePatchResource.java | 4 +- .../appservice/v2018_02_01/DataSource.java | 6 +- .../DetectorAbnormalTimePeriod.java | 12 +- .../appservice/v2018_02_01/SiteConfig.java | 6 +- .../v2018_02_01/ValidateRequest.java | 6 +- .../implementation/AppServicePlansInner.java | 144 +++++++++--------- .../implementation/CertificateInner.java | 4 +- .../implementation/CsmUsageQuotaInner.java | 6 +- .../CustomHostnameAnalysisResultInner.java | 4 +- .../implementation/DeploymentInner.java | 2 +- .../DiagnosticDetectorResponseInner.java | 2 +- .../ProcessThreadInfoInner.java | 6 +- .../implementation/RecommendationInner.java | 8 +- .../implementation/RecommendationsInner.java | 8 +- .../ResourceNameAvailabilityInner.java | 2 +- .../SiteConfigResourceInner.java | 6 +- 36 files changed, 281 insertions(+), 281 deletions(-) diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CertificatePatchResource.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CertificatePatchResource.java index 6e3ceea405579..af8fe8b6b6330 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CertificatePatchResource.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/CertificatePatchResource.java @@ -67,7 +67,7 @@ public class CertificatePatchResource extends ProxyOnlyResource { private DateTime issueDate; /** - * Certificate expriration date. + * Certificate expiration date. */ @JsonProperty(value = "properties.expirationDate", access = JsonProperty.Access.WRITE_ONLY) private DateTime expirationDate; @@ -240,7 +240,7 @@ public DateTime issueDate() { } /** - * Get certificate expriration date. + * Get certificate expiration date. * * @return the expirationDate value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataSource.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataSource.java index 4d3b96de50d7a..a78701a64a75c 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataSource.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DataSource.java @@ -16,7 +16,7 @@ */ public class DataSource { /** - * Instrunctions if any for the data source. + * Instructions if any for the data source. */ @JsonProperty(value = "instructions") private List instructions; @@ -28,7 +28,7 @@ public class DataSource { private List dataSourceUri; /** - * Get instrunctions if any for the data source. + * Get instructions if any for the data source. * * @return the instructions value */ @@ -37,7 +37,7 @@ public List instructions() { } /** - * Set instrunctions if any for the data source. + * Set instructions if any for the data source. * * @param instructions the instructions value to set * @return the DataSource object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorAbnormalTimePeriod.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorAbnormalTimePeriod.java index 40cf02fdda109..4ceffdf8ec074 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorAbnormalTimePeriod.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/DetectorAbnormalTimePeriod.java @@ -17,13 +17,13 @@ */ public class DetectorAbnormalTimePeriod { /** - * Start time of the corelated event. + * Start time of the correlated event. */ @JsonProperty(value = "startTime") private DateTime startTime; /** - * End time of the corelated event. + * End time of the correlated event. */ @JsonProperty(value = "endTime") private DateTime endTime; @@ -67,7 +67,7 @@ public class DetectorAbnormalTimePeriod { private List solutions; /** - * Get start time of the corelated event. + * Get start time of the correlated event. * * @return the startTime value */ @@ -76,7 +76,7 @@ public DateTime startTime() { } /** - * Set start time of the corelated event. + * Set start time of the correlated event. * * @param startTime the startTime value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -87,7 +87,7 @@ public DetectorAbnormalTimePeriod withStartTime(DateTime startTime) { } /** - * Get end time of the corelated event. + * Get end time of the correlated event. * * @return the endTime value */ @@ -96,7 +96,7 @@ public DateTime endTime() { } /** - * Set end time of the corelated event. + * Set end time of the correlated event. * * @param endTime the endTime value to set * @return the DetectorAbnormalTimePeriod object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteConfig.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteConfig.java index 846c69c7f4e31..bb2fa459c67bf 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteConfig.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/SiteConfig.java @@ -214,7 +214,7 @@ public class SiteConfig { private SiteLoadBalancing loadBalancing; /** - * This is work around for polymophic types. + * This is work around for polymorphic types. */ @JsonProperty(value = "experiments") private Experiments experiments; @@ -911,7 +911,7 @@ public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { } /** - * Get this is work around for polymophic types. + * Get this is work around for polymorphic types. * * @return the experiments value */ @@ -920,7 +920,7 @@ public Experiments experiments() { } /** - * Set this is work around for polymophic types. + * Set this is work around for polymorphic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateRequest.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateRequest.java index a8e7e08557034..e7d313a1a52f1 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateRequest.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/ValidateRequest.java @@ -62,7 +62,7 @@ public class ValidateRequest { private Boolean isSpot; /** - * Target capacity of the App Service plan (number of VM's). + * Target capacity of the App Service plan (number of VMs). */ @JsonProperty(value = "properties.capacity") private Integer capacity; @@ -215,7 +215,7 @@ public ValidateRequest withIsSpot(Boolean isSpot) { } /** - * Get target capacity of the App Service plan (number of VM's). + * Get target capacity of the App Service plan (number of VMs). * * @return the capacity value */ @@ -224,7 +224,7 @@ public Integer capacity() { } /** - * Set target capacity of the App Service plan (number of VM's). + * Set target capacity of the App Service plan (number of VMs). * * @param capacity the capacity value to set * @return the ValidateRequest object itself. diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateInner.java index b1e2a289e7808..d306881e9f0cd 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/CertificateInner.java @@ -70,7 +70,7 @@ public class CertificateInner extends Resource { private DateTime issueDate; /** - * Certificate expriration date. + * Certificate expiration date. */ @JsonProperty(value = "properties.expirationDate", access = JsonProperty.Access.WRITE_ONLY) private DateTime expirationDate; @@ -249,7 +249,7 @@ public DateTime issueDate() { } /** - * Get certificate expriration date. + * Get certificate expiration date. * * @return the expirationDate value */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticDetectorResponseInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticDetectorResponseInner.java index a9d6369803f3f..b9b70bca4983d 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticDetectorResponseInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/DiagnosticDetectorResponseInner.java @@ -19,7 +19,7 @@ import com.microsoft.azure.management.appservice.v2016_03_01.ProxyOnlyResource; /** - * Class representing Reponse from Diagnostic Detectors. + * Class representing Response from Diagnostic Detectors. */ @JsonFlatten public class DiagnosticDetectorResponseInner extends ProxyOnlyResource { diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationsInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationsInner.java index 8335669b3342b..3aef0dc212f38 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationsInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/RecommendationsInner.java @@ -1288,7 +1288,7 @@ public Observable> call(Response getRuleDetailsByWebAppAsync(String * @param siteName Name of the app. * @param name Name of the recommendation. * @param updateSeen Specify <code>true</code> to update the last-seen timestamp of the recommendation object. - * @param recommendationId The GUID of the recommedation object if you query an expired one. You don't need to specify it to query an active entry. + * @param recommendationId The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the RecommendationRuleInner object */ @@ -1344,7 +1344,7 @@ public RecommendationRuleInner call(ServiceResponse res * @param siteName Name of the app. * @param name Name of the recommendation. * @param updateSeen Specify <code>true</code> to update the last-seen timestamp of the recommendation object. - * @param recommendationId The GUID of the recommedation object if you query an expired one. You don't need to specify it to query an active entry. + * @param recommendationId The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the RecommendationRuleInner object */ diff --git a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceNameAvailabilityInner.java b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceNameAvailabilityInner.java index 950a8b3962cf9..21e1c1e7b8059 100644 --- a/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceNameAvailabilityInner.java +++ b/appservice/resource-manager/v2016_03_01/src/main/java/com/microsoft/azure/management/appservice/v2016_03_01/implementation/ResourceNameAvailabilityInner.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * Information regarding availbility of a resource name. + * Information regarding availability of a resource name. */ public class ResourceNameAvailabilityInner { /** diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfig.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfig.java index c4b5f1cb5a6b0..94d502295d245 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfig.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/SiteConfig.java @@ -215,7 +215,7 @@ public class SiteConfig { private SiteLoadBalancing loadBalancing; /** - * This is work around for polymophic types. + * This is work around for polymorphic types. */ @JsonProperty(value = "experiments") private Experiments experiments; @@ -912,7 +912,7 @@ public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { } /** - * Get this is work around for polymophic types. + * Get this is work around for polymorphic types. * * @return the experiments value */ @@ -921,7 +921,7 @@ public Experiments experiments() { } /** - * Set this is work around for polymophic types. + * Set this is work around for polymorphic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebApps.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebApps.java index 5543125601311..109fc4c251420 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebApps.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/WebApps.java @@ -2715,8 +2715,8 @@ public interface WebApps { Observable getSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId); /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -2738,8 +2738,8 @@ public interface WebApps { Completable deleteSiteExtensionAsync(String resourceGroupName, String name, String siteExtensionId); /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultInner.java index aad5c2e0735d9..e27497df6e52b 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/CustomHostnameAnalysisResultInner.java @@ -48,7 +48,7 @@ public class CustomHostnameAnalysisResultInner extends ProxyOnlyResource { private Boolean hasConflictOnScaleUnit; /** - * <code>true</code> if htere is a conflict across + * <code>true</code> if there is a conflict across * subscriptions; otherwise, <code>false</code>. */ @JsonProperty(value = "properties.hasConflictAcrossSubscription", access = JsonProperty.Access.WRITE_ONLY) @@ -128,7 +128,7 @@ public Boolean hasConflictOnScaleUnit() { } /** - * Get <code>true</code> if htere is a conflict across subscriptions; otherwise, <code>false</code>. + * Get <code>true</code> if there is a conflict across subscriptions; otherwise, <code>false</code>. * * @return the hasConflictAcrossSubscription value */ diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/DeploymentInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/DeploymentInner.java index d2489505e2eeb..9aa0189aad117 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/DeploymentInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/DeploymentInner.java @@ -14,7 +14,7 @@ import com.microsoft.azure.management.appservice.v2016_08_01.ProxyOnlyResource; /** - * User crendentials used for publishing activity. + * User credentials used for publishing activity. */ @JsonFlatten public class DeploymentInner extends ProxyOnlyResource { diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessThreadInfoInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessThreadInfoInner.java index 1594cd5de3616..6750e5c5c4011 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessThreadInfoInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/ProcessThreadInfoInner.java @@ -79,7 +79,7 @@ public class ProcessThreadInfoInner extends ProxyOnlyResource { private String userProcessorTime; /** - * Priviledged processor time. + * Privileged processor time. */ @JsonProperty(value = "properties.priviledgedProcessorTime") private String priviledgedProcessorTime; @@ -297,7 +297,7 @@ public ProcessThreadInfoInner withUserProcessorTime(String userProcessorTime) { } /** - * Get priviledged processor time. + * Get privileged processor time. * * @return the priviledgedProcessorTime value */ @@ -306,7 +306,7 @@ public String priviledgedProcessorTime() { } /** - * Set priviledged processor time. + * Set privileged processor time. * * @param priviledgedProcessorTime the priviledgedProcessorTime value to set * @return the ProcessThreadInfoInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceInner.java index 71b3c83436abc..80c21607043e1 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/SiteConfigResourceInner.java @@ -232,7 +232,7 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { private SiteLoadBalancing loadBalancing; /** - * This is work around for polymophic types. + * This is work around for polymorphic types. */ @JsonProperty(value = "properties.experiments") private Experiments experiments; @@ -929,7 +929,7 @@ public SiteConfigResourceInner withLoadBalancing(SiteLoadBalancing loadBalancing } /** - * Get this is work around for polymophic types. + * Get this is work around for polymorphic types. * * @return the experiments value */ @@ -938,7 +938,7 @@ public Experiments experiments() { } /** - * Set this is work around for polymophic types. + * Set this is work around for polymorphic types. * * @param experiments the experiments value to set * @return the SiteConfigResourceInner object itself. diff --git a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebAppsInner.java index be4930961633b..a98a6ff7b2226 100644 --- a/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2016_08_01/src/main/java/com/microsoft/azure/management/appservice/v2016_08_01/implementation/WebAppsInner.java @@ -16181,8 +16181,8 @@ private ServiceResponse restartDelegate(Response response) t } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -16202,8 +16202,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -16224,8 +16224,8 @@ public Observable>> call(String nex } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -16243,8 +16243,8 @@ public Page call(ServiceResponse>> 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. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions 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. @@ -31760,8 +31760,8 @@ private ServiceResponse restartSlotDelegate(Response respons } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -31782,8 +31782,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -31805,8 +31805,8 @@ public Observable>> call(String nex } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Site name. @@ -31825,8 +31825,8 @@ public Page call(ServiceResponse>> 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. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions 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. @@ -41420,8 +41420,8 @@ private ServiceResponse> listPublicCertificates } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -41440,8 +41440,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls @@ -41462,8 +41462,8 @@ public Observable>> call(String nex } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -41480,8 +41480,8 @@ public Page call(ServiceResponse>> 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. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -43864,8 +43864,8 @@ private ServiceResponse> listPublicCertificates } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -43884,8 +43884,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls @@ -43906,8 +43906,8 @@ public Observable>> call(String nex } /** - * Get list of siteextensions for a web site, or a deployment slot. - * Get list of siteextensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -43924,8 +43924,8 @@ public Page call(ServiceResponse>> 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. + * Get list of site extensions for a web site, or a deployment slot. + * Get list of site extensions for a web site, or a deployment slot. * ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlans.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlans.java index 95c3ec35ab877..40430947f0afe 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlans.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/AppServicePlans.java @@ -60,8 +60,8 @@ public interface AppServicePlans { Observable listByResourceGroupAsync(String resourceGroupName); /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request @@ -91,8 +91,8 @@ public interface AppServicePlans { Completable restartWebAppsAsync(String resourceGroupName, String name); /** - * Gets all selectable sku's for a given App Service Plan. - * Gets all selectable sku's for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan @@ -198,8 +198,8 @@ public interface AppServicePlans { Observable listMetricDefintionsAsync(final String resourceGroupName, final String name); /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteConfig.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteConfig.java index c35a0f6a70309..2e43f4ebe3e43 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteConfig.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/SiteConfig.java @@ -214,7 +214,7 @@ public class SiteConfig { private SiteLoadBalancing loadBalancing; /** - * This is work around for polymophic types. + * This is work around for polymorphic types. */ @JsonProperty(value = "experiments") private Experiments experiments; @@ -911,7 +911,7 @@ public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { } /** - * Get this is work around for polymophic types. + * Get this is work around for polymorphic types. * * @return the experiments value */ @@ -920,7 +920,7 @@ public Experiments experiments() { } /** - * Set this is work around for polymophic types. + * Set this is work around for polymorphic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. diff --git a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlansInner.java b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlansInner.java index cf68e6546d8bf..93fd9b6ca9a3d 100644 --- a/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlansInner.java +++ b/appservice/resource-manager/v2016_09_01/src/main/java/com/microsoft/azure/management/appservice/v2016_09_01/implementation/AppServicePlansInner.java @@ -222,8 +222,8 @@ interface AppServicePlansService { } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @throws CloudException thrown if the request is rejected by server @@ -241,8 +241,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -261,8 +261,8 @@ public Observable>> call(String nextPa } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<AppServicePlanInner> object @@ -278,8 +278,8 @@ public Page call(ServiceResponse> } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<AppServicePlanInner> object @@ -299,8 +299,8 @@ public Observable>> call(ServiceRespon } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<AppServicePlanInner> object wrapped in {@link ServiceResponse} if successful. @@ -328,8 +328,8 @@ public Observable>> call(Response nextPage(String nextPageLink) { } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency. @@ -371,8 +371,8 @@ public Observable>> call(String nextPa } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency. @@ -390,8 +390,8 @@ public Page call(ServiceResponse> } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency. @@ -413,8 +413,8 @@ public Observable>> call(ServiceRespon } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * ServiceResponse> * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency. @@ -1922,8 +1922,8 @@ private ServiceResponse> listMetricDefin } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1943,8 +1943,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1965,8 +1965,8 @@ public Observable>> call(String nextPa } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1984,8 +1984,8 @@ public Page call(ServiceResponse> } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2007,8 +2007,8 @@ public Observable>> call(ServiceRespon } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2045,8 +2045,8 @@ public Observable>> call(Response nextPage(String nextPageLink) { } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2092,8 +2092,8 @@ public Observable>> call(String nextPa } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2113,8 +2113,8 @@ public Page call(ServiceResponse> } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2138,8 +2138,8 @@ public Observable>> call(ServiceRespon } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. ServiceResponse> * @param name Name of the App Service plan. @@ -2271,7 +2271,7 @@ public Observable> call(Response response) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. - * @param softRestart Specify <code>true</code> to performa a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps + * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps * @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 @@ -2286,7 +2286,7 @@ public void restartWebApps(String resourceGroupName, String name, Boolean softRe * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. - * @param softRestart Specify <code>true</code> to performa a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps + * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -2301,7 +2301,7 @@ public ServiceFuture restartWebAppsAsync(String resourceGroupName, String * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. - * @param softRestart Specify <code>true</code> to performa a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps + * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -2320,7 +2320,7 @@ public Void call(ServiceResponse response) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. - * @param softRestart Specify <code>true</code> to performa a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps + * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -2626,8 +2626,8 @@ private ServiceResponse> listWebAppsDelegate(Response getServerFarmSkusAsync(String resourceGroupName, St } /** - * Gets all selectable sku's for a given App Service Plan. - * Gets all selectable sku's for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan @@ -2673,8 +2673,8 @@ public Object call(ServiceResponse response) { } /** - * Gets all selectable sku's for a given App Service Plan. - * Gets all selectable sku's for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan @@ -4005,8 +4005,8 @@ private ServiceResponse rebootWorkerDelegate(Response respon } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4025,8 +4025,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls @@ -4047,8 +4047,8 @@ public Observable>> call(String nextPa } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4065,8 +4065,8 @@ public Page call(ServiceResponse> } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4087,8 +4087,8 @@ public Observable>> call(ServiceRespon } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4585,8 +4585,8 @@ private ServiceResponse> listMetricDefin } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4605,8 +4605,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls @@ -4627,8 +4627,8 @@ public Observable>> call(String nextPa } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4645,8 +4645,8 @@ public Page call(ServiceResponse> } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4667,8 +4667,8 @@ public Observable>> call(ServiceRespon } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlans.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlans.java index 3cbd43a299c2d..c10af920eee34 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlans.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/AppServicePlans.java @@ -60,8 +60,8 @@ public interface AppServicePlans { Observable listByResourceGroupAsync(String resourceGroupName); /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable for the request @@ -91,8 +91,8 @@ public interface AppServicePlans { Completable restartWebAppsAsync(String resourceGroupName, String name); /** - * Gets all selectable sku's for a given App Service Plan. - * Gets all selectable sku's for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan @@ -198,8 +198,8 @@ public interface AppServicePlans { Observable listMetricDefintionsAsync(final String resourceGroupName, final String name); /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificatePatchResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificatePatchResource.java index 61bca650c9319..3d36a1771fc16 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificatePatchResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CertificatePatchResource.java @@ -67,7 +67,7 @@ public class CertificatePatchResource extends ProxyOnlyResource { private DateTime issueDate; /** - * Certificate expriration date. + * Certificate expiration date. */ @JsonProperty(value = "properties.expirationDate", access = JsonProperty.Access.WRITE_ONLY) private DateTime expirationDate; @@ -234,7 +234,7 @@ public DateTime issueDate() { } /** - * Get certificate expriration date. + * Get certificate expiration date. * * @return the expirationDate value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataSource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataSource.java index 6f7ed3d7faa87..f5d799abaa9d1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataSource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DataSource.java @@ -16,7 +16,7 @@ */ public class DataSource { /** - * Instrunctions if any for the data source. + * Instructions if any for the data source. */ @JsonProperty(value = "instructions") private List instructions; @@ -28,7 +28,7 @@ public class DataSource { private List dataSourceUri; /** - * Get instrunctions if any for the data source. + * Get instructions if any for the data source. * * @return the instructions value */ @@ -37,7 +37,7 @@ public List instructions() { } /** - * Set instrunctions if any for the data source. + * Set instructions if any for the data source. * * @param instructions the instructions value to set * @return the DataSource object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorAbnormalTimePeriod.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorAbnormalTimePeriod.java index de1acd01f3c18..a38a45ea112a3 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorAbnormalTimePeriod.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/DetectorAbnormalTimePeriod.java @@ -17,13 +17,13 @@ */ public class DetectorAbnormalTimePeriod { /** - * Start time of the corelated event. + * Start time of the correlated event. */ @JsonProperty(value = "startTime") private DateTime startTime; /** - * End time of the corelated event. + * End time of the correlated event. */ @JsonProperty(value = "endTime") private DateTime endTime; @@ -67,7 +67,7 @@ public class DetectorAbnormalTimePeriod { private List solutions; /** - * Get start time of the corelated event. + * Get start time of the correlated event. * * @return the startTime value */ @@ -76,7 +76,7 @@ public DateTime startTime() { } /** - * Set start time of the corelated event. + * Set start time of the correlated event. * * @param startTime the startTime value to set * @return the DetectorAbnormalTimePeriod object itself. @@ -87,7 +87,7 @@ public DetectorAbnormalTimePeriod withStartTime(DateTime startTime) { } /** - * Get end time of the corelated event. + * Get end time of the correlated event. * * @return the endTime value */ @@ -96,7 +96,7 @@ public DateTime endTime() { } /** - * Set end time of the corelated event. + * Set end time of the correlated event. * * @param endTime the endTime value to set * @return the DetectorAbnormalTimePeriod object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java index c36b338ac1476..9743a148ca31c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java @@ -228,7 +228,7 @@ public class SiteConfig { private SiteLoadBalancing loadBalancing; /** - * This is work around for polymophic types. + * This is work around for polymorphic types. */ @JsonProperty(value = "experiments") private Experiments experiments; @@ -991,7 +991,7 @@ public SiteConfig withLoadBalancing(SiteLoadBalancing loadBalancing) { } /** - * Get this is work around for polymophic types. + * Get this is work around for polymorphic types. * * @return the experiments value */ @@ -1000,7 +1000,7 @@ public Experiments experiments() { } /** - * Set this is work around for polymophic types. + * Set this is work around for polymorphic types. * * @param experiments the experiments value to set * @return the SiteConfig object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java index 723652a3d303b..763aa946e3175 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ValidateRequest.java @@ -62,7 +62,7 @@ public class ValidateRequest { private Boolean isSpot; /** - * Target capacity of the App Service plan (number of VM's). + * Target capacity of the App Service plan (number of VMs). */ @JsonProperty(value = "properties.capacity") private Integer capacity; @@ -222,7 +222,7 @@ public ValidateRequest withIsSpot(Boolean isSpot) { } /** - * Get target capacity of the App Service plan (number of VM's). + * Get target capacity of the App Service plan (number of VMs). * * @return the capacity value */ @@ -231,7 +231,7 @@ public Integer capacity() { } /** - * Set target capacity of the App Service plan (number of VM's). + * Set target capacity of the App Service plan (number of VMs). * * @param capacity the capacity value to set * @return the ValidateRequest object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansInner.java index 0ecf78418924f..dff2145b7c77e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/AppServicePlansInner.java @@ -223,8 +223,8 @@ interface AppServicePlansService { } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @throws DefaultErrorResponseException thrown if the request is rejected by server @@ -242,8 +242,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -262,8 +262,8 @@ public Observable>> call(String nextPa } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<AppServicePlanInner> object @@ -279,8 +279,8 @@ public Page call(ServiceResponse> } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the PagedList<AppServicePlanInner> object @@ -300,8 +300,8 @@ public Observable>> call(ServiceRespon } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @throws IllegalArgumentException thrown if parameters fail the validation * @return the PagedList<AppServicePlanInner> object wrapped in {@link ServiceResponse} if successful. @@ -329,8 +329,8 @@ public Observable>> call(Response nextPage(String nextPageLink) { } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency. @@ -372,8 +372,8 @@ public Observable>> call(String nextPa } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency. @@ -391,8 +391,8 @@ public Page call(ServiceResponse> } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency. @@ -414,8 +414,8 @@ public Observable>> call(ServiceRespon } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * ServiceResponse> * @param detailed Specify <code>true</code> to return all App Service plan properties. The default is <code>false</code>, which returns a subset of the properties. Retrieval of all properties may increase the API latency. @@ -1923,8 +1923,8 @@ private ServiceResponse> listMetricDefin } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1944,8 +1944,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1966,8 +1966,8 @@ public Observable>> call(String nextPa } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -1985,8 +1985,8 @@ public Page call(ServiceResponse> } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2008,8 +2008,8 @@ public Observable>> call(ServiceRespon } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2046,8 +2046,8 @@ public Observable>> call(Response nextPage(String nextPageLink) { } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2093,8 +2093,8 @@ public Observable>> call(String nextPa } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2114,8 +2114,8 @@ public Page call(ServiceResponse> } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. @@ -2139,8 +2139,8 @@ public Observable>> call(ServiceRespon } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * ServiceResponse> * @param resourceGroupName Name of the resource group to which the resource belongs. ServiceResponse> * @param name Name of the App Service plan. @@ -2272,7 +2272,7 @@ public Observable> call(Response response) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. - * @param softRestart Specify <code>true</code> to performa a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps + * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps * @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 @@ -2287,7 +2287,7 @@ public void restartWebApps(String resourceGroupName, String name, Boolean softRe * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. - * @param softRestart Specify <code>true</code> to performa a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps + * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps * @param serviceCallback the async ServiceCallback to handle successful and failed responses. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceFuture} object @@ -2302,7 +2302,7 @@ public ServiceFuture restartWebAppsAsync(String resourceGroupName, String * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. - * @param softRestart Specify <code>true</code> to performa a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps + * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -2321,7 +2321,7 @@ public Void call(ServiceResponse response) { * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of the App Service plan. - * @param softRestart Specify <code>true</code> to performa a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps + * @param softRestart Specify <code>true</code> to perform a soft restart, applies the configuration settings and restarts the apps if necessary. The default is <code>false</code>, which always restarts and reprovisions the apps * @throws IllegalArgumentException thrown if parameters fail the validation * @return the {@link ServiceResponse} object if successful. */ @@ -2627,8 +2627,8 @@ private ServiceResponse> listWebAppsDelegate(Response getServerFarmSkusAsync(String resourceGroupName, St } /** - * Gets all selectable sku's for a given App Service Plan. - * Gets all selectable sku's for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan @@ -2674,8 +2674,8 @@ public Object call(ServiceResponse response) { } /** - * Gets all selectable sku's for a given App Service Plan. - * Gets all selectable sku's for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. + * Gets all selectable SKUs for a given App Service Plan. * * @param resourceGroupName Name of the resource group to which the resource belongs. * @param name Name of App Service Plan @@ -4006,8 +4006,8 @@ private ServiceResponse rebootWorkerDelegate(Response respon } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4026,8 +4026,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls @@ -4048,8 +4048,8 @@ public Observable>> call(String nextPa } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4066,8 +4066,8 @@ public Page call(ServiceResponse> } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4088,8 +4088,8 @@ public Observable>> call(ServiceRespon } /** - * Get all App Service plans for a subcription. - * Get all App Service plans for a subcription. + * Get all App Service plans for a subscription. + * Get all App Service plans for a subscription. * ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4586,8 +4586,8 @@ private ServiceResponse> listMetricDefin } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4606,8 +4606,8 @@ public Page nextPage(String nextPageLink) { } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @param serviceFuture the ServiceFuture object tracking the Retrofit calls @@ -4628,8 +4628,8 @@ public Observable>> call(String nextPa } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4646,8 +4646,8 @@ public Page call(ServiceResponse> } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation @@ -4668,8 +4668,8 @@ public Observable>> call(ServiceRespon } /** - * Get metrics for an App Serice plan. - * Get metrics for an App Serice plan. + * Get metrics for an App Service plan. + * Get metrics for an App Service plan. * ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. * @throws IllegalArgumentException thrown if parameters fail the validation diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateInner.java index d7834c91158ab..b33a9ecb33bc4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CertificateInner.java @@ -70,7 +70,7 @@ public class CertificateInner extends Resource { private DateTime issueDate; /** - * Certificate expriration date. + * Certificate expiration date. */ @JsonProperty(value = "properties.expirationDate", access = JsonProperty.Access.WRITE_ONLY) private DateTime expirationDate; @@ -243,7 +243,7 @@ public DateTime issueDate() { } /** - * Get certificate expriration date. + * Get certificate expiration date. * * @return the expirationDate value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmUsageQuotaInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmUsageQuotaInner.java index 296e3dfa4f072..0391e6a6ff23e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmUsageQuotaInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CsmUsageQuotaInner.java @@ -17,7 +17,7 @@ */ public class CsmUsageQuotaInner { /** - * Units of measurement for the quota resourse. + * Units of measurement for the quota resource. */ @JsonProperty(value = "unit") private String unit; @@ -47,7 +47,7 @@ public class CsmUsageQuotaInner { private LocalizableString name; /** - * Get units of measurement for the quota resourse. + * Get units of measurement for the quota resource. * * @return the unit value */ @@ -56,7 +56,7 @@ public String unit() { } /** - * Set units of measurement for the quota resourse. + * Set units of measurement for the quota resource. * * @param unit the unit value to set * @return the CsmUsageQuotaInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultInner.java index 562422ac933fa..840b8b11bbc07 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/CustomHostnameAnalysisResultInner.java @@ -48,7 +48,7 @@ public class CustomHostnameAnalysisResultInner extends ProxyOnlyResource { private Boolean hasConflictOnScaleUnit; /** - * <code>true</code> if htere is a conflict across + * <code>true</code> if there is a conflict across * subscriptions; otherwise, <code>false</code>. */ @JsonProperty(value = "properties.hasConflictAcrossSubscription", access = JsonProperty.Access.WRITE_ONLY) @@ -128,7 +128,7 @@ public Boolean hasConflictOnScaleUnit() { } /** - * Get <code>true</code> if htere is a conflict across subscriptions; otherwise, <code>false</code>. + * Get <code>true</code> if there is a conflict across subscriptions; otherwise, <code>false</code>. * * @return the hasConflictAcrossSubscription value */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentInner.java index 94c308c2cab53..582059f46d7b6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DeploymentInner.java @@ -14,7 +14,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ProxyOnlyResource; /** - * User crendentials used for publishing activity. + * User credentials used for publishing activity. */ @JsonFlatten public class DeploymentInner extends ProxyOnlyResource { diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticDetectorResponseInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticDetectorResponseInner.java index adf77e6763f9f..793551a71b3ca 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticDetectorResponseInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/DiagnosticDetectorResponseInner.java @@ -19,7 +19,7 @@ import com.microsoft.azure.management.appservice.v2018_02_01.ProxyOnlyResource; /** - * Class representing Reponse from Diagnostic Detectors. + * Class representing Response from Diagnostic Detectors. */ @JsonFlatten public class DiagnosticDetectorResponseInner extends ProxyOnlyResource { diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessThreadInfoInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessThreadInfoInner.java index ef2fba938a51b..d25531c214ca5 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessThreadInfoInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ProcessThreadInfoInner.java @@ -79,7 +79,7 @@ public class ProcessThreadInfoInner extends ProxyOnlyResource { private String userProcessorTime; /** - * Priviledged processor time. + * Privileged processor time. */ @JsonProperty(value = "properties.priviledged_processor_time") private String priviledgedProcessorTime; @@ -286,7 +286,7 @@ public ProcessThreadInfoInner withUserProcessorTime(String userProcessorTime) { } /** - * Get priviledged processor time. + * Get privileged processor time. * * @return the priviledgedProcessorTime value */ @@ -295,7 +295,7 @@ public String priviledgedProcessorTime() { } /** - * Set priviledged processor time. + * Set privileged processor time. * * @param priviledgedProcessorTime the priviledgedProcessorTime value to set * @return the ProcessThreadInfoInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationInner.java index d14a48c3dd4b4..eb581e412dd8b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationInner.java @@ -103,8 +103,8 @@ public class RecommendationInner extends ProxyOnlyResource { private Integer enabled; /** - * The list of states of this recommendation. If it's null then it shoud be - * considered "Active". + * The list of states of this recommendation. If it's null then it should + * be considered "Active". */ @JsonProperty(value = "properties.states") private List states; @@ -401,7 +401,7 @@ public RecommendationInner withEnabled(Integer enabled) { } /** - * Get the list of states of this recommendation. If it's null then it shoud be considered "Active". + * Get the list of states of this recommendation. If it's null then it should be considered "Active". * * @return the states value */ @@ -410,7 +410,7 @@ public List states() { } /** - * Set the list of states of this recommendation. If it's null then it shoud be considered "Active". + * Set the list of states of this recommendation. If it's null then it should be considered "Active". * * @param states the states value to set * @return the RecommendationInner object itself. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsInner.java index 3e508d09cfc57..f032d728b5a25 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/RecommendationsInner.java @@ -1295,7 +1295,7 @@ public Observable> call(Response getRuleDetailsByWebAppAsync(String * @param siteName Name of the app. * @param name Name of the recommendation. * @param updateSeen Specify <code>true</code> to update the last-seen timestamp of the recommendation object. - * @param recommendationId The GUID of the recommedation object if you query an expired one. You don't need to specify it to query an active entry. + * @param recommendationId The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the RecommendationRuleInner object */ @@ -1351,7 +1351,7 @@ public RecommendationRuleInner call(ServiceResponse res * @param siteName Name of the app. * @param name Name of the recommendation. * @param updateSeen Specify <code>true</code> to update the last-seen timestamp of the recommendation object. - * @param recommendationId The GUID of the recommedation object if you query an expired one. You don't need to specify it to query an active entry. + * @param recommendationId The GUID of the recommendation object if you query an expired one. You don't need to specify it to query an active entry. * @throws IllegalArgumentException thrown if parameters fail the validation * @return the observable to the RecommendationRuleInner object */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceNameAvailabilityInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceNameAvailabilityInner.java index 43b4e17c7785c..58d270ec2413c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceNameAvailabilityInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ResourceNameAvailabilityInner.java @@ -12,7 +12,7 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * Information regarding availbility of a resource name. + * Information regarding availability of a resource name. */ public class ResourceNameAvailabilityInner { /** diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java index 647109a1712d6..abc2b6e86294f 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java @@ -247,7 +247,7 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { private SiteLoadBalancing loadBalancing; /** - * This is work around for polymophic types. + * This is work around for polymorphic types. */ @JsonProperty(value = "properties.experiments") private Experiments experiments; @@ -1010,7 +1010,7 @@ public SiteConfigResourceInner withLoadBalancing(SiteLoadBalancing loadBalancing } /** - * Get this is work around for polymophic types. + * Get this is work around for polymorphic types. * * @return the experiments value */ @@ -1019,7 +1019,7 @@ public Experiments experiments() { } /** - * Set this is work around for polymophic types. + * Set this is work around for polymorphic types. * * @param experiments the experiments value to set * @return the SiteConfigResourceInner object itself. From 26a74c1e7cb776c0d76fb40b9a6d9870ffcae403 Mon Sep 17 00:00:00 2001 From: Azure SDK for Python bot Date: Fri, 25 Jan 2019 16:49:16 -0800 Subject: [PATCH 22/22] Generated from 8c4e148ed99d994bf5edf99681be21e0964721da (#2858) typo: web/resource-manager/Microsoft.Web/stable/2018-02-01/WebApps.json - certifite -> certificate --- .../appservice/v2018_02_01/CorsSettings.java | 32 ++++++++++ .../v2018_02_01/ServerfarmVnetInfo.java | 5 ++ .../v2018_02_01/SiteAuthSettings.java | 5 ++ .../appservice/v2018_02_01/SiteConfig.java | 58 ++++++++++++++++++- .../v2018_02_01/SiteConfigResource.java | 10 ++++ .../appservice/v2018_02_01/SiteVnetInfo.java | 29 +++++++++- .../v2018_02_01/StackMajorVersion.java | 27 +++++++++ .../ServerfarmVnetInfoImpl.java | 5 ++ .../implementation/SiteAuthSettingsImpl.java | 5 ++ .../implementation/SiteAuthSettingsInner.java | 30 ++++++++++ .../SiteConfigResourceImpl.java | 10 ++++ .../SiteConfigResourceInner.java | 58 ++++++++++++++++++- .../implementation/SiteVnetInfoImpl.java | 11 ++++ .../implementation/VnetInfoInner.java | 26 +++++++++ .../implementation/WebAppsInner.java | 16 ++--- 15 files changed, 311 insertions(+), 16 deletions(-) diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CorsSettings.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CorsSettings.java index fa7d031a3c4e9..da8bc91cb228e 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CorsSettings.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/CorsSettings.java @@ -23,6 +23,14 @@ public class CorsSettings { @JsonProperty(value = "allowedOrigins") private List allowedOrigins; + /** + * Gets or sets whether CORS requests with credentials are allowed. See + * https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials + * for more details. + */ + @JsonProperty(value = "supportCredentials") + private Boolean supportCredentials; + /** * Get gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. @@ -45,4 +53,28 @@ public CorsSettings withAllowedOrigins(List allowedOrigins) { return this; } + /** + * Get gets or sets whether CORS requests with credentials are allowed. See + https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials + for more details. + * + * @return the supportCredentials value + */ + public Boolean supportCredentials() { + return this.supportCredentials; + } + + /** + * Set gets or sets whether CORS requests with credentials are allowed. See + https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials + for more details. + * + * @param supportCredentials the supportCredentials value to set + * @return the CorsSettings object itself. + */ + public CorsSettings withSupportCredentials(Boolean supportCredentials) { + this.supportCredentials = supportCredentials; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java index 675e1c498855f..2cdea9007e60c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/ServerfarmVnetInfo.java @@ -40,6 +40,11 @@ public interface ServerfarmVnetInfo extends HasInner, Indexable, */ String id(); + /** + * @return the isSwift value. + */ + Boolean isSwift(); + /** * @return the kind value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java index 66d42e5456c25..1a0f191aa5fa1 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteAuthSettings.java @@ -43,6 +43,11 @@ public interface SiteAuthSettings extends HasInner, HasMa */ String clientSecret(); + /** + * @return the clientSecretCertificateThumbprint value. + */ + String clientSecretCertificateThumbprint(); + /** * @return the defaultProvider value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java index 9743a148ca31c..1f64a16a76cab 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfig.java @@ -308,11 +308,23 @@ public class SiteConfig { private Integer xManagedServiceIdentityId; /** - * IP security restrictions. + * IP security restrictions for main. */ @JsonProperty(value = "ipSecurityRestrictions") private List ipSecurityRestrictions; + /** + * IP security restrictions for scm. + */ + @JsonProperty(value = "scmIpSecurityRestrictions") + private List scmIpSecurityRestrictions; + + /** + * IP security restrictions for scm to use main. + */ + @JsonProperty(value = "scmIpSecurityRestrictionsUseMain") + private Boolean scmIpSecurityRestrictionsUseMain; + /** * Http20Enabled: configures a web site to allow clients to connect over * http2.0. @@ -1251,7 +1263,7 @@ public SiteConfig withXManagedServiceIdentityId(Integer xManagedServiceIdentityI } /** - * Get iP security restrictions. + * Get iP security restrictions for main. * * @return the ipSecurityRestrictions value */ @@ -1260,7 +1272,7 @@ public List ipSecurityRestrictions() { } /** - * Set iP security restrictions. + * Set iP security restrictions for main. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfig object itself. @@ -1270,6 +1282,46 @@ public SiteConfig withIpSecurityRestrictions(List ipSecur return this; } + /** + * Get iP security restrictions for scm. + * + * @return the scmIpSecurityRestrictions value + */ + public List scmIpSecurityRestrictions() { + return this.scmIpSecurityRestrictions; + } + + /** + * Set iP security restrictions for scm. + * + * @param scmIpSecurityRestrictions the scmIpSecurityRestrictions value to set + * @return the SiteConfig object itself. + */ + public SiteConfig withScmIpSecurityRestrictions(List scmIpSecurityRestrictions) { + this.scmIpSecurityRestrictions = scmIpSecurityRestrictions; + return this; + } + + /** + * Get iP security restrictions for scm to use main. + * + * @return the scmIpSecurityRestrictionsUseMain value + */ + public Boolean scmIpSecurityRestrictionsUseMain() { + return this.scmIpSecurityRestrictionsUseMain; + } + + /** + * Set iP security restrictions for scm to use main. + * + * @param scmIpSecurityRestrictionsUseMain the scmIpSecurityRestrictionsUseMain value to set + * @return the SiteConfig object itself. + */ + public SiteConfig withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain) { + this.scmIpSecurityRestrictionsUseMain = scmIpSecurityRestrictionsUseMain; + return this; + } + /** * Get http20Enabled: configures a web site to allow clients to connect over http2.0. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java index aa5dd7d05142c..292c423f38448 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteConfigResource.java @@ -251,6 +251,16 @@ public interface SiteConfigResource extends HasInner, H */ Integer reservedInstanceCount(); + /** + * @return the scmIpSecurityRestrictions value. + */ + List scmIpSecurityRestrictions(); + + /** + * @return the scmIpSecurityRestrictionsUseMain value. + */ + Boolean scmIpSecurityRestrictionsUseMain(); + /** * @return the scmType value. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java index 9269d719e18ce..306c8ab51455b 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/SiteVnetInfo.java @@ -43,6 +43,11 @@ public interface SiteVnetInfo extends HasInner, Indexable, Refres */ String id(); + /** + * @return the isSwift value. + */ + Boolean isSwift(); + /** * @return the kind value. */ @@ -119,6 +124,16 @@ interface WithDnsServers { WithCreate withDnsServers(String dnsServers); } + /** + * The stage of the sitevnetinfo definition allowing to specify IsSwift. + */ + interface WithIsSwift { + /** + * Specifies isSwift. + */ + WithCreate withIsSwift(Boolean isSwift); + } + /** * The stage of the sitevnetinfo definition allowing to specify Kind. */ @@ -144,13 +159,13 @@ interface WithVnetResourceId { * 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.WithCertBlob, DefinitionStages.WithDnsServers, DefinitionStages.WithKind, DefinitionStages.WithVnetResourceId { + interface WithCreate extends Creatable, DefinitionStages.WithCertBlob, DefinitionStages.WithDnsServers, DefinitionStages.WithIsSwift, DefinitionStages.WithKind, DefinitionStages.WithVnetResourceId { } } /** * The template for a SiteVnetInfo update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, UpdateStages.WithCertBlob, UpdateStages.WithDnsServers, UpdateStages.WithKind, UpdateStages.WithVnetResourceId { + interface Update extends Appliable, UpdateStages.WithCertBlob, UpdateStages.WithDnsServers, UpdateStages.WithIsSwift, UpdateStages.WithKind, UpdateStages.WithVnetResourceId { } /** @@ -177,6 +192,16 @@ interface WithDnsServers { Update withDnsServers(String dnsServers); } + /** + * The stage of the sitevnetinfo update allowing to specify IsSwift. + */ + interface WithIsSwift { + /** + * Specifies isSwift. + */ + Update withIsSwift(Boolean isSwift); + } + /** * The stage of the sitevnetinfo update allowing to specify Kind. */ diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMajorVersion.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMajorVersion.java index e49ec18346612..cb97f3def3207 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMajorVersion.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/StackMajorVersion.java @@ -40,6 +40,13 @@ public class StackMajorVersion { @JsonProperty(value = "minorVersions") private List minorVersions; + /** + * <code>true</code> if this supports Application Insights; + * otherwise, <code>false</code>. + */ + @JsonProperty(value = "applicationInsights") + private Boolean applicationInsights; + /** * Get application stack major version (display only). * @@ -120,4 +127,24 @@ public StackMajorVersion withMinorVersions(List minorVersions return this; } + /** + * Get <code>true</code> if this supports Application Insights; otherwise, <code>false</code>. + * + * @return the applicationInsights value + */ + public Boolean applicationInsights() { + return this.applicationInsights; + } + + /** + * Set <code>true</code> if this supports Application Insights; otherwise, <code>false</code>. + * + * @param applicationInsights the applicationInsights value to set + * @return the StackMajorVersion object itself. + */ + public StackMajorVersion withApplicationInsights(Boolean applicationInsights) { + this.applicationInsights = applicationInsights; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetInfoImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetInfoImpl.java index 85b9462df5503..22ae602d70a8c 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetInfoImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/ServerfarmVnetInfoImpl.java @@ -62,6 +62,11 @@ public String id() { return this.inner().id(); } + @Override + public Boolean isSwift() { + return this.inner().isSwift(); + } + @Override public String kind() { return this.inner().kind(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsImpl.java index 2f3c3673fe885..e57dce34d6d06 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsImpl.java @@ -51,6 +51,11 @@ public String clientSecret() { return this.inner().clientSecret(); } + @Override + public String clientSecretCertificateThumbprint() { + return this.inner().clientSecretCertificateThumbprint(); + } + @Override public BuiltInAuthenticationProvider defaultProvider() { return this.inner().defaultProvider(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsInner.java index f0d378ed38975..a9e4dbc0239a8 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteAuthSettingsInner.java @@ -108,6 +108,14 @@ public class SiteAuthSettingsInner extends ProxyOnlyResource { @JsonProperty(value = "properties.clientSecret") private String clientSecret; + /** + * An alternative to the client secret, that is the thumbprint of a + * certificate used for signing purposes. This property acts as + * a replacement for the Client Secret. It is also optional. + */ + @JsonProperty(value = "properties.clientSecretCertificateThumbprint") + private String clientSecretCertificateThumbprint; + /** * The OpenID Connect Issuer URI that represents the entity which issues * access tokens for this application. @@ -455,6 +463,28 @@ public SiteAuthSettingsInner withClientSecret(String clientSecret) { return this; } + /** + * Get an alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as + a replacement for the Client Secret. It is also optional. + * + * @return the clientSecretCertificateThumbprint value + */ + public String clientSecretCertificateThumbprint() { + return this.clientSecretCertificateThumbprint; + } + + /** + * Set an alternative to the client secret, that is the thumbprint of a certificate used for signing purposes. This property acts as + a replacement for the Client Secret. It is also optional. + * + * @param clientSecretCertificateThumbprint the clientSecretCertificateThumbprint value to set + * @return the SiteAuthSettingsInner object itself. + */ + public SiteAuthSettingsInner withClientSecretCertificateThumbprint(String clientSecretCertificateThumbprint) { + this.clientSecretCertificateThumbprint = clientSecretCertificateThumbprint; + return this; + } + /** * Get the OpenID Connect Issuer URI that represents the entity which issues access tokens for this application. When using Azure Active Directory, this value is the URI of the directory tenant, e.g. https://sts.windows.net/{tenant-guid}/. diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java index 65f6282a60909..b2e59dc919ac6 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceImpl.java @@ -273,6 +273,16 @@ public Integer reservedInstanceCount() { return this.inner().reservedInstanceCount(); } + @Override + public List scmIpSecurityRestrictions() { + return this.inner().scmIpSecurityRestrictions(); + } + + @Override + public Boolean scmIpSecurityRestrictionsUseMain() { + return this.inner().scmIpSecurityRestrictionsUseMain(); + } + @Override public ScmType scmType() { return this.inner().scmType(); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java index abc2b6e86294f..f98804c0aec63 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteConfigResourceInner.java @@ -327,11 +327,23 @@ public class SiteConfigResourceInner extends ProxyOnlyResource { private Integer xManagedServiceIdentityId; /** - * IP security restrictions. + * IP security restrictions for main. */ @JsonProperty(value = "properties.ipSecurityRestrictions") private List ipSecurityRestrictions; + /** + * IP security restrictions for scm. + */ + @JsonProperty(value = "properties.scmIpSecurityRestrictions") + private List scmIpSecurityRestrictions; + + /** + * IP security restrictions for scm to use main. + */ + @JsonProperty(value = "properties.scmIpSecurityRestrictionsUseMain") + private Boolean scmIpSecurityRestrictionsUseMain; + /** * Http20Enabled: configures a web site to allow clients to connect over * http2.0. @@ -1270,7 +1282,7 @@ public SiteConfigResourceInner withXManagedServiceIdentityId(Integer xManagedSer } /** - * Get iP security restrictions. + * Get iP security restrictions for main. * * @return the ipSecurityRestrictions value */ @@ -1279,7 +1291,7 @@ public List ipSecurityRestrictions() { } /** - * Set iP security restrictions. + * Set iP security restrictions for main. * * @param ipSecurityRestrictions the ipSecurityRestrictions value to set * @return the SiteConfigResourceInner object itself. @@ -1289,6 +1301,46 @@ public SiteConfigResourceInner withIpSecurityRestrictions(List scmIpSecurityRestrictions() { + return this.scmIpSecurityRestrictions; + } + + /** + * Set iP security restrictions for scm. + * + * @param scmIpSecurityRestrictions the scmIpSecurityRestrictions value to set + * @return the SiteConfigResourceInner object itself. + */ + public SiteConfigResourceInner withScmIpSecurityRestrictions(List scmIpSecurityRestrictions) { + this.scmIpSecurityRestrictions = scmIpSecurityRestrictions; + return this; + } + + /** + * Get iP security restrictions for scm to use main. + * + * @return the scmIpSecurityRestrictionsUseMain value + */ + public Boolean scmIpSecurityRestrictionsUseMain() { + return this.scmIpSecurityRestrictionsUseMain; + } + + /** + * Set iP security restrictions for scm to use main. + * + * @param scmIpSecurityRestrictionsUseMain the scmIpSecurityRestrictionsUseMain value to set + * @return the SiteConfigResourceInner object itself. + */ + public SiteConfigResourceInner withScmIpSecurityRestrictionsUseMain(Boolean scmIpSecurityRestrictionsUseMain) { + this.scmIpSecurityRestrictionsUseMain = scmIpSecurityRestrictionsUseMain; + return this; + } + /** * Get http20Enabled: configures a web site to allow clients to connect over http2.0. * diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetInfoImpl.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetInfoImpl.java index 6b5dadca1cf4d..65a6b705df1dd 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetInfoImpl.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/SiteVnetInfoImpl.java @@ -94,6 +94,11 @@ public String id() { return this.inner().id(); } + @Override + public Boolean isSwift() { + return this.inner().isSwift(); + } + @Override public String kind() { return this.inner().kind(); @@ -150,6 +155,12 @@ public SiteVnetInfoImpl withDnsServers(String dnsServers) { return this; } + @Override + public SiteVnetInfoImpl withIsSwift(Boolean isSwift) { + this.inner().withIsSwift(isSwift); + return this; + } + @Override public SiteVnetInfoImpl withKind(String kind) { this.inner().withKind(kind); diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetInfoInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetInfoInner.java index fb5c52f0698bb..76573b732a59d 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetInfoInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/VnetInfoInner.java @@ -58,6 +58,12 @@ public class VnetInfoInner extends ProxyOnlyResource { @JsonProperty(value = "properties.dnsServers") private String dnsServers; + /** + * Flag that is used to denote if this is VNET injection. + */ + @JsonProperty(value = "properties.isSwift") + private Boolean isSwift; + /** * Get the Virtual Network's resource ID. * @@ -147,4 +153,24 @@ public VnetInfoInner withDnsServers(String dnsServers) { return this; } + /** + * Get flag that is used to denote if this is VNET injection. + * + * @return the isSwift value + */ + public Boolean isSwift() { + return this.isSwift; + } + + /** + * Set flag that is used to denote if this is VNET injection. + * + * @param isSwift the isSwift value to set + * @return the VnetInfoInner object itself. + */ + public VnetInfoInner withIsSwift(Boolean isSwift) { + this.isSwift = isSwift; + return this; + } + } diff --git a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java index 4abdfcb0c4a06..7b9076279aad4 100644 --- a/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java +++ b/appservice/resource-manager/v2018_02_01/src/main/java/com/microsoft/azure/management/appservice/v2018_02_01/implementation/WebAppsInner.java @@ -231,19 +231,19 @@ interface WebAppsService { Observable> updateSlotConfigurationNames(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SlotConfigNamesResourceInner slotConfigNames, @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 getSwiftVirtualNetworkConnection" }) - @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork") + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork") Observable> getSwiftVirtualNetworkConnection(@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 createOrUpdateSwiftVirtualNetworkConnection" }) - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork") + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork") Observable> createOrUpdateSwiftVirtualNetworkConnection(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SwiftVirtualNetworkInner connectionEnvelope, @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 deleteSwiftVirtualNetwork" }) - @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork", method = "DELETE", hasBody = true) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork", method = "DELETE", hasBody = true) Observable> deleteSwiftVirtualNetwork(@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 updateSwiftVirtualNetworkConnection" }) - @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/virtualNetwork") + @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/networkConfig/virtualNetwork") Observable> updateSwiftVirtualNetworkConnection(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("subscriptionId") String subscriptionId, @Body SwiftVirtualNetworkInner connectionEnvelope, @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 getConfiguration" }) @@ -860,19 +860,19 @@ interface WebAppsService { Observable> listSitePushSettingsSlot(@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 getSwiftVirtualNetworkConnectionSlot" }) - @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork") + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork") Observable> getSwiftVirtualNetworkConnectionSlot(@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 createOrUpdateSwiftVirtualNetworkConnectionSlot" }) - @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork") + @PUT("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork") Observable> createOrUpdateSwiftVirtualNetworkConnectionSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SwiftVirtualNetworkInner connectionEnvelope, @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 deleteSwiftVirtualNetworkSlot" }) - @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork", method = "DELETE", hasBody = true) + @HTTP(path = "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork", method = "DELETE", hasBody = true) Observable> deleteSwiftVirtualNetworkSlot(@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 updateSwiftVirtualNetworkConnectionSlot" }) - @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/virtualNetwork") + @PATCH("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkConfig/virtualNetwork") Observable> updateSwiftVirtualNetworkConnectionSlot(@Path("resourceGroupName") String resourceGroupName, @Path("name") String name, @Path("slot") String slot, @Path("subscriptionId") String subscriptionId, @Body SwiftVirtualNetworkInner connectionEnvelope, @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 getConfigurationSlot" })