diff --git a/management/azure_mgmt_web/lib/2015-04-01/build.json b/management/azure_mgmt_web/lib/2015-04-01/build.json
new file mode 100644
index 0000000000..3c6d7fd8cc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/build.json
@@ -0,0 +1,225 @@
+{
+ "autorest": [
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest-core",
+ "version": "2.0.4168",
+ "engines": {
+ "node": ">=7.10.0"
+ },
+ "dependencies": {},
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/async-io": "~1.0.22",
+ "@microsoft.azure/extension": "~1.2.12",
+ "@types/commonmark": "^0.27.0",
+ "@types/jsonpath": "^0.1.29",
+ "@types/node": "^8.0.28",
+ "@types/pify": "0.0.28",
+ "@types/source-map": "^0.5.0",
+ "@types/yargs": "^8.0.2",
+ "commonmark": "^0.27.0",
+ "file-url": "^2.0.2",
+ "get-uri": "^2.0.0",
+ "jsonpath": "^0.2.11",
+ "linq-es2015": "^2.4.25",
+ "mocha": "3.4.2",
+ "mocha-typescript": "1.1.5",
+ "pify": "^3.0.0",
+ "safe-eval": "^0.3.0",
+ "shx": "^0.2.2",
+ "source-map": "^0.5.6",
+ "source-map-support": "^0.4.15",
+ "strip-bom": "^3.0.0",
+ "typescript": "2.5.3",
+ "untildify": "^3.0.2",
+ "urijs": "^1.18.10",
+ "vscode-jsonrpc": "^3.3.1",
+ "yaml-ast-parser": "https://github.com/olydis/yaml-ast-parser/releases/download/0.0.34/yaml-ast-parser-0.0.34.tgz",
+ "yargs": "^8.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_shasum": "33813111fc9bfa488bd600fbba48bc53cc9182c7",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest-core@2.0.4168",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_where": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.0.21",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.3.2"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.1.1",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "3ce7d3939124b31830be15e5de99b9b7768afb90",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.0.21",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.1.22",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "ca425289fa38a210d279729048a4a91673f09c67",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.1.22",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.ruby",
+ "version": "3.0.20",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/autorest.testserver": "^1.9.2",
+ "autorest": "^2.0.0",
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_shasum": "f5b24eb17914aad0e8d2da581642044a6088d905",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.ruby@3.0.20",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ }
+ ],
+ "autorest_bootstrap": {}
+}
\ No newline at end of file
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web.rb
index 82d00f1bdf..c82a1d4269 100644
--- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web.rb
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web.rb
@@ -25,25 +25,68 @@ module Azure::Web::Mgmt::V2015_04_01
autoload :WebSiteManagementClient, '2015-04-01/generated/azure_mgmt_web/web_site_management_client.rb'
module Models
- autoload :DomainRecommendationSearchParameters, '2015-04-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb'
- autoload :Address, '2015-04-01/generated/azure_mgmt_web/models/address.rb'
- autoload :NameIdentifier, '2015-04-01/generated/azure_mgmt_web/models/name_identifier.rb'
- autoload :HostName, '2015-04-01/generated/azure_mgmt_web/models/host_name.rb'
- autoload :NameIdentifierCollection, '2015-04-01/generated/azure_mgmt_web/models/name_identifier_collection.rb'
+ autoload :IpSecurityRestriction, '2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
+ autoload :ApiDefinitionInfo, '2015-04-01/generated/azure_mgmt_web/models/api_definition_info.rb'
+ autoload :Contact, '2015-04-01/generated/azure_mgmt_web/models/contact.rb'
+ autoload :CorsSettings, '2015-04-01/generated/azure_mgmt_web/models/cors_settings.rb'
autoload :DomainPurchaseConsent, '2015-04-01/generated/azure_mgmt_web/models/domain_purchase_consent.rb'
+ autoload :AutoHealCustomAction, '2015-04-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
autoload :DomainAvailablilityCheckResult, '2015-04-01/generated/azure_mgmt_web/models/domain_availablility_check_result.rb'
- autoload :TopLevelDomainCollection, '2015-04-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb'
+ autoload :AutoHealActions, '2015-04-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
autoload :DomainControlCenterSsoRequest, '2015-04-01/generated/azure_mgmt_web/models/domain_control_center_sso_request.rb'
- autoload :Resource, '2015-04-01/generated/azure_mgmt_web/models/resource.rb'
+ autoload :SlowRequestsBasedTrigger, '2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
autoload :DomainOwnershipIdentifierCollection, '2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier_collection.rb'
- autoload :ProxyOnlyResource, '2015-04-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
+ autoload :StatusCodesBasedTrigger, '2015-04-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
+ autoload :DomainRecommendationSearchParameters, '2015-04-01/generated/azure_mgmt_web/models/domain_recommendation_search_parameters.rb'
+ autoload :RequestsBasedTrigger, '2015-04-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
+ autoload :NameIdentifierCollection, '2015-04-01/generated/azure_mgmt_web/models/name_identifier_collection.rb'
+ autoload :AutoHealTriggers, '2015-04-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
autoload :DomainCollection, '2015-04-01/generated/azure_mgmt_web/models/domain_collection.rb'
- autoload :TldLegalAgreement, '2015-04-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb'
- autoload :Contact, '2015-04-01/generated/azure_mgmt_web/models/contact.rb'
+ autoload :NameValuePair, '2015-04-01/generated/azure_mgmt_web/models/name_value_pair.rb'
+ autoload :SnapshotRecoveryTarget, '2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
+ autoload :TopLevelDomainCollection, '2015-04-01/generated/azure_mgmt_web/models/top_level_domain_collection.rb'
+ autoload :ResourceMetricAvailability, '2015-04-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
+ autoload :Capability, '2015-04-01/generated/azure_mgmt_web/models/capability.rb'
autoload :TldLegalAgreementCollection, '2015-04-01/generated/azure_mgmt_web/models/tld_legal_agreement_collection.rb'
+ autoload :HostNameSslState, '2015-04-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
+ autoload :Resource, '2015-04-01/generated/azure_mgmt_web/models/resource.rb'
+ autoload :NameIdentifier, '2015-04-01/generated/azure_mgmt_web/models/name_identifier.rb'
+ autoload :ProxyOnlyResource, '2015-04-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
+ autoload :SiteConfig, '2015-04-01/generated/azure_mgmt_web/models/site_config.rb'
+ autoload :SlotSwapStatus, '2015-04-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
+ autoload :SkuCapacity, '2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb'
+ autoload :HostingEnvironmentProfile, '2015-04-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
+ autoload :AutoHealRules, '2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
+ autoload :HostName, '2015-04-01/generated/azure_mgmt_web/models/host_name.rb'
+ autoload :SiteLimits, '2015-04-01/generated/azure_mgmt_web/models/site_limits.rb'
+ autoload :ResourceMetricName, '2015-04-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
+ autoload :RampUpRule, '2015-04-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
+ autoload :SkuDescription, '2015-04-01/generated/azure_mgmt_web/models/sku_description.rb'
+ autoload :Experiments, '2015-04-01/generated/azure_mgmt_web/models/experiments.rb'
+ autoload :CloningInfo, '2015-04-01/generated/azure_mgmt_web/models/cloning_info.rb'
+ autoload :VirtualDirectory, '2015-04-01/generated/azure_mgmt_web/models/virtual_directory.rb'
autoload :TopLevelDomainAgreementOption, '2015-04-01/generated/azure_mgmt_web/models/top_level_domain_agreement_option.rb'
+ autoload :VirtualApplication, '2015-04-01/generated/azure_mgmt_web/models/virtual_application.rb'
+ autoload :ManagedServiceIdentity, '2015-04-01/generated/azure_mgmt_web/models/managed_service_identity.rb'
+ autoload :HandlerMapping, '2015-04-01/generated/azure_mgmt_web/models/handler_mapping.rb'
+ autoload :TldLegalAgreement, '2015-04-01/generated/azure_mgmt_web/models/tld_legal_agreement.rb'
+ autoload :SiteMachineKey, '2015-04-01/generated/azure_mgmt_web/models/site_machine_key.rb'
+ autoload :Address, '2015-04-01/generated/azure_mgmt_web/models/address.rb'
+ autoload :ConnStringInfo, '2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb'
autoload :Domain, '2015-04-01/generated/azure_mgmt_web/models/domain.rb'
autoload :DomainOwnershipIdentifier, '2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb'
+ autoload :DomainPatchResource, '2015-04-01/generated/azure_mgmt_web/models/domain_patch_resource.rb'
+ autoload :VnetRoute, '2015-04-01/generated/azure_mgmt_web/models/vnet_route.rb'
+ autoload :VnetInfo, '2015-04-01/generated/azure_mgmt_web/models/vnet_info.rb'
+ autoload :VnetGateway, '2015-04-01/generated/azure_mgmt_web/models/vnet_gateway.rb'
+ autoload :User, '2015-04-01/generated/azure_mgmt_web/models/user.rb'
+ autoload :SnapshotRecoveryRequest, '2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb'
+ autoload :ResourceMetricDefinition, '2015-04-01/generated/azure_mgmt_web/models/resource_metric_definition.rb'
+ autoload :PushSettings, '2015-04-01/generated/azure_mgmt_web/models/push_settings.rb'
+ autoload :HybridConnectionKey, '2015-04-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb'
+ autoload :HybridConnection, '2015-04-01/generated/azure_mgmt_web/models/hybrid_connection.rb'
+ autoload :Site, '2015-04-01/generated/azure_mgmt_web/models/site.rb'
+ autoload :AppServicePlan, '2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb'
autoload :TopLevelDomain, '2015-04-01/generated/azure_mgmt_web/models/top_level_domain.rb'
autoload :DomainStatus, '2015-04-01/generated/azure_mgmt_web/models/domain_status.rb'
autoload :ProvisioningState, '2015-04-01/generated/azure_mgmt_web/models/provisioning_state.rb'
@@ -52,5 +95,16 @@ module Models
autoload :HostNameType, '2015-04-01/generated/azure_mgmt_web/models/host_name_type.rb'
autoload :DnsType, '2015-04-01/generated/azure_mgmt_web/models/dns_type.rb'
autoload :DomainType, '2015-04-01/generated/azure_mgmt_web/models/domain_type.rb'
+ autoload :RouteType, '2015-04-01/generated/azure_mgmt_web/models/route_type.rb'
+ autoload :AutoHealActionType, '2015-04-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
+ autoload :ConnectionStringType, '2015-04-01/generated/azure_mgmt_web/models/connection_string_type.rb'
+ autoload :ScmType, '2015-04-01/generated/azure_mgmt_web/models/scm_type.rb'
+ autoload :ManagedPipelineMode, '2015-04-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
+ autoload :SiteLoadBalancing, '2015-04-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
+ autoload :SslState, '2015-04-01/generated/azure_mgmt_web/models/ssl_state.rb'
+ autoload :HostType, '2015-04-01/generated/azure_mgmt_web/models/host_type.rb'
+ autoload :UsageState, '2015-04-01/generated/azure_mgmt_web/models/usage_state.rb'
+ autoload :SiteAvailabilityState, '2015-04-01/generated/azure_mgmt_web/models/site_availability_state.rb'
+ autoload :StatusOptions, '2015-04-01/generated/azure_mgmt_web/models/status_options.rb'
end
end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/domains.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/domains.rb
index 69fb7a0326..7296865145 100644
--- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/domains.rb
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/domains.rb
@@ -748,6 +748,129 @@ def delete_async(resource_group_name, domain_name, force_hard_delete_domain = ni
promise.execute
end
+ #
+ # Creates or updates a domain.
+ #
+ # Creates or updates a domain.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param domain_name [String] Name of the domain.
+ # @param domain [DomainPatchResource] Domain registration information.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [Domain] operation results.
+ #
+ def update(resource_group_name, domain_name, domain, custom_headers = nil)
+ response = update_async(resource_group_name, domain_name, domain, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Creates or updates a domain.
+ #
+ # Creates or updates a domain.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param domain_name [String] Name of the domain.
+ # @param domain [DomainPatchResource] Domain registration information.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_with_http_info(resource_group_name, domain_name, domain, custom_headers = nil)
+ update_async(resource_group_name, domain_name, domain, custom_headers).value!
+ end
+
+ #
+ # Creates or updates a domain.
+ #
+ # Creates or updates a domain.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param domain_name [String] Name of the domain.
+ # @param domain [DomainPatchResource] Domain registration information.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_async(resource_group_name, domain_name, domain, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'domain_name is nil' if domain_name.nil?
+ fail ArgumentError, 'domain is nil' if domain.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2015_04_01::Models::DomainPatchResource.mapper()
+ request_content = @client.serialize(request_mapper, domain)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DomainRegistration/domains/{domainName}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'domainName' => domain_name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 202 || status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 202
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2015_04_01::Models::Domain.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2015_04_01::Models::Domain.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Lists domain ownership identifiers.
#
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/address.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/address.rb
index 38cf00115f..d10dbce830 100644
--- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/address.rb
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/address.rb
@@ -12,22 +12,22 @@ class Address
include MsRestAzure
- # @return [String] Address 1.
+ # @return [String] First line of an Address.
attr_accessor :address1
- # @return [String] Address 2.
+ # @return [String] The second line of the Address. Optional.
attr_accessor :address2
- # @return [String] City.
+ # @return [String] The city for the address.
attr_accessor :city
- # @return [String] Country.
+ # @return [String] The country for the address.
attr_accessor :country
- # @return [String] Postal code.
+ # @return [String] The postal code for the address.
attr_accessor :postal_code
- # @return [String] State.
+ # @return [String] The state or province for the address.
attr_accessor :state
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/api_definition_info.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/api_definition_info.rb
new file mode 100644
index 0000000000..d8b724e2d9
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/api_definition_info.rb
@@ -0,0 +1,44 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Information about the formal API definition for the app.
+ #
+ class ApiDefinitionInfo
+
+ include MsRestAzure
+
+ # @return [String] The URL of the API definition.
+ attr_accessor :url
+
+
+ #
+ # Mapper for ApiDefinitionInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ApiDefinitionInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'ApiDefinitionInfo',
+ model_properties: {
+ url: {
+ required: false,
+ serialized_name: 'url',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb
new file mode 100644
index 0000000000..b5dab38b23
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/app_service_plan.rb
@@ -0,0 +1,289 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # App Service plan.
+ #
+ class AppServicePlan < Resource
+
+ include MsRestAzure
+
+ # @return [String] Name for the App Service plan.
+ attr_accessor :app_service_plan_name
+
+ # @return [String] Target worker tier assigned to the App Service plan.
+ attr_accessor :worker_tier_name
+
+ # @return [StatusOptions] App Service plan status. Possible values
+ # include: 'Ready', 'Pending', 'Creating'
+ attr_accessor :status
+
+ # @return [String] App Service plan subscription.
+ attr_accessor :subscription
+
+ # @return [String] App Service plan administration site.
+ attr_accessor :admin_site_name
+
+ # @return [HostingEnvironmentProfile] Specification for the App Service
+ # Environment to use for the App Service plan.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Integer] Maximum number of instances that can be assigned to
+ # this App Service plan.
+ attr_accessor :maximum_number_of_workers
+
+ # @return [String] Geographical location for the App Service plan.
+ attr_accessor :geo_region
+
+ # @return [Boolean] If true, apps assigned to this App
+ # Service plan can be scaled independently.
+ # If false, apps assigned to this App Service plan will
+ # scale to all instances of the plan. Default value: false .
+ attr_accessor :per_site_scaling
+
+ # @return [Integer] Number of apps assigned to this App Service plan.
+ attr_accessor :number_of_sites
+
+ # @return [Boolean] If true, this App Service Plan owns spot
+ # instances.
+ attr_accessor :is_spot
+
+ # @return [DateTime] The time when the server farm expires. Valid only if
+ # it is a spot server farm.
+ attr_accessor :spot_expiration_time
+
+ # @return [String] Resource group of the App Service plan.
+ attr_accessor :resource_group
+
+ # @return [Boolean] Reserved. Default value: false .
+ attr_accessor :reserved
+
+ # @return [Integer] Scaling worker count.
+ attr_accessor :target_worker_count
+
+ # @return [Integer] Scaling worker size ID.
+ attr_accessor :target_worker_size_id
+
+ # @return [ProvisioningState] Provisioning state of the App Service
+ # Environment. Possible values include: 'Succeeded', 'Failed',
+ # 'Canceled', 'InProgress', 'Deleting'
+ attr_accessor :provisioning_state
+
+ # @return [SkuDescription]
+ attr_accessor :sku
+
+
+ #
+ # Mapper for AppServicePlan class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AppServicePlan',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServicePlan',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: true,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ tags: {
+ required: false,
+ serialized_name: 'tags',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ app_service_plan_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ worker_tier_name: {
+ required: false,
+ serialized_name: 'properties.workerTierName',
+ type: {
+ name: 'String'
+ }
+ },
+ status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.status',
+ type: {
+ name: 'Enum',
+ module: 'StatusOptions'
+ }
+ },
+ subscription: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.subscription',
+ type: {
+ name: 'String'
+ }
+ },
+ admin_site_name: {
+ required: false,
+ serialized_name: 'properties.adminSiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ maximum_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maximumNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ geo_region: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.geoRegion',
+ type: {
+ name: 'String'
+ }
+ },
+ per_site_scaling: {
+ required: false,
+ serialized_name: 'properties.perSiteScaling',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ number_of_sites: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.numberOfSites',
+ type: {
+ name: 'Number'
+ }
+ },
+ is_spot: {
+ required: false,
+ serialized_name: 'properties.isSpot',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ spot_expiration_time: {
+ required: false,
+ serialized_name: 'properties.spotExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_worker_count: {
+ required: false,
+ serialized_name: 'properties.targetWorkerCount',
+ type: {
+ name: 'Number'
+ }
+ },
+ target_worker_size_id: {
+ required: false,
+ serialized_name: 'properties.targetWorkerSizeId',
+ type: {
+ name: 'Number'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'ProvisioningState'
+ }
+ },
+ sku: {
+ required: false,
+ serialized_name: 'sku',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuDescription'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb
new file mode 100644
index 0000000000..379bf58b59
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for AutoHealActionType
+ #
+ module AutoHealActionType
+ Recycle = "Recycle"
+ LogEvent = "LogEvent"
+ CustomAction = "CustomAction"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_actions.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_actions.rb
new file mode 100644
index 0000000000..ee3d1e933a
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_actions.rb
@@ -0,0 +1,68 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Actions which to take by the auto-heal module when a rule is triggered.
+ #
+ class AutoHealActions
+
+ include MsRestAzure
+
+ # @return [AutoHealActionType] Predefined action to be taken. Possible
+ # values include: 'Recycle', 'LogEvent', 'CustomAction'
+ attr_accessor :action_type
+
+ # @return [AutoHealCustomAction] Custom action to be taken.
+ attr_accessor :custom_action
+
+ # @return [String] Minimum time the process must execute
+ # before taking the action
+ attr_accessor :min_process_execution_time
+
+
+ #
+ # Mapper for AutoHealActions class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealActions',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealActions',
+ model_properties: {
+ action_type: {
+ required: false,
+ serialized_name: 'actionType',
+ type: {
+ name: 'Enum',
+ module: 'AutoHealActionType'
+ }
+ },
+ custom_action: {
+ required: false,
+ serialized_name: 'customAction',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealCustomAction'
+ }
+ },
+ min_process_execution_time: {
+ required: false,
+ serialized_name: 'minProcessExecutionTime',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb
new file mode 100644
index 0000000000..e362722cb0
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb
@@ -0,0 +1,55 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Custom action to be executed
+ # when an auto heal rule is triggered.
+ #
+ class AutoHealCustomAction
+
+ include MsRestAzure
+
+ # @return [String] Executable to be run.
+ attr_accessor :exe
+
+ # @return [String] Parameters for the executable.
+ attr_accessor :parameters
+
+
+ #
+ # Mapper for AutoHealCustomAction class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealCustomAction',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealCustomAction',
+ model_properties: {
+ exe: {
+ required: false,
+ serialized_name: 'exe',
+ type: {
+ name: 'String'
+ }
+ },
+ parameters: {
+ required: false,
+ serialized_name: 'parameters',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
new file mode 100644
index 0000000000..66ed5c43c0
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
@@ -0,0 +1,58 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Rules that can be defined for auto-heal.
+ #
+ class AutoHealRules
+
+ include MsRestAzure
+
+ # @return [AutoHealTriggers] Conditions that describe when to execute the
+ # auto-heal actions.
+ attr_accessor :triggers
+
+ # @return [AutoHealActions] Actions to be executed when a rule is
+ # triggered.
+ attr_accessor :actions
+
+
+ #
+ # Mapper for AutoHealRules class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealRules',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealRules',
+ model_properties: {
+ triggers: {
+ required: false,
+ serialized_name: 'triggers',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealTriggers'
+ }
+ },
+ actions: {
+ required: false,
+ serialized_name: 'actions',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealActions'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb
new file mode 100644
index 0000000000..afc401e998
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb
@@ -0,0 +1,85 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Triggers for auto-heal.
+ #
+ class AutoHealTriggers
+
+ include MsRestAzure
+
+ # @return [RequestsBasedTrigger] A rule based on total requests.
+ attr_accessor :requests
+
+ # @return [Integer] A rule based on private bytes.
+ attr_accessor :private_bytes_in_kb
+
+ # @return [Array] A rule based on status codes.
+ attr_accessor :status_codes
+
+ # @return [SlowRequestsBasedTrigger] A rule based on request execution
+ # time.
+ attr_accessor :slow_requests
+
+
+ #
+ # Mapper for AutoHealTriggers class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealTriggers',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealTriggers',
+ model_properties: {
+ requests: {
+ required: false,
+ serialized_name: 'requests',
+ type: {
+ name: 'Composite',
+ class_name: 'RequestsBasedTrigger'
+ }
+ },
+ private_bytes_in_kb: {
+ required: false,
+ serialized_name: 'privateBytesInKB',
+ type: {
+ name: 'Number'
+ }
+ },
+ status_codes: {
+ required: false,
+ serialized_name: 'statusCodes',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StatusCodesBasedTriggerElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'StatusCodesBasedTrigger'
+ }
+ }
+ }
+ },
+ slow_requests: {
+ required: false,
+ serialized_name: 'slowRequests',
+ type: {
+ name: 'Composite',
+ class_name: 'SlowRequestsBasedTrigger'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/capability.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/capability.rb
new file mode 100644
index 0000000000..dea334d01c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/capability.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Describes the capabilities/features allowed for a specific SKU.
+ #
+ class Capability
+
+ include MsRestAzure
+
+ # @return [String] Name of the SKU capability.
+ attr_accessor :name
+
+ # @return [String] Value of the SKU capability.
+ attr_accessor :value
+
+ # @return [String] Reason of the SKU capability.
+ attr_accessor :reason
+
+
+ #
+ # Mapper for Capability class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Capability',
+ type: {
+ name: 'Composite',
+ class_name: 'Capability',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ value: {
+ required: false,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ },
+ reason: {
+ required: false,
+ serialized_name: 'reason',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/cloning_info.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/cloning_info.rb
new file mode 100644
index 0000000000..1c12408601
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/cloning_info.rb
@@ -0,0 +1,169 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Information needed for cloning operation.
+ #
+ class CloningInfo
+
+ include MsRestAzure
+
+ # @return Correlation ID of cloning operation. This ID ties multiple
+ # cloning operations
+ # together to use the same snapshot.
+ attr_accessor :correlation_id
+
+ # @return [Boolean] true to overwrite destination app;
+ # otherwise, false.
+ attr_accessor :overwrite
+
+ # @return [Boolean] true to clone custom hostnames from
+ # source app; otherwise, false.
+ attr_accessor :clone_custom_host_names
+
+ # @return [Boolean] true to clone source control from source
+ # app; otherwise, false.
+ attr_accessor :clone_source_control
+
+ # @return [String] 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.
+ attr_accessor :source_web_app_id
+
+ # @return [String] App Service Environment.
+ attr_accessor :hosting_environment
+
+ # @return [Hash{String => String}] 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.
+ attr_accessor :app_settings_overrides
+
+ # @return [Boolean] true to configure load balancing for
+ # source and destination app.
+ attr_accessor :configure_load_balancing
+
+ # @return [String] 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}.
+ attr_accessor :traffic_manager_profile_id
+
+ # @return [String] Name of Traffic Manager profile to create. This is
+ # only needed if Traffic Manager profile does not already exist.
+ attr_accessor :traffic_manager_profile_name
+
+ # @return [Boolean] true if quotas should be ignored;
+ # otherwise, false.
+ attr_accessor :ignore_quotas
+
+
+ #
+ # Mapper for CloningInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'CloningInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'CloningInfo',
+ model_properties: {
+ correlation_id: {
+ required: false,
+ serialized_name: 'correlationId',
+ type: {
+ name: 'String'
+ }
+ },
+ overwrite: {
+ required: false,
+ serialized_name: 'overwrite',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ clone_custom_host_names: {
+ required: false,
+ serialized_name: 'cloneCustomHostNames',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ clone_source_control: {
+ required: false,
+ serialized_name: 'cloneSourceControl',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ source_web_app_id: {
+ required: true,
+ serialized_name: 'sourceWebAppId',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment: {
+ required: false,
+ serialized_name: 'hostingEnvironment',
+ type: {
+ name: 'String'
+ }
+ },
+ app_settings_overrides: {
+ required: false,
+ serialized_name: 'appSettingsOverrides',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ configure_load_balancing: {
+ required: false,
+ serialized_name: 'configureLoadBalancing',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ traffic_manager_profile_id: {
+ required: false,
+ serialized_name: 'trafficManagerProfileId',
+ type: {
+ name: 'String'
+ }
+ },
+ traffic_manager_profile_name: {
+ required: false,
+ serialized_name: 'trafficManagerProfileName',
+ type: {
+ name: 'String'
+ }
+ },
+ ignore_quotas: {
+ required: false,
+ serialized_name: 'ignoreQuotas',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
new file mode 100644
index 0000000000..5777349ef0
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/conn_string_info.rb
@@ -0,0 +1,67 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Database connection string information.
+ #
+ class ConnStringInfo
+
+ include MsRestAzure
+
+ # @return [String] Name of connection string.
+ attr_accessor :name
+
+ # @return [String] Connection string value.
+ attr_accessor :connection_string
+
+ # @return [ConnectionStringType] Type of database. Possible values
+ # include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub',
+ # 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'
+ attr_accessor :type
+
+
+ #
+ # Mapper for ConnStringInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ConnStringInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'ConnStringInfo',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ connection_string: {
+ required: false,
+ serialized_name: 'connectionString',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ serialized_name: 'type',
+ type: {
+ name: 'Enum',
+ module: 'ConnectionStringType'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/connection_string_type.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/connection_string_type.rb
new file mode 100644
index 0000000000..2472cdae72
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/connection_string_type.rb
@@ -0,0 +1,25 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for ConnectionStringType
+ #
+ module ConnectionStringType
+ MySql = "MySql"
+ SQLServer = "SQLServer"
+ SQLAzure = "SQLAzure"
+ Custom = "Custom"
+ NotificationHub = "NotificationHub"
+ ServiceBus = "ServiceBus"
+ EventHub = "EventHub"
+ ApiHub = "ApiHub"
+ DocDb = "DocDb"
+ RedisCache = "RedisCache"
+ PostgreSQL = "PostgreSQL"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/cors_settings.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/cors_settings.rb
new file mode 100644
index 0000000000..931a524cca
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/cors_settings.rb
@@ -0,0 +1,53 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Cross-Origin Resource Sharing (CORS) settings for the app.
+ #
+ class CorsSettings
+
+ include MsRestAzure
+
+ # @return [Array] 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.
+ attr_accessor :allowed_origins
+
+
+ #
+ # Mapper for CorsSettings class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'CorsSettings',
+ type: {
+ name: 'Composite',
+ class_name: 'CorsSettings',
+ model_properties: {
+ allowed_origins: {
+ required: false,
+ serialized_name: 'allowedOrigins',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain.rb
index 1f94f033ed..73358df78c 100644
--- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain.rb
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain.rb
@@ -327,7 +327,6 @@ def self.mapper()
},
auth_code: {
required: false,
- read_only: true,
serialized_name: 'properties.authCode',
type: {
name: 'String'
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb
index 43d8976787..5a1030fb79 100644
--- a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain_ownership_identifier.rb
@@ -8,7 +8,7 @@ module Models
#
# Domain ownership Identifier.
#
- class DomainOwnershipIdentifier < Resource
+ class DomainOwnershipIdentifier < ProxyOnlyResource
include MsRestAzure
@@ -51,13 +51,6 @@ def self.mapper()
name: 'String'
}
},
- location: {
- required: true,
- serialized_name: 'location',
- type: {
- name: 'String'
- }
- },
type: {
required: false,
read_only: true,
@@ -66,20 +59,6 @@ def self.mapper()
name: 'String'
}
},
- tags: {
- required: false,
- serialized_name: 'tags',
- type: {
- name: 'Dictionary',
- value: {
- required: false,
- serialized_name: 'StringElementType',
- type: {
- name: 'String'
- }
- }
- }
- },
ownership_id: {
required: false,
serialized_name: 'properties.ownershipId',
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain_patch_resource.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain_patch_resource.rb
new file mode 100644
index 0000000000..d3e7050c4e
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/domain_patch_resource.rb
@@ -0,0 +1,320 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # ARM resource for a domain.
+ #
+ class DomainPatchResource < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [Contact] Administrative contact.
+ attr_accessor :contact_admin
+
+ # @return [Contact] Billing contact.
+ attr_accessor :contact_billing
+
+ # @return [Contact] Registrant contact.
+ attr_accessor :contact_registrant
+
+ # @return [Contact] Technical contact.
+ attr_accessor :contact_tech
+
+ # @return [DomainStatus] 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'
+ attr_accessor :registration_status
+
+ # @return [ProvisioningState] Domain provisioning state. Possible values
+ # include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'
+ attr_accessor :provisioning_state
+
+ # @return [Array] Name servers.
+ attr_accessor :name_servers
+
+ # @return [Boolean] true if domain privacy is enabled for
+ # this domain; otherwise, false.
+ attr_accessor :privacy
+
+ # @return [DateTime] Domain creation timestamp.
+ attr_accessor :created_time
+
+ # @return [DateTime] Domain expiration timestamp.
+ attr_accessor :expiration_time
+
+ # @return [DateTime] Timestamp when the domain was renewed last time.
+ attr_accessor :last_renewed_time
+
+ # @return [Boolean] true if the domain should be
+ # automatically renewed; otherwise, false. Default value:
+ # true .
+ attr_accessor :auto_renew
+
+ # @return [Boolean] true if Azure can assign this domain to
+ # App Service apps; otherwise, false. This value will be
+ # true if domain registration status is active and
+ # it is hosted on name servers Azure has programmatic access to.
+ attr_accessor :ready_for_dns_record_management
+
+ # @return [Array] All hostnames derived from the domain and
+ # assigned to Azure resources.
+ attr_accessor :managed_host_names
+
+ # @return [DomainPurchaseConsent] Legal agreement consent.
+ attr_accessor :consent
+
+ # @return [Array] Reasons why domain is not renewable.
+ attr_accessor :domain_not_renewable_reasons
+
+ # @return [DnsType] Current DNS type. Possible values include:
+ # 'AzureDns', 'DefaultDomainRegistrarDns'
+ attr_accessor :dns_type
+
+ # @return [String] Azure DNS Zone to use
+ attr_accessor :dns_zone_id
+
+ # @return [DnsType] Target DNS type (would be used for migration).
+ # Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'
+ attr_accessor :target_dns_type
+
+ # @return [String]
+ attr_accessor :auth_code
+
+
+ #
+ # Mapper for DomainPatchResource class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'DomainPatchResource',
+ type: {
+ name: 'Composite',
+ class_name: 'DomainPatchResource',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ contact_admin: {
+ required: false,
+ serialized_name: 'properties.contactAdmin',
+ type: {
+ name: 'Composite',
+ class_name: 'Contact'
+ }
+ },
+ contact_billing: {
+ required: false,
+ serialized_name: 'properties.contactBilling',
+ type: {
+ name: 'Composite',
+ class_name: 'Contact'
+ }
+ },
+ contact_registrant: {
+ required: false,
+ serialized_name: 'properties.contactRegistrant',
+ type: {
+ name: 'Composite',
+ class_name: 'Contact'
+ }
+ },
+ contact_tech: {
+ required: false,
+ serialized_name: 'properties.contactTech',
+ type: {
+ name: 'Composite',
+ class_name: 'Contact'
+ }
+ },
+ registration_status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.registrationStatus',
+ type: {
+ name: 'Enum',
+ module: 'DomainStatus'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'ProvisioningState'
+ }
+ },
+ name_servers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.nameServers',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ privacy: {
+ required: false,
+ serialized_name: 'properties.privacy',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ created_time: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.createdTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ expiration_time: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.expirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ last_renewed_time: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.lastRenewedTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ auto_renew: {
+ required: false,
+ serialized_name: 'properties.autoRenew',
+ default_value: true,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ ready_for_dns_record_management: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.readyForDnsRecordManagement',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ managed_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.managedHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HostNameElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HostName'
+ }
+ }
+ }
+ },
+ consent: {
+ required: false,
+ serialized_name: 'properties.consent',
+ type: {
+ name: 'Composite',
+ class_name: 'DomainPurchaseConsent'
+ }
+ },
+ domain_not_renewable_reasons: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.domainNotRenewableReasons',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'enumElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ dns_type: {
+ required: false,
+ serialized_name: 'properties.dnsType',
+ type: {
+ name: 'Enum',
+ module: 'DnsType'
+ }
+ },
+ dns_zone_id: {
+ required: false,
+ serialized_name: 'properties.dnsZoneId',
+ type: {
+ name: 'String'
+ }
+ },
+ target_dns_type: {
+ required: false,
+ serialized_name: 'properties.targetDnsType',
+ type: {
+ name: 'Enum',
+ module: 'DnsType'
+ }
+ },
+ auth_code: {
+ required: false,
+ serialized_name: 'properties.authCode',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/experiments.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/experiments.rb
new file mode 100644
index 0000000000..9bc43d51b3
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/experiments.rb
@@ -0,0 +1,52 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Routing rules in production experiments.
+ #
+ class Experiments
+
+ include MsRestAzure
+
+ # @return [Array] List of ramp-up rules.
+ attr_accessor :ramp_up_rules
+
+
+ #
+ # Mapper for Experiments class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Experiments',
+ type: {
+ name: 'Composite',
+ class_name: 'Experiments',
+ model_properties: {
+ ramp_up_rules: {
+ required: false,
+ serialized_name: 'rampUpRules',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'RampUpRuleElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'RampUpRule'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/handler_mapping.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/handler_mapping.rb
new file mode 100644
index 0000000000..10760c1940
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/handler_mapping.rb
@@ -0,0 +1,69 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # The IIS handler mappings used to define which handler processes HTTP
+ # requests with certain extension.
+ # For example, it is used to configure php-cgi.exe process to handle all
+ # HTTP requests with *.php extension.
+ #
+ class HandlerMapping
+
+ include MsRestAzure
+
+ # @return [String] Requests with this extension will be handled using the
+ # specified FastCGI application.
+ attr_accessor :extension
+
+ # @return [String] The absolute path to the FastCGI application.
+ attr_accessor :script_processor
+
+ # @return [String] Command-line arguments to be passed to the script
+ # processor.
+ attr_accessor :arguments
+
+
+ #
+ # Mapper for HandlerMapping class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HandlerMapping',
+ type: {
+ name: 'Composite',
+ class_name: 'HandlerMapping',
+ model_properties: {
+ extension: {
+ required: false,
+ serialized_name: 'extension',
+ type: {
+ name: 'String'
+ }
+ },
+ script_processor: {
+ required: false,
+ serialized_name: 'scriptProcessor',
+ type: {
+ name: 'String'
+ }
+ },
+ arguments: {
+ required: false,
+ serialized_name: 'arguments',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb
new file mode 100644
index 0000000000..585f2a9ad0
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb
@@ -0,0 +1,99 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # SSL-enabled hostname.
+ #
+ class HostNameSslState
+
+ include MsRestAzure
+
+ # @return [String] Hostname.
+ attr_accessor :name
+
+ # @return [SslState] SSL type. Possible values include: 'Disabled',
+ # 'SniEnabled', 'IpBasedEnabled'
+ attr_accessor :ssl_state
+
+ # @return [String] Virtual IP address assigned to the hostname if IP
+ # based SSL is enabled.
+ attr_accessor :virtual_ip
+
+ # @return [String] SSL certificate thumbprint.
+ attr_accessor :thumbprint
+
+ # @return [Boolean] Set to true to update existing hostname.
+ attr_accessor :to_update
+
+ # @return [HostType] Indicates whether the hostname is a standard or
+ # repository hostname. Possible values include: 'Standard', 'Repository'
+ attr_accessor :host_type
+
+
+ #
+ # Mapper for HostNameSslState class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HostNameSslState',
+ type: {
+ name: 'Composite',
+ class_name: 'HostNameSslState',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ ssl_state: {
+ required: false,
+ serialized_name: 'sslState',
+ type: {
+ name: 'Enum',
+ module: 'SslState'
+ }
+ },
+ virtual_ip: {
+ required: false,
+ serialized_name: 'virtualIP',
+ type: {
+ name: 'String'
+ }
+ },
+ thumbprint: {
+ required: false,
+ serialized_name: 'thumbprint',
+ type: {
+ name: 'String'
+ }
+ },
+ to_update: {
+ required: false,
+ serialized_name: 'toUpdate',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ host_type: {
+ required: false,
+ serialized_name: 'hostType',
+ type: {
+ name: 'Enum',
+ module: 'HostType'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/host_type.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/host_type.rb
new file mode 100644
index 0000000000..360d88b8e6
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/host_type.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for HostType
+ #
+ module HostType
+ Standard = "Standard"
+ Repository = "Repository"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb
new file mode 100644
index 0000000000..2cf8e64408
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb
@@ -0,0 +1,66 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Specification for an App Service Environment to use for this resource.
+ #
+ class HostingEnvironmentProfile
+
+ include MsRestAzure
+
+ # @return [String] Resource ID of the App Service Environment.
+ attr_accessor :id
+
+ # @return [String] Name of the App Service Environment.
+ attr_accessor :name
+
+ # @return [String] Resource type of the App Service Environment.
+ attr_accessor :type
+
+
+ #
+ # Mapper for HostingEnvironmentProfile class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile',
+ model_properties: {
+ id: {
+ required: false,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hybrid_connection.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hybrid_connection.rb
new file mode 100644
index 0000000000..dc3e9b319f
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hybrid_connection.rb
@@ -0,0 +1,150 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Hybrid Connection contract. This is used to configure a Hybrid
+ # Connection.
+ #
+ class HybridConnection < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of the Service Bus namespace.
+ attr_accessor :service_bus_namespace
+
+ # @return [String] The name of the Service Bus relay.
+ attr_accessor :relay_name
+
+ # @return [String] The ARM URI to the Service Bus relay.
+ attr_accessor :relay_arm_uri
+
+ # @return [String] The hostname of the endpoint.
+ attr_accessor :hostname
+
+ # @return [Integer] The port of the endpoint.
+ attr_accessor :port
+
+ # @return [String] The name of the Service Bus key which has Send
+ # permissions. This is used to authenticate to Service Bus.
+ attr_accessor :send_key_name
+
+ # @return [String] 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.
+ attr_accessor :send_key_value
+
+ # @return [String] The suffix for the service bus endpoint. By default
+ # this is .servicebus.windows.net
+ attr_accessor :service_bus_suffix
+
+
+ #
+ # Mapper for HybridConnection class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HybridConnection',
+ type: {
+ name: 'Composite',
+ class_name: 'HybridConnection',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ service_bus_namespace: {
+ required: false,
+ serialized_name: 'properties.serviceBusNamespace',
+ type: {
+ name: 'String'
+ }
+ },
+ relay_name: {
+ required: false,
+ serialized_name: 'properties.relayName',
+ type: {
+ name: 'String'
+ }
+ },
+ relay_arm_uri: {
+ required: false,
+ serialized_name: 'properties.relayArmUri',
+ type: {
+ name: 'String'
+ }
+ },
+ hostname: {
+ required: false,
+ serialized_name: 'properties.hostname',
+ type: {
+ name: 'String'
+ }
+ },
+ port: {
+ required: false,
+ serialized_name: 'properties.port',
+ type: {
+ name: 'Number'
+ }
+ },
+ send_key_name: {
+ required: false,
+ serialized_name: 'properties.sendKeyName',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_value: {
+ required: false,
+ serialized_name: 'properties.sendKeyValue',
+ type: {
+ name: 'String'
+ }
+ },
+ service_bus_suffix: {
+ required: false,
+ serialized_name: 'properties.serviceBusSuffix',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb
new file mode 100644
index 0000000000..947bf1d0ad
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb
@@ -0,0 +1,88 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Hybrid Connection key contract. This has the send key name and value for
+ # a Hybrid Connection.
+ #
+ class HybridConnectionKey < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of the send key.
+ attr_accessor :send_key_name
+
+ # @return [String] The value of the send key.
+ attr_accessor :send_key_value
+
+
+ #
+ # Mapper for HybridConnectionKey class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HybridConnectionKey',
+ type: {
+ name: 'Composite',
+ class_name: 'HybridConnectionKey',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.sendKeyName',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.sendKeyValue',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
new file mode 100644
index 0000000000..ca9a71ae39
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
@@ -0,0 +1,55 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # IP security restriction on an app.
+ #
+ class IpSecurityRestriction
+
+ include MsRestAzure
+
+ # @return [String] IP address the security restriction is valid for.
+ attr_accessor :ip_address
+
+ # @return [String] Subnet mask for the range of IP addresses the
+ # restriction is valid for.
+ attr_accessor :subnet_mask
+
+
+ #
+ # Mapper for IpSecurityRestriction class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'IpSecurityRestriction',
+ type: {
+ name: 'Composite',
+ class_name: 'IpSecurityRestriction',
+ model_properties: {
+ ip_address: {
+ required: true,
+ serialized_name: 'ipAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ subnet_mask: {
+ required: false,
+ serialized_name: 'subnetMask',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb
new file mode 100644
index 0000000000..553616d6f1
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for ManagedPipelineMode
+ #
+ module ManagedPipelineMode
+ Integrated = "Integrated"
+ Classic = "Classic"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity.rb
new file mode 100644
index 0000000000..eeea88f858
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/managed_service_identity.rb
@@ -0,0 +1,66 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Managed service identity.
+ #
+ class ManagedServiceIdentity
+
+ include MsRestAzure
+
+ # @return Type of managed service identity.
+ attr_accessor :type
+
+ # @return [String] Tenant of managed service identity.
+ attr_accessor :tenant_id
+
+ # @return [String] Principal Id of managed service identity.
+ attr_accessor :principal_id
+
+
+ #
+ # Mapper for ManagedServiceIdentity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ManagedServiceIdentity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity',
+ model_properties: {
+ type: {
+ required: false,
+ serialized_name: 'type',
+ type: {
+ name: 'Object'
+ }
+ },
+ tenant_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'tenantId',
+ type: {
+ name: 'String'
+ }
+ },
+ principal_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'principalId',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/name_value_pair.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/name_value_pair.rb
new file mode 100644
index 0000000000..fded9dc73c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/name_value_pair.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Name value pair.
+ #
+ class NameValuePair
+
+ include MsRestAzure
+
+ # @return [String] Pair name.
+ attr_accessor :name
+
+ # @return [String] Pair value.
+ attr_accessor :value
+
+
+ #
+ # Mapper for NameValuePair class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'NameValuePair',
+ type: {
+ name: 'Composite',
+ class_name: 'NameValuePair',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ value: {
+ required: false,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/push_settings.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/push_settings.rb
new file mode 100644
index 0000000000..260a947270
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/push_settings.rb
@@ -0,0 +1,114 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Push settings for the App.
+ #
+ class PushSettings < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [Boolean] Gets or sets a flag indicating whether the Push
+ # endpoint is enabled.
+ attr_accessor :is_push_enabled
+
+ # @return [String] Gets or sets a JSON string containing a list of tags
+ # that are whitelisted for use by the push registration endpoint.
+ attr_accessor :tag_whitelist_json
+
+ # @return [String] 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.
+ attr_accessor :tags_requiring_auth
+
+ # @return [String] Gets or sets a JSON string containing a list of
+ # dynamic tags that will be evaluated from user claims in the push
+ # registration endpoint.
+ attr_accessor :dynamic_tags_json
+
+
+ #
+ # Mapper for PushSettings class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'PushSettings',
+ type: {
+ name: 'Composite',
+ class_name: 'PushSettings',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ is_push_enabled: {
+ required: false,
+ serialized_name: 'properties.isPushEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ tag_whitelist_json: {
+ required: false,
+ serialized_name: 'properties.tagWhitelistJson',
+ type: {
+ name: 'String'
+ }
+ },
+ tags_requiring_auth: {
+ required: false,
+ serialized_name: 'properties.tagsRequiringAuth',
+ type: {
+ name: 'String'
+ }
+ },
+ dynamic_tags_json: {
+ required: false,
+ serialized_name: 'properties.dynamicTagsJson',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ramp_up_rule.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ramp_up_rule.rb
new file mode 100644
index 0000000000..40866705dc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ramp_up_rule.rb
@@ -0,0 +1,132 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Routing rules for ramp up testing. This rule allows to redirect static
+ # traffic % to a slot or to gradually change routing % based on
+ # performance.
+ #
+ class RampUpRule
+
+ include MsRestAzure
+
+ # @return [String] Hostname of a slot to which the traffic will be
+ # redirected if decided to. E.g. myapp-stage.azurewebsites.net.
+ attr_accessor :action_host_name
+
+ # @return [Float] Percentage of the traffic which will be redirected to
+ # ActionHostName.
+ attr_accessor :reroute_percentage
+
+ # @return [Float] In auto ramp up scenario this is the step to to
+ # add/remove from ReroutePercentage until it reaches
+ # MinReroutePercentage or MaxReroutePercentage.
+ # Site metrics are checked every N minutes specificed in
+ # ChangeIntervalInMinutes.
+ # Custom decision algorithm can be provided in TiPCallback site extension
+ # which URL can be specified in ChangeDecisionCallbackUrl.
+ attr_accessor :change_step
+
+ # @return [Integer] Specifies interval in mimuntes to reevaluate
+ # ReroutePercentage.
+ attr_accessor :change_interval_in_minutes
+
+ # @return [Float] Specifies lower boundary above which ReroutePercentage
+ # will stay.
+ attr_accessor :min_reroute_percentage
+
+ # @return [Float] Specifies upper boundary below which ReroutePercentage
+ # will stay.
+ attr_accessor :max_reroute_percentage
+
+ # @return [String] 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/
+ attr_accessor :change_decision_callback_url
+
+ # @return [String] Name of the routing rule. The recommended name would
+ # be to point to the slot which will receive the traffic in the
+ # experiment.
+ attr_accessor :name
+
+
+ #
+ # Mapper for RampUpRule class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'RampUpRule',
+ type: {
+ name: 'Composite',
+ class_name: 'RampUpRule',
+ model_properties: {
+ action_host_name: {
+ required: false,
+ serialized_name: 'actionHostName',
+ type: {
+ name: 'String'
+ }
+ },
+ reroute_percentage: {
+ required: false,
+ serialized_name: 'reroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_step: {
+ required: false,
+ serialized_name: 'changeStep',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_interval_in_minutes: {
+ required: false,
+ serialized_name: 'changeIntervalInMinutes',
+ type: {
+ name: 'Number'
+ }
+ },
+ min_reroute_percentage: {
+ required: false,
+ serialized_name: 'minReroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ max_reroute_percentage: {
+ required: false,
+ serialized_name: 'maxReroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_decision_callback_url: {
+ required: false,
+ serialized_name: 'changeDecisionCallbackUrl',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/requests_based_trigger.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/requests_based_trigger.rb
new file mode 100644
index 0000000000..c3354f69ba
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/requests_based_trigger.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Trigger based on total requests.
+ #
+ class RequestsBasedTrigger
+
+ include MsRestAzure
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for RequestsBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'RequestsBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'RequestsBasedTrigger',
+ model_properties: {
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_availability.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
new file mode 100644
index 0000000000..953faca584
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
@@ -0,0 +1,56 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Metrics availability and retention.
+ #
+ class ResourceMetricAvailability
+
+ include MsRestAzure
+
+ # @return [String] Time grain .
+ attr_accessor :time_grain
+
+ # @return [String] Retention period for the current time grain.
+ attr_accessor :retention
+
+
+ #
+ # Mapper for ResourceMetricAvailability class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricAvailability',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricAvailability',
+ model_properties: {
+ time_grain: {
+ required: false,
+ read_only: true,
+ serialized_name: 'timeGrain',
+ type: {
+ name: 'String'
+ }
+ },
+ retention: {
+ required: false,
+ read_only: true,
+ serialized_name: 'retention',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_definition.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_definition.rb
new file mode 100644
index 0000000000..40e5d84fa2
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_definition.rb
@@ -0,0 +1,159 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Metadata for the metrics.
+ #
+ class ResourceMetricDefinition < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [ResourceMetricName] Name of the metric.
+ attr_accessor :resource_metric_definition_name
+
+ # @return [String] Unit of the metric.
+ attr_accessor :unit
+
+ # @return [String] Primary aggregation type.
+ attr_accessor :primary_aggregation_type
+
+ # @return [Array] List of time grains
+ # supported for the metric together with retention period.
+ attr_accessor :metric_availabilities
+
+ # @return [String] Resource URI.
+ attr_accessor :resource_uri
+
+ # @return [String] Resource ID.
+ attr_accessor :resource_metric_definition_id
+
+ # @return [Hash{String => String}] Properties.
+ attr_accessor :properties
+
+
+ #
+ # Mapper for ResourceMetricDefinition class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricDefinition',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricDefinition',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ resource_metric_definition_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricName'
+ }
+ },
+ unit: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.unit',
+ type: {
+ name: 'String'
+ }
+ },
+ primary_aggregation_type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.primaryAggregationType',
+ type: {
+ name: 'String'
+ }
+ },
+ metric_availabilities: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.metricAvailabilities',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'ResourceMetricAvailabilityElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricAvailability'
+ }
+ }
+ }
+ },
+ resource_uri: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceUri',
+ type: {
+ name: 'String'
+ }
+ },
+ resource_metric_definition_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.id',
+ type: {
+ name: 'String'
+ }
+ },
+ properties: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.properties',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_name.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_name.rb
new file mode 100644
index 0000000000..93c193f7dc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/resource_metric_name.rb
@@ -0,0 +1,56 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Name of a metric for any resource .
+ #
+ class ResourceMetricName
+
+ include MsRestAzure
+
+ # @return [String] metric name value.
+ attr_accessor :value
+
+ # @return [String] Localized metric name value.
+ attr_accessor :localized_value
+
+
+ #
+ # Mapper for ResourceMetricName class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricName',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricName',
+ model_properties: {
+ value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ },
+ localized_value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'localizedValue',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/route_type.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/route_type.rb
new file mode 100644
index 0000000000..6c7d75a7a4
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/route_type.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for RouteType
+ #
+ module RouteType
+ DEFAULT = "DEFAULT"
+ INHERITED = "INHERITED"
+ STATIC = "STATIC"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/scm_type.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/scm_type.rb
new file mode 100644
index 0000000000..88359d6457
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/scm_type.rb
@@ -0,0 +1,27 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for ScmType
+ #
+ module ScmType
+ None = "None"
+ Dropbox = "Dropbox"
+ Tfs = "Tfs"
+ LocalGit = "LocalGit"
+ GitHub = "GitHub"
+ CodePlexGit = "CodePlexGit"
+ CodePlexHg = "CodePlexHg"
+ BitbucketGit = "BitbucketGit"
+ BitbucketHg = "BitbucketHg"
+ ExternalGit = "ExternalGit"
+ ExternalHg = "ExternalHg"
+ OneDrive = "OneDrive"
+ VSO = "VSO"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site.rb
new file mode 100644
index 0000000000..c7d34a775b
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site.rb
@@ -0,0 +1,510 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # A web app, a mobile app backend, or an API app.
+ #
+ class Site < Resource
+
+ include MsRestAzure
+
+ # @return [String] Current state of the app.
+ attr_accessor :state
+
+ # @return [Array] Hostnames associated with the app.
+ attr_accessor :host_names
+
+ # @return [String] Name of the repository site.
+ attr_accessor :repository_site_name
+
+ # @return [UsageState] State indicating whether the app has exceeded its
+ # quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'
+ attr_accessor :usage_state
+
+ # @return [Boolean] true if the app is enabled; otherwise,
+ # false. Setting this value to false disables the app (takes
+ # the app offline).
+ attr_accessor :enabled
+
+ # @return [Array] Enabled hostnames for the app.Hostnames need to
+ # be assigned (see HostNames) AND enabled. Otherwise,
+ # the app is not served on those hostnames.
+ attr_accessor :enabled_host_names
+
+ # @return [SiteAvailabilityState] Management information availability
+ # state for the app. Possible values include: 'Normal', 'Limited',
+ # 'DisasterRecoveryMode'
+ attr_accessor :availability_state
+
+ # @return [Array] Hostname SSL states are used to
+ # manage the SSL bindings for app's hostnames.
+ attr_accessor :host_name_ssl_states
+
+ # @return [String] Resource ID of the associated App Service plan,
+ # formatted as:
+ # "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
+ attr_accessor :server_farm_id
+
+ # @return [Boolean] true if reserved; otherwise,
+ # false. Default value: false .
+ attr_accessor :reserved
+
+ # @return [DateTime] Last time the app was modified, in UTC. Read-only.
+ attr_accessor :last_modified_time_utc
+
+ # @return [SiteConfig] Configuration of the app.
+ attr_accessor :site_config
+
+ # @return [Array] Azure Traffic Manager hostnames associated with
+ # the app. Read-only.
+ attr_accessor :traffic_manager_host_names
+
+ # @return [Boolean] true to stop SCM (KUDU) site when the
+ # app is stopped; otherwise, false. The default is
+ # false. Default value: false .
+ attr_accessor :scm_site_also_stopped
+
+ # @return [String] Specifies which deployment slot this app will swap
+ # into. Read-only.
+ attr_accessor :target_swap_slot
+
+ # @return [HostingEnvironmentProfile] App Service Environment to use for
+ # the app.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Boolean] true to enable client affinity;
+ # false to stop sending session affinity cookies, which
+ # route client requests in the same session to the same instance. Default
+ # is true.
+ attr_accessor :client_affinity_enabled
+
+ # @return [Boolean] true to enable client certificate
+ # authentication (TLS mutual authentication); otherwise,
+ # false. Default is false.
+ attr_accessor :client_cert_enabled
+
+ # @return [Boolean] true to disable the public hostnames of
+ # the app; otherwise, false.
+ # If true, the app is only accessible via API management
+ # process.
+ attr_accessor :host_names_disabled
+
+ # @return [String] 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.
+ attr_accessor :outbound_ip_addresses
+
+ # @return [String] List of IP addresses that the app uses for outbound
+ # connections (e.g. database access). Includes VIPs from all tenants.
+ # Read-only.
+ attr_accessor :possible_outbound_ip_addresses
+
+ # @return [Integer] Size of the function container.
+ attr_accessor :container_size
+
+ # @return [Integer] Maximum allowed daily memory-time quota (applicable
+ # on dynamic apps only).
+ attr_accessor :daily_memory_time_quota
+
+ # @return [DateTime] App suspended till in case memory-time quota is
+ # exceeded.
+ attr_accessor :suspended_till
+
+ # @return [Integer] Maximum number of workers.
+ # This only applies to Functions container.
+ attr_accessor :max_number_of_workers
+
+ # @return [CloningInfo] If specified during app creation, the app is
+ # cloned from a source app.
+ attr_accessor :cloning_info
+
+ # @return [SnapshotRecoveryRequest] If specified during app creation, the
+ # app is created from a previous snapshot.
+ attr_accessor :snapshot_info
+
+ # @return [String] Name of the resource group the app belongs to.
+ # Read-only.
+ attr_accessor :resource_group
+
+ # @return [Boolean] true if the app is a default container;
+ # otherwise, false.
+ attr_accessor :is_default_container
+
+ # @return [String] Default hostname of the app. Read-only.
+ attr_accessor :default_host_name
+
+ # @return [SlotSwapStatus] Status of the last deployment slot swap
+ # operation.
+ attr_accessor :slot_swap_status
+
+ # @return [Boolean] HttpsOnly: configures a web site to accept only https
+ # requests. Issues redirect for
+ # http requests
+ attr_accessor :https_only
+
+ # @return [ManagedServiceIdentity]
+ attr_accessor :identity
+
+
+ #
+ # Mapper for Site class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Site',
+ type: {
+ name: 'Composite',
+ class_name: 'Site',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: true,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ tags: {
+ required: false,
+ serialized_name: 'tags',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.state',
+ type: {
+ name: 'String'
+ }
+ },
+ host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.hostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ repository_site_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.repositorySiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ usage_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.usageState',
+ type: {
+ name: 'Enum',
+ module: 'UsageState'
+ }
+ },
+ enabled: {
+ required: false,
+ serialized_name: 'properties.enabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ enabled_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.enabledHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ availability_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.availabilityState',
+ type: {
+ name: 'Enum',
+ module: 'SiteAvailabilityState'
+ }
+ },
+ host_name_ssl_states: {
+ required: false,
+ serialized_name: 'properties.hostNameSslStates',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HostNameSslStateElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HostNameSslState'
+ }
+ }
+ }
+ },
+ server_farm_id: {
+ required: false,
+ serialized_name: 'properties.serverFarmId',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ last_modified_time_utc: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.lastModifiedTimeUtc',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ site_config: {
+ required: false,
+ serialized_name: 'properties.siteConfig',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfig'
+ }
+ },
+ traffic_manager_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.trafficManagerHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ scm_site_also_stopped: {
+ required: false,
+ serialized_name: 'properties.scmSiteAlsoStopped',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_swap_slot: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.targetSwapSlot',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ client_affinity_enabled: {
+ required: false,
+ serialized_name: 'properties.clientAffinityEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ client_cert_enabled: {
+ required: false,
+ serialized_name: 'properties.clientCertEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ host_names_disabled: {
+ required: false,
+ serialized_name: 'properties.hostNamesDisabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.outboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
+ possible_outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.possibleOutboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
+ container_size: {
+ required: false,
+ serialized_name: 'properties.containerSize',
+ type: {
+ name: 'Number'
+ }
+ },
+ daily_memory_time_quota: {
+ required: false,
+ serialized_name: 'properties.dailyMemoryTimeQuota',
+ type: {
+ name: 'Number'
+ }
+ },
+ suspended_till: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.suspendedTill',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ max_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maxNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ cloning_info: {
+ required: false,
+ serialized_name: 'properties.cloningInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'CloningInfo'
+ }
+ },
+ snapshot_info: {
+ required: false,
+ serialized_name: 'properties.snapshotInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryRequest'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ is_default_container: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.isDefaultContainer',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ default_host_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.defaultHostName',
+ type: {
+ name: 'String'
+ }
+ },
+ slot_swap_status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.slotSwapStatus',
+ type: {
+ name: 'Composite',
+ class_name: 'SlotSwapStatus'
+ }
+ },
+ https_only: {
+ required: false,
+ serialized_name: 'properties.httpsOnly',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ identity: {
+ required: false,
+ serialized_name: 'identity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_availability_state.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_availability_state.rb
new file mode 100644
index 0000000000..458c07caa5
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_availability_state.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for SiteAvailabilityState
+ #
+ module SiteAvailabilityState
+ Normal = "Normal"
+ Limited = "Limited"
+ DisasterRecoveryMode = "DisasterRecoveryMode"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_config.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_config.rb
new file mode 100644
index 0000000000..f742d6cec8
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_config.rb
@@ -0,0 +1,539 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Configuration of an App Service app.
+ #
+ class SiteConfig
+
+ include MsRestAzure
+
+ # @return [Integer] Number of workers.
+ attr_accessor :number_of_workers
+
+ # @return [Array] Default documents.
+ attr_accessor :default_documents
+
+ # @return [String] .NET Framework version. Default value: 'v4.6' .
+ attr_accessor :net_framework_version
+
+ # @return [String] Version of PHP.
+ attr_accessor :php_version
+
+ # @return [String] Version of Python.
+ attr_accessor :python_version
+
+ # @return [String] Version of Node.js.
+ attr_accessor :node_version
+
+ # @return [String] Linux App Framework and version
+ attr_accessor :linux_fx_version
+
+ # @return [Boolean] true if request tracing is enabled;
+ # otherwise, false.
+ attr_accessor :request_tracing_enabled
+
+ # @return [DateTime] Request tracing expiration time.
+ attr_accessor :request_tracing_expiration_time
+
+ # @return [Boolean] true if remote debugging is enabled;
+ # otherwise, false.
+ attr_accessor :remote_debugging_enabled
+
+ # @return [String] Remote debugging version.
+ attr_accessor :remote_debugging_version
+
+ # @return [Boolean] true if HTTP logging is enabled;
+ # otherwise, false.
+ attr_accessor :http_logging_enabled
+
+ # @return [Integer] HTTP logs directory size limit.
+ attr_accessor :logs_directory_size_limit
+
+ # @return [Boolean] true if detailed error logging is
+ # enabled; otherwise, false.
+ attr_accessor :detailed_error_logging_enabled
+
+ # @return [String] Publishing user name.
+ attr_accessor :publishing_username
+
+ # @return [Array] Application settings.
+ attr_accessor :app_settings
+
+ # @return [Array] Connection strings.
+ attr_accessor :connection_strings
+
+ # @return [SiteMachineKey] Site MachineKey.
+ attr_accessor :machine_key
+
+ # @return [Array] Handler mappings.
+ attr_accessor :handler_mappings
+
+ # @return [String] Document root.
+ attr_accessor :document_root
+
+ # @return [ScmType] SCM type. Possible values include: 'None', 'Dropbox',
+ # 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg',
+ # 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive',
+ # 'VSO'
+ attr_accessor :scm_type
+
+ # @return [Boolean] true to use 32-bit worker process;
+ # otherwise, false.
+ attr_accessor :use32bit_worker_process
+
+ # @return [Boolean] true if WebSocket is enabled; otherwise,
+ # false.
+ attr_accessor :web_sockets_enabled
+
+ # @return [Boolean] true if Always On is enabled; otherwise,
+ # false.
+ attr_accessor :always_on
+
+ # @return [String] Java version.
+ attr_accessor :java_version
+
+ # @return [String] Java container.
+ attr_accessor :java_container
+
+ # @return [String] Java container version.
+ attr_accessor :java_container_version
+
+ # @return [String] App command line to launch.
+ attr_accessor :app_command_line
+
+ # @return [ManagedPipelineMode] Managed pipeline mode. Possible values
+ # include: 'Integrated', 'Classic'
+ attr_accessor :managed_pipeline_mode
+
+ # @return [Array] Virtual applications.
+ attr_accessor :virtual_applications
+
+ # @return [SiteLoadBalancing] Site load balancing. Possible values
+ # include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime',
+ # 'WeightedTotalTraffic', 'RequestHash'
+ attr_accessor :load_balancing
+
+ # @return [Experiments] This is work around for polymophic types.
+ attr_accessor :experiments
+
+ # @return [SiteLimits] Site limits.
+ attr_accessor :limits
+
+ # @return [Boolean] true if Auto Heal is enabled; otherwise,
+ # false.
+ attr_accessor :auto_heal_enabled
+
+ # @return [AutoHealRules] Auto Heal rules.
+ attr_accessor :auto_heal_rules
+
+ # @return [String] Tracing options.
+ attr_accessor :tracing_options
+
+ # @return [String] Virtual Network name.
+ attr_accessor :vnet_name
+
+ # @return [CorsSettings] Cross-Origin Resource Sharing (CORS) settings.
+ attr_accessor :cors
+
+ # @return [PushSettings] Push endpoint settings.
+ attr_accessor :push
+
+ # @return [ApiDefinitionInfo] Information about the formal API definition
+ # for the app.
+ attr_accessor :api_definition
+
+ # @return [String] Auto-swap slot name.
+ attr_accessor :auto_swap_slot_name
+
+ # @return [Boolean] true to enable local MySQL; otherwise,
+ # false. Default value: false .
+ attr_accessor :local_my_sql_enabled
+
+ # @return [Array] IP security restrictions.
+ attr_accessor :ip_security_restrictions
+
+
+ #
+ # Mapper for SiteConfig class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteConfig',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfig',
+ model_properties: {
+ number_of_workers: {
+ required: false,
+ serialized_name: 'numberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ default_documents: {
+ required: false,
+ serialized_name: 'defaultDocuments',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ net_framework_version: {
+ required: false,
+ serialized_name: 'netFrameworkVersion',
+ default_value: 'v4.6',
+ type: {
+ name: 'String'
+ }
+ },
+ php_version: {
+ required: false,
+ serialized_name: 'phpVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ python_version: {
+ required: false,
+ serialized_name: 'pythonVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ node_version: {
+ required: false,
+ serialized_name: 'nodeVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ linux_fx_version: {
+ required: false,
+ serialized_name: 'linuxFxVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ request_tracing_enabled: {
+ required: false,
+ serialized_name: 'requestTracingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ request_tracing_expiration_time: {
+ required: false,
+ serialized_name: 'requestTracingExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ remote_debugging_enabled: {
+ required: false,
+ serialized_name: 'remoteDebuggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ remote_debugging_version: {
+ required: false,
+ serialized_name: 'remoteDebuggingVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ http_logging_enabled: {
+ required: false,
+ serialized_name: 'httpLoggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ logs_directory_size_limit: {
+ required: false,
+ serialized_name: 'logsDirectorySizeLimit',
+ type: {
+ name: 'Number'
+ }
+ },
+ detailed_error_logging_enabled: {
+ required: false,
+ serialized_name: 'detailedErrorLoggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ publishing_username: {
+ required: false,
+ serialized_name: 'publishingUsername',
+ type: {
+ name: 'String'
+ }
+ },
+ app_settings: {
+ required: false,
+ serialized_name: 'appSettings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'NameValuePairElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'NameValuePair'
+ }
+ }
+ }
+ },
+ connection_strings: {
+ required: false,
+ serialized_name: 'connectionStrings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'ConnStringInfoElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'ConnStringInfo'
+ }
+ }
+ }
+ },
+ machine_key: {
+ required: false,
+ read_only: true,
+ serialized_name: 'machineKey',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteMachineKey'
+ }
+ },
+ handler_mappings: {
+ required: false,
+ serialized_name: 'handlerMappings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HandlerMappingElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HandlerMapping'
+ }
+ }
+ }
+ },
+ document_root: {
+ required: false,
+ serialized_name: 'documentRoot',
+ type: {
+ name: 'String'
+ }
+ },
+ scm_type: {
+ required: false,
+ serialized_name: 'scmType',
+ type: {
+ name: 'String'
+ }
+ },
+ use32bit_worker_process: {
+ required: false,
+ serialized_name: 'use32BitWorkerProcess',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ web_sockets_enabled: {
+ required: false,
+ serialized_name: 'webSocketsEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ always_on: {
+ required: false,
+ serialized_name: 'alwaysOn',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ java_version: {
+ required: false,
+ serialized_name: 'javaVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ java_container: {
+ required: false,
+ serialized_name: 'javaContainer',
+ type: {
+ name: 'String'
+ }
+ },
+ java_container_version: {
+ required: false,
+ serialized_name: 'javaContainerVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ app_command_line: {
+ required: false,
+ serialized_name: 'appCommandLine',
+ type: {
+ name: 'String'
+ }
+ },
+ managed_pipeline_mode: {
+ required: false,
+ serialized_name: 'managedPipelineMode',
+ type: {
+ name: 'Enum',
+ module: 'ManagedPipelineMode'
+ }
+ },
+ virtual_applications: {
+ required: false,
+ serialized_name: 'virtualApplications',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VirtualApplicationElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualApplication'
+ }
+ }
+ }
+ },
+ load_balancing: {
+ required: false,
+ serialized_name: 'loadBalancing',
+ type: {
+ name: 'Enum',
+ module: 'SiteLoadBalancing'
+ }
+ },
+ experiments: {
+ required: false,
+ serialized_name: 'experiments',
+ type: {
+ name: 'Composite',
+ class_name: 'Experiments'
+ }
+ },
+ limits: {
+ required: false,
+ serialized_name: 'limits',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteLimits'
+ }
+ },
+ auto_heal_enabled: {
+ required: false,
+ serialized_name: 'autoHealEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ auto_heal_rules: {
+ required: false,
+ serialized_name: 'autoHealRules',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealRules'
+ }
+ },
+ tracing_options: {
+ required: false,
+ serialized_name: 'tracingOptions',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_name: {
+ required: false,
+ serialized_name: 'vnetName',
+ type: {
+ name: 'String'
+ }
+ },
+ cors: {
+ required: false,
+ serialized_name: 'cors',
+ type: {
+ name: 'Composite',
+ class_name: 'CorsSettings'
+ }
+ },
+ push: {
+ required: false,
+ serialized_name: 'push',
+ type: {
+ name: 'Composite',
+ class_name: 'PushSettings'
+ }
+ },
+ api_definition: {
+ required: false,
+ serialized_name: 'apiDefinition',
+ type: {
+ name: 'Composite',
+ class_name: 'ApiDefinitionInfo'
+ }
+ },
+ auto_swap_slot_name: {
+ required: false,
+ serialized_name: 'autoSwapSlotName',
+ type: {
+ name: 'String'
+ }
+ },
+ local_my_sql_enabled: {
+ required: false,
+ serialized_name: 'localMySqlEnabled',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ ip_security_restrictions: {
+ required: false,
+ serialized_name: 'ipSecurityRestrictions',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'IpSecurityRestrictionElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'IpSecurityRestriction'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_limits.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_limits.rb
new file mode 100644
index 0000000000..0350c0a5c8
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_limits.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Metric limits set on an app.
+ #
+ class SiteLimits
+
+ include MsRestAzure
+
+ # @return [Float] Maximum allowed CPU usage percentage.
+ attr_accessor :max_percentage_cpu
+
+ # @return [Integer] Maximum allowed memory usage in MB.
+ attr_accessor :max_memory_in_mb
+
+ # @return [Integer] Maximum allowed disk size usage in MB.
+ attr_accessor :max_disk_size_in_mb
+
+
+ #
+ # Mapper for SiteLimits class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteLimits',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteLimits',
+ model_properties: {
+ max_percentage_cpu: {
+ required: false,
+ serialized_name: 'maxPercentageCpu',
+ type: {
+ name: 'Double'
+ }
+ },
+ max_memory_in_mb: {
+ required: false,
+ serialized_name: 'maxMemoryInMb',
+ type: {
+ name: 'Number'
+ }
+ },
+ max_disk_size_in_mb: {
+ required: false,
+ serialized_name: 'maxDiskSizeInMb',
+ type: {
+ name: 'Number'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_load_balancing.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_load_balancing.rb
new file mode 100644
index 0000000000..408bcb71c8
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_load_balancing.rb
@@ -0,0 +1,19 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for SiteLoadBalancing
+ #
+ module SiteLoadBalancing
+ WeightedRoundRobin = "WeightedRoundRobin"
+ LeastRequests = "LeastRequests"
+ LeastResponseTime = "LeastResponseTime"
+ WeightedTotalTraffic = "WeightedTotalTraffic"
+ RequestHash = "RequestHash"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_machine_key.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_machine_key.rb
new file mode 100644
index 0000000000..f02e652bb6
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/site_machine_key.rb
@@ -0,0 +1,74 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # MachineKey of an app.
+ #
+ class SiteMachineKey
+
+ include MsRestAzure
+
+ # @return [String] MachineKey validation.
+ attr_accessor :validation
+
+ # @return [String] Validation key.
+ attr_accessor :validation_key
+
+ # @return [String] Decryption.
+ attr_accessor :decryption
+
+ # @return [String] Decryption key.
+ attr_accessor :decryption_key
+
+
+ #
+ # Mapper for SiteMachineKey class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteMachineKey',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteMachineKey',
+ model_properties: {
+ validation: {
+ required: false,
+ serialized_name: 'validation',
+ type: {
+ name: 'String'
+ }
+ },
+ validation_key: {
+ required: false,
+ serialized_name: 'validationKey',
+ type: {
+ name: 'String'
+ }
+ },
+ decryption: {
+ required: false,
+ serialized_name: 'decryption',
+ type: {
+ name: 'String'
+ }
+ },
+ decryption_key: {
+ required: false,
+ serialized_name: 'decryptionKey',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb
new file mode 100644
index 0000000000..6fa79cacff
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/sku_capacity.rb
@@ -0,0 +1,78 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Description of the App Service plan scale options.
+ #
+ class SkuCapacity
+
+ include MsRestAzure
+
+ # @return [Integer] Minimum number of workers for this App Service plan
+ # SKU.
+ attr_accessor :minimum
+
+ # @return [Integer] Maximum number of workers for this App Service plan
+ # SKU.
+ attr_accessor :maximum
+
+ # @return [Integer] Default number of workers for this App Service plan
+ # SKU.
+ attr_accessor :default
+
+ # @return [String] Available scale configurations for an App Service
+ # plan.
+ attr_accessor :scale_type
+
+
+ #
+ # Mapper for SkuCapacity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SkuCapacity',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuCapacity',
+ model_properties: {
+ minimum: {
+ required: false,
+ serialized_name: 'minimum',
+ type: {
+ name: 'Number'
+ }
+ },
+ maximum: {
+ required: false,
+ serialized_name: 'maximum',
+ type: {
+ name: 'Number'
+ }
+ },
+ default: {
+ required: false,
+ serialized_name: 'default',
+ type: {
+ name: 'Number'
+ }
+ },
+ scale_type: {
+ required: false,
+ serialized_name: 'scaleType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/sku_description.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/sku_description.rb
new file mode 100644
index 0000000000..3420fbeb6c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/sku_description.rb
@@ -0,0 +1,131 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Description of a SKU for a scalable resource.
+ #
+ class SkuDescription
+
+ include MsRestAzure
+
+ # @return [String] Name of the resource SKU.
+ attr_accessor :name
+
+ # @return [String] Service tier of the resource SKU.
+ attr_accessor :tier
+
+ # @return [String] Size specifier of the resource SKU.
+ attr_accessor :size
+
+ # @return [String] Family code of the resource SKU.
+ attr_accessor :family
+
+ # @return [Integer] Current number of instances assigned to the resource.
+ attr_accessor :capacity
+
+ # @return [SkuCapacity] Min, max, and default scale values of the SKU.
+ attr_accessor :sku_capacity
+
+ # @return [Array] Locations of the SKU.
+ attr_accessor :locations
+
+ # @return [Array] Capabilities of the SKU, e.g., is traffic
+ # manager enabled?
+ attr_accessor :capabilities
+
+
+ #
+ # Mapper for SkuDescription class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SkuDescription',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuDescription',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ tier: {
+ required: false,
+ serialized_name: 'tier',
+ type: {
+ name: 'String'
+ }
+ },
+ size: {
+ required: false,
+ serialized_name: 'size',
+ type: {
+ name: 'String'
+ }
+ },
+ family: {
+ required: false,
+ serialized_name: 'family',
+ type: {
+ name: 'String'
+ }
+ },
+ capacity: {
+ required: false,
+ serialized_name: 'capacity',
+ type: {
+ name: 'Number'
+ }
+ },
+ sku_capacity: {
+ required: false,
+ serialized_name: 'skuCapacity',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuCapacity'
+ }
+ },
+ locations: {
+ required: false,
+ serialized_name: 'locations',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ capabilities: {
+ required: false,
+ serialized_name: 'capabilities',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'CapabilityElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'Capability'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/slot_swap_status.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/slot_swap_status.rb
new file mode 100644
index 0000000000..cca777e039
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/slot_swap_status.rb
@@ -0,0 +1,67 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # The status of the last successfull slot swap operation.
+ #
+ class SlotSwapStatus
+
+ include MsRestAzure
+
+ # @return [DateTime] The time the last successful slot swap completed.
+ attr_accessor :timestamp_utc
+
+ # @return [String] The source slot of the last swap operation.
+ attr_accessor :source_slot_name
+
+ # @return [String] The destination slot of the last swap operation.
+ attr_accessor :destination_slot_name
+
+
+ #
+ # Mapper for SlotSwapStatus class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SlotSwapStatus',
+ type: {
+ name: 'Composite',
+ class_name: 'SlotSwapStatus',
+ model_properties: {
+ timestamp_utc: {
+ required: false,
+ read_only: true,
+ serialized_name: 'timestampUtc',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ source_slot_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'sourceSlotName',
+ type: {
+ name: 'String'
+ }
+ },
+ destination_slot_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'destinationSlotName',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
new file mode 100644
index 0000000000..a03fbba2b7
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Trigger based on request execution time.
+ #
+ class SlowRequestsBasedTrigger
+
+ include MsRestAzure
+
+ # @return [String] Time taken.
+ attr_accessor :time_taken
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for SlowRequestsBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SlowRequestsBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'SlowRequestsBasedTrigger',
+ model_properties: {
+ time_taken: {
+ required: false,
+ serialized_name: 'timeTaken',
+ type: {
+ name: 'String'
+ }
+ },
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb
new file mode 100644
index 0000000000..c8439377e0
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb
@@ -0,0 +1,122 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Details about app recovery operation.
+ #
+ class SnapshotRecoveryRequest < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Point in time in which the app recovery should be
+ # attempted, formatted as a DateTime string.
+ attr_accessor :snapshot_time
+
+ # @return [SnapshotRecoveryTarget] Specifies the web app that snapshot
+ # contents will be written to.
+ attr_accessor :recovery_target
+
+ # @return [Boolean] If true the recovery operation can
+ # overwrite source app; otherwise, false.
+ attr_accessor :overwrite
+
+ # @return [Boolean] If true, site configuration, in addition to content,
+ # will be reverted.
+ attr_accessor :recover_configuration
+
+ # @return [Boolean] If true, custom hostname conflicts will be ignored
+ # when recovering to a target web app.
+ # This setting is only necessary when RecoverConfiguration is enabled.
+ attr_accessor :ignore_conflicting_host_names
+
+
+ #
+ # Mapper for SnapshotRecoveryRequest class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SnapshotRecoveryRequest',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryRequest',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ snapshot_time: {
+ required: false,
+ serialized_name: 'properties.snapshotTime',
+ type: {
+ name: 'String'
+ }
+ },
+ recovery_target: {
+ required: false,
+ serialized_name: 'properties.recoveryTarget',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryTarget'
+ }
+ },
+ overwrite: {
+ required: false,
+ serialized_name: 'properties.overwrite',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ recover_configuration: {
+ required: false,
+ serialized_name: 'properties.recoverConfiguration',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ ignore_conflicting_host_names: {
+ required: false,
+ serialized_name: 'properties.ignoreConflictingHostNames',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
new file mode 100644
index 0000000000..fde055ac82
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
@@ -0,0 +1,59 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Specifies the web app that snapshot contents will be written to.
+ #
+ class SnapshotRecoveryTarget
+
+ include MsRestAzure
+
+ # @return [String] Geographical location of the target web app, e.g.
+ # SouthEastAsia, SouthCentralUS
+ attr_accessor :location
+
+ # @return [String] 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.
+ attr_accessor :id
+
+
+ #
+ # Mapper for SnapshotRecoveryTarget class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SnapshotRecoveryTarget',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryTarget',
+ model_properties: {
+ location: {
+ required: false,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ id: {
+ required: false,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ssl_state.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ssl_state.rb
new file mode 100644
index 0000000000..844842f6e8
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/ssl_state.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for SslState
+ #
+ module SslState
+ Disabled = "Disabled"
+ SniEnabled = "SniEnabled"
+ IpBasedEnabled = "IpBasedEnabled"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb
new file mode 100644
index 0000000000..2488fd5029
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb
@@ -0,0 +1,84 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Trigger based on status code.
+ #
+ class StatusCodesBasedTrigger
+
+ include MsRestAzure
+
+ # @return [Integer] HTTP status code.
+ attr_accessor :status
+
+ # @return [Integer] SubStatus.
+ attr_accessor :sub_status
+
+ # @return [Integer] Win32 error code.
+ attr_accessor :win32status
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for StatusCodesBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'StatusCodesBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'StatusCodesBasedTrigger',
+ model_properties: {
+ status: {
+ required: false,
+ serialized_name: 'status',
+ type: {
+ name: 'Number'
+ }
+ },
+ sub_status: {
+ required: false,
+ serialized_name: 'subStatus',
+ type: {
+ name: 'Number'
+ }
+ },
+ win32status: {
+ required: false,
+ serialized_name: 'win32Status',
+ type: {
+ name: 'Number'
+ }
+ },
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/status_options.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/status_options.rb
new file mode 100644
index 0000000000..f003237af6
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/status_options.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for StatusOptions
+ #
+ module StatusOptions
+ Ready = "Ready"
+ Pending = "Pending"
+ Creating = "Creating"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/usage_state.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/usage_state.rb
new file mode 100644
index 0000000000..263c98c6e6
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/usage_state.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Defines values for UsageState
+ #
+ module UsageState
+ Normal = "Normal"
+ Exceeded = "Exceeded"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/user.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/user.rb
new file mode 100644
index 0000000000..e6700e5aa9
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/user.rb
@@ -0,0 +1,115 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # User crendentials used for publishing activity.
+ #
+ class User < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Username
+ attr_accessor :user_name
+
+ # @return [String] Username used for publishing.
+ attr_accessor :publishing_user_name
+
+ # @return [String] Password used for publishing.
+ attr_accessor :publishing_password
+
+ # @return [String] Password hash used for publishing.
+ attr_accessor :publishing_password_hash
+
+ # @return [String] Password hash salt used for publishing.
+ attr_accessor :publishing_password_hash_salt
+
+
+ #
+ # Mapper for User class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'User',
+ type: {
+ name: 'Composite',
+ class_name: 'User',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ user_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_user_name: {
+ required: false,
+ serialized_name: 'properties.publishingUserName',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password: {
+ required: false,
+ serialized_name: 'properties.publishingPassword',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password_hash: {
+ required: false,
+ serialized_name: 'properties.publishingPasswordHash',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password_hash_salt: {
+ required: false,
+ serialized_name: 'properties.publishingPasswordHashSalt',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/virtual_application.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/virtual_application.rb
new file mode 100644
index 0000000000..ef95f80e3c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/virtual_application.rb
@@ -0,0 +1,84 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Virtual application in an app.
+ #
+ class VirtualApplication
+
+ include MsRestAzure
+
+ # @return [String] Virtual path.
+ attr_accessor :virtual_path
+
+ # @return [String] Physical path.
+ attr_accessor :physical_path
+
+ # @return [Boolean] true if preloading is enabled;
+ # otherwise, false.
+ attr_accessor :preload_enabled
+
+ # @return [Array] Virtual directories for virtual
+ # application.
+ attr_accessor :virtual_directories
+
+
+ #
+ # Mapper for VirtualApplication class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VirtualApplication',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualApplication',
+ model_properties: {
+ virtual_path: {
+ required: false,
+ serialized_name: 'virtualPath',
+ type: {
+ name: 'String'
+ }
+ },
+ physical_path: {
+ required: false,
+ serialized_name: 'physicalPath',
+ type: {
+ name: 'String'
+ }
+ },
+ preload_enabled: {
+ required: false,
+ serialized_name: 'preloadEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ virtual_directories: {
+ required: false,
+ serialized_name: 'virtualDirectories',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VirtualDirectoryElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualDirectory'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/virtual_directory.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/virtual_directory.rb
new file mode 100644
index 0000000000..17da9e04d3
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/virtual_directory.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Directory for virtual application.
+ #
+ class VirtualDirectory
+
+ include MsRestAzure
+
+ # @return [String] Path to virtual application.
+ attr_accessor :virtual_path
+
+ # @return [String] Physical path.
+ attr_accessor :physical_path
+
+
+ #
+ # Mapper for VirtualDirectory class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VirtualDirectory',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualDirectory',
+ model_properties: {
+ virtual_path: {
+ required: false,
+ serialized_name: 'virtualPath',
+ type: {
+ name: 'String'
+ }
+ },
+ physical_path: {
+ required: false,
+ serialized_name: 'physicalPath',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_gateway.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_gateway.rb
new file mode 100644
index 0000000000..9010fe333f
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_gateway.rb
@@ -0,0 +1,86 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # The Virtual Network gateway contract. This is used to give the Virtual
+ # Network gateway access to the VPN package.
+ #
+ class VnetGateway < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The Virtual Network name.
+ attr_accessor :vnet_name
+
+ # @return [String] The URI where the VPN package can be downloaded.
+ attr_accessor :vpn_package_uri
+
+
+ #
+ # Mapper for VnetGateway class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetGateway',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetGateway',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_name: {
+ required: false,
+ serialized_name: 'properties.vnetName',
+ type: {
+ name: 'String'
+ }
+ },
+ vpn_package_uri: {
+ required: false,
+ serialized_name: 'properties.vpnPackageUri',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_info.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_info.rb
new file mode 100644
index 0000000000..9a91ba8a1b
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_info.rb
@@ -0,0 +1,141 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Virtual Network information contract.
+ #
+ class VnetInfo < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The Virtual Network's resource ID.
+ attr_accessor :vnet_resource_id
+
+ # @return [String] The client certificate thumbprint.
+ attr_accessor :cert_thumbprint
+
+ # @return [Array] A certificate file (.cer) blob containing the
+ # public key of the private key used to authenticate a
+ # Point-To-Site VPN connection.
+ attr_accessor :cert_blob
+
+ # @return [Array] The routes that this Virtual Network
+ # connection uses.
+ attr_accessor :routes
+
+ # @return [Boolean] true if a resync is required; otherwise,
+ # false.
+ attr_accessor :resync_required
+
+ # @return [String] DNS servers to be used by this Virtual Network. This
+ # should be a comma-separated list of IP addresses.
+ attr_accessor :dns_servers
+
+
+ #
+ # Mapper for VnetInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetInfo',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_resource_id: {
+ required: false,
+ serialized_name: 'properties.vnetResourceId',
+ type: {
+ name: 'String'
+ }
+ },
+ cert_thumbprint: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.certThumbprint',
+ type: {
+ name: 'String'
+ }
+ },
+ cert_blob: {
+ required: false,
+ serialized_name: 'properties.certBlob',
+ type: {
+ name: 'ByteArray'
+ }
+ },
+ routes: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.routes',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VnetRouteElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetRoute'
+ }
+ }
+ }
+ },
+ resync_required: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resyncRequired',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ dns_servers: {
+ required: false,
+ serialized_name: 'properties.dnsServers',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_route.rb b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_route.rb
new file mode 100644
index 0000000000..d88ce2c6e5
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-04-01/generated/azure_mgmt_web/models/vnet_route.rb
@@ -0,0 +1,118 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_04_01
+ module Models
+ #
+ # Virtual Network route contract used to pass routing information for a
+ # Virtual Network.
+ #
+ class VnetRoute < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of this route. This is only returned by the
+ # server and does not need to be set by the client.
+ attr_accessor :vnet_route_name
+
+ # @return [String] The starting address for this route. This may also
+ # include a CIDR notation, in which case the end address must not be
+ # specified.
+ attr_accessor :start_address
+
+ # @return [String] The ending address for this route. If the start
+ # address is specified in CIDR notation, this must be omitted.
+ attr_accessor :end_address
+
+ # @return [RouteType] 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'
+ attr_accessor :route_type
+
+
+ #
+ # Mapper for VnetRoute class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetRoute',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetRoute',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_route_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ start_address: {
+ required: false,
+ serialized_name: 'properties.startAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ end_address: {
+ required: false,
+ serialized_name: 'properties.endAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ route_type: {
+ required: false,
+ serialized_name: 'properties.routeType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/build.json b/management/azure_mgmt_web/lib/2015-08-01/build.json
new file mode 100644
index 0000000000..3c6d7fd8cc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/build.json
@@ -0,0 +1,225 @@
+{
+ "autorest": [
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest-core",
+ "version": "2.0.4168",
+ "engines": {
+ "node": ">=7.10.0"
+ },
+ "dependencies": {},
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/async-io": "~1.0.22",
+ "@microsoft.azure/extension": "~1.2.12",
+ "@types/commonmark": "^0.27.0",
+ "@types/jsonpath": "^0.1.29",
+ "@types/node": "^8.0.28",
+ "@types/pify": "0.0.28",
+ "@types/source-map": "^0.5.0",
+ "@types/yargs": "^8.0.2",
+ "commonmark": "^0.27.0",
+ "file-url": "^2.0.2",
+ "get-uri": "^2.0.0",
+ "jsonpath": "^0.2.11",
+ "linq-es2015": "^2.4.25",
+ "mocha": "3.4.2",
+ "mocha-typescript": "1.1.5",
+ "pify": "^3.0.0",
+ "safe-eval": "^0.3.0",
+ "shx": "^0.2.2",
+ "source-map": "^0.5.6",
+ "source-map-support": "^0.4.15",
+ "strip-bom": "^3.0.0",
+ "typescript": "2.5.3",
+ "untildify": "^3.0.2",
+ "urijs": "^1.18.10",
+ "vscode-jsonrpc": "^3.3.1",
+ "yaml-ast-parser": "https://github.com/olydis/yaml-ast-parser/releases/download/0.0.34/yaml-ast-parser-0.0.34.tgz",
+ "yargs": "^8.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_shasum": "33813111fc9bfa488bd600fbba48bc53cc9182c7",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest-core@2.0.4168",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_where": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.0.21",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.3.2"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.1.1",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "3ce7d3939124b31830be15e5de99b9b7768afb90",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.0.21",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.1.22",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "ca425289fa38a210d279729048a4a91673f09c67",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.1.22",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.ruby",
+ "version": "3.0.20",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/autorest.testserver": "^1.9.2",
+ "autorest": "^2.0.0",
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_shasum": "f5b24eb17914aad0e8d2da581642044a6088d905",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.ruby@3.0.20",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ }
+ ],
+ "autorest_bootstrap": {}
+}
\ No newline at end of file
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web.rb
index 97df12ff09..f8106d3e0d 100644
--- a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web.rb
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web.rb
@@ -24,25 +24,80 @@ module Azure::Web::Mgmt::V2015_08_01
autoload :WebSiteManagementClient, '2015-08-01/generated/azure_mgmt_web/web_site_management_client.rb'
module Models
- autoload :AppServiceCertificateOrderCollection, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb'
- autoload :Resource, '2015-08-01/generated/azure_mgmt_web/models/resource.rb'
- autoload :AppServiceCertificate, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate.rb'
- autoload :SiteSealRequest, '2015-08-01/generated/azure_mgmt_web/models/site_seal_request.rb'
- autoload :CertificateDetails, '2015-08-01/generated/azure_mgmt_web/models/certificate_details.rb'
+ autoload :CloningInfo, '2015-08-01/generated/azure_mgmt_web/models/cloning_info.rb'
+ autoload :HostingEnvironmentProfile, '2015-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
+ autoload :HandlerMapping, '2015-08-01/generated/azure_mgmt_web/models/handler_mapping.rb'
autoload :AppServiceCertificateCollection, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_collection.rb'
+ autoload :ResourceMetricAvailability, '2015-08-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
+ autoload :ResourceMetricName, '2015-08-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
autoload :NameIdentifier, '2015-08-01/generated/azure_mgmt_web/models/name_identifier.rb'
+ autoload :VirtualApplication, '2015-08-01/generated/azure_mgmt_web/models/virtual_application.rb'
+ autoload :SkuDescription, '2015-08-01/generated/azure_mgmt_web/models/sku_description.rb'
+ autoload :VirtualDirectory, '2015-08-01/generated/azure_mgmt_web/models/virtual_directory.rb'
+ autoload :Capability, '2015-08-01/generated/azure_mgmt_web/models/capability.rb'
+ autoload :Experiments, '2015-08-01/generated/azure_mgmt_web/models/experiments.rb'
autoload :SiteSeal, '2015-08-01/generated/azure_mgmt_web/models/site_seal.rb'
+ autoload :RampUpRule, '2015-08-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
+ autoload :ManagedServiceIdentity, '2015-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb'
autoload :ProxyOnlyResource, '2015-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
+ autoload :SnapshotRecoveryTarget, '2015-08-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
+ autoload :AppServiceCertificate, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate.rb'
+ autoload :NameValuePair, '2015-08-01/generated/azure_mgmt_web/models/name_value_pair.rb'
+ autoload :SiteLimits, '2015-08-01/generated/azure_mgmt_web/models/site_limits.rb'
+ autoload :SiteMachineKey, '2015-08-01/generated/azure_mgmt_web/models/site_machine_key.rb'
+ autoload :IpSecurityRestriction, '2015-08-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
+ autoload :AppServiceCertificateOrderCollection, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order_collection.rb'
+ autoload :ApiDefinitionInfo, '2015-08-01/generated/azure_mgmt_web/models/api_definition_info.rb'
+ autoload :SkuCapacity, '2015-08-01/generated/azure_mgmt_web/models/sku_capacity.rb'
+ autoload :CorsSettings, '2015-08-01/generated/azure_mgmt_web/models/cors_settings.rb'
+ autoload :SiteSealRequest, '2015-08-01/generated/azure_mgmt_web/models/site_seal_request.rb'
+ autoload :AutoHealCustomAction, '2015-08-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
+ autoload :SiteConfig, '2015-08-01/generated/azure_mgmt_web/models/site_config.rb'
+ autoload :AutoHealActions, '2015-08-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
+ autoload :CertificateDetails, '2015-08-01/generated/azure_mgmt_web/models/certificate_details.rb'
+ autoload :SlowRequestsBasedTrigger, '2015-08-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
+ autoload :HostNameSslState, '2015-08-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
+ autoload :StatusCodesBasedTrigger, '2015-08-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
+ autoload :ConnStringInfo, '2015-08-01/generated/azure_mgmt_web/models/conn_string_info.rb'
+ autoload :RequestsBasedTrigger, '2015-08-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
+ autoload :SlotSwapStatus, '2015-08-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
+ autoload :AutoHealTriggers, '2015-08-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
+ autoload :Resource, '2015-08-01/generated/azure_mgmt_web/models/resource.rb'
+ autoload :AutoHealRules, '2015-08-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
autoload :AppServiceCertificateResource, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_resource.rb'
autoload :AppServiceCertificateOrder, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order.rb'
+ autoload :AppServiceCertificateOrderPatchResource, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb'
+ autoload :AppServiceCertificatePatchResource, '2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb'
autoload :CertificateEmail, '2015-08-01/generated/azure_mgmt_web/models/certificate_email.rb'
autoload :CertificateOrderAction, '2015-08-01/generated/azure_mgmt_web/models/certificate_order_action.rb'
autoload :ReissueCertificateOrderRequest, '2015-08-01/generated/azure_mgmt_web/models/reissue_certificate_order_request.rb'
autoload :RenewCertificateOrderRequest, '2015-08-01/generated/azure_mgmt_web/models/renew_certificate_order_request.rb'
+ autoload :VnetRoute, '2015-08-01/generated/azure_mgmt_web/models/vnet_route.rb'
+ autoload :VnetInfo, '2015-08-01/generated/azure_mgmt_web/models/vnet_info.rb'
+ autoload :VnetGateway, '2015-08-01/generated/azure_mgmt_web/models/vnet_gateway.rb'
+ autoload :User, '2015-08-01/generated/azure_mgmt_web/models/user.rb'
+ autoload :SnapshotRecoveryRequest, '2015-08-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb'
+ autoload :ResourceMetricDefinition, '2015-08-01/generated/azure_mgmt_web/models/resource_metric_definition.rb'
+ autoload :PushSettings, '2015-08-01/generated/azure_mgmt_web/models/push_settings.rb'
+ autoload :HybridConnectionKey, '2015-08-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb'
+ autoload :HybridConnection, '2015-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb'
+ autoload :Site, '2015-08-01/generated/azure_mgmt_web/models/site.rb'
+ autoload :AppServicePlan, '2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb'
autoload :KeyVaultSecretStatus, '2015-08-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb'
autoload :CertificateProductType, '2015-08-01/generated/azure_mgmt_web/models/certificate_product_type.rb'
autoload :ProvisioningState, '2015-08-01/generated/azure_mgmt_web/models/provisioning_state.rb'
autoload :CertificateOrderStatus, '2015-08-01/generated/azure_mgmt_web/models/certificate_order_status.rb'
autoload :CertificateOrderActionType, '2015-08-01/generated/azure_mgmt_web/models/certificate_order_action_type.rb'
+ autoload :RouteType, '2015-08-01/generated/azure_mgmt_web/models/route_type.rb'
+ autoload :AutoHealActionType, '2015-08-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
+ autoload :ConnectionStringType, '2015-08-01/generated/azure_mgmt_web/models/connection_string_type.rb'
+ autoload :ScmType, '2015-08-01/generated/azure_mgmt_web/models/scm_type.rb'
+ autoload :ManagedPipelineMode, '2015-08-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
+ autoload :SiteLoadBalancing, '2015-08-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
+ autoload :SslState, '2015-08-01/generated/azure_mgmt_web/models/ssl_state.rb'
+ autoload :HostType, '2015-08-01/generated/azure_mgmt_web/models/host_type.rb'
+ autoload :UsageState, '2015-08-01/generated/azure_mgmt_web/models/usage_state.rb'
+ autoload :SiteAvailabilityState, '2015-08-01/generated/azure_mgmt_web/models/site_availability_state.rb'
+ autoload :StatusOptions, '2015-08-01/generated/azure_mgmt_web/models/status_options.rb'
end
end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb
index f51ea8fe08..4d4d488c50 100644
--- a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb
@@ -539,6 +539,135 @@ def delete_async(resource_group_name, certificate_order_name, custom_headers = n
promise.execute
end
+ #
+ # Create or update a certificate purchase order.
+ #
+ # Create or update a certificate purchase order.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param certificate_order_name [String] Name of the certificate order.
+ # @param certificate_distinguished_name
+ # [AppServiceCertificateOrderPatchResource] Distinguished name to to use for
+ # the certificate order.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [AppServiceCertificateOrder] operation results.
+ #
+ def update(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers = nil)
+ response = update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Create or update a certificate purchase order.
+ #
+ # Create or update a certificate purchase order.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param certificate_order_name [String] Name of the certificate order.
+ # @param certificate_distinguished_name
+ # [AppServiceCertificateOrderPatchResource] Distinguished name to to use for
+ # the certificate order.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_with_http_info(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers = nil)
+ update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers).value!
+ end
+
+ #
+ # Create or update a certificate purchase order.
+ #
+ # Create or update a certificate purchase order.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param certificate_order_name [String] Name of the certificate order.
+ # @param certificate_distinguished_name
+ # [AppServiceCertificateOrderPatchResource] Distinguished name to to use for
+ # the certificate order.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_async(resource_group_name, certificate_order_name, certificate_distinguished_name, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
+ fail ArgumentError, 'certificate_distinguished_name is nil' if certificate_distinguished_name.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrderPatchResource.mapper()
+ request_content = @client.serialize(request_mapper, certificate_distinguished_name)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 201
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 201
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateOrder.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# List all certificates associated with a certificate order.
#
@@ -888,6 +1017,136 @@ def delete_certificate_async(resource_group_name, certificate_order_name, name,
promise.execute
end
+ #
+ # Creates or updates a certificate and associates with key vault secret.
+ #
+ # Creates or updates a certificate and associates with key vault secret.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param certificate_order_name [String] Name of the certificate order.
+ # @param name [String] Name of the certificate.
+ # @param key_vault_certificate [AppServiceCertificatePatchResource] Key vault
+ # certificate resource Id.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [AppServiceCertificateResource] operation results.
+ #
+ def update_certificate(resource_group_name, certificate_order_name, name, key_vault_certificate, custom_headers = nil)
+ response = update_certificate_async(resource_group_name, certificate_order_name, name, key_vault_certificate, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Creates or updates a certificate and associates with key vault secret.
+ #
+ # Creates or updates a certificate and associates with key vault secret.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param certificate_order_name [String] Name of the certificate order.
+ # @param name [String] Name of the certificate.
+ # @param key_vault_certificate [AppServiceCertificatePatchResource] Key vault
+ # certificate resource Id.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_certificate_with_http_info(resource_group_name, certificate_order_name, name, key_vault_certificate, custom_headers = nil)
+ update_certificate_async(resource_group_name, certificate_order_name, name, key_vault_certificate, custom_headers).value!
+ end
+
+ #
+ # Creates or updates a certificate and associates with key vault secret.
+ #
+ # Creates or updates a certificate and associates with key vault secret.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param certificate_order_name [String] Name of the certificate order.
+ # @param name [String] Name of the certificate.
+ # @param key_vault_certificate [AppServiceCertificatePatchResource] Key vault
+ # certificate resource Id.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_certificate_async(resource_group_name, certificate_order_name, name, key_vault_certificate, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'certificate_order_name is nil' if certificate_order_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'key_vault_certificate is nil' if key_vault_certificate.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificatePatchResource.mapper()
+ request_content = @client.serialize(request_mapper, key_vault_certificate)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CertificateRegistration/certificateOrders/{certificateOrderName}/certificates/{name}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'certificateOrderName' => certificate_order_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 201
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 201
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2015_08_01::Models::AppServiceCertificateResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Reissue an existing certificate order.
#
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/api_definition_info.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/api_definition_info.rb
new file mode 100644
index 0000000000..d0a9f5bc6a
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/api_definition_info.rb
@@ -0,0 +1,44 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Information about the formal API definition for the app.
+ #
+ class ApiDefinitionInfo
+
+ include MsRestAzure
+
+ # @return [String] The URL of the API definition.
+ attr_accessor :url
+
+
+ #
+ # Mapper for ApiDefinitionInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ApiDefinitionInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'ApiDefinitionInfo',
+ model_properties: {
+ url: {
+ required: false,
+ serialized_name: 'url',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb
new file mode 100644
index 0000000000..329dcef008
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_order_patch_resource.rb
@@ -0,0 +1,309 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # ARM resource for a certificate order that is purchased through Azure.
+ #
+ class AppServiceCertificateOrderPatchResource < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [Hash{String => AppServiceCertificate}] State of the Key Vault
+ # secret.
+ attr_accessor :certificates
+
+ # @return [String] Certificate distinguished name.
+ attr_accessor :distinguished_name
+
+ # @return [String] Domain verification token.
+ attr_accessor :domain_verification_token
+
+ # @return [Integer] Duration in years (must be between 1 and 3). Default
+ # value: 1 .
+ attr_accessor :validity_in_years
+
+ # @return [Integer] Certificate key size. Default value: 2048 .
+ attr_accessor :key_size
+
+ # @return [CertificateProductType] Certificate product type. Possible
+ # values include: 'StandardDomainValidatedSsl',
+ # 'StandardDomainValidatedWildCardSsl'
+ attr_accessor :product_type
+
+ # @return [Boolean] true if the certificate should be
+ # automatically renewed when it expires; otherwise, false.
+ # Default value: true .
+ attr_accessor :auto_renew
+
+ # @return [ProvisioningState] Status of certificate order. Possible
+ # values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress',
+ # 'Deleting'
+ attr_accessor :provisioning_state
+
+ # @return [CertificateOrderStatus] Current order status. Possible values
+ # include: 'Pendingissuance', 'Issued', 'Revoked', 'Canceled', 'Denied',
+ # 'Pendingrevocation', 'PendingRekey', 'Unused', 'Expired',
+ # 'NotSubmitted'
+ attr_accessor :status
+
+ # @return [CertificateDetails] Signed certificate.
+ attr_accessor :signed_certificate
+
+ # @return [String] Last CSR that was created for this order.
+ attr_accessor :csr
+
+ # @return [CertificateDetails] Intermediate certificate.
+ attr_accessor :intermediate
+
+ # @return [CertificateDetails] Root certificate.
+ attr_accessor :root
+
+ # @return [String] Current serial number of the certificate.
+ attr_accessor :serial_number
+
+ # @return [DateTime] Certificate last issuance time.
+ attr_accessor :last_certificate_issuance_time
+
+ # @return [DateTime] Certificate expiration time.
+ attr_accessor :expiration_time
+
+ # @return [Boolean] true if private key is external;
+ # otherwise, false.
+ attr_accessor :is_private_key_external
+
+ # @return [Array] Reasons why App Service Certificate is not
+ # renewable at the current moment.
+ attr_accessor :app_service_certificate_not_renewable_reasons
+
+ # @return [DateTime] Time stamp when the certificate would be auto
+ # renewed next
+ attr_accessor :next_auto_renewal_time_stamp
+
+
+ #
+ # Mapper for AppServiceCertificateOrderPatchResource class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AppServiceCertificateOrderPatchResource',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServiceCertificateOrderPatchResource',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ certificates: {
+ required: false,
+ serialized_name: 'properties.certificates',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'AppServiceCertificateElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServiceCertificate'
+ }
+ }
+ }
+ },
+ distinguished_name: {
+ required: false,
+ serialized_name: 'properties.distinguishedName',
+ type: {
+ name: 'String'
+ }
+ },
+ domain_verification_token: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.domainVerificationToken',
+ type: {
+ name: 'String'
+ }
+ },
+ validity_in_years: {
+ required: false,
+ serialized_name: 'properties.validityInYears',
+ default_value: 1,
+ constraints: {
+ InclusiveMaximum: 3,
+ InclusiveMinimum: 1
+ },
+ type: {
+ name: 'Number'
+ }
+ },
+ key_size: {
+ required: false,
+ serialized_name: 'properties.keySize',
+ default_value: 2048,
+ type: {
+ name: 'Number'
+ }
+ },
+ product_type: {
+ required: false,
+ serialized_name: 'properties.productType',
+ type: {
+ name: 'Enum',
+ module: 'CertificateProductType'
+ }
+ },
+ auto_renew: {
+ required: false,
+ serialized_name: 'properties.autoRenew',
+ default_value: true,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'ProvisioningState'
+ }
+ },
+ status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.status',
+ type: {
+ name: 'Enum',
+ module: 'CertificateOrderStatus'
+ }
+ },
+ signed_certificate: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.signedCertificate',
+ type: {
+ name: 'Composite',
+ class_name: 'CertificateDetails'
+ }
+ },
+ csr: {
+ required: false,
+ serialized_name: 'properties.csr',
+ type: {
+ name: 'String'
+ }
+ },
+ intermediate: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.intermediate',
+ type: {
+ name: 'Composite',
+ class_name: 'CertificateDetails'
+ }
+ },
+ root: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.root',
+ type: {
+ name: 'Composite',
+ class_name: 'CertificateDetails'
+ }
+ },
+ serial_number: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.serialNumber',
+ type: {
+ name: 'String'
+ }
+ },
+ last_certificate_issuance_time: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.lastCertificateIssuanceTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ expiration_time: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.expirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ is_private_key_external: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.isPrivateKeyExternal',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ app_service_certificate_not_renewable_reasons: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.appServiceCertificateNotRenewableReasons',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'enumElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ next_auto_renewal_time_stamp: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.nextAutoRenewalTimeStamp',
+ type: {
+ name: 'DateTime'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb
new file mode 100644
index 0000000000..499152e739
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_certificate_patch_resource.rb
@@ -0,0 +1,104 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Key Vault container ARM resource for a certificate that is purchased
+ # through Azure.
+ #
+ class AppServiceCertificatePatchResource < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Key Vault resource Id.
+ attr_accessor :key_vault_id
+
+ # @return [String] Key Vault secret name.
+ attr_accessor :key_vault_secret_name
+
+ # @return [KeyVaultSecretStatus] Status of the Key Vault secret. Possible
+ # values include: 'Initialized', 'WaitingOnCertificateOrder',
+ # 'Succeeded', 'CertificateOrderFailed',
+ # 'OperationNotPermittedOnKeyVault',
+ # 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist',
+ # 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey',
+ # 'Unknown'
+ attr_accessor :provisioning_state
+
+
+ #
+ # Mapper for AppServiceCertificatePatchResource class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AppServiceCertificatePatchResource',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServiceCertificatePatchResource',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ key_vault_id: {
+ required: false,
+ serialized_name: 'properties.keyVaultId',
+ type: {
+ name: 'String'
+ }
+ },
+ key_vault_secret_name: {
+ required: false,
+ serialized_name: 'properties.keyVaultSecretName',
+ type: {
+ name: 'String'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'KeyVaultSecretStatus'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb
new file mode 100644
index 0000000000..a99a24cc39
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/app_service_plan.rb
@@ -0,0 +1,289 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # App Service plan.
+ #
+ class AppServicePlan < Resource
+
+ include MsRestAzure
+
+ # @return [String] Name for the App Service plan.
+ attr_accessor :app_service_plan_name
+
+ # @return [String] Target worker tier assigned to the App Service plan.
+ attr_accessor :worker_tier_name
+
+ # @return [StatusOptions] App Service plan status. Possible values
+ # include: 'Ready', 'Pending', 'Creating'
+ attr_accessor :status
+
+ # @return [String] App Service plan subscription.
+ attr_accessor :subscription
+
+ # @return [String] App Service plan administration site.
+ attr_accessor :admin_site_name
+
+ # @return [HostingEnvironmentProfile] Specification for the App Service
+ # Environment to use for the App Service plan.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Integer] Maximum number of instances that can be assigned to
+ # this App Service plan.
+ attr_accessor :maximum_number_of_workers
+
+ # @return [String] Geographical location for the App Service plan.
+ attr_accessor :geo_region
+
+ # @return [Boolean] If true, apps assigned to this App
+ # Service plan can be scaled independently.
+ # If false, apps assigned to this App Service plan will
+ # scale to all instances of the plan. Default value: false .
+ attr_accessor :per_site_scaling
+
+ # @return [Integer] Number of apps assigned to this App Service plan.
+ attr_accessor :number_of_sites
+
+ # @return [Boolean] If true, this App Service Plan owns spot
+ # instances.
+ attr_accessor :is_spot
+
+ # @return [DateTime] The time when the server farm expires. Valid only if
+ # it is a spot server farm.
+ attr_accessor :spot_expiration_time
+
+ # @return [String] Resource group of the App Service plan.
+ attr_accessor :resource_group
+
+ # @return [Boolean] Reserved. Default value: false .
+ attr_accessor :reserved
+
+ # @return [Integer] Scaling worker count.
+ attr_accessor :target_worker_count
+
+ # @return [Integer] Scaling worker size ID.
+ attr_accessor :target_worker_size_id
+
+ # @return [ProvisioningState] Provisioning state of the App Service
+ # Environment. Possible values include: 'Succeeded', 'Failed',
+ # 'Canceled', 'InProgress', 'Deleting'
+ attr_accessor :provisioning_state
+
+ # @return [SkuDescription]
+ attr_accessor :sku
+
+
+ #
+ # Mapper for AppServicePlan class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AppServicePlan',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServicePlan',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: true,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ tags: {
+ required: false,
+ serialized_name: 'tags',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ app_service_plan_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ worker_tier_name: {
+ required: false,
+ serialized_name: 'properties.workerTierName',
+ type: {
+ name: 'String'
+ }
+ },
+ status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.status',
+ type: {
+ name: 'Enum',
+ module: 'StatusOptions'
+ }
+ },
+ subscription: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.subscription',
+ type: {
+ name: 'String'
+ }
+ },
+ admin_site_name: {
+ required: false,
+ serialized_name: 'properties.adminSiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ maximum_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maximumNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ geo_region: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.geoRegion',
+ type: {
+ name: 'String'
+ }
+ },
+ per_site_scaling: {
+ required: false,
+ serialized_name: 'properties.perSiteScaling',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ number_of_sites: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.numberOfSites',
+ type: {
+ name: 'Number'
+ }
+ },
+ is_spot: {
+ required: false,
+ serialized_name: 'properties.isSpot',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ spot_expiration_time: {
+ required: false,
+ serialized_name: 'properties.spotExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_worker_count: {
+ required: false,
+ serialized_name: 'properties.targetWorkerCount',
+ type: {
+ name: 'Number'
+ }
+ },
+ target_worker_size_id: {
+ required: false,
+ serialized_name: 'properties.targetWorkerSizeId',
+ type: {
+ name: 'Number'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'ProvisioningState'
+ }
+ },
+ sku: {
+ required: false,
+ serialized_name: 'sku',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuDescription'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb
new file mode 100644
index 0000000000..8b0bbad4bb
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for AutoHealActionType
+ #
+ module AutoHealActionType
+ Recycle = "Recycle"
+ LogEvent = "LogEvent"
+ CustomAction = "CustomAction"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_actions.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_actions.rb
new file mode 100644
index 0000000000..cbea2c7b9c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_actions.rb
@@ -0,0 +1,68 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Actions which to take by the auto-heal module when a rule is triggered.
+ #
+ class AutoHealActions
+
+ include MsRestAzure
+
+ # @return [AutoHealActionType] Predefined action to be taken. Possible
+ # values include: 'Recycle', 'LogEvent', 'CustomAction'
+ attr_accessor :action_type
+
+ # @return [AutoHealCustomAction] Custom action to be taken.
+ attr_accessor :custom_action
+
+ # @return [String] Minimum time the process must execute
+ # before taking the action
+ attr_accessor :min_process_execution_time
+
+
+ #
+ # Mapper for AutoHealActions class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealActions',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealActions',
+ model_properties: {
+ action_type: {
+ required: false,
+ serialized_name: 'actionType',
+ type: {
+ name: 'Enum',
+ module: 'AutoHealActionType'
+ }
+ },
+ custom_action: {
+ required: false,
+ serialized_name: 'customAction',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealCustomAction'
+ }
+ },
+ min_process_execution_time: {
+ required: false,
+ serialized_name: 'minProcessExecutionTime',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb
new file mode 100644
index 0000000000..df87d0fc99
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb
@@ -0,0 +1,55 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Custom action to be executed
+ # when an auto heal rule is triggered.
+ #
+ class AutoHealCustomAction
+
+ include MsRestAzure
+
+ # @return [String] Executable to be run.
+ attr_accessor :exe
+
+ # @return [String] Parameters for the executable.
+ attr_accessor :parameters
+
+
+ #
+ # Mapper for AutoHealCustomAction class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealCustomAction',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealCustomAction',
+ model_properties: {
+ exe: {
+ required: false,
+ serialized_name: 'exe',
+ type: {
+ name: 'String'
+ }
+ },
+ parameters: {
+ required: false,
+ serialized_name: 'parameters',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_rules.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
new file mode 100644
index 0000000000..5432f9b23e
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
@@ -0,0 +1,58 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Rules that can be defined for auto-heal.
+ #
+ class AutoHealRules
+
+ include MsRestAzure
+
+ # @return [AutoHealTriggers] Conditions that describe when to execute the
+ # auto-heal actions.
+ attr_accessor :triggers
+
+ # @return [AutoHealActions] Actions to be executed when a rule is
+ # triggered.
+ attr_accessor :actions
+
+
+ #
+ # Mapper for AutoHealRules class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealRules',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealRules',
+ model_properties: {
+ triggers: {
+ required: false,
+ serialized_name: 'triggers',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealTriggers'
+ }
+ },
+ actions: {
+ required: false,
+ serialized_name: 'actions',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealActions'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb
new file mode 100644
index 0000000000..334eed2d92
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb
@@ -0,0 +1,85 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Triggers for auto-heal.
+ #
+ class AutoHealTriggers
+
+ include MsRestAzure
+
+ # @return [RequestsBasedTrigger] A rule based on total requests.
+ attr_accessor :requests
+
+ # @return [Integer] A rule based on private bytes.
+ attr_accessor :private_bytes_in_kb
+
+ # @return [Array] A rule based on status codes.
+ attr_accessor :status_codes
+
+ # @return [SlowRequestsBasedTrigger] A rule based on request execution
+ # time.
+ attr_accessor :slow_requests
+
+
+ #
+ # Mapper for AutoHealTriggers class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealTriggers',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealTriggers',
+ model_properties: {
+ requests: {
+ required: false,
+ serialized_name: 'requests',
+ type: {
+ name: 'Composite',
+ class_name: 'RequestsBasedTrigger'
+ }
+ },
+ private_bytes_in_kb: {
+ required: false,
+ serialized_name: 'privateBytesInKB',
+ type: {
+ name: 'Number'
+ }
+ },
+ status_codes: {
+ required: false,
+ serialized_name: 'statusCodes',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StatusCodesBasedTriggerElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'StatusCodesBasedTrigger'
+ }
+ }
+ }
+ },
+ slow_requests: {
+ required: false,
+ serialized_name: 'slowRequests',
+ type: {
+ name: 'Composite',
+ class_name: 'SlowRequestsBasedTrigger'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/capability.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/capability.rb
new file mode 100644
index 0000000000..abb0d2cafd
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/capability.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Describes the capabilities/features allowed for a specific SKU.
+ #
+ class Capability
+
+ include MsRestAzure
+
+ # @return [String] Name of the SKU capability.
+ attr_accessor :name
+
+ # @return [String] Value of the SKU capability.
+ attr_accessor :value
+
+ # @return [String] Reason of the SKU capability.
+ attr_accessor :reason
+
+
+ #
+ # Mapper for Capability class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Capability',
+ type: {
+ name: 'Composite',
+ class_name: 'Capability',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ value: {
+ required: false,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ },
+ reason: {
+ required: false,
+ serialized_name: 'reason',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/certificate_details.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/certificate_details.rb
index 8656b2dd05..dfe20fad26 100644
--- a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/certificate_details.rb
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/certificate_details.rb
@@ -12,28 +12,28 @@ class CertificateDetails
include MsRestAzure
- # @return [Integer] Version.
+ # @return [Integer] Certificate Version.
attr_accessor :version
- # @return [String] Serial Number.
+ # @return [String] Certificate Serial Number.
attr_accessor :serial_number
- # @return [String] Thumbprint.
+ # @return [String] Certificate Thumbprint.
attr_accessor :thumbprint
- # @return [String] Subject.
+ # @return [String] Certificate Subject.
attr_accessor :subject
- # @return [DateTime] Valid from.
+ # @return [DateTime] Date Certificate is valid from.
attr_accessor :not_before
- # @return [DateTime] Valid to.
+ # @return [DateTime] Date Certificate is valid to.
attr_accessor :not_after
- # @return [String] Signature algorithm.
+ # @return [String] Certificate Signature algorithm.
attr_accessor :signature_algorithm
- # @return [String] Issuer.
+ # @return [String] Certificate Issuer.
attr_accessor :issuer
# @return [String] Raw certificate data.
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/cloning_info.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/cloning_info.rb
new file mode 100644
index 0000000000..9e47d2dc66
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/cloning_info.rb
@@ -0,0 +1,169 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Information needed for cloning operation.
+ #
+ class CloningInfo
+
+ include MsRestAzure
+
+ # @return Correlation ID of cloning operation. This ID ties multiple
+ # cloning operations
+ # together to use the same snapshot.
+ attr_accessor :correlation_id
+
+ # @return [Boolean] true to overwrite destination app;
+ # otherwise, false.
+ attr_accessor :overwrite
+
+ # @return [Boolean] true to clone custom hostnames from
+ # source app; otherwise, false.
+ attr_accessor :clone_custom_host_names
+
+ # @return [Boolean] true to clone source control from source
+ # app; otherwise, false.
+ attr_accessor :clone_source_control
+
+ # @return [String] 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.
+ attr_accessor :source_web_app_id
+
+ # @return [String] App Service Environment.
+ attr_accessor :hosting_environment
+
+ # @return [Hash{String => String}] 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.
+ attr_accessor :app_settings_overrides
+
+ # @return [Boolean] true to configure load balancing for
+ # source and destination app.
+ attr_accessor :configure_load_balancing
+
+ # @return [String] 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}.
+ attr_accessor :traffic_manager_profile_id
+
+ # @return [String] Name of Traffic Manager profile to create. This is
+ # only needed if Traffic Manager profile does not already exist.
+ attr_accessor :traffic_manager_profile_name
+
+ # @return [Boolean] true if quotas should be ignored;
+ # otherwise, false.
+ attr_accessor :ignore_quotas
+
+
+ #
+ # Mapper for CloningInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'CloningInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'CloningInfo',
+ model_properties: {
+ correlation_id: {
+ required: false,
+ serialized_name: 'correlationId',
+ type: {
+ name: 'String'
+ }
+ },
+ overwrite: {
+ required: false,
+ serialized_name: 'overwrite',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ clone_custom_host_names: {
+ required: false,
+ serialized_name: 'cloneCustomHostNames',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ clone_source_control: {
+ required: false,
+ serialized_name: 'cloneSourceControl',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ source_web_app_id: {
+ required: true,
+ serialized_name: 'sourceWebAppId',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment: {
+ required: false,
+ serialized_name: 'hostingEnvironment',
+ type: {
+ name: 'String'
+ }
+ },
+ app_settings_overrides: {
+ required: false,
+ serialized_name: 'appSettingsOverrides',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ configure_load_balancing: {
+ required: false,
+ serialized_name: 'configureLoadBalancing',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ traffic_manager_profile_id: {
+ required: false,
+ serialized_name: 'trafficManagerProfileId',
+ type: {
+ name: 'String'
+ }
+ },
+ traffic_manager_profile_name: {
+ required: false,
+ serialized_name: 'trafficManagerProfileName',
+ type: {
+ name: 'String'
+ }
+ },
+ ignore_quotas: {
+ required: false,
+ serialized_name: 'ignoreQuotas',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/conn_string_info.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/conn_string_info.rb
new file mode 100644
index 0000000000..b272bd92c8
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/conn_string_info.rb
@@ -0,0 +1,67 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Database connection string information.
+ #
+ class ConnStringInfo
+
+ include MsRestAzure
+
+ # @return [String] Name of connection string.
+ attr_accessor :name
+
+ # @return [String] Connection string value.
+ attr_accessor :connection_string
+
+ # @return [ConnectionStringType] Type of database. Possible values
+ # include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub',
+ # 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'
+ attr_accessor :type
+
+
+ #
+ # Mapper for ConnStringInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ConnStringInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'ConnStringInfo',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ connection_string: {
+ required: false,
+ serialized_name: 'connectionString',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ serialized_name: 'type',
+ type: {
+ name: 'Enum',
+ module: 'ConnectionStringType'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/connection_string_type.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/connection_string_type.rb
new file mode 100644
index 0000000000..a90da0279d
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/connection_string_type.rb
@@ -0,0 +1,25 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for ConnectionStringType
+ #
+ module ConnectionStringType
+ MySql = "MySql"
+ SQLServer = "SQLServer"
+ SQLAzure = "SQLAzure"
+ Custom = "Custom"
+ NotificationHub = "NotificationHub"
+ ServiceBus = "ServiceBus"
+ EventHub = "EventHub"
+ ApiHub = "ApiHub"
+ DocDb = "DocDb"
+ RedisCache = "RedisCache"
+ PostgreSQL = "PostgreSQL"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/cors_settings.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/cors_settings.rb
new file mode 100644
index 0000000000..7885fc73b7
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/cors_settings.rb
@@ -0,0 +1,53 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Cross-Origin Resource Sharing (CORS) settings for the app.
+ #
+ class CorsSettings
+
+ include MsRestAzure
+
+ # @return [Array] 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.
+ attr_accessor :allowed_origins
+
+
+ #
+ # Mapper for CorsSettings class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'CorsSettings',
+ type: {
+ name: 'Composite',
+ class_name: 'CorsSettings',
+ model_properties: {
+ allowed_origins: {
+ required: false,
+ serialized_name: 'allowedOrigins',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/experiments.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/experiments.rb
new file mode 100644
index 0000000000..9bd4349c40
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/experiments.rb
@@ -0,0 +1,52 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Routing rules in production experiments.
+ #
+ class Experiments
+
+ include MsRestAzure
+
+ # @return [Array] List of ramp-up rules.
+ attr_accessor :ramp_up_rules
+
+
+ #
+ # Mapper for Experiments class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Experiments',
+ type: {
+ name: 'Composite',
+ class_name: 'Experiments',
+ model_properties: {
+ ramp_up_rules: {
+ required: false,
+ serialized_name: 'rampUpRules',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'RampUpRuleElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'RampUpRule'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/handler_mapping.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/handler_mapping.rb
new file mode 100644
index 0000000000..00bad17318
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/handler_mapping.rb
@@ -0,0 +1,69 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # The IIS handler mappings used to define which handler processes HTTP
+ # requests with certain extension.
+ # For example, it is used to configure php-cgi.exe process to handle all
+ # HTTP requests with *.php extension.
+ #
+ class HandlerMapping
+
+ include MsRestAzure
+
+ # @return [String] Requests with this extension will be handled using the
+ # specified FastCGI application.
+ attr_accessor :extension
+
+ # @return [String] The absolute path to the FastCGI application.
+ attr_accessor :script_processor
+
+ # @return [String] Command-line arguments to be passed to the script
+ # processor.
+ attr_accessor :arguments
+
+
+ #
+ # Mapper for HandlerMapping class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HandlerMapping',
+ type: {
+ name: 'Composite',
+ class_name: 'HandlerMapping',
+ model_properties: {
+ extension: {
+ required: false,
+ serialized_name: 'extension',
+ type: {
+ name: 'String'
+ }
+ },
+ script_processor: {
+ required: false,
+ serialized_name: 'scriptProcessor',
+ type: {
+ name: 'String'
+ }
+ },
+ arguments: {
+ required: false,
+ serialized_name: 'arguments',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb
new file mode 100644
index 0000000000..1c57cea781
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb
@@ -0,0 +1,99 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # SSL-enabled hostname.
+ #
+ class HostNameSslState
+
+ include MsRestAzure
+
+ # @return [String] Hostname.
+ attr_accessor :name
+
+ # @return [SslState] SSL type. Possible values include: 'Disabled',
+ # 'SniEnabled', 'IpBasedEnabled'
+ attr_accessor :ssl_state
+
+ # @return [String] Virtual IP address assigned to the hostname if IP
+ # based SSL is enabled.
+ attr_accessor :virtual_ip
+
+ # @return [String] SSL certificate thumbprint.
+ attr_accessor :thumbprint
+
+ # @return [Boolean] Set to true to update existing hostname.
+ attr_accessor :to_update
+
+ # @return [HostType] Indicates whether the hostname is a standard or
+ # repository hostname. Possible values include: 'Standard', 'Repository'
+ attr_accessor :host_type
+
+
+ #
+ # Mapper for HostNameSslState class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HostNameSslState',
+ type: {
+ name: 'Composite',
+ class_name: 'HostNameSslState',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ ssl_state: {
+ required: false,
+ serialized_name: 'sslState',
+ type: {
+ name: 'Enum',
+ module: 'SslState'
+ }
+ },
+ virtual_ip: {
+ required: false,
+ serialized_name: 'virtualIP',
+ type: {
+ name: 'String'
+ }
+ },
+ thumbprint: {
+ required: false,
+ serialized_name: 'thumbprint',
+ type: {
+ name: 'String'
+ }
+ },
+ to_update: {
+ required: false,
+ serialized_name: 'toUpdate',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ host_type: {
+ required: false,
+ serialized_name: 'hostType',
+ type: {
+ name: 'Enum',
+ module: 'HostType'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/host_type.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/host_type.rb
new file mode 100644
index 0000000000..703215a4eb
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/host_type.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for HostType
+ #
+ module HostType
+ Standard = "Standard"
+ Repository = "Repository"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb
new file mode 100644
index 0000000000..9f39304253
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb
@@ -0,0 +1,66 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Specification for an App Service Environment to use for this resource.
+ #
+ class HostingEnvironmentProfile
+
+ include MsRestAzure
+
+ # @return [String] Resource ID of the App Service Environment.
+ attr_accessor :id
+
+ # @return [String] Name of the App Service Environment.
+ attr_accessor :name
+
+ # @return [String] Resource type of the App Service Environment.
+ attr_accessor :type
+
+
+ #
+ # Mapper for HostingEnvironmentProfile class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile',
+ model_properties: {
+ id: {
+ required: false,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb
new file mode 100644
index 0000000000..e55d78fef5
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb
@@ -0,0 +1,150 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Hybrid Connection contract. This is used to configure a Hybrid
+ # Connection.
+ #
+ class HybridConnection < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of the Service Bus namespace.
+ attr_accessor :service_bus_namespace
+
+ # @return [String] The name of the Service Bus relay.
+ attr_accessor :relay_name
+
+ # @return [String] The ARM URI to the Service Bus relay.
+ attr_accessor :relay_arm_uri
+
+ # @return [String] The hostname of the endpoint.
+ attr_accessor :hostname
+
+ # @return [Integer] The port of the endpoint.
+ attr_accessor :port
+
+ # @return [String] The name of the Service Bus key which has Send
+ # permissions. This is used to authenticate to Service Bus.
+ attr_accessor :send_key_name
+
+ # @return [String] 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.
+ attr_accessor :send_key_value
+
+ # @return [String] The suffix for the service bus endpoint. By default
+ # this is .servicebus.windows.net
+ attr_accessor :service_bus_suffix
+
+
+ #
+ # Mapper for HybridConnection class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HybridConnection',
+ type: {
+ name: 'Composite',
+ class_name: 'HybridConnection',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ service_bus_namespace: {
+ required: false,
+ serialized_name: 'properties.serviceBusNamespace',
+ type: {
+ name: 'String'
+ }
+ },
+ relay_name: {
+ required: false,
+ serialized_name: 'properties.relayName',
+ type: {
+ name: 'String'
+ }
+ },
+ relay_arm_uri: {
+ required: false,
+ serialized_name: 'properties.relayArmUri',
+ type: {
+ name: 'String'
+ }
+ },
+ hostname: {
+ required: false,
+ serialized_name: 'properties.hostname',
+ type: {
+ name: 'String'
+ }
+ },
+ port: {
+ required: false,
+ serialized_name: 'properties.port',
+ type: {
+ name: 'Number'
+ }
+ },
+ send_key_name: {
+ required: false,
+ serialized_name: 'properties.sendKeyName',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_value: {
+ required: false,
+ serialized_name: 'properties.sendKeyValue',
+ type: {
+ name: 'String'
+ }
+ },
+ service_bus_suffix: {
+ required: false,
+ serialized_name: 'properties.serviceBusSuffix',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb
new file mode 100644
index 0000000000..8b0e0f15b4
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb
@@ -0,0 +1,88 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Hybrid Connection key contract. This has the send key name and value for
+ # a Hybrid Connection.
+ #
+ class HybridConnectionKey < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of the send key.
+ attr_accessor :send_key_name
+
+ # @return [String] The value of the send key.
+ attr_accessor :send_key_value
+
+
+ #
+ # Mapper for HybridConnectionKey class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HybridConnectionKey',
+ type: {
+ name: 'Composite',
+ class_name: 'HybridConnectionKey',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.sendKeyName',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.sendKeyValue',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ip_security_restriction.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
new file mode 100644
index 0000000000..aea332854d
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
@@ -0,0 +1,55 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # IP security restriction on an app.
+ #
+ class IpSecurityRestriction
+
+ include MsRestAzure
+
+ # @return [String] IP address the security restriction is valid for.
+ attr_accessor :ip_address
+
+ # @return [String] Subnet mask for the range of IP addresses the
+ # restriction is valid for.
+ attr_accessor :subnet_mask
+
+
+ #
+ # Mapper for IpSecurityRestriction class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'IpSecurityRestriction',
+ type: {
+ name: 'Composite',
+ class_name: 'IpSecurityRestriction',
+ model_properties: {
+ ip_address: {
+ required: true,
+ serialized_name: 'ipAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ subnet_mask: {
+ required: false,
+ serialized_name: 'subnetMask',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb
new file mode 100644
index 0000000000..17e6bb761f
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for ManagedPipelineMode
+ #
+ module ManagedPipelineMode
+ Integrated = "Integrated"
+ Classic = "Classic"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb
new file mode 100644
index 0000000000..4322aa906d
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb
@@ -0,0 +1,66 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Managed service identity.
+ #
+ class ManagedServiceIdentity
+
+ include MsRestAzure
+
+ # @return Type of managed service identity.
+ attr_accessor :type
+
+ # @return [String] Tenant of managed service identity.
+ attr_accessor :tenant_id
+
+ # @return [String] Principal Id of managed service identity.
+ attr_accessor :principal_id
+
+
+ #
+ # Mapper for ManagedServiceIdentity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ManagedServiceIdentity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity',
+ model_properties: {
+ type: {
+ required: false,
+ serialized_name: 'type',
+ type: {
+ name: 'Object'
+ }
+ },
+ tenant_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'tenantId',
+ type: {
+ name: 'String'
+ }
+ },
+ principal_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'principalId',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/name_value_pair.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/name_value_pair.rb
new file mode 100644
index 0000000000..9bf41cceb7
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/name_value_pair.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Name value pair.
+ #
+ class NameValuePair
+
+ include MsRestAzure
+
+ # @return [String] Pair name.
+ attr_accessor :name
+
+ # @return [String] Pair value.
+ attr_accessor :value
+
+
+ #
+ # Mapper for NameValuePair class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'NameValuePair',
+ type: {
+ name: 'Composite',
+ class_name: 'NameValuePair',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ value: {
+ required: false,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/push_settings.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/push_settings.rb
new file mode 100644
index 0000000000..1346fbdfea
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/push_settings.rb
@@ -0,0 +1,114 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Push settings for the App.
+ #
+ class PushSettings < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [Boolean] Gets or sets a flag indicating whether the Push
+ # endpoint is enabled.
+ attr_accessor :is_push_enabled
+
+ # @return [String] Gets or sets a JSON string containing a list of tags
+ # that are whitelisted for use by the push registration endpoint.
+ attr_accessor :tag_whitelist_json
+
+ # @return [String] 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.
+ attr_accessor :tags_requiring_auth
+
+ # @return [String] Gets or sets a JSON string containing a list of
+ # dynamic tags that will be evaluated from user claims in the push
+ # registration endpoint.
+ attr_accessor :dynamic_tags_json
+
+
+ #
+ # Mapper for PushSettings class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'PushSettings',
+ type: {
+ name: 'Composite',
+ class_name: 'PushSettings',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ is_push_enabled: {
+ required: false,
+ serialized_name: 'properties.isPushEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ tag_whitelist_json: {
+ required: false,
+ serialized_name: 'properties.tagWhitelistJson',
+ type: {
+ name: 'String'
+ }
+ },
+ tags_requiring_auth: {
+ required: false,
+ serialized_name: 'properties.tagsRequiringAuth',
+ type: {
+ name: 'String'
+ }
+ },
+ dynamic_tags_json: {
+ required: false,
+ serialized_name: 'properties.dynamicTagsJson',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ramp_up_rule.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ramp_up_rule.rb
new file mode 100644
index 0000000000..78a93ec3e4
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ramp_up_rule.rb
@@ -0,0 +1,132 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Routing rules for ramp up testing. This rule allows to redirect static
+ # traffic % to a slot or to gradually change routing % based on
+ # performance.
+ #
+ class RampUpRule
+
+ include MsRestAzure
+
+ # @return [String] Hostname of a slot to which the traffic will be
+ # redirected if decided to. E.g. myapp-stage.azurewebsites.net.
+ attr_accessor :action_host_name
+
+ # @return [Float] Percentage of the traffic which will be redirected to
+ # ActionHostName.
+ attr_accessor :reroute_percentage
+
+ # @return [Float] In auto ramp up scenario this is the step to to
+ # add/remove from ReroutePercentage until it reaches
+ # MinReroutePercentage or MaxReroutePercentage.
+ # Site metrics are checked every N minutes specificed in
+ # ChangeIntervalInMinutes.
+ # Custom decision algorithm can be provided in TiPCallback site extension
+ # which URL can be specified in ChangeDecisionCallbackUrl.
+ attr_accessor :change_step
+
+ # @return [Integer] Specifies interval in mimuntes to reevaluate
+ # ReroutePercentage.
+ attr_accessor :change_interval_in_minutes
+
+ # @return [Float] Specifies lower boundary above which ReroutePercentage
+ # will stay.
+ attr_accessor :min_reroute_percentage
+
+ # @return [Float] Specifies upper boundary below which ReroutePercentage
+ # will stay.
+ attr_accessor :max_reroute_percentage
+
+ # @return [String] 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/
+ attr_accessor :change_decision_callback_url
+
+ # @return [String] Name of the routing rule. The recommended name would
+ # be to point to the slot which will receive the traffic in the
+ # experiment.
+ attr_accessor :name
+
+
+ #
+ # Mapper for RampUpRule class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'RampUpRule',
+ type: {
+ name: 'Composite',
+ class_name: 'RampUpRule',
+ model_properties: {
+ action_host_name: {
+ required: false,
+ serialized_name: 'actionHostName',
+ type: {
+ name: 'String'
+ }
+ },
+ reroute_percentage: {
+ required: false,
+ serialized_name: 'reroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_step: {
+ required: false,
+ serialized_name: 'changeStep',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_interval_in_minutes: {
+ required: false,
+ serialized_name: 'changeIntervalInMinutes',
+ type: {
+ name: 'Number'
+ }
+ },
+ min_reroute_percentage: {
+ required: false,
+ serialized_name: 'minReroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ max_reroute_percentage: {
+ required: false,
+ serialized_name: 'maxReroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_decision_callback_url: {
+ required: false,
+ serialized_name: 'changeDecisionCallbackUrl',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/requests_based_trigger.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/requests_based_trigger.rb
new file mode 100644
index 0000000000..35ca23d72f
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/requests_based_trigger.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Trigger based on total requests.
+ #
+ class RequestsBasedTrigger
+
+ include MsRestAzure
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for RequestsBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'RequestsBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'RequestsBasedTrigger',
+ model_properties: {
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_availability.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
new file mode 100644
index 0000000000..99d610cd5c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
@@ -0,0 +1,56 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Metrics availability and retention.
+ #
+ class ResourceMetricAvailability
+
+ include MsRestAzure
+
+ # @return [String] Time grain .
+ attr_accessor :time_grain
+
+ # @return [String] Retention period for the current time grain.
+ attr_accessor :retention
+
+
+ #
+ # Mapper for ResourceMetricAvailability class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricAvailability',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricAvailability',
+ model_properties: {
+ time_grain: {
+ required: false,
+ read_only: true,
+ serialized_name: 'timeGrain',
+ type: {
+ name: 'String'
+ }
+ },
+ retention: {
+ required: false,
+ read_only: true,
+ serialized_name: 'retention',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_definition.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_definition.rb
new file mode 100644
index 0000000000..c730a73095
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_definition.rb
@@ -0,0 +1,159 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Metadata for the metrics.
+ #
+ class ResourceMetricDefinition < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [ResourceMetricName] Name of the metric.
+ attr_accessor :resource_metric_definition_name
+
+ # @return [String] Unit of the metric.
+ attr_accessor :unit
+
+ # @return [String] Primary aggregation type.
+ attr_accessor :primary_aggregation_type
+
+ # @return [Array] List of time grains
+ # supported for the metric together with retention period.
+ attr_accessor :metric_availabilities
+
+ # @return [String] Resource URI.
+ attr_accessor :resource_uri
+
+ # @return [String] Resource ID.
+ attr_accessor :resource_metric_definition_id
+
+ # @return [Hash{String => String}] Properties.
+ attr_accessor :properties
+
+
+ #
+ # Mapper for ResourceMetricDefinition class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricDefinition',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricDefinition',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ resource_metric_definition_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricName'
+ }
+ },
+ unit: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.unit',
+ type: {
+ name: 'String'
+ }
+ },
+ primary_aggregation_type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.primaryAggregationType',
+ type: {
+ name: 'String'
+ }
+ },
+ metric_availabilities: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.metricAvailabilities',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'ResourceMetricAvailabilityElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricAvailability'
+ }
+ }
+ }
+ },
+ resource_uri: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceUri',
+ type: {
+ name: 'String'
+ }
+ },
+ resource_metric_definition_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.id',
+ type: {
+ name: 'String'
+ }
+ },
+ properties: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.properties',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_name.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_name.rb
new file mode 100644
index 0000000000..d54e2ef25b
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/resource_metric_name.rb
@@ -0,0 +1,56 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Name of a metric for any resource .
+ #
+ class ResourceMetricName
+
+ include MsRestAzure
+
+ # @return [String] metric name value.
+ attr_accessor :value
+
+ # @return [String] Localized metric name value.
+ attr_accessor :localized_value
+
+
+ #
+ # Mapper for ResourceMetricName class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricName',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricName',
+ model_properties: {
+ value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ },
+ localized_value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'localizedValue',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/route_type.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/route_type.rb
new file mode 100644
index 0000000000..6d24e8c6e1
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/route_type.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for RouteType
+ #
+ module RouteType
+ DEFAULT = "DEFAULT"
+ INHERITED = "INHERITED"
+ STATIC = "STATIC"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/scm_type.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/scm_type.rb
new file mode 100644
index 0000000000..b9a94892a3
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/scm_type.rb
@@ -0,0 +1,27 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for ScmType
+ #
+ module ScmType
+ None = "None"
+ Dropbox = "Dropbox"
+ Tfs = "Tfs"
+ LocalGit = "LocalGit"
+ GitHub = "GitHub"
+ CodePlexGit = "CodePlexGit"
+ CodePlexHg = "CodePlexHg"
+ BitbucketGit = "BitbucketGit"
+ BitbucketHg = "BitbucketHg"
+ ExternalGit = "ExternalGit"
+ ExternalHg = "ExternalHg"
+ OneDrive = "OneDrive"
+ VSO = "VSO"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site.rb
new file mode 100644
index 0000000000..4cec8da8e5
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site.rb
@@ -0,0 +1,510 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # A web app, a mobile app backend, or an API app.
+ #
+ class Site < Resource
+
+ include MsRestAzure
+
+ # @return [String] Current state of the app.
+ attr_accessor :state
+
+ # @return [Array] Hostnames associated with the app.
+ attr_accessor :host_names
+
+ # @return [String] Name of the repository site.
+ attr_accessor :repository_site_name
+
+ # @return [UsageState] State indicating whether the app has exceeded its
+ # quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'
+ attr_accessor :usage_state
+
+ # @return [Boolean] true if the app is enabled; otherwise,
+ # false. Setting this value to false disables the app (takes
+ # the app offline).
+ attr_accessor :enabled
+
+ # @return [Array] Enabled hostnames for the app.Hostnames need to
+ # be assigned (see HostNames) AND enabled. Otherwise,
+ # the app is not served on those hostnames.
+ attr_accessor :enabled_host_names
+
+ # @return [SiteAvailabilityState] Management information availability
+ # state for the app. Possible values include: 'Normal', 'Limited',
+ # 'DisasterRecoveryMode'
+ attr_accessor :availability_state
+
+ # @return [Array] Hostname SSL states are used to
+ # manage the SSL bindings for app's hostnames.
+ attr_accessor :host_name_ssl_states
+
+ # @return [String] Resource ID of the associated App Service plan,
+ # formatted as:
+ # "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
+ attr_accessor :server_farm_id
+
+ # @return [Boolean] true if reserved; otherwise,
+ # false. Default value: false .
+ attr_accessor :reserved
+
+ # @return [DateTime] Last time the app was modified, in UTC. Read-only.
+ attr_accessor :last_modified_time_utc
+
+ # @return [SiteConfig] Configuration of the app.
+ attr_accessor :site_config
+
+ # @return [Array] Azure Traffic Manager hostnames associated with
+ # the app. Read-only.
+ attr_accessor :traffic_manager_host_names
+
+ # @return [Boolean] true to stop SCM (KUDU) site when the
+ # app is stopped; otherwise, false. The default is
+ # false. Default value: false .
+ attr_accessor :scm_site_also_stopped
+
+ # @return [String] Specifies which deployment slot this app will swap
+ # into. Read-only.
+ attr_accessor :target_swap_slot
+
+ # @return [HostingEnvironmentProfile] App Service Environment to use for
+ # the app.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Boolean] true to enable client affinity;
+ # false to stop sending session affinity cookies, which
+ # route client requests in the same session to the same instance. Default
+ # is true.
+ attr_accessor :client_affinity_enabled
+
+ # @return [Boolean] true to enable client certificate
+ # authentication (TLS mutual authentication); otherwise,
+ # false. Default is false.
+ attr_accessor :client_cert_enabled
+
+ # @return [Boolean] true to disable the public hostnames of
+ # the app; otherwise, false.
+ # If true, the app is only accessible via API management
+ # process.
+ attr_accessor :host_names_disabled
+
+ # @return [String] 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.
+ attr_accessor :outbound_ip_addresses
+
+ # @return [String] List of IP addresses that the app uses for outbound
+ # connections (e.g. database access). Includes VIPs from all tenants.
+ # Read-only.
+ attr_accessor :possible_outbound_ip_addresses
+
+ # @return [Integer] Size of the function container.
+ attr_accessor :container_size
+
+ # @return [Integer] Maximum allowed daily memory-time quota (applicable
+ # on dynamic apps only).
+ attr_accessor :daily_memory_time_quota
+
+ # @return [DateTime] App suspended till in case memory-time quota is
+ # exceeded.
+ attr_accessor :suspended_till
+
+ # @return [Integer] Maximum number of workers.
+ # This only applies to Functions container.
+ attr_accessor :max_number_of_workers
+
+ # @return [CloningInfo] If specified during app creation, the app is
+ # cloned from a source app.
+ attr_accessor :cloning_info
+
+ # @return [SnapshotRecoveryRequest] If specified during app creation, the
+ # app is created from a previous snapshot.
+ attr_accessor :snapshot_info
+
+ # @return [String] Name of the resource group the app belongs to.
+ # Read-only.
+ attr_accessor :resource_group
+
+ # @return [Boolean] true if the app is a default container;
+ # otherwise, false.
+ attr_accessor :is_default_container
+
+ # @return [String] Default hostname of the app. Read-only.
+ attr_accessor :default_host_name
+
+ # @return [SlotSwapStatus] Status of the last deployment slot swap
+ # operation.
+ attr_accessor :slot_swap_status
+
+ # @return [Boolean] HttpsOnly: configures a web site to accept only https
+ # requests. Issues redirect for
+ # http requests
+ attr_accessor :https_only
+
+ # @return [ManagedServiceIdentity]
+ attr_accessor :identity
+
+
+ #
+ # Mapper for Site class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Site',
+ type: {
+ name: 'Composite',
+ class_name: 'Site',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: true,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ tags: {
+ required: false,
+ serialized_name: 'tags',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.state',
+ type: {
+ name: 'String'
+ }
+ },
+ host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.hostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ repository_site_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.repositorySiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ usage_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.usageState',
+ type: {
+ name: 'Enum',
+ module: 'UsageState'
+ }
+ },
+ enabled: {
+ required: false,
+ serialized_name: 'properties.enabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ enabled_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.enabledHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ availability_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.availabilityState',
+ type: {
+ name: 'Enum',
+ module: 'SiteAvailabilityState'
+ }
+ },
+ host_name_ssl_states: {
+ required: false,
+ serialized_name: 'properties.hostNameSslStates',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HostNameSslStateElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HostNameSslState'
+ }
+ }
+ }
+ },
+ server_farm_id: {
+ required: false,
+ serialized_name: 'properties.serverFarmId',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ last_modified_time_utc: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.lastModifiedTimeUtc',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ site_config: {
+ required: false,
+ serialized_name: 'properties.siteConfig',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfig'
+ }
+ },
+ traffic_manager_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.trafficManagerHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ scm_site_also_stopped: {
+ required: false,
+ serialized_name: 'properties.scmSiteAlsoStopped',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_swap_slot: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.targetSwapSlot',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ client_affinity_enabled: {
+ required: false,
+ serialized_name: 'properties.clientAffinityEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ client_cert_enabled: {
+ required: false,
+ serialized_name: 'properties.clientCertEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ host_names_disabled: {
+ required: false,
+ serialized_name: 'properties.hostNamesDisabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.outboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
+ possible_outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.possibleOutboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
+ container_size: {
+ required: false,
+ serialized_name: 'properties.containerSize',
+ type: {
+ name: 'Number'
+ }
+ },
+ daily_memory_time_quota: {
+ required: false,
+ serialized_name: 'properties.dailyMemoryTimeQuota',
+ type: {
+ name: 'Number'
+ }
+ },
+ suspended_till: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.suspendedTill',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ max_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maxNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ cloning_info: {
+ required: false,
+ serialized_name: 'properties.cloningInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'CloningInfo'
+ }
+ },
+ snapshot_info: {
+ required: false,
+ serialized_name: 'properties.snapshotInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryRequest'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ is_default_container: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.isDefaultContainer',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ default_host_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.defaultHostName',
+ type: {
+ name: 'String'
+ }
+ },
+ slot_swap_status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.slotSwapStatus',
+ type: {
+ name: 'Composite',
+ class_name: 'SlotSwapStatus'
+ }
+ },
+ https_only: {
+ required: false,
+ serialized_name: 'properties.httpsOnly',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ identity: {
+ required: false,
+ serialized_name: 'identity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_availability_state.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_availability_state.rb
new file mode 100644
index 0000000000..dd89e97d7e
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_availability_state.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for SiteAvailabilityState
+ #
+ module SiteAvailabilityState
+ Normal = "Normal"
+ Limited = "Limited"
+ DisasterRecoveryMode = "DisasterRecoveryMode"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_config.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_config.rb
new file mode 100644
index 0000000000..6a2abea150
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_config.rb
@@ -0,0 +1,539 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Configuration of an App Service app.
+ #
+ class SiteConfig
+
+ include MsRestAzure
+
+ # @return [Integer] Number of workers.
+ attr_accessor :number_of_workers
+
+ # @return [Array] Default documents.
+ attr_accessor :default_documents
+
+ # @return [String] .NET Framework version. Default value: 'v4.6' .
+ attr_accessor :net_framework_version
+
+ # @return [String] Version of PHP.
+ attr_accessor :php_version
+
+ # @return [String] Version of Python.
+ attr_accessor :python_version
+
+ # @return [String] Version of Node.js.
+ attr_accessor :node_version
+
+ # @return [String] Linux App Framework and version
+ attr_accessor :linux_fx_version
+
+ # @return [Boolean] true if request tracing is enabled;
+ # otherwise, false.
+ attr_accessor :request_tracing_enabled
+
+ # @return [DateTime] Request tracing expiration time.
+ attr_accessor :request_tracing_expiration_time
+
+ # @return [Boolean] true if remote debugging is enabled;
+ # otherwise, false.
+ attr_accessor :remote_debugging_enabled
+
+ # @return [String] Remote debugging version.
+ attr_accessor :remote_debugging_version
+
+ # @return [Boolean] true if HTTP logging is enabled;
+ # otherwise, false.
+ attr_accessor :http_logging_enabled
+
+ # @return [Integer] HTTP logs directory size limit.
+ attr_accessor :logs_directory_size_limit
+
+ # @return [Boolean] true if detailed error logging is
+ # enabled; otherwise, false.
+ attr_accessor :detailed_error_logging_enabled
+
+ # @return [String] Publishing user name.
+ attr_accessor :publishing_username
+
+ # @return [Array] Application settings.
+ attr_accessor :app_settings
+
+ # @return [Array] Connection strings.
+ attr_accessor :connection_strings
+
+ # @return [SiteMachineKey] Site MachineKey.
+ attr_accessor :machine_key
+
+ # @return [Array] Handler mappings.
+ attr_accessor :handler_mappings
+
+ # @return [String] Document root.
+ attr_accessor :document_root
+
+ # @return [ScmType] SCM type. Possible values include: 'None', 'Dropbox',
+ # 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg',
+ # 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive',
+ # 'VSO'
+ attr_accessor :scm_type
+
+ # @return [Boolean] true to use 32-bit worker process;
+ # otherwise, false.
+ attr_accessor :use32bit_worker_process
+
+ # @return [Boolean] true if WebSocket is enabled; otherwise,
+ # false.
+ attr_accessor :web_sockets_enabled
+
+ # @return [Boolean] true if Always On is enabled; otherwise,
+ # false.
+ attr_accessor :always_on
+
+ # @return [String] Java version.
+ attr_accessor :java_version
+
+ # @return [String] Java container.
+ attr_accessor :java_container
+
+ # @return [String] Java container version.
+ attr_accessor :java_container_version
+
+ # @return [String] App command line to launch.
+ attr_accessor :app_command_line
+
+ # @return [ManagedPipelineMode] Managed pipeline mode. Possible values
+ # include: 'Integrated', 'Classic'
+ attr_accessor :managed_pipeline_mode
+
+ # @return [Array] Virtual applications.
+ attr_accessor :virtual_applications
+
+ # @return [SiteLoadBalancing] Site load balancing. Possible values
+ # include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime',
+ # 'WeightedTotalTraffic', 'RequestHash'
+ attr_accessor :load_balancing
+
+ # @return [Experiments] This is work around for polymophic types.
+ attr_accessor :experiments
+
+ # @return [SiteLimits] Site limits.
+ attr_accessor :limits
+
+ # @return [Boolean] true if Auto Heal is enabled; otherwise,
+ # false.
+ attr_accessor :auto_heal_enabled
+
+ # @return [AutoHealRules] Auto Heal rules.
+ attr_accessor :auto_heal_rules
+
+ # @return [String] Tracing options.
+ attr_accessor :tracing_options
+
+ # @return [String] Virtual Network name.
+ attr_accessor :vnet_name
+
+ # @return [CorsSettings] Cross-Origin Resource Sharing (CORS) settings.
+ attr_accessor :cors
+
+ # @return [PushSettings] Push endpoint settings.
+ attr_accessor :push
+
+ # @return [ApiDefinitionInfo] Information about the formal API definition
+ # for the app.
+ attr_accessor :api_definition
+
+ # @return [String] Auto-swap slot name.
+ attr_accessor :auto_swap_slot_name
+
+ # @return [Boolean] true to enable local MySQL; otherwise,
+ # false. Default value: false .
+ attr_accessor :local_my_sql_enabled
+
+ # @return [Array] IP security restrictions.
+ attr_accessor :ip_security_restrictions
+
+
+ #
+ # Mapper for SiteConfig class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteConfig',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfig',
+ model_properties: {
+ number_of_workers: {
+ required: false,
+ serialized_name: 'numberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ default_documents: {
+ required: false,
+ serialized_name: 'defaultDocuments',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ net_framework_version: {
+ required: false,
+ serialized_name: 'netFrameworkVersion',
+ default_value: 'v4.6',
+ type: {
+ name: 'String'
+ }
+ },
+ php_version: {
+ required: false,
+ serialized_name: 'phpVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ python_version: {
+ required: false,
+ serialized_name: 'pythonVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ node_version: {
+ required: false,
+ serialized_name: 'nodeVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ linux_fx_version: {
+ required: false,
+ serialized_name: 'linuxFxVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ request_tracing_enabled: {
+ required: false,
+ serialized_name: 'requestTracingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ request_tracing_expiration_time: {
+ required: false,
+ serialized_name: 'requestTracingExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ remote_debugging_enabled: {
+ required: false,
+ serialized_name: 'remoteDebuggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ remote_debugging_version: {
+ required: false,
+ serialized_name: 'remoteDebuggingVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ http_logging_enabled: {
+ required: false,
+ serialized_name: 'httpLoggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ logs_directory_size_limit: {
+ required: false,
+ serialized_name: 'logsDirectorySizeLimit',
+ type: {
+ name: 'Number'
+ }
+ },
+ detailed_error_logging_enabled: {
+ required: false,
+ serialized_name: 'detailedErrorLoggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ publishing_username: {
+ required: false,
+ serialized_name: 'publishingUsername',
+ type: {
+ name: 'String'
+ }
+ },
+ app_settings: {
+ required: false,
+ serialized_name: 'appSettings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'NameValuePairElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'NameValuePair'
+ }
+ }
+ }
+ },
+ connection_strings: {
+ required: false,
+ serialized_name: 'connectionStrings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'ConnStringInfoElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'ConnStringInfo'
+ }
+ }
+ }
+ },
+ machine_key: {
+ required: false,
+ read_only: true,
+ serialized_name: 'machineKey',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteMachineKey'
+ }
+ },
+ handler_mappings: {
+ required: false,
+ serialized_name: 'handlerMappings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HandlerMappingElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HandlerMapping'
+ }
+ }
+ }
+ },
+ document_root: {
+ required: false,
+ serialized_name: 'documentRoot',
+ type: {
+ name: 'String'
+ }
+ },
+ scm_type: {
+ required: false,
+ serialized_name: 'scmType',
+ type: {
+ name: 'String'
+ }
+ },
+ use32bit_worker_process: {
+ required: false,
+ serialized_name: 'use32BitWorkerProcess',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ web_sockets_enabled: {
+ required: false,
+ serialized_name: 'webSocketsEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ always_on: {
+ required: false,
+ serialized_name: 'alwaysOn',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ java_version: {
+ required: false,
+ serialized_name: 'javaVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ java_container: {
+ required: false,
+ serialized_name: 'javaContainer',
+ type: {
+ name: 'String'
+ }
+ },
+ java_container_version: {
+ required: false,
+ serialized_name: 'javaContainerVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ app_command_line: {
+ required: false,
+ serialized_name: 'appCommandLine',
+ type: {
+ name: 'String'
+ }
+ },
+ managed_pipeline_mode: {
+ required: false,
+ serialized_name: 'managedPipelineMode',
+ type: {
+ name: 'Enum',
+ module: 'ManagedPipelineMode'
+ }
+ },
+ virtual_applications: {
+ required: false,
+ serialized_name: 'virtualApplications',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VirtualApplicationElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualApplication'
+ }
+ }
+ }
+ },
+ load_balancing: {
+ required: false,
+ serialized_name: 'loadBalancing',
+ type: {
+ name: 'Enum',
+ module: 'SiteLoadBalancing'
+ }
+ },
+ experiments: {
+ required: false,
+ serialized_name: 'experiments',
+ type: {
+ name: 'Composite',
+ class_name: 'Experiments'
+ }
+ },
+ limits: {
+ required: false,
+ serialized_name: 'limits',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteLimits'
+ }
+ },
+ auto_heal_enabled: {
+ required: false,
+ serialized_name: 'autoHealEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ auto_heal_rules: {
+ required: false,
+ serialized_name: 'autoHealRules',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealRules'
+ }
+ },
+ tracing_options: {
+ required: false,
+ serialized_name: 'tracingOptions',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_name: {
+ required: false,
+ serialized_name: 'vnetName',
+ type: {
+ name: 'String'
+ }
+ },
+ cors: {
+ required: false,
+ serialized_name: 'cors',
+ type: {
+ name: 'Composite',
+ class_name: 'CorsSettings'
+ }
+ },
+ push: {
+ required: false,
+ serialized_name: 'push',
+ type: {
+ name: 'Composite',
+ class_name: 'PushSettings'
+ }
+ },
+ api_definition: {
+ required: false,
+ serialized_name: 'apiDefinition',
+ type: {
+ name: 'Composite',
+ class_name: 'ApiDefinitionInfo'
+ }
+ },
+ auto_swap_slot_name: {
+ required: false,
+ serialized_name: 'autoSwapSlotName',
+ type: {
+ name: 'String'
+ }
+ },
+ local_my_sql_enabled: {
+ required: false,
+ serialized_name: 'localMySqlEnabled',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ ip_security_restrictions: {
+ required: false,
+ serialized_name: 'ipSecurityRestrictions',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'IpSecurityRestrictionElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'IpSecurityRestriction'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_limits.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_limits.rb
new file mode 100644
index 0000000000..c5577f4291
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_limits.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Metric limits set on an app.
+ #
+ class SiteLimits
+
+ include MsRestAzure
+
+ # @return [Float] Maximum allowed CPU usage percentage.
+ attr_accessor :max_percentage_cpu
+
+ # @return [Integer] Maximum allowed memory usage in MB.
+ attr_accessor :max_memory_in_mb
+
+ # @return [Integer] Maximum allowed disk size usage in MB.
+ attr_accessor :max_disk_size_in_mb
+
+
+ #
+ # Mapper for SiteLimits class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteLimits',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteLimits',
+ model_properties: {
+ max_percentage_cpu: {
+ required: false,
+ serialized_name: 'maxPercentageCpu',
+ type: {
+ name: 'Double'
+ }
+ },
+ max_memory_in_mb: {
+ required: false,
+ serialized_name: 'maxMemoryInMb',
+ type: {
+ name: 'Number'
+ }
+ },
+ max_disk_size_in_mb: {
+ required: false,
+ serialized_name: 'maxDiskSizeInMb',
+ type: {
+ name: 'Number'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_load_balancing.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_load_balancing.rb
new file mode 100644
index 0000000000..320c8cba1c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_load_balancing.rb
@@ -0,0 +1,19 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for SiteLoadBalancing
+ #
+ module SiteLoadBalancing
+ WeightedRoundRobin = "WeightedRoundRobin"
+ LeastRequests = "LeastRequests"
+ LeastResponseTime = "LeastResponseTime"
+ WeightedTotalTraffic = "WeightedTotalTraffic"
+ RequestHash = "RequestHash"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_machine_key.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_machine_key.rb
new file mode 100644
index 0000000000..7ca05e2ad3
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_machine_key.rb
@@ -0,0 +1,74 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # MachineKey of an app.
+ #
+ class SiteMachineKey
+
+ include MsRestAzure
+
+ # @return [String] MachineKey validation.
+ attr_accessor :validation
+
+ # @return [String] Validation key.
+ attr_accessor :validation_key
+
+ # @return [String] Decryption.
+ attr_accessor :decryption
+
+ # @return [String] Decryption key.
+ attr_accessor :decryption_key
+
+
+ #
+ # Mapper for SiteMachineKey class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteMachineKey',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteMachineKey',
+ model_properties: {
+ validation: {
+ required: false,
+ serialized_name: 'validation',
+ type: {
+ name: 'String'
+ }
+ },
+ validation_key: {
+ required: false,
+ serialized_name: 'validationKey',
+ type: {
+ name: 'String'
+ }
+ },
+ decryption: {
+ required: false,
+ serialized_name: 'decryption',
+ type: {
+ name: 'String'
+ }
+ },
+ decryption_key: {
+ required: false,
+ serialized_name: 'decryptionKey',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_seal_request.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_seal_request.rb
index 6331f41a97..75da85eb47 100644
--- a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_seal_request.rb
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/site_seal_request.rb
@@ -12,10 +12,11 @@ class SiteSealRequest
include MsRestAzure
- # @return [Boolean] Theme
+ # @return [Boolean] If true use the light color theme for
+ # site seal; otherwise, use the default color theme.
attr_accessor :light_theme
- # @return [String] Locale
+ # @return [String] Locale of site seal.
attr_accessor :locale
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/sku_capacity.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/sku_capacity.rb
new file mode 100644
index 0000000000..5c38e03999
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/sku_capacity.rb
@@ -0,0 +1,78 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Description of the App Service plan scale options.
+ #
+ class SkuCapacity
+
+ include MsRestAzure
+
+ # @return [Integer] Minimum number of workers for this App Service plan
+ # SKU.
+ attr_accessor :minimum
+
+ # @return [Integer] Maximum number of workers for this App Service plan
+ # SKU.
+ attr_accessor :maximum
+
+ # @return [Integer] Default number of workers for this App Service plan
+ # SKU.
+ attr_accessor :default
+
+ # @return [String] Available scale configurations for an App Service
+ # plan.
+ attr_accessor :scale_type
+
+
+ #
+ # Mapper for SkuCapacity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SkuCapacity',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuCapacity',
+ model_properties: {
+ minimum: {
+ required: false,
+ serialized_name: 'minimum',
+ type: {
+ name: 'Number'
+ }
+ },
+ maximum: {
+ required: false,
+ serialized_name: 'maximum',
+ type: {
+ name: 'Number'
+ }
+ },
+ default: {
+ required: false,
+ serialized_name: 'default',
+ type: {
+ name: 'Number'
+ }
+ },
+ scale_type: {
+ required: false,
+ serialized_name: 'scaleType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/sku_description.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/sku_description.rb
new file mode 100644
index 0000000000..ab31551ad9
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/sku_description.rb
@@ -0,0 +1,131 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Description of a SKU for a scalable resource.
+ #
+ class SkuDescription
+
+ include MsRestAzure
+
+ # @return [String] Name of the resource SKU.
+ attr_accessor :name
+
+ # @return [String] Service tier of the resource SKU.
+ attr_accessor :tier
+
+ # @return [String] Size specifier of the resource SKU.
+ attr_accessor :size
+
+ # @return [String] Family code of the resource SKU.
+ attr_accessor :family
+
+ # @return [Integer] Current number of instances assigned to the resource.
+ attr_accessor :capacity
+
+ # @return [SkuCapacity] Min, max, and default scale values of the SKU.
+ attr_accessor :sku_capacity
+
+ # @return [Array] Locations of the SKU.
+ attr_accessor :locations
+
+ # @return [Array] Capabilities of the SKU, e.g., is traffic
+ # manager enabled?
+ attr_accessor :capabilities
+
+
+ #
+ # Mapper for SkuDescription class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SkuDescription',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuDescription',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ tier: {
+ required: false,
+ serialized_name: 'tier',
+ type: {
+ name: 'String'
+ }
+ },
+ size: {
+ required: false,
+ serialized_name: 'size',
+ type: {
+ name: 'String'
+ }
+ },
+ family: {
+ required: false,
+ serialized_name: 'family',
+ type: {
+ name: 'String'
+ }
+ },
+ capacity: {
+ required: false,
+ serialized_name: 'capacity',
+ type: {
+ name: 'Number'
+ }
+ },
+ sku_capacity: {
+ required: false,
+ serialized_name: 'skuCapacity',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuCapacity'
+ }
+ },
+ locations: {
+ required: false,
+ serialized_name: 'locations',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ capabilities: {
+ required: false,
+ serialized_name: 'capabilities',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'CapabilityElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'Capability'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/slot_swap_status.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/slot_swap_status.rb
new file mode 100644
index 0000000000..33358a168a
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/slot_swap_status.rb
@@ -0,0 +1,67 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # The status of the last successfull slot swap operation.
+ #
+ class SlotSwapStatus
+
+ include MsRestAzure
+
+ # @return [DateTime] The time the last successful slot swap completed.
+ attr_accessor :timestamp_utc
+
+ # @return [String] The source slot of the last swap operation.
+ attr_accessor :source_slot_name
+
+ # @return [String] The destination slot of the last swap operation.
+ attr_accessor :destination_slot_name
+
+
+ #
+ # Mapper for SlotSwapStatus class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SlotSwapStatus',
+ type: {
+ name: 'Composite',
+ class_name: 'SlotSwapStatus',
+ model_properties: {
+ timestamp_utc: {
+ required: false,
+ read_only: true,
+ serialized_name: 'timestampUtc',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ source_slot_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'sourceSlotName',
+ type: {
+ name: 'String'
+ }
+ },
+ destination_slot_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'destinationSlotName',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
new file mode 100644
index 0000000000..7de0001ab9
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Trigger based on request execution time.
+ #
+ class SlowRequestsBasedTrigger
+
+ include MsRestAzure
+
+ # @return [String] Time taken.
+ attr_accessor :time_taken
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for SlowRequestsBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SlowRequestsBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'SlowRequestsBasedTrigger',
+ model_properties: {
+ time_taken: {
+ required: false,
+ serialized_name: 'timeTaken',
+ type: {
+ name: 'String'
+ }
+ },
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb
new file mode 100644
index 0000000000..4e9112dfc5
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb
@@ -0,0 +1,122 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Details about app recovery operation.
+ #
+ class SnapshotRecoveryRequest < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Point in time in which the app recovery should be
+ # attempted, formatted as a DateTime string.
+ attr_accessor :snapshot_time
+
+ # @return [SnapshotRecoveryTarget] Specifies the web app that snapshot
+ # contents will be written to.
+ attr_accessor :recovery_target
+
+ # @return [Boolean] If true the recovery operation can
+ # overwrite source app; otherwise, false.
+ attr_accessor :overwrite
+
+ # @return [Boolean] If true, site configuration, in addition to content,
+ # will be reverted.
+ attr_accessor :recover_configuration
+
+ # @return [Boolean] If true, custom hostname conflicts will be ignored
+ # when recovering to a target web app.
+ # This setting is only necessary when RecoverConfiguration is enabled.
+ attr_accessor :ignore_conflicting_host_names
+
+
+ #
+ # Mapper for SnapshotRecoveryRequest class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SnapshotRecoveryRequest',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryRequest',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ snapshot_time: {
+ required: false,
+ serialized_name: 'properties.snapshotTime',
+ type: {
+ name: 'String'
+ }
+ },
+ recovery_target: {
+ required: false,
+ serialized_name: 'properties.recoveryTarget',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryTarget'
+ }
+ },
+ overwrite: {
+ required: false,
+ serialized_name: 'properties.overwrite',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ recover_configuration: {
+ required: false,
+ serialized_name: 'properties.recoverConfiguration',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ ignore_conflicting_host_names: {
+ required: false,
+ serialized_name: 'properties.ignoreConflictingHostNames',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
new file mode 100644
index 0000000000..d3bc8e12c0
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
@@ -0,0 +1,59 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Specifies the web app that snapshot contents will be written to.
+ #
+ class SnapshotRecoveryTarget
+
+ include MsRestAzure
+
+ # @return [String] Geographical location of the target web app, e.g.
+ # SouthEastAsia, SouthCentralUS
+ attr_accessor :location
+
+ # @return [String] 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.
+ attr_accessor :id
+
+
+ #
+ # Mapper for SnapshotRecoveryTarget class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SnapshotRecoveryTarget',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryTarget',
+ model_properties: {
+ location: {
+ required: false,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ id: {
+ required: false,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ssl_state.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ssl_state.rb
new file mode 100644
index 0000000000..a5ba5c72e1
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/ssl_state.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for SslState
+ #
+ module SslState
+ Disabled = "Disabled"
+ SniEnabled = "SniEnabled"
+ IpBasedEnabled = "IpBasedEnabled"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb
new file mode 100644
index 0000000000..5a9c4919a1
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb
@@ -0,0 +1,84 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Trigger based on status code.
+ #
+ class StatusCodesBasedTrigger
+
+ include MsRestAzure
+
+ # @return [Integer] HTTP status code.
+ attr_accessor :status
+
+ # @return [Integer] SubStatus.
+ attr_accessor :sub_status
+
+ # @return [Integer] Win32 error code.
+ attr_accessor :win32status
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for StatusCodesBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'StatusCodesBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'StatusCodesBasedTrigger',
+ model_properties: {
+ status: {
+ required: false,
+ serialized_name: 'status',
+ type: {
+ name: 'Number'
+ }
+ },
+ sub_status: {
+ required: false,
+ serialized_name: 'subStatus',
+ type: {
+ name: 'Number'
+ }
+ },
+ win32status: {
+ required: false,
+ serialized_name: 'win32Status',
+ type: {
+ name: 'Number'
+ }
+ },
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/status_options.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/status_options.rb
new file mode 100644
index 0000000000..ec2cd73eb8
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/status_options.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for StatusOptions
+ #
+ module StatusOptions
+ Ready = "Ready"
+ Pending = "Pending"
+ Creating = "Creating"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/usage_state.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/usage_state.rb
new file mode 100644
index 0000000000..9ffa9ae46a
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/usage_state.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Defines values for UsageState
+ #
+ module UsageState
+ Normal = "Normal"
+ Exceeded = "Exceeded"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/user.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/user.rb
new file mode 100644
index 0000000000..4d177e5eab
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/user.rb
@@ -0,0 +1,115 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # User crendentials used for publishing activity.
+ #
+ class User < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Username
+ attr_accessor :user_name
+
+ # @return [String] Username used for publishing.
+ attr_accessor :publishing_user_name
+
+ # @return [String] Password used for publishing.
+ attr_accessor :publishing_password
+
+ # @return [String] Password hash used for publishing.
+ attr_accessor :publishing_password_hash
+
+ # @return [String] Password hash salt used for publishing.
+ attr_accessor :publishing_password_hash_salt
+
+
+ #
+ # Mapper for User class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'User',
+ type: {
+ name: 'Composite',
+ class_name: 'User',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ user_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_user_name: {
+ required: false,
+ serialized_name: 'properties.publishingUserName',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password: {
+ required: false,
+ serialized_name: 'properties.publishingPassword',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password_hash: {
+ required: false,
+ serialized_name: 'properties.publishingPasswordHash',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password_hash_salt: {
+ required: false,
+ serialized_name: 'properties.publishingPasswordHashSalt',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/virtual_application.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/virtual_application.rb
new file mode 100644
index 0000000000..b65a483d4c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/virtual_application.rb
@@ -0,0 +1,84 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Virtual application in an app.
+ #
+ class VirtualApplication
+
+ include MsRestAzure
+
+ # @return [String] Virtual path.
+ attr_accessor :virtual_path
+
+ # @return [String] Physical path.
+ attr_accessor :physical_path
+
+ # @return [Boolean] true if preloading is enabled;
+ # otherwise, false.
+ attr_accessor :preload_enabled
+
+ # @return [Array] Virtual directories for virtual
+ # application.
+ attr_accessor :virtual_directories
+
+
+ #
+ # Mapper for VirtualApplication class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VirtualApplication',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualApplication',
+ model_properties: {
+ virtual_path: {
+ required: false,
+ serialized_name: 'virtualPath',
+ type: {
+ name: 'String'
+ }
+ },
+ physical_path: {
+ required: false,
+ serialized_name: 'physicalPath',
+ type: {
+ name: 'String'
+ }
+ },
+ preload_enabled: {
+ required: false,
+ serialized_name: 'preloadEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ virtual_directories: {
+ required: false,
+ serialized_name: 'virtualDirectories',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VirtualDirectoryElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualDirectory'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/virtual_directory.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/virtual_directory.rb
new file mode 100644
index 0000000000..7f1bef68eb
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/virtual_directory.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Directory for virtual application.
+ #
+ class VirtualDirectory
+
+ include MsRestAzure
+
+ # @return [String] Path to virtual application.
+ attr_accessor :virtual_path
+
+ # @return [String] Physical path.
+ attr_accessor :physical_path
+
+
+ #
+ # Mapper for VirtualDirectory class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VirtualDirectory',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualDirectory',
+ model_properties: {
+ virtual_path: {
+ required: false,
+ serialized_name: 'virtualPath',
+ type: {
+ name: 'String'
+ }
+ },
+ physical_path: {
+ required: false,
+ serialized_name: 'physicalPath',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_gateway.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_gateway.rb
new file mode 100644
index 0000000000..66a374c727
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_gateway.rb
@@ -0,0 +1,86 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # The Virtual Network gateway contract. This is used to give the Virtual
+ # Network gateway access to the VPN package.
+ #
+ class VnetGateway < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The Virtual Network name.
+ attr_accessor :vnet_name
+
+ # @return [String] The URI where the VPN package can be downloaded.
+ attr_accessor :vpn_package_uri
+
+
+ #
+ # Mapper for VnetGateway class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetGateway',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetGateway',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_name: {
+ required: false,
+ serialized_name: 'properties.vnetName',
+ type: {
+ name: 'String'
+ }
+ },
+ vpn_package_uri: {
+ required: false,
+ serialized_name: 'properties.vpnPackageUri',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_info.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_info.rb
new file mode 100644
index 0000000000..d17c534430
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_info.rb
@@ -0,0 +1,141 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Virtual Network information contract.
+ #
+ class VnetInfo < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The Virtual Network's resource ID.
+ attr_accessor :vnet_resource_id
+
+ # @return [String] The client certificate thumbprint.
+ attr_accessor :cert_thumbprint
+
+ # @return [Array] A certificate file (.cer) blob containing the
+ # public key of the private key used to authenticate a
+ # Point-To-Site VPN connection.
+ attr_accessor :cert_blob
+
+ # @return [Array] The routes that this Virtual Network
+ # connection uses.
+ attr_accessor :routes
+
+ # @return [Boolean] true if a resync is required; otherwise,
+ # false.
+ attr_accessor :resync_required
+
+ # @return [String] DNS servers to be used by this Virtual Network. This
+ # should be a comma-separated list of IP addresses.
+ attr_accessor :dns_servers
+
+
+ #
+ # Mapper for VnetInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetInfo',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_resource_id: {
+ required: false,
+ serialized_name: 'properties.vnetResourceId',
+ type: {
+ name: 'String'
+ }
+ },
+ cert_thumbprint: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.certThumbprint',
+ type: {
+ name: 'String'
+ }
+ },
+ cert_blob: {
+ required: false,
+ serialized_name: 'properties.certBlob',
+ type: {
+ name: 'ByteArray'
+ }
+ },
+ routes: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.routes',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VnetRouteElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetRoute'
+ }
+ }
+ }
+ },
+ resync_required: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resyncRequired',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ dns_servers: {
+ required: false,
+ serialized_name: 'properties.dnsServers',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_route.rb b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_route.rb
new file mode 100644
index 0000000000..29d8849c7c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/models/vnet_route.rb
@@ -0,0 +1,118 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2015_08_01
+ module Models
+ #
+ # Virtual Network route contract used to pass routing information for a
+ # Virtual Network.
+ #
+ class VnetRoute < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of this route. This is only returned by the
+ # server and does not need to be set by the client.
+ attr_accessor :vnet_route_name
+
+ # @return [String] The starting address for this route. This may also
+ # include a CIDR notation, in which case the end address must not be
+ # specified.
+ attr_accessor :start_address
+
+ # @return [String] The ending address for this route. If the start
+ # address is specified in CIDR notation, this must be omitted.
+ attr_accessor :end_address
+
+ # @return [RouteType] 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'
+ attr_accessor :route_type
+
+
+ #
+ # Mapper for VnetRoute class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetRoute',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetRoute',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_route_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ start_address: {
+ required: false,
+ serialized_name: 'properties.startAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ end_address: {
+ required: false,
+ serialized_name: 'properties.endAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ route_type: {
+ required: false,
+ serialized_name: 'properties.routeType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/build.json b/management/azure_mgmt_web/lib/2016-03-01/build.json
new file mode 100644
index 0000000000..3c6d7fd8cc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/build.json
@@ -0,0 +1,225 @@
+{
+ "autorest": [
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest-core",
+ "version": "2.0.4168",
+ "engines": {
+ "node": ">=7.10.0"
+ },
+ "dependencies": {},
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/async-io": "~1.0.22",
+ "@microsoft.azure/extension": "~1.2.12",
+ "@types/commonmark": "^0.27.0",
+ "@types/jsonpath": "^0.1.29",
+ "@types/node": "^8.0.28",
+ "@types/pify": "0.0.28",
+ "@types/source-map": "^0.5.0",
+ "@types/yargs": "^8.0.2",
+ "commonmark": "^0.27.0",
+ "file-url": "^2.0.2",
+ "get-uri": "^2.0.0",
+ "jsonpath": "^0.2.11",
+ "linq-es2015": "^2.4.25",
+ "mocha": "3.4.2",
+ "mocha-typescript": "1.1.5",
+ "pify": "^3.0.0",
+ "safe-eval": "^0.3.0",
+ "shx": "^0.2.2",
+ "source-map": "^0.5.6",
+ "source-map-support": "^0.4.15",
+ "strip-bom": "^3.0.0",
+ "typescript": "2.5.3",
+ "untildify": "^3.0.2",
+ "urijs": "^1.18.10",
+ "vscode-jsonrpc": "^3.3.1",
+ "yaml-ast-parser": "https://github.com/olydis/yaml-ast-parser/releases/download/0.0.34/yaml-ast-parser-0.0.34.tgz",
+ "yargs": "^8.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_shasum": "33813111fc9bfa488bd600fbba48bc53cc9182c7",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest-core@2.0.4168",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_where": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.0.21",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.3.2"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.1.1",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "3ce7d3939124b31830be15e5de99b9b7768afb90",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.0.21",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.1.22",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "ca425289fa38a210d279729048a4a91673f09c67",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.1.22",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.ruby",
+ "version": "3.0.20",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/autorest.testserver": "^1.9.2",
+ "autorest": "^2.0.0",
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_shasum": "f5b24eb17914aad0e8d2da581642044a6088d905",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.ruby@3.0.20",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ }
+ ],
+ "autorest_bootstrap": {}
+}
\ No newline at end of file
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web.rb
index 7fd34cc7d4..50de04af55 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web.rb
@@ -27,47 +27,111 @@ module Azure::Web::Mgmt::V2016_03_01
autoload :WebSiteManagementClient, '2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb'
module Models
- autoload :RecommendationRule, '2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb'
- autoload :HostingEnvironmentProfile, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
autoload :Capability, '2016-03-01/generated/azure_mgmt_web/models/capability.rb'
+ autoload :HostingEnvironmentProfile, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
+ autoload :SkuCapacity, '2016-03-01/generated/azure_mgmt_web/models/sku_capacity.rb'
autoload :CertificateCollection, '2016-03-01/generated/azure_mgmt_web/models/certificate_collection.rb'
- autoload :CsmMoveResourceEnvelope, '2016-03-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb'
+ autoload :SkuDescription, '2016-03-01/generated/azure_mgmt_web/models/sku_description.rb'
+ autoload :SiteMachineKey, '2016-03-01/generated/azure_mgmt_web/models/site_machine_key.rb'
+ autoload :ConnStringInfo, '2016-03-01/generated/azure_mgmt_web/models/conn_string_info.rb'
+ autoload :ValidateResponseError, '2016-03-01/generated/azure_mgmt_web/models/validate_response_error.rb'
+ autoload :NameValuePair, '2016-03-01/generated/azure_mgmt_web/models/name_value_pair.rb'
+ autoload :ValidateRequest, '2016-03-01/generated/azure_mgmt_web/models/validate_request.rb'
+ autoload :SiteConfig, '2016-03-01/generated/azure_mgmt_web/models/site_config.rb'
+ autoload :ResourceMetricName, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
+ autoload :HostNameSslState, '2016-03-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
+ autoload :SkuInfos, '2016-03-01/generated/azure_mgmt_web/models/sku_infos.rb'
+ autoload :PremierAddOnOfferCollection, '2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb'
+ autoload :ResourceNameAvailability, '2016-03-01/generated/azure_mgmt_web/models/resource_name_availability.rb'
+ autoload :ProxyOnlyResource, '2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
+ autoload :ManagedServiceIdentity, '2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb'
+ autoload :HostingEnvironmentDeploymentInfo, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb'
+ autoload :CloningInfo, '2016-03-01/generated/azure_mgmt_web/models/cloning_info.rb'
+ autoload :AppServiceEnvironment, '2016-03-01/generated/azure_mgmt_web/models/app_service_environment.rb'
+ autoload :ApiDefinitionInfo, '2016-03-01/generated/azure_mgmt_web/models/api_definition_info.rb'
+ autoload :GlobalCsmSkuDescription, '2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb'
+ autoload :AutoHealCustomAction, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
+ autoload :GeoRegionCollection, '2016-03-01/generated/azure_mgmt_web/models/geo_region_collection.rb'
+ autoload :SlowRequestsBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
+ autoload :Resource, '2016-03-01/generated/azure_mgmt_web/models/resource.rb'
+ autoload :RequestsBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
autoload :DeletedSite, '2016-03-01/generated/azure_mgmt_web/models/deleted_site.rb'
+ autoload :AutoHealRules, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
+ autoload :DeletedWebAppCollection, '2016-03-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb'
+ autoload :RampUpRule, '2016-03-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
autoload :CsmOperationDisplay, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb'
- autoload :GeoRegionCollection, '2016-03-01/generated/azure_mgmt_web/models/geo_region_collection.rb'
+ autoload :VirtualDirectory, '2016-03-01/generated/azure_mgmt_web/models/virtual_directory.rb'
+ autoload :Dimension, '2016-03-01/generated/azure_mgmt_web/models/dimension.rb'
+ autoload :HandlerMapping, '2016-03-01/generated/azure_mgmt_web/models/handler_mapping.rb'
autoload :MetricAvailability, '2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb'
- autoload :SkuCapacity, '2016-03-01/generated/azure_mgmt_web/models/sku_capacity.rb'
+ autoload :SnapshotRecoveryTarget, '2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
+ autoload :MetricSpecification, '2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb'
+ autoload :SourceControlCollection, '2016-03-01/generated/azure_mgmt_web/models/source_control_collection.rb'
autoload :ServiceSpecification, '2016-03-01/generated/azure_mgmt_web/models/service_specification.rb'
- autoload :GlobalCsmSkuDescription, '2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb'
+ autoload :SlotSwapStatus, '2016-03-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
+ autoload :CsmOperationDescriptionProperties, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb'
+ autoload :CorsSettings, '2016-03-01/generated/azure_mgmt_web/models/cors_settings.rb'
autoload :CsmOperationDescription, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb'
- autoload :ValidateResponse, '2016-03-01/generated/azure_mgmt_web/models/validate_response.rb'
+ autoload :StatusCodesBasedTrigger, '2016-03-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
+ autoload :CsmOperationCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_collection.rb'
+ autoload :SiteLimits, '2016-03-01/generated/azure_mgmt_web/models/site_limits.rb'
autoload :Recommendation, '2016-03-01/generated/azure_mgmt_web/models/recommendation.rb'
- autoload :PremierAddOnOfferCollection, '2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer_collection.rb'
- autoload :Resource, '2016-03-01/generated/azure_mgmt_web/models/resource.rb'
- autoload :ProxyOnlyResource, '2016-03-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
- autoload :Dimension, '2016-03-01/generated/azure_mgmt_web/models/dimension.rb'
- autoload :ResourceNameAvailability, '2016-03-01/generated/azure_mgmt_web/models/resource_name_availability.rb'
- autoload :CsmOperationDescriptionProperties, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb'
+ autoload :VirtualApplication, '2016-03-01/generated/azure_mgmt_web/models/virtual_application.rb'
+ autoload :RecommendationRule, '2016-03-01/generated/azure_mgmt_web/models/recommendation_rule.rb'
+ autoload :ResourceMetricAvailability, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
+ autoload :CsmMoveResourceEnvelope, '2016-03-01/generated/azure_mgmt_web/models/csm_move_resource_envelope.rb'
+ autoload :IpSecurityRestriction, '2016-03-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
+ autoload :DeploymentLocations, '2016-03-01/generated/azure_mgmt_web/models/deployment_locations.rb'
+ autoload :AutoHealTriggers, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
+ autoload :VirtualNetworkProfile, '2016-03-01/generated/azure_mgmt_web/models/virtual_network_profile.rb'
+ autoload :ValidateResponse, '2016-03-01/generated/azure_mgmt_web/models/validate_response.rb'
+ autoload :WorkerPool, '2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb'
+ autoload :AutoHealActions, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
+ autoload :VirtualIPMapping, '2016-03-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb'
autoload :ResourceNameAvailabilityRequest, '2016-03-01/generated/azure_mgmt_web/models/resource_name_availability_request.rb'
- autoload :ValidateRequest, '2016-03-01/generated/azure_mgmt_web/models/validate_request.rb'
- autoload :DeletedWebAppCollection, '2016-03-01/generated/azure_mgmt_web/models/deleted_web_app_collection.rb'
- autoload :SkuInfos, '2016-03-01/generated/azure_mgmt_web/models/sku_infos.rb'
- autoload :CsmOperationCollection, '2016-03-01/generated/azure_mgmt_web/models/csm_operation_collection.rb'
- autoload :ValidateResponseError, '2016-03-01/generated/azure_mgmt_web/models/validate_response_error.rb'
- autoload :MetricSpecification, '2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb'
- autoload :SourceControlCollection, '2016-03-01/generated/azure_mgmt_web/models/source_control_collection.rb'
+ autoload :StampCapacity, '2016-03-01/generated/azure_mgmt_web/models/stamp_capacity.rb'
+ autoload :Experiments, '2016-03-01/generated/azure_mgmt_web/models/experiments.rb'
+ autoload :NetworkAccessControlEntry, '2016-03-01/generated/azure_mgmt_web/models/network_access_control_entry.rb'
autoload :Certificate, '2016-03-01/generated/azure_mgmt_web/models/certificate.rb'
+ autoload :CertificatePatchResource, '2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb'
+ autoload :VnetRoute, '2016-03-01/generated/azure_mgmt_web/models/vnet_route.rb'
+ autoload :VnetInfo, '2016-03-01/generated/azure_mgmt_web/models/vnet_info.rb'
+ autoload :VnetGateway, '2016-03-01/generated/azure_mgmt_web/models/vnet_gateway.rb'
+ autoload :User, '2016-03-01/generated/azure_mgmt_web/models/user.rb'
+ autoload :SnapshotRecoveryRequest, '2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb'
+ autoload :ResourceMetricDefinition, '2016-03-01/generated/azure_mgmt_web/models/resource_metric_definition.rb'
+ autoload :PushSettings, '2016-03-01/generated/azure_mgmt_web/models/push_settings.rb'
+ autoload :HybridConnectionKey, '2016-03-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb'
+ autoload :HybridConnection, '2016-03-01/generated/azure_mgmt_web/models/hybrid_connection.rb'
+ autoload :Site, '2016-03-01/generated/azure_mgmt_web/models/site.rb'
+ autoload :AppServicePlan, '2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb'
autoload :GeoRegion, '2016-03-01/generated/azure_mgmt_web/models/geo_region.rb'
autoload :PremierAddOnOffer, '2016-03-01/generated/azure_mgmt_web/models/premier_add_on_offer.rb'
autoload :SourceControl, '2016-03-01/generated/azure_mgmt_web/models/source_control.rb'
- autoload :User, '2016-03-01/generated/azure_mgmt_web/models/user.rb'
autoload :VnetParameters, '2016-03-01/generated/azure_mgmt_web/models/vnet_parameters.rb'
autoload :VnetValidationTestFailure, '2016-03-01/generated/azure_mgmt_web/models/vnet_validation_test_failure.rb'
autoload :VnetValidationFailureDetails, '2016-03-01/generated/azure_mgmt_web/models/vnet_validation_failure_details.rb'
autoload :KeyVaultSecretStatus, '2016-03-01/generated/azure_mgmt_web/models/key_vault_secret_status.rb'
+ autoload :RouteType, '2016-03-01/generated/azure_mgmt_web/models/route_type.rb'
+ autoload :AutoHealActionType, '2016-03-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
+ autoload :ConnectionStringType, '2016-03-01/generated/azure_mgmt_web/models/connection_string_type.rb'
+ autoload :ScmType, '2016-03-01/generated/azure_mgmt_web/models/scm_type.rb'
+ autoload :ManagedPipelineMode, '2016-03-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
+ autoload :SiteLoadBalancing, '2016-03-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
+ autoload :SslState, '2016-03-01/generated/azure_mgmt_web/models/ssl_state.rb'
+ autoload :HostType, '2016-03-01/generated/azure_mgmt_web/models/host_type.rb'
+ autoload :UsageState, '2016-03-01/generated/azure_mgmt_web/models/usage_state.rb'
+ autoload :SiteAvailabilityState, '2016-03-01/generated/azure_mgmt_web/models/site_availability_state.rb'
+ autoload :StatusOptions, '2016-03-01/generated/azure_mgmt_web/models/status_options.rb'
+ autoload :ProvisioningState, '2016-03-01/generated/azure_mgmt_web/models/provisioning_state.rb'
autoload :ResourceScopeType, '2016-03-01/generated/azure_mgmt_web/models/resource_scope_type.rb'
autoload :NotificationLevel, '2016-03-01/generated/azure_mgmt_web/models/notification_level.rb'
autoload :Channels, '2016-03-01/generated/azure_mgmt_web/models/channels.rb'
+ autoload :HostingEnvironmentStatus, '2016-03-01/generated/azure_mgmt_web/models/hosting_environment_status.rb'
+ autoload :InternalLoadBalancingMode, '2016-03-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb'
+ autoload :ComputeModeOptions, '2016-03-01/generated/azure_mgmt_web/models/compute_mode_options.rb'
+ autoload :WorkerSizeOptions, '2016-03-01/generated/azure_mgmt_web/models/worker_size_options.rb'
+ autoload :AccessControlEntryAction, '2016-03-01/generated/azure_mgmt_web/models/access_control_entry_action.rb'
autoload :AppServicePlanRestrictions, '2016-03-01/generated/azure_mgmt_web/models/app_service_plan_restrictions.rb'
autoload :InAvailabilityReasonType, '2016-03-01/generated/azure_mgmt_web/models/in_availability_reason_type.rb'
autoload :CheckNameResourceTypes, '2016-03-01/generated/azure_mgmt_web/models/check_name_resource_types.rb'
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb
index 506214260e..55909808bc 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/certificates.rb
@@ -519,8 +519,8 @@ def delete_async(resource_group_name, name, custom_headers = nil)
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the certificate.
- # @param certificate_envelope [Certificate] Details of certificate, if it
- # exists already.
+ # @param certificate_envelope [CertificatePatchResource] Details of
+ # certificate, if it exists already.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
@@ -539,8 +539,8 @@ def update(resource_group_name, name, certificate_envelope, custom_headers = nil
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the certificate.
- # @param certificate_envelope [Certificate] Details of certificate, if it
- # exists already.
+ # @param certificate_envelope [CertificatePatchResource] Details of
+ # certificate, if it exists already.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
@@ -558,8 +558,8 @@ def update_with_http_info(resource_group_name, name, certificate_envelope, custo
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the certificate.
- # @param certificate_envelope [Certificate] Details of certificate, if it
- # exists already.
+ # @param certificate_envelope [CertificatePatchResource] Details of
+ # certificate, if it exists already.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
@@ -582,7 +582,7 @@ def update_async(resource_group_name, name, certificate_envelope, custom_headers
request_headers['Content-Type'] = 'application/json; charset=utf-8'
# Serialize Request
- request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::Certificate.mapper()
+ request_mapper = Azure::Web::Mgmt::V2016_03_01::Models::CertificatePatchResource.mapper()
request_content = @client.serialize(request_mapper, certificate_envelope)
request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/access_control_entry_action.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/access_control_entry_action.rb
new file mode 100644
index 0000000000..b2d18a94d0
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/access_control_entry_action.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for AccessControlEntryAction
+ #
+ module AccessControlEntryAction
+ Permit = "Permit"
+ Deny = "Deny"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/api_definition_info.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/api_definition_info.rb
new file mode 100644
index 0000000000..1bdd20e8dc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/api_definition_info.rb
@@ -0,0 +1,44 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Information about the formal API definition for the app.
+ #
+ class ApiDefinitionInfo
+
+ include MsRestAzure
+
+ # @return [String] The URL of the API definition.
+ attr_accessor :url
+
+
+ #
+ # Mapper for ApiDefinitionInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ApiDefinitionInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'ApiDefinitionInfo',
+ model_properties: {
+ url: {
+ required: false,
+ serialized_name: 'url',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_environment.rb
similarity index 96%
rename from management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment.rb
rename to management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_environment.rb
index 5e0f8a9d3b..d0463bb6a2 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_environment.rb
@@ -3,7 +3,7 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
-module Azure::Web::Mgmt::V2016_09_01
+module Azure::Web::Mgmt::V2016_03_01
module Models
#
# Description of an App Service Environment.
@@ -146,6 +146,9 @@ class AppServiceEnvironment
# behavior of the App Service Environment.
attr_accessor :cluster_settings
+ # @return [Array] User added ip ranges to whitelist on ASE db
+ attr_accessor :user_whitelisted_ip_ranges
+
#
# Mapper for AppServiceEnvironment class as Ruby Hash.
@@ -464,6 +467,20 @@ def self.mapper()
}
}
}
+ },
+ user_whitelisted_ip_ranges: {
+ required: false,
+ serialized_name: 'userWhitelistedIpRanges',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb
new file mode 100644
index 0000000000..f1efcbb447
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/app_service_plan.rb
@@ -0,0 +1,289 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # App Service plan.
+ #
+ class AppServicePlan < Resource
+
+ include MsRestAzure
+
+ # @return [String] Name for the App Service plan.
+ attr_accessor :app_service_plan_name
+
+ # @return [String] Target worker tier assigned to the App Service plan.
+ attr_accessor :worker_tier_name
+
+ # @return [StatusOptions] App Service plan status. Possible values
+ # include: 'Ready', 'Pending', 'Creating'
+ attr_accessor :status
+
+ # @return [String] App Service plan subscription.
+ attr_accessor :subscription
+
+ # @return [String] App Service plan administration site.
+ attr_accessor :admin_site_name
+
+ # @return [HostingEnvironmentProfile] Specification for the App Service
+ # Environment to use for the App Service plan.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Integer] Maximum number of instances that can be assigned to
+ # this App Service plan.
+ attr_accessor :maximum_number_of_workers
+
+ # @return [String] Geographical location for the App Service plan.
+ attr_accessor :geo_region
+
+ # @return [Boolean] If true, apps assigned to this App
+ # Service plan can be scaled independently.
+ # If false, apps assigned to this App Service plan will
+ # scale to all instances of the plan. Default value: false .
+ attr_accessor :per_site_scaling
+
+ # @return [Integer] Number of apps assigned to this App Service plan.
+ attr_accessor :number_of_sites
+
+ # @return [Boolean] If true, this App Service Plan owns spot
+ # instances.
+ attr_accessor :is_spot
+
+ # @return [DateTime] The time when the server farm expires. Valid only if
+ # it is a spot server farm.
+ attr_accessor :spot_expiration_time
+
+ # @return [String] Resource group of the App Service plan.
+ attr_accessor :resource_group
+
+ # @return [Boolean] Reserved. Default value: false .
+ attr_accessor :reserved
+
+ # @return [Integer] Scaling worker count.
+ attr_accessor :target_worker_count
+
+ # @return [Integer] Scaling worker size ID.
+ attr_accessor :target_worker_size_id
+
+ # @return [ProvisioningState] Provisioning state of the App Service
+ # Environment. Possible values include: 'Succeeded', 'Failed',
+ # 'Canceled', 'InProgress', 'Deleting'
+ attr_accessor :provisioning_state
+
+ # @return [SkuDescription]
+ attr_accessor :sku
+
+
+ #
+ # Mapper for AppServicePlan class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AppServicePlan',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServicePlan',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: true,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ tags: {
+ required: false,
+ serialized_name: 'tags',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ app_service_plan_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ worker_tier_name: {
+ required: false,
+ serialized_name: 'properties.workerTierName',
+ type: {
+ name: 'String'
+ }
+ },
+ status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.status',
+ type: {
+ name: 'Enum',
+ module: 'StatusOptions'
+ }
+ },
+ subscription: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.subscription',
+ type: {
+ name: 'String'
+ }
+ },
+ admin_site_name: {
+ required: false,
+ serialized_name: 'properties.adminSiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ maximum_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maximumNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ geo_region: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.geoRegion',
+ type: {
+ name: 'String'
+ }
+ },
+ per_site_scaling: {
+ required: false,
+ serialized_name: 'properties.perSiteScaling',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ number_of_sites: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.numberOfSites',
+ type: {
+ name: 'Number'
+ }
+ },
+ is_spot: {
+ required: false,
+ serialized_name: 'properties.isSpot',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ spot_expiration_time: {
+ required: false,
+ serialized_name: 'properties.spotExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_worker_count: {
+ required: false,
+ serialized_name: 'properties.targetWorkerCount',
+ type: {
+ name: 'Number'
+ }
+ },
+ target_worker_size_id: {
+ required: false,
+ serialized_name: 'properties.targetWorkerSizeId',
+ type: {
+ name: 'Number'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'ProvisioningState'
+ }
+ },
+ sku: {
+ required: false,
+ serialized_name: 'sku',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuDescription'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb
new file mode 100644
index 0000000000..d15c5c60dc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for AutoHealActionType
+ #
+ module AutoHealActionType
+ Recycle = "Recycle"
+ LogEvent = "LogEvent"
+ CustomAction = "CustomAction"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_actions.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_actions.rb
new file mode 100644
index 0000000000..144ee55d14
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_actions.rb
@@ -0,0 +1,68 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Actions which to take by the auto-heal module when a rule is triggered.
+ #
+ class AutoHealActions
+
+ include MsRestAzure
+
+ # @return [AutoHealActionType] Predefined action to be taken. Possible
+ # values include: 'Recycle', 'LogEvent', 'CustomAction'
+ attr_accessor :action_type
+
+ # @return [AutoHealCustomAction] Custom action to be taken.
+ attr_accessor :custom_action
+
+ # @return [String] Minimum time the process must execute
+ # before taking the action
+ attr_accessor :min_process_execution_time
+
+
+ #
+ # Mapper for AutoHealActions class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealActions',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealActions',
+ model_properties: {
+ action_type: {
+ required: false,
+ serialized_name: 'actionType',
+ type: {
+ name: 'Enum',
+ module: 'AutoHealActionType'
+ }
+ },
+ custom_action: {
+ required: false,
+ serialized_name: 'customAction',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealCustomAction'
+ }
+ },
+ min_process_execution_time: {
+ required: false,
+ serialized_name: 'minProcessExecutionTime',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb
new file mode 100644
index 0000000000..cd28532c4d
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb
@@ -0,0 +1,55 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Custom action to be executed
+ # when an auto heal rule is triggered.
+ #
+ class AutoHealCustomAction
+
+ include MsRestAzure
+
+ # @return [String] Executable to be run.
+ attr_accessor :exe
+
+ # @return [String] Parameters for the executable.
+ attr_accessor :parameters
+
+
+ #
+ # Mapper for AutoHealCustomAction class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealCustomAction',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealCustomAction',
+ model_properties: {
+ exe: {
+ required: false,
+ serialized_name: 'exe',
+ type: {
+ name: 'String'
+ }
+ },
+ parameters: {
+ required: false,
+ serialized_name: 'parameters',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_rules.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
new file mode 100644
index 0000000000..33dbe6bda4
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_rules.rb
@@ -0,0 +1,58 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Rules that can be defined for auto-heal.
+ #
+ class AutoHealRules
+
+ include MsRestAzure
+
+ # @return [AutoHealTriggers] Conditions that describe when to execute the
+ # auto-heal actions.
+ attr_accessor :triggers
+
+ # @return [AutoHealActions] Actions to be executed when a rule is
+ # triggered.
+ attr_accessor :actions
+
+
+ #
+ # Mapper for AutoHealRules class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealRules',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealRules',
+ model_properties: {
+ triggers: {
+ required: false,
+ serialized_name: 'triggers',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealTriggers'
+ }
+ },
+ actions: {
+ required: false,
+ serialized_name: 'actions',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealActions'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb
new file mode 100644
index 0000000000..4e2f727ad2
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb
@@ -0,0 +1,85 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Triggers for auto-heal.
+ #
+ class AutoHealTriggers
+
+ include MsRestAzure
+
+ # @return [RequestsBasedTrigger] A rule based on total requests.
+ attr_accessor :requests
+
+ # @return [Integer] A rule based on private bytes.
+ attr_accessor :private_bytes_in_kb
+
+ # @return [Array] A rule based on status codes.
+ attr_accessor :status_codes
+
+ # @return [SlowRequestsBasedTrigger] A rule based on request execution
+ # time.
+ attr_accessor :slow_requests
+
+
+ #
+ # Mapper for AutoHealTriggers class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AutoHealTriggers',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealTriggers',
+ model_properties: {
+ requests: {
+ required: false,
+ serialized_name: 'requests',
+ type: {
+ name: 'Composite',
+ class_name: 'RequestsBasedTrigger'
+ }
+ },
+ private_bytes_in_kb: {
+ required: false,
+ serialized_name: 'privateBytesInKB',
+ type: {
+ name: 'Number'
+ }
+ },
+ status_codes: {
+ required: false,
+ serialized_name: 'statusCodes',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StatusCodesBasedTriggerElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'StatusCodesBasedTrigger'
+ }
+ }
+ }
+ },
+ slow_requests: {
+ required: false,
+ serialized_name: 'slowRequests',
+ type: {
+ name: 'Composite',
+ class_name: 'SlowRequestsBasedTrigger'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/certificate.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/certificate.rb
index be297d9c51..9b94a0b9a5 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/certificate.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/certificate.rb
@@ -48,7 +48,7 @@ class Certificate < Resource
# @return [Boolean] Is the certificate valid?.
attr_accessor :valid
- # @return [String] Raw bytes of .cer file
+ # @return [Array] Raw bytes of .cer file
attr_accessor :cer_blob
# @return [String] Public key hash.
@@ -76,9 +76,6 @@ class Certificate < Resource
# @return [String] Region of the certificate.
attr_accessor :geo_region
- # @return [String] Resource name of the certificate.
- attr_accessor :certificate_name
-
# @return [String] Resource ID of the associated App Service plan,
# formatted as:
# "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
@@ -254,7 +251,7 @@ def self.mapper()
read_only: true,
serialized_name: 'properties.cerBlob',
type: {
- name: 'String'
+ name: 'ByteArray'
}
},
public_key_hash: {
@@ -305,14 +302,6 @@ def self.mapper()
name: 'String'
}
},
- certificate_name: {
- required: false,
- read_only: true,
- serialized_name: 'properties.name',
- type: {
- name: 'String'
- }
- },
server_farm_id: {
required: false,
serialized_name: 'properties.serverFarmId',
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb
new file mode 100644
index 0000000000..0d694a8545
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/certificate_patch_resource.rb
@@ -0,0 +1,297 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # ARM resource for a certificate.
+ #
+ class CertificatePatchResource < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Friendly name of the certificate.
+ attr_accessor :friendly_name
+
+ # @return [String] Subject name of the certificate.
+ attr_accessor :subject_name
+
+ # @return [Array] Host names the certificate applies to.
+ attr_accessor :host_names
+
+ # @return [Array] Pfx blob.
+ attr_accessor :pfx_blob
+
+ # @return [String] App name.
+ attr_accessor :site_name
+
+ # @return [String] Self link.
+ attr_accessor :self_link
+
+ # @return [String] Certificate issuer.
+ attr_accessor :issuer
+
+ # @return [DateTime] Certificate issue Date.
+ attr_accessor :issue_date
+
+ # @return [DateTime] Certificate expriration date.
+ attr_accessor :expiration_date
+
+ # @return [String] Certificate password.
+ attr_accessor :password
+
+ # @return [String] Certificate thumbprint.
+ attr_accessor :thumbprint
+
+ # @return [Boolean] Is the certificate valid?.
+ attr_accessor :valid
+
+ # @return [Array] Raw bytes of .cer file
+ attr_accessor :cer_blob
+
+ # @return [String] Public key hash.
+ attr_accessor :public_key_hash
+
+ # @return [HostingEnvironmentProfile] Specification for the App Service
+ # Environment to use for the certificate.
+ attr_accessor :hosting_environment_profile
+
+ # @return [String] Key Vault Csm resource Id.
+ attr_accessor :key_vault_id
+
+ # @return [String] Key Vault secret name.
+ attr_accessor :key_vault_secret_name
+
+ # @return [KeyVaultSecretStatus] Status of the Key Vault secret. Possible
+ # values include: 'Initialized', 'WaitingOnCertificateOrder',
+ # 'Succeeded', 'CertificateOrderFailed',
+ # 'OperationNotPermittedOnKeyVault',
+ # 'AzureServiceUnauthorizedToAccessKeyVault', 'KeyVaultDoesNotExist',
+ # 'KeyVaultSecretDoesNotExist', 'UnknownError', 'ExternalPrivateKey',
+ # 'Unknown'
+ attr_accessor :key_vault_secret_status
+
+ # @return [String] Region of the certificate.
+ attr_accessor :geo_region
+
+ # @return [String] Resource ID of the associated App Service plan,
+ # formatted as:
+ # "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
+ attr_accessor :server_farm_id
+
+
+ #
+ # Mapper for CertificatePatchResource class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'CertificatePatchResource',
+ type: {
+ name: 'Composite',
+ class_name: 'CertificatePatchResource',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ friendly_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.friendlyName',
+ type: {
+ name: 'String'
+ }
+ },
+ subject_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.subjectName',
+ type: {
+ name: 'String'
+ }
+ },
+ host_names: {
+ required: false,
+ serialized_name: 'properties.hostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ pfx_blob: {
+ required: false,
+ serialized_name: 'properties.pfxBlob',
+ type: {
+ name: 'ByteArray'
+ }
+ },
+ site_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.siteName',
+ type: {
+ name: 'String'
+ }
+ },
+ self_link: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.selfLink',
+ type: {
+ name: 'String'
+ }
+ },
+ issuer: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.issuer',
+ type: {
+ name: 'String'
+ }
+ },
+ issue_date: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.issueDate',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ expiration_date: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.expirationDate',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ password: {
+ required: false,
+ serialized_name: 'properties.password',
+ type: {
+ name: 'String'
+ }
+ },
+ thumbprint: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.thumbprint',
+ type: {
+ name: 'String'
+ }
+ },
+ valid: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.valid',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ cer_blob: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.cerBlob',
+ type: {
+ name: 'ByteArray'
+ }
+ },
+ public_key_hash: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.publicKeyHash',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ key_vault_id: {
+ required: false,
+ serialized_name: 'properties.keyVaultId',
+ type: {
+ name: 'String'
+ }
+ },
+ key_vault_secret_name: {
+ required: false,
+ serialized_name: 'properties.keyVaultSecretName',
+ type: {
+ name: 'String'
+ }
+ },
+ key_vault_secret_status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.keyVaultSecretStatus',
+ type: {
+ name: 'Enum',
+ module: 'KeyVaultSecretStatus'
+ }
+ },
+ geo_region: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.geoRegion',
+ type: {
+ name: 'String'
+ }
+ },
+ server_farm_id: {
+ required: false,
+ serialized_name: 'properties.serverFarmId',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/cloning_info.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/cloning_info.rb
new file mode 100644
index 0000000000..ec9cc0b22a
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/cloning_info.rb
@@ -0,0 +1,169 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Information needed for cloning operation.
+ #
+ class CloningInfo
+
+ include MsRestAzure
+
+ # @return Correlation ID of cloning operation. This ID ties multiple
+ # cloning operations
+ # together to use the same snapshot.
+ attr_accessor :correlation_id
+
+ # @return [Boolean] true to overwrite destination app;
+ # otherwise, false.
+ attr_accessor :overwrite
+
+ # @return [Boolean] true to clone custom hostnames from
+ # source app; otherwise, false.
+ attr_accessor :clone_custom_host_names
+
+ # @return [Boolean] true to clone source control from source
+ # app; otherwise, false.
+ attr_accessor :clone_source_control
+
+ # @return [String] 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.
+ attr_accessor :source_web_app_id
+
+ # @return [String] App Service Environment.
+ attr_accessor :hosting_environment
+
+ # @return [Hash{String => String}] 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.
+ attr_accessor :app_settings_overrides
+
+ # @return [Boolean] true to configure load balancing for
+ # source and destination app.
+ attr_accessor :configure_load_balancing
+
+ # @return [String] 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}.
+ attr_accessor :traffic_manager_profile_id
+
+ # @return [String] Name of Traffic Manager profile to create. This is
+ # only needed if Traffic Manager profile does not already exist.
+ attr_accessor :traffic_manager_profile_name
+
+ # @return [Boolean] true if quotas should be ignored;
+ # otherwise, false.
+ attr_accessor :ignore_quotas
+
+
+ #
+ # Mapper for CloningInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'CloningInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'CloningInfo',
+ model_properties: {
+ correlation_id: {
+ required: false,
+ serialized_name: 'correlationId',
+ type: {
+ name: 'String'
+ }
+ },
+ overwrite: {
+ required: false,
+ serialized_name: 'overwrite',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ clone_custom_host_names: {
+ required: false,
+ serialized_name: 'cloneCustomHostNames',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ clone_source_control: {
+ required: false,
+ serialized_name: 'cloneSourceControl',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ source_web_app_id: {
+ required: true,
+ serialized_name: 'sourceWebAppId',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment: {
+ required: false,
+ serialized_name: 'hostingEnvironment',
+ type: {
+ name: 'String'
+ }
+ },
+ app_settings_overrides: {
+ required: false,
+ serialized_name: 'appSettingsOverrides',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ configure_load_balancing: {
+ required: false,
+ serialized_name: 'configureLoadBalancing',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ traffic_manager_profile_id: {
+ required: false,
+ serialized_name: 'trafficManagerProfileId',
+ type: {
+ name: 'String'
+ }
+ },
+ traffic_manager_profile_name: {
+ required: false,
+ serialized_name: 'trafficManagerProfileName',
+ type: {
+ name: 'String'
+ }
+ },
+ ignore_quotas: {
+ required: false,
+ serialized_name: 'ignoreQuotas',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/compute_mode_options.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/compute_mode_options.rb
new file mode 100644
index 0000000000..ad2ad2dc12
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/compute_mode_options.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for ComputeModeOptions
+ #
+ module ComputeModeOptions
+ Shared = "Shared"
+ Dedicated = "Dedicated"
+ Dynamic = "Dynamic"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/conn_string_info.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/conn_string_info.rb
new file mode 100644
index 0000000000..e3790e359b
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/conn_string_info.rb
@@ -0,0 +1,67 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Database connection string information.
+ #
+ class ConnStringInfo
+
+ include MsRestAzure
+
+ # @return [String] Name of connection string.
+ attr_accessor :name
+
+ # @return [String] Connection string value.
+ attr_accessor :connection_string
+
+ # @return [ConnectionStringType] Type of database. Possible values
+ # include: 'MySql', 'SQLServer', 'SQLAzure', 'Custom', 'NotificationHub',
+ # 'ServiceBus', 'EventHub', 'ApiHub', 'DocDb', 'RedisCache', 'PostgreSQL'
+ attr_accessor :type
+
+
+ #
+ # Mapper for ConnStringInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ConnStringInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'ConnStringInfo',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ connection_string: {
+ required: false,
+ serialized_name: 'connectionString',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ serialized_name: 'type',
+ type: {
+ name: 'Enum',
+ module: 'ConnectionStringType'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/connection_string_type.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/connection_string_type.rb
new file mode 100644
index 0000000000..31654f65f7
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/connection_string_type.rb
@@ -0,0 +1,25 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for ConnectionStringType
+ #
+ module ConnectionStringType
+ MySql = "MySql"
+ SQLServer = "SQLServer"
+ SQLAzure = "SQLAzure"
+ Custom = "Custom"
+ NotificationHub = "NotificationHub"
+ ServiceBus = "ServiceBus"
+ EventHub = "EventHub"
+ ApiHub = "ApiHub"
+ DocDb = "DocDb"
+ RedisCache = "RedisCache"
+ PostgreSQL = "PostgreSQL"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/cors_settings.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/cors_settings.rb
new file mode 100644
index 0000000000..61f9af3e71
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/cors_settings.rb
@@ -0,0 +1,53 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Cross-Origin Resource Sharing (CORS) settings for the app.
+ #
+ class CorsSettings
+
+ include MsRestAzure
+
+ # @return [Array] 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.
+ attr_accessor :allowed_origins
+
+
+ #
+ # Mapper for CorsSettings class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'CorsSettings',
+ type: {
+ name: 'Composite',
+ class_name: 'CorsSettings',
+ model_properties: {
+ allowed_origins: {
+ required: false,
+ serialized_name: 'allowedOrigins',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb
index 4dd6fff132..d7b2a684cb 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description.rb
@@ -6,8 +6,8 @@
module Azure::Web::Mgmt::V2016_03_01
module Models
#
- # Model object.
- #
+ # Description of an operation available for Microsoft.Web resource
+ # provider.
#
class CsmOperationDescription
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb
index a9750a0008..ea5578a263 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_description_properties.rb
@@ -6,8 +6,7 @@
module Azure::Web::Mgmt::V2016_03_01
module Models
#
- # Model object.
- #
+ # Properties available for a Microsoft.Web resource provider operation.
#
class CsmOperationDescriptionProperties
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb
index 173f7ed235..c8a6a0068f 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/csm_operation_display.rb
@@ -6,8 +6,7 @@
module Azure::Web::Mgmt::V2016_03_01
module Models
#
- # Model object.
- #
+ # Meta data about operation used for display in portal.
#
class CsmOperationDisplay
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/deleted_site.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/deleted_site.rb
index 25272a0d78..42c8ab40e0 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/deleted_site.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/deleted_site.rb
@@ -27,6 +27,9 @@ class DeletedSite
# @return [String] Name of the deleted site
attr_accessor :name
+ # @return [String] Slot of the deleted site
+ attr_accessor :slot
+
#
# Mapper for DeletedSite class as Ruby Hash.
@@ -78,6 +81,14 @@ def self.mapper()
type: {
name: 'String'
}
+ },
+ slot: {
+ required: false,
+ read_only: true,
+ serialized_name: 'slot',
+ type: {
+ name: 'String'
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/deployment_locations.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/deployment_locations.rb
new file mode 100644
index 0000000000..a0aaae7a51
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/deployment_locations.rb
@@ -0,0 +1,91 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # List of available locations (regions or App Service Environments) for
+ # deployment of App Service resources.
+ #
+ class DeploymentLocations
+
+ include MsRestAzure
+
+ # @return [Array] Available regions.
+ attr_accessor :locations
+
+ # @return [Array] Available App Service
+ # Environments with full descriptions of the environments.
+ attr_accessor :hosting_environments
+
+ # @return [Array] Available App Service
+ # Environments with basic information.
+ attr_accessor :hosting_environment_deployment_infos
+
+
+ #
+ # Mapper for DeploymentLocations class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'DeploymentLocations',
+ type: {
+ name: 'Composite',
+ class_name: 'DeploymentLocations',
+ model_properties: {
+ locations: {
+ required: false,
+ serialized_name: 'locations',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'GeoRegionElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'GeoRegion'
+ }
+ }
+ }
+ },
+ hosting_environments: {
+ required: false,
+ serialized_name: 'hostingEnvironments',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'AppServiceEnvironmentElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServiceEnvironment'
+ }
+ }
+ }
+ },
+ hosting_environment_deployment_infos: {
+ required: false,
+ serialized_name: 'hostingEnvironmentDeploymentInfos',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HostingEnvironmentDeploymentInfoElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentDeploymentInfo'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/dimension.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/dimension.rb
index 963604da7e..7f337e22d9 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/dimension.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/dimension.rb
@@ -6,8 +6,9 @@
module Azure::Web::Mgmt::V2016_03_01
module Models
#
- # Model object.
- #
+ # Dimension of a resource metric. For e.g. instance specific HTTP requests
+ # for a web app,
+ # where instance name is dimension of the metric HTTP request
#
class Dimension
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/experiments.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/experiments.rb
new file mode 100644
index 0000000000..f4a9cff4f4
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/experiments.rb
@@ -0,0 +1,52 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Routing rules in production experiments.
+ #
+ class Experiments
+
+ include MsRestAzure
+
+ # @return [Array] List of ramp-up rules.
+ attr_accessor :ramp_up_rules
+
+
+ #
+ # Mapper for Experiments class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Experiments',
+ type: {
+ name: 'Composite',
+ class_name: 'Experiments',
+ model_properties: {
+ ramp_up_rules: {
+ required: false,
+ serialized_name: 'rampUpRules',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'RampUpRuleElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'RampUpRule'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb
index 95e018b10e..ad20e715ae 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/global_csm_sku_description.rb
@@ -18,6 +18,12 @@ class GlobalCsmSkuDescription
# @return [String] Service Tier of the resource SKU.
attr_accessor :tier
+ # @return [String] Size specifier of the resource SKU.
+ attr_accessor :size
+
+ # @return [String] Family code of the resource SKU.
+ attr_accessor :family
+
# @return [SkuCapacity] Min, max, and default scale values of the SKU.
attr_accessor :capacity
@@ -55,6 +61,20 @@ def self.mapper()
name: 'String'
}
},
+ size: {
+ required: false,
+ serialized_name: 'size',
+ type: {
+ name: 'String'
+ }
+ },
+ family: {
+ required: false,
+ serialized_name: 'family',
+ type: {
+ name: 'String'
+ }
+ },
capacity: {
required: false,
serialized_name: 'capacity',
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/handler_mapping.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/handler_mapping.rb
new file mode 100644
index 0000000000..a37136c1cb
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/handler_mapping.rb
@@ -0,0 +1,69 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # The IIS handler mappings used to define which handler processes HTTP
+ # requests with certain extension.
+ # For example, it is used to configure php-cgi.exe process to handle all
+ # HTTP requests with *.php extension.
+ #
+ class HandlerMapping
+
+ include MsRestAzure
+
+ # @return [String] Requests with this extension will be handled using the
+ # specified FastCGI application.
+ attr_accessor :extension
+
+ # @return [String] The absolute path to the FastCGI application.
+ attr_accessor :script_processor
+
+ # @return [String] Command-line arguments to be passed to the script
+ # processor.
+ attr_accessor :arguments
+
+
+ #
+ # Mapper for HandlerMapping class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HandlerMapping',
+ type: {
+ name: 'Composite',
+ class_name: 'HandlerMapping',
+ model_properties: {
+ extension: {
+ required: false,
+ serialized_name: 'extension',
+ type: {
+ name: 'String'
+ }
+ },
+ script_processor: {
+ required: false,
+ serialized_name: 'scriptProcessor',
+ type: {
+ name: 'String'
+ }
+ },
+ arguments: {
+ required: false,
+ serialized_name: 'arguments',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb
new file mode 100644
index 0000000000..88fb0781d7
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb
@@ -0,0 +1,99 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # SSL-enabled hostname.
+ #
+ class HostNameSslState
+
+ include MsRestAzure
+
+ # @return [String] Hostname.
+ attr_accessor :name
+
+ # @return [SslState] SSL type. Possible values include: 'Disabled',
+ # 'SniEnabled', 'IpBasedEnabled'
+ attr_accessor :ssl_state
+
+ # @return [String] Virtual IP address assigned to the hostname if IP
+ # based SSL is enabled.
+ attr_accessor :virtual_ip
+
+ # @return [String] SSL certificate thumbprint.
+ attr_accessor :thumbprint
+
+ # @return [Boolean] Set to true to update existing hostname.
+ attr_accessor :to_update
+
+ # @return [HostType] Indicates whether the hostname is a standard or
+ # repository hostname. Possible values include: 'Standard', 'Repository'
+ attr_accessor :host_type
+
+
+ #
+ # Mapper for HostNameSslState class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HostNameSslState',
+ type: {
+ name: 'Composite',
+ class_name: 'HostNameSslState',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ ssl_state: {
+ required: false,
+ serialized_name: 'sslState',
+ type: {
+ name: 'Enum',
+ module: 'SslState'
+ }
+ },
+ virtual_ip: {
+ required: false,
+ serialized_name: 'virtualIP',
+ type: {
+ name: 'String'
+ }
+ },
+ thumbprint: {
+ required: false,
+ serialized_name: 'thumbprint',
+ type: {
+ name: 'String'
+ }
+ },
+ to_update: {
+ required: false,
+ serialized_name: 'toUpdate',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ host_type: {
+ required: false,
+ serialized_name: 'hostType',
+ type: {
+ name: 'Enum',
+ module: 'HostType'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/host_type.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/host_type.rb
new file mode 100644
index 0000000000..891266d679
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/host_type.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for HostType
+ #
+ module HostType
+ Standard = "Standard"
+ Repository = "Repository"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb
new file mode 100644
index 0000000000..89bb1972a1
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hosting_environment_deployment_info.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Information needed to create resources on an App Service Environment.
+ #
+ class HostingEnvironmentDeploymentInfo
+
+ include MsRestAzure
+
+ # @return [String] Name of the App Service Environment.
+ attr_accessor :name
+
+ # @return [String] Location of the App Service Environment.
+ attr_accessor :location
+
+
+ #
+ # Mapper for HostingEnvironmentDeploymentInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HostingEnvironmentDeploymentInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentDeploymentInfo',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: false,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hosting_environment_status.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hosting_environment_status.rb
new file mode 100644
index 0000000000..588c4ecad6
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hosting_environment_status.rb
@@ -0,0 +1,18 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for HostingEnvironmentStatus
+ #
+ module HostingEnvironmentStatus
+ Preparing = "Preparing"
+ Ready = "Ready"
+ Scaling = "Scaling"
+ Deleting = "Deleting"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hybrid_connection.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hybrid_connection.rb
new file mode 100644
index 0000000000..898a359c8a
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hybrid_connection.rb
@@ -0,0 +1,150 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Hybrid Connection contract. This is used to configure a Hybrid
+ # Connection.
+ #
+ class HybridConnection < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of the Service Bus namespace.
+ attr_accessor :service_bus_namespace
+
+ # @return [String] The name of the Service Bus relay.
+ attr_accessor :relay_name
+
+ # @return [String] The ARM URI to the Service Bus relay.
+ attr_accessor :relay_arm_uri
+
+ # @return [String] The hostname of the endpoint.
+ attr_accessor :hostname
+
+ # @return [Integer] The port of the endpoint.
+ attr_accessor :port
+
+ # @return [String] The name of the Service Bus key which has Send
+ # permissions. This is used to authenticate to Service Bus.
+ attr_accessor :send_key_name
+
+ # @return [String] 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.
+ attr_accessor :send_key_value
+
+ # @return [String] The suffix for the service bus endpoint. By default
+ # this is .servicebus.windows.net
+ attr_accessor :service_bus_suffix
+
+
+ #
+ # Mapper for HybridConnection class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HybridConnection',
+ type: {
+ name: 'Composite',
+ class_name: 'HybridConnection',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ service_bus_namespace: {
+ required: false,
+ serialized_name: 'properties.serviceBusNamespace',
+ type: {
+ name: 'String'
+ }
+ },
+ relay_name: {
+ required: false,
+ serialized_name: 'properties.relayName',
+ type: {
+ name: 'String'
+ }
+ },
+ relay_arm_uri: {
+ required: false,
+ serialized_name: 'properties.relayArmUri',
+ type: {
+ name: 'String'
+ }
+ },
+ hostname: {
+ required: false,
+ serialized_name: 'properties.hostname',
+ type: {
+ name: 'String'
+ }
+ },
+ port: {
+ required: false,
+ serialized_name: 'properties.port',
+ type: {
+ name: 'Number'
+ }
+ },
+ send_key_name: {
+ required: false,
+ serialized_name: 'properties.sendKeyName',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_value: {
+ required: false,
+ serialized_name: 'properties.sendKeyValue',
+ type: {
+ name: 'String'
+ }
+ },
+ service_bus_suffix: {
+ required: false,
+ serialized_name: 'properties.serviceBusSuffix',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb
new file mode 100644
index 0000000000..34a2ec234a
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb
@@ -0,0 +1,88 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Hybrid Connection key contract. This has the send key name and value for
+ # a Hybrid Connection.
+ #
+ class HybridConnectionKey < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of the send key.
+ attr_accessor :send_key_name
+
+ # @return [String] The value of the send key.
+ attr_accessor :send_key_value
+
+
+ #
+ # Mapper for HybridConnectionKey class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'HybridConnectionKey',
+ type: {
+ name: 'Composite',
+ class_name: 'HybridConnectionKey',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.sendKeyName',
+ type: {
+ name: 'String'
+ }
+ },
+ send_key_value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.sendKeyValue',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb
new file mode 100644
index 0000000000..9c3bca31f5
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for InternalLoadBalancingMode
+ #
+ module InternalLoadBalancingMode
+ None = "None"
+ Web = "Web"
+ Publishing = "Publishing"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ip_security_restriction.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
new file mode 100644
index 0000000000..76c1812be7
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ip_security_restriction.rb
@@ -0,0 +1,55 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # IP security restriction on an app.
+ #
+ class IpSecurityRestriction
+
+ include MsRestAzure
+
+ # @return [String] IP address the security restriction is valid for.
+ attr_accessor :ip_address
+
+ # @return [String] Subnet mask for the range of IP addresses the
+ # restriction is valid for.
+ attr_accessor :subnet_mask
+
+
+ #
+ # Mapper for IpSecurityRestriction class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'IpSecurityRestriction',
+ type: {
+ name: 'Composite',
+ class_name: 'IpSecurityRestriction',
+ model_properties: {
+ ip_address: {
+ required: true,
+ serialized_name: 'ipAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ subnet_mask: {
+ required: false,
+ serialized_name: 'subnetMask',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb
new file mode 100644
index 0000000000..1bb1f89964
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for ManagedPipelineMode
+ #
+ module ManagedPipelineMode
+ Integrated = "Integrated"
+ Classic = "Classic"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb
new file mode 100644
index 0000000000..090e0104b1
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/managed_service_identity.rb
@@ -0,0 +1,66 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Managed service identity.
+ #
+ class ManagedServiceIdentity
+
+ include MsRestAzure
+
+ # @return Type of managed service identity.
+ attr_accessor :type
+
+ # @return [String] Tenant of managed service identity.
+ attr_accessor :tenant_id
+
+ # @return [String] Principal Id of managed service identity.
+ attr_accessor :principal_id
+
+
+ #
+ # Mapper for ManagedServiceIdentity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ManagedServiceIdentity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity',
+ model_properties: {
+ type: {
+ required: false,
+ serialized_name: 'type',
+ type: {
+ name: 'Object'
+ }
+ },
+ tenant_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'tenantId',
+ type: {
+ name: 'String'
+ }
+ },
+ principal_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'principalId',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb
index c880ee46d0..b368f74eac 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/metric_availability.rb
@@ -6,8 +6,7 @@
module Azure::Web::Mgmt::V2016_03_01
module Models
#
- # Model object.
- #
+ # Retention policy of a resource metric.
#
class MetricAvailability
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb
index 76273f2291..8d13696af6 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/metric_specification.rb
@@ -6,8 +6,7 @@
module Azure::Web::Mgmt::V2016_03_01
module Models
#
- # Model object.
- #
+ # Definition of a single resource metric.
#
class MetricSpecification
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/name_value_pair.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/name_value_pair.rb
new file mode 100644
index 0000000000..d5db8b41c0
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/name_value_pair.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Name value pair.
+ #
+ class NameValuePair
+
+ include MsRestAzure
+
+ # @return [String] Pair name.
+ attr_accessor :name
+
+ # @return [String] Pair value.
+ attr_accessor :value
+
+
+ #
+ # Mapper for NameValuePair class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'NameValuePair',
+ type: {
+ name: 'Composite',
+ class_name: 'NameValuePair',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ value: {
+ required: false,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/network_access_control_entry.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/network_access_control_entry.rb
new file mode 100644
index 0000000000..86f9d25c65
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/network_access_control_entry.rb
@@ -0,0 +1,76 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Network access control entry.
+ #
+ class NetworkAccessControlEntry
+
+ include MsRestAzure
+
+ # @return [AccessControlEntryAction] Action object. Possible values
+ # include: 'Permit', 'Deny'
+ attr_accessor :action
+
+ # @return [String] Description.
+ attr_accessor :description
+
+ # @return [Integer] Order of precedence.
+ attr_accessor :order
+
+ # @return [String] Remote subnet.
+ attr_accessor :remote_subnet
+
+
+ #
+ # Mapper for NetworkAccessControlEntry class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'NetworkAccessControlEntry',
+ type: {
+ name: 'Composite',
+ class_name: 'NetworkAccessControlEntry',
+ model_properties: {
+ action: {
+ required: false,
+ serialized_name: 'action',
+ type: {
+ name: 'Enum',
+ module: 'AccessControlEntryAction'
+ }
+ },
+ description: {
+ required: false,
+ serialized_name: 'description',
+ type: {
+ name: 'String'
+ }
+ },
+ order: {
+ required: false,
+ serialized_name: 'order',
+ type: {
+ name: 'Number'
+ }
+ },
+ remote_subnet: {
+ required: false,
+ serialized_name: 'remoteSubnet',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/provisioning_state.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/provisioning_state.rb
new file mode 100644
index 0000000000..5c98935bec
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/provisioning_state.rb
@@ -0,0 +1,19 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for ProvisioningState
+ #
+ module ProvisioningState
+ Succeeded = "Succeeded"
+ Failed = "Failed"
+ Canceled = "Canceled"
+ InProgress = "InProgress"
+ Deleting = "Deleting"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/push_settings.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/push_settings.rb
new file mode 100644
index 0000000000..c86bf7f8f2
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/push_settings.rb
@@ -0,0 +1,114 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Push settings for the App.
+ #
+ class PushSettings < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [Boolean] Gets or sets a flag indicating whether the Push
+ # endpoint is enabled.
+ attr_accessor :is_push_enabled
+
+ # @return [String] Gets or sets a JSON string containing a list of tags
+ # that are whitelisted for use by the push registration endpoint.
+ attr_accessor :tag_whitelist_json
+
+ # @return [String] 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.
+ attr_accessor :tags_requiring_auth
+
+ # @return [String] Gets or sets a JSON string containing a list of
+ # dynamic tags that will be evaluated from user claims in the push
+ # registration endpoint.
+ attr_accessor :dynamic_tags_json
+
+
+ #
+ # Mapper for PushSettings class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'PushSettings',
+ type: {
+ name: 'Composite',
+ class_name: 'PushSettings',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ is_push_enabled: {
+ required: false,
+ serialized_name: 'properties.isPushEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ tag_whitelist_json: {
+ required: false,
+ serialized_name: 'properties.tagWhitelistJson',
+ type: {
+ name: 'String'
+ }
+ },
+ tags_requiring_auth: {
+ required: false,
+ serialized_name: 'properties.tagsRequiringAuth',
+ type: {
+ name: 'String'
+ }
+ },
+ dynamic_tags_json: {
+ required: false,
+ serialized_name: 'properties.dynamicTagsJson',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ramp_up_rule.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ramp_up_rule.rb
new file mode 100644
index 0000000000..0c84d6d2a3
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ramp_up_rule.rb
@@ -0,0 +1,132 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Routing rules for ramp up testing. This rule allows to redirect static
+ # traffic % to a slot or to gradually change routing % based on
+ # performance.
+ #
+ class RampUpRule
+
+ include MsRestAzure
+
+ # @return [String] Hostname of a slot to which the traffic will be
+ # redirected if decided to. E.g. myapp-stage.azurewebsites.net.
+ attr_accessor :action_host_name
+
+ # @return [Float] Percentage of the traffic which will be redirected to
+ # ActionHostName.
+ attr_accessor :reroute_percentage
+
+ # @return [Float] In auto ramp up scenario this is the step to to
+ # add/remove from ReroutePercentage until it reaches
+ # MinReroutePercentage or MaxReroutePercentage.
+ # Site metrics are checked every N minutes specificed in
+ # ChangeIntervalInMinutes.
+ # Custom decision algorithm can be provided in TiPCallback site extension
+ # which URL can be specified in ChangeDecisionCallbackUrl.
+ attr_accessor :change_step
+
+ # @return [Integer] Specifies interval in mimuntes to reevaluate
+ # ReroutePercentage.
+ attr_accessor :change_interval_in_minutes
+
+ # @return [Float] Specifies lower boundary above which ReroutePercentage
+ # will stay.
+ attr_accessor :min_reroute_percentage
+
+ # @return [Float] Specifies upper boundary below which ReroutePercentage
+ # will stay.
+ attr_accessor :max_reroute_percentage
+
+ # @return [String] 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/
+ attr_accessor :change_decision_callback_url
+
+ # @return [String] Name of the routing rule. The recommended name would
+ # be to point to the slot which will receive the traffic in the
+ # experiment.
+ attr_accessor :name
+
+
+ #
+ # Mapper for RampUpRule class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'RampUpRule',
+ type: {
+ name: 'Composite',
+ class_name: 'RampUpRule',
+ model_properties: {
+ action_host_name: {
+ required: false,
+ serialized_name: 'actionHostName',
+ type: {
+ name: 'String'
+ }
+ },
+ reroute_percentage: {
+ required: false,
+ serialized_name: 'reroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_step: {
+ required: false,
+ serialized_name: 'changeStep',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_interval_in_minutes: {
+ required: false,
+ serialized_name: 'changeIntervalInMinutes',
+ type: {
+ name: 'Number'
+ }
+ },
+ min_reroute_percentage: {
+ required: false,
+ serialized_name: 'minReroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ max_reroute_percentage: {
+ required: false,
+ serialized_name: 'maxReroutePercentage',
+ type: {
+ name: 'Double'
+ }
+ },
+ change_decision_callback_url: {
+ required: false,
+ serialized_name: 'changeDecisionCallbackUrl',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb
index cd43384d0b..b5d47c31c5 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/recommendation.rb
@@ -16,8 +16,8 @@ class Recommendation
# @return [DateTime] Timestamp when this instance was created.
attr_accessor :creation_time
- # @return [String] A GUID value that each recommendation object is
- # associated with.
+ # @return A GUID value that each recommendation object is associated
+ # with.
attr_accessor :recommendation_id
# @return [String] Full ARM resource ID string that this recommendation
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/requests_based_trigger.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/requests_based_trigger.rb
new file mode 100644
index 0000000000..ab1be74c6a
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/requests_based_trigger.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Trigger based on total requests.
+ #
+ class RequestsBasedTrigger
+
+ include MsRestAzure
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for RequestsBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'RequestsBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'RequestsBasedTrigger',
+ model_properties: {
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_availability.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
new file mode 100644
index 0000000000..00f8872150
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_availability.rb
@@ -0,0 +1,56 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Metrics availability and retention.
+ #
+ class ResourceMetricAvailability
+
+ include MsRestAzure
+
+ # @return [String] Time grain .
+ attr_accessor :time_grain
+
+ # @return [String] Retention period for the current time grain.
+ attr_accessor :retention
+
+
+ #
+ # Mapper for ResourceMetricAvailability class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricAvailability',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricAvailability',
+ model_properties: {
+ time_grain: {
+ required: false,
+ read_only: true,
+ serialized_name: 'timeGrain',
+ type: {
+ name: 'String'
+ }
+ },
+ retention: {
+ required: false,
+ read_only: true,
+ serialized_name: 'retention',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_definition.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_definition.rb
new file mode 100644
index 0000000000..01998a3f9b
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_definition.rb
@@ -0,0 +1,159 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Metadata for the metrics.
+ #
+ class ResourceMetricDefinition < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [ResourceMetricName] Name of the metric.
+ attr_accessor :resource_metric_definition_name
+
+ # @return [String] Unit of the metric.
+ attr_accessor :unit
+
+ # @return [String] Primary aggregation type.
+ attr_accessor :primary_aggregation_type
+
+ # @return [Array] List of time grains
+ # supported for the metric together with retention period.
+ attr_accessor :metric_availabilities
+
+ # @return [String] Resource URI.
+ attr_accessor :resource_uri
+
+ # @return [String] Resource ID.
+ attr_accessor :resource_metric_definition_id
+
+ # @return [Hash{String => String}] Properties.
+ attr_accessor :properties
+
+
+ #
+ # Mapper for ResourceMetricDefinition class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricDefinition',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricDefinition',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ resource_metric_definition_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricName'
+ }
+ },
+ unit: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.unit',
+ type: {
+ name: 'String'
+ }
+ },
+ primary_aggregation_type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.primaryAggregationType',
+ type: {
+ name: 'String'
+ }
+ },
+ metric_availabilities: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.metricAvailabilities',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'ResourceMetricAvailabilityElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricAvailability'
+ }
+ }
+ }
+ },
+ resource_uri: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceUri',
+ type: {
+ name: 'String'
+ }
+ },
+ resource_metric_definition_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.id',
+ type: {
+ name: 'String'
+ }
+ },
+ properties: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.properties',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
new file mode 100644
index 0000000000..5fe30d255e
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/resource_metric_name.rb
@@ -0,0 +1,56 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Name of a metric for any resource .
+ #
+ class ResourceMetricName
+
+ include MsRestAzure
+
+ # @return [String] metric name value.
+ attr_accessor :value
+
+ # @return [String] Localized metric name value.
+ attr_accessor :localized_value
+
+
+ #
+ # Mapper for ResourceMetricName class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ResourceMetricName',
+ type: {
+ name: 'Composite',
+ class_name: 'ResourceMetricName',
+ model_properties: {
+ value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ },
+ localized_value: {
+ required: false,
+ read_only: true,
+ serialized_name: 'localizedValue',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/route_type.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/route_type.rb
new file mode 100644
index 0000000000..701c6c8a25
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/route_type.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for RouteType
+ #
+ module RouteType
+ DEFAULT = "DEFAULT"
+ INHERITED = "INHERITED"
+ STATIC = "STATIC"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/scm_type.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/scm_type.rb
new file mode 100644
index 0000000000..e442c5bbf6
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/scm_type.rb
@@ -0,0 +1,27 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for ScmType
+ #
+ module ScmType
+ None = "None"
+ Dropbox = "Dropbox"
+ Tfs = "Tfs"
+ LocalGit = "LocalGit"
+ GitHub = "GitHub"
+ CodePlexGit = "CodePlexGit"
+ CodePlexHg = "CodePlexHg"
+ BitbucketGit = "BitbucketGit"
+ BitbucketHg = "BitbucketHg"
+ ExternalGit = "ExternalGit"
+ ExternalHg = "ExternalHg"
+ OneDrive = "OneDrive"
+ VSO = "VSO"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/service_specification.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/service_specification.rb
index 0e888512a0..d84ade8b2d 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/service_specification.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/service_specification.rb
@@ -6,8 +6,8 @@
module Azure::Web::Mgmt::V2016_03_01
module Models
#
- # Model object.
- #
+ # Resource metrics service provided by Microsoft.Insights resource
+ # provider.
#
class ServiceSpecification
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site.rb
new file mode 100644
index 0000000000..fd938e57c3
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site.rb
@@ -0,0 +1,510 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # A web app, a mobile app backend, or an API app.
+ #
+ class Site < Resource
+
+ include MsRestAzure
+
+ # @return [String] Current state of the app.
+ attr_accessor :state
+
+ # @return [Array] Hostnames associated with the app.
+ attr_accessor :host_names
+
+ # @return [String] Name of the repository site.
+ attr_accessor :repository_site_name
+
+ # @return [UsageState] State indicating whether the app has exceeded its
+ # quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'
+ attr_accessor :usage_state
+
+ # @return [Boolean] true if the app is enabled; otherwise,
+ # false. Setting this value to false disables the app (takes
+ # the app offline).
+ attr_accessor :enabled
+
+ # @return [Array] Enabled hostnames for the app.Hostnames need to
+ # be assigned (see HostNames) AND enabled. Otherwise,
+ # the app is not served on those hostnames.
+ attr_accessor :enabled_host_names
+
+ # @return [SiteAvailabilityState] Management information availability
+ # state for the app. Possible values include: 'Normal', 'Limited',
+ # 'DisasterRecoveryMode'
+ attr_accessor :availability_state
+
+ # @return [Array] Hostname SSL states are used to
+ # manage the SSL bindings for app's hostnames.
+ attr_accessor :host_name_ssl_states
+
+ # @return [String] Resource ID of the associated App Service plan,
+ # formatted as:
+ # "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
+ attr_accessor :server_farm_id
+
+ # @return [Boolean] true if reserved; otherwise,
+ # false. Default value: false .
+ attr_accessor :reserved
+
+ # @return [DateTime] Last time the app was modified, in UTC. Read-only.
+ attr_accessor :last_modified_time_utc
+
+ # @return [SiteConfig] Configuration of the app.
+ attr_accessor :site_config
+
+ # @return [Array] Azure Traffic Manager hostnames associated with
+ # the app. Read-only.
+ attr_accessor :traffic_manager_host_names
+
+ # @return [Boolean] true to stop SCM (KUDU) site when the
+ # app is stopped; otherwise, false. The default is
+ # false. Default value: false .
+ attr_accessor :scm_site_also_stopped
+
+ # @return [String] Specifies which deployment slot this app will swap
+ # into. Read-only.
+ attr_accessor :target_swap_slot
+
+ # @return [HostingEnvironmentProfile] App Service Environment to use for
+ # the app.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Boolean] true to enable client affinity;
+ # false to stop sending session affinity cookies, which
+ # route client requests in the same session to the same instance. Default
+ # is true.
+ attr_accessor :client_affinity_enabled
+
+ # @return [Boolean] true to enable client certificate
+ # authentication (TLS mutual authentication); otherwise,
+ # false. Default is false.
+ attr_accessor :client_cert_enabled
+
+ # @return [Boolean] true to disable the public hostnames of
+ # the app; otherwise, false.
+ # If true, the app is only accessible via API management
+ # process.
+ attr_accessor :host_names_disabled
+
+ # @return [String] 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.
+ attr_accessor :outbound_ip_addresses
+
+ # @return [String] List of IP addresses that the app uses for outbound
+ # connections (e.g. database access). Includes VIPs from all tenants.
+ # Read-only.
+ attr_accessor :possible_outbound_ip_addresses
+
+ # @return [Integer] Size of the function container.
+ attr_accessor :container_size
+
+ # @return [Integer] Maximum allowed daily memory-time quota (applicable
+ # on dynamic apps only).
+ attr_accessor :daily_memory_time_quota
+
+ # @return [DateTime] App suspended till in case memory-time quota is
+ # exceeded.
+ attr_accessor :suspended_till
+
+ # @return [Integer] Maximum number of workers.
+ # This only applies to Functions container.
+ attr_accessor :max_number_of_workers
+
+ # @return [CloningInfo] If specified during app creation, the app is
+ # cloned from a source app.
+ attr_accessor :cloning_info
+
+ # @return [SnapshotRecoveryRequest] If specified during app creation, the
+ # app is created from a previous snapshot.
+ attr_accessor :snapshot_info
+
+ # @return [String] Name of the resource group the app belongs to.
+ # Read-only.
+ attr_accessor :resource_group
+
+ # @return [Boolean] true if the app is a default container;
+ # otherwise, false.
+ attr_accessor :is_default_container
+
+ # @return [String] Default hostname of the app. Read-only.
+ attr_accessor :default_host_name
+
+ # @return [SlotSwapStatus] Status of the last deployment slot swap
+ # operation.
+ attr_accessor :slot_swap_status
+
+ # @return [Boolean] HttpsOnly: configures a web site to accept only https
+ # requests. Issues redirect for
+ # http requests
+ attr_accessor :https_only
+
+ # @return [ManagedServiceIdentity]
+ attr_accessor :identity
+
+
+ #
+ # Mapper for Site class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Site',
+ type: {
+ name: 'Composite',
+ class_name: 'Site',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: true,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ tags: {
+ required: false,
+ serialized_name: 'tags',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.state',
+ type: {
+ name: 'String'
+ }
+ },
+ host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.hostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ repository_site_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.repositorySiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ usage_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.usageState',
+ type: {
+ name: 'Enum',
+ module: 'UsageState'
+ }
+ },
+ enabled: {
+ required: false,
+ serialized_name: 'properties.enabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ enabled_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.enabledHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ availability_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.availabilityState',
+ type: {
+ name: 'Enum',
+ module: 'SiteAvailabilityState'
+ }
+ },
+ host_name_ssl_states: {
+ required: false,
+ serialized_name: 'properties.hostNameSslStates',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HostNameSslStateElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HostNameSslState'
+ }
+ }
+ }
+ },
+ server_farm_id: {
+ required: false,
+ serialized_name: 'properties.serverFarmId',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ last_modified_time_utc: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.lastModifiedTimeUtc',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ site_config: {
+ required: false,
+ serialized_name: 'properties.siteConfig',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfig'
+ }
+ },
+ traffic_manager_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.trafficManagerHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ scm_site_also_stopped: {
+ required: false,
+ serialized_name: 'properties.scmSiteAlsoStopped',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_swap_slot: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.targetSwapSlot',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ client_affinity_enabled: {
+ required: false,
+ serialized_name: 'properties.clientAffinityEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ client_cert_enabled: {
+ required: false,
+ serialized_name: 'properties.clientCertEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ host_names_disabled: {
+ required: false,
+ serialized_name: 'properties.hostNamesDisabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.outboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
+ possible_outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.possibleOutboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
+ container_size: {
+ required: false,
+ serialized_name: 'properties.containerSize',
+ type: {
+ name: 'Number'
+ }
+ },
+ daily_memory_time_quota: {
+ required: false,
+ serialized_name: 'properties.dailyMemoryTimeQuota',
+ type: {
+ name: 'Number'
+ }
+ },
+ suspended_till: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.suspendedTill',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ max_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maxNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ cloning_info: {
+ required: false,
+ serialized_name: 'properties.cloningInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'CloningInfo'
+ }
+ },
+ snapshot_info: {
+ required: false,
+ serialized_name: 'properties.snapshotInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryRequest'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ is_default_container: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.isDefaultContainer',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ default_host_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.defaultHostName',
+ type: {
+ name: 'String'
+ }
+ },
+ slot_swap_status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.slotSwapStatus',
+ type: {
+ name: 'Composite',
+ class_name: 'SlotSwapStatus'
+ }
+ },
+ https_only: {
+ required: false,
+ serialized_name: 'properties.httpsOnly',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ identity: {
+ required: false,
+ serialized_name: 'identity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_availability_state.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_availability_state.rb
new file mode 100644
index 0000000000..8b1f95a46f
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_availability_state.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for SiteAvailabilityState
+ #
+ module SiteAvailabilityState
+ Normal = "Normal"
+ Limited = "Limited"
+ DisasterRecoveryMode = "DisasterRecoveryMode"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_config.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_config.rb
new file mode 100644
index 0000000000..f4388044db
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_config.rb
@@ -0,0 +1,539 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Configuration of an App Service app.
+ #
+ class SiteConfig
+
+ include MsRestAzure
+
+ # @return [Integer] Number of workers.
+ attr_accessor :number_of_workers
+
+ # @return [Array] Default documents.
+ attr_accessor :default_documents
+
+ # @return [String] .NET Framework version. Default value: 'v4.6' .
+ attr_accessor :net_framework_version
+
+ # @return [String] Version of PHP.
+ attr_accessor :php_version
+
+ # @return [String] Version of Python.
+ attr_accessor :python_version
+
+ # @return [String] Version of Node.js.
+ attr_accessor :node_version
+
+ # @return [String] Linux App Framework and version
+ attr_accessor :linux_fx_version
+
+ # @return [Boolean] true if request tracing is enabled;
+ # otherwise, false.
+ attr_accessor :request_tracing_enabled
+
+ # @return [DateTime] Request tracing expiration time.
+ attr_accessor :request_tracing_expiration_time
+
+ # @return [Boolean] true if remote debugging is enabled;
+ # otherwise, false.
+ attr_accessor :remote_debugging_enabled
+
+ # @return [String] Remote debugging version.
+ attr_accessor :remote_debugging_version
+
+ # @return [Boolean] true if HTTP logging is enabled;
+ # otherwise, false.
+ attr_accessor :http_logging_enabled
+
+ # @return [Integer] HTTP logs directory size limit.
+ attr_accessor :logs_directory_size_limit
+
+ # @return [Boolean] true if detailed error logging is
+ # enabled; otherwise, false.
+ attr_accessor :detailed_error_logging_enabled
+
+ # @return [String] Publishing user name.
+ attr_accessor :publishing_username
+
+ # @return [Array] Application settings.
+ attr_accessor :app_settings
+
+ # @return [Array] Connection strings.
+ attr_accessor :connection_strings
+
+ # @return [SiteMachineKey] Site MachineKey.
+ attr_accessor :machine_key
+
+ # @return [Array] Handler mappings.
+ attr_accessor :handler_mappings
+
+ # @return [String] Document root.
+ attr_accessor :document_root
+
+ # @return [ScmType] SCM type. Possible values include: 'None', 'Dropbox',
+ # 'Tfs', 'LocalGit', 'GitHub', 'CodePlexGit', 'CodePlexHg',
+ # 'BitbucketGit', 'BitbucketHg', 'ExternalGit', 'ExternalHg', 'OneDrive',
+ # 'VSO'
+ attr_accessor :scm_type
+
+ # @return [Boolean] true to use 32-bit worker process;
+ # otherwise, false.
+ attr_accessor :use32bit_worker_process
+
+ # @return [Boolean] true if WebSocket is enabled; otherwise,
+ # false.
+ attr_accessor :web_sockets_enabled
+
+ # @return [Boolean] true if Always On is enabled; otherwise,
+ # false.
+ attr_accessor :always_on
+
+ # @return [String] Java version.
+ attr_accessor :java_version
+
+ # @return [String] Java container.
+ attr_accessor :java_container
+
+ # @return [String] Java container version.
+ attr_accessor :java_container_version
+
+ # @return [String] App command line to launch.
+ attr_accessor :app_command_line
+
+ # @return [ManagedPipelineMode] Managed pipeline mode. Possible values
+ # include: 'Integrated', 'Classic'
+ attr_accessor :managed_pipeline_mode
+
+ # @return [Array] Virtual applications.
+ attr_accessor :virtual_applications
+
+ # @return [SiteLoadBalancing] Site load balancing. Possible values
+ # include: 'WeightedRoundRobin', 'LeastRequests', 'LeastResponseTime',
+ # 'WeightedTotalTraffic', 'RequestHash'
+ attr_accessor :load_balancing
+
+ # @return [Experiments] This is work around for polymophic types.
+ attr_accessor :experiments
+
+ # @return [SiteLimits] Site limits.
+ attr_accessor :limits
+
+ # @return [Boolean] true if Auto Heal is enabled; otherwise,
+ # false.
+ attr_accessor :auto_heal_enabled
+
+ # @return [AutoHealRules] Auto Heal rules.
+ attr_accessor :auto_heal_rules
+
+ # @return [String] Tracing options.
+ attr_accessor :tracing_options
+
+ # @return [String] Virtual Network name.
+ attr_accessor :vnet_name
+
+ # @return [CorsSettings] Cross-Origin Resource Sharing (CORS) settings.
+ attr_accessor :cors
+
+ # @return [PushSettings] Push endpoint settings.
+ attr_accessor :push
+
+ # @return [ApiDefinitionInfo] Information about the formal API definition
+ # for the app.
+ attr_accessor :api_definition
+
+ # @return [String] Auto-swap slot name.
+ attr_accessor :auto_swap_slot_name
+
+ # @return [Boolean] true to enable local MySQL; otherwise,
+ # false. Default value: false .
+ attr_accessor :local_my_sql_enabled
+
+ # @return [Array] IP security restrictions.
+ attr_accessor :ip_security_restrictions
+
+
+ #
+ # Mapper for SiteConfig class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteConfig',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfig',
+ model_properties: {
+ number_of_workers: {
+ required: false,
+ serialized_name: 'numberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ default_documents: {
+ required: false,
+ serialized_name: 'defaultDocuments',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ net_framework_version: {
+ required: false,
+ serialized_name: 'netFrameworkVersion',
+ default_value: 'v4.6',
+ type: {
+ name: 'String'
+ }
+ },
+ php_version: {
+ required: false,
+ serialized_name: 'phpVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ python_version: {
+ required: false,
+ serialized_name: 'pythonVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ node_version: {
+ required: false,
+ serialized_name: 'nodeVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ linux_fx_version: {
+ required: false,
+ serialized_name: 'linuxFxVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ request_tracing_enabled: {
+ required: false,
+ serialized_name: 'requestTracingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ request_tracing_expiration_time: {
+ required: false,
+ serialized_name: 'requestTracingExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ remote_debugging_enabled: {
+ required: false,
+ serialized_name: 'remoteDebuggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ remote_debugging_version: {
+ required: false,
+ serialized_name: 'remoteDebuggingVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ http_logging_enabled: {
+ required: false,
+ serialized_name: 'httpLoggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ logs_directory_size_limit: {
+ required: false,
+ serialized_name: 'logsDirectorySizeLimit',
+ type: {
+ name: 'Number'
+ }
+ },
+ detailed_error_logging_enabled: {
+ required: false,
+ serialized_name: 'detailedErrorLoggingEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ publishing_username: {
+ required: false,
+ serialized_name: 'publishingUsername',
+ type: {
+ name: 'String'
+ }
+ },
+ app_settings: {
+ required: false,
+ serialized_name: 'appSettings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'NameValuePairElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'NameValuePair'
+ }
+ }
+ }
+ },
+ connection_strings: {
+ required: false,
+ serialized_name: 'connectionStrings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'ConnStringInfoElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'ConnStringInfo'
+ }
+ }
+ }
+ },
+ machine_key: {
+ required: false,
+ read_only: true,
+ serialized_name: 'machineKey',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteMachineKey'
+ }
+ },
+ handler_mappings: {
+ required: false,
+ serialized_name: 'handlerMappings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HandlerMappingElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HandlerMapping'
+ }
+ }
+ }
+ },
+ document_root: {
+ required: false,
+ serialized_name: 'documentRoot',
+ type: {
+ name: 'String'
+ }
+ },
+ scm_type: {
+ required: false,
+ serialized_name: 'scmType',
+ type: {
+ name: 'String'
+ }
+ },
+ use32bit_worker_process: {
+ required: false,
+ serialized_name: 'use32BitWorkerProcess',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ web_sockets_enabled: {
+ required: false,
+ serialized_name: 'webSocketsEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ always_on: {
+ required: false,
+ serialized_name: 'alwaysOn',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ java_version: {
+ required: false,
+ serialized_name: 'javaVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ java_container: {
+ required: false,
+ serialized_name: 'javaContainer',
+ type: {
+ name: 'String'
+ }
+ },
+ java_container_version: {
+ required: false,
+ serialized_name: 'javaContainerVersion',
+ type: {
+ name: 'String'
+ }
+ },
+ app_command_line: {
+ required: false,
+ serialized_name: 'appCommandLine',
+ type: {
+ name: 'String'
+ }
+ },
+ managed_pipeline_mode: {
+ required: false,
+ serialized_name: 'managedPipelineMode',
+ type: {
+ name: 'Enum',
+ module: 'ManagedPipelineMode'
+ }
+ },
+ virtual_applications: {
+ required: false,
+ serialized_name: 'virtualApplications',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VirtualApplicationElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualApplication'
+ }
+ }
+ }
+ },
+ load_balancing: {
+ required: false,
+ serialized_name: 'loadBalancing',
+ type: {
+ name: 'Enum',
+ module: 'SiteLoadBalancing'
+ }
+ },
+ experiments: {
+ required: false,
+ serialized_name: 'experiments',
+ type: {
+ name: 'Composite',
+ class_name: 'Experiments'
+ }
+ },
+ limits: {
+ required: false,
+ serialized_name: 'limits',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteLimits'
+ }
+ },
+ auto_heal_enabled: {
+ required: false,
+ serialized_name: 'autoHealEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ auto_heal_rules: {
+ required: false,
+ serialized_name: 'autoHealRules',
+ type: {
+ name: 'Composite',
+ class_name: 'AutoHealRules'
+ }
+ },
+ tracing_options: {
+ required: false,
+ serialized_name: 'tracingOptions',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_name: {
+ required: false,
+ serialized_name: 'vnetName',
+ type: {
+ name: 'String'
+ }
+ },
+ cors: {
+ required: false,
+ serialized_name: 'cors',
+ type: {
+ name: 'Composite',
+ class_name: 'CorsSettings'
+ }
+ },
+ push: {
+ required: false,
+ serialized_name: 'push',
+ type: {
+ name: 'Composite',
+ class_name: 'PushSettings'
+ }
+ },
+ api_definition: {
+ required: false,
+ serialized_name: 'apiDefinition',
+ type: {
+ name: 'Composite',
+ class_name: 'ApiDefinitionInfo'
+ }
+ },
+ auto_swap_slot_name: {
+ required: false,
+ serialized_name: 'autoSwapSlotName',
+ type: {
+ name: 'String'
+ }
+ },
+ local_my_sql_enabled: {
+ required: false,
+ serialized_name: 'localMySqlEnabled',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ ip_security_restrictions: {
+ required: false,
+ serialized_name: 'ipSecurityRestrictions',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'IpSecurityRestrictionElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'IpSecurityRestriction'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_limits.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_limits.rb
new file mode 100644
index 0000000000..8ce31b78f4
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_limits.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Metric limits set on an app.
+ #
+ class SiteLimits
+
+ include MsRestAzure
+
+ # @return [Float] Maximum allowed CPU usage percentage.
+ attr_accessor :max_percentage_cpu
+
+ # @return [Integer] Maximum allowed memory usage in MB.
+ attr_accessor :max_memory_in_mb
+
+ # @return [Integer] Maximum allowed disk size usage in MB.
+ attr_accessor :max_disk_size_in_mb
+
+
+ #
+ # Mapper for SiteLimits class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteLimits',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteLimits',
+ model_properties: {
+ max_percentage_cpu: {
+ required: false,
+ serialized_name: 'maxPercentageCpu',
+ type: {
+ name: 'Double'
+ }
+ },
+ max_memory_in_mb: {
+ required: false,
+ serialized_name: 'maxMemoryInMb',
+ type: {
+ name: 'Number'
+ }
+ },
+ max_disk_size_in_mb: {
+ required: false,
+ serialized_name: 'maxDiskSizeInMb',
+ type: {
+ name: 'Number'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_load_balancing.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_load_balancing.rb
new file mode 100644
index 0000000000..44ccaf8733
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_load_balancing.rb
@@ -0,0 +1,19 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for SiteLoadBalancing
+ #
+ module SiteLoadBalancing
+ WeightedRoundRobin = "WeightedRoundRobin"
+ LeastRequests = "LeastRequests"
+ LeastResponseTime = "LeastResponseTime"
+ WeightedTotalTraffic = "WeightedTotalTraffic"
+ RequestHash = "RequestHash"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_machine_key.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_machine_key.rb
new file mode 100644
index 0000000000..26f315c61c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/site_machine_key.rb
@@ -0,0 +1,74 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # MachineKey of an app.
+ #
+ class SiteMachineKey
+
+ include MsRestAzure
+
+ # @return [String] MachineKey validation.
+ attr_accessor :validation
+
+ # @return [String] Validation key.
+ attr_accessor :validation_key
+
+ # @return [String] Decryption.
+ attr_accessor :decryption
+
+ # @return [String] Decryption key.
+ attr_accessor :decryption_key
+
+
+ #
+ # Mapper for SiteMachineKey class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteMachineKey',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteMachineKey',
+ model_properties: {
+ validation: {
+ required: false,
+ serialized_name: 'validation',
+ type: {
+ name: 'String'
+ }
+ },
+ validation_key: {
+ required: false,
+ serialized_name: 'validationKey',
+ type: {
+ name: 'String'
+ }
+ },
+ decryption: {
+ required: false,
+ serialized_name: 'decryption',
+ type: {
+ name: 'String'
+ }
+ },
+ decryption_key: {
+ required: false,
+ serialized_name: 'decryptionKey',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/sku_description.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/sku_description.rb
new file mode 100644
index 0000000000..ce55f308e1
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/sku_description.rb
@@ -0,0 +1,131 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Description of a SKU for a scalable resource.
+ #
+ class SkuDescription
+
+ include MsRestAzure
+
+ # @return [String] Name of the resource SKU.
+ attr_accessor :name
+
+ # @return [String] Service tier of the resource SKU.
+ attr_accessor :tier
+
+ # @return [String] Size specifier of the resource SKU.
+ attr_accessor :size
+
+ # @return [String] Family code of the resource SKU.
+ attr_accessor :family
+
+ # @return [Integer] Current number of instances assigned to the resource.
+ attr_accessor :capacity
+
+ # @return [SkuCapacity] Min, max, and default scale values of the SKU.
+ attr_accessor :sku_capacity
+
+ # @return [Array] Locations of the SKU.
+ attr_accessor :locations
+
+ # @return [Array] Capabilities of the SKU, e.g., is traffic
+ # manager enabled?
+ attr_accessor :capabilities
+
+
+ #
+ # Mapper for SkuDescription class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SkuDescription',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuDescription',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ tier: {
+ required: false,
+ serialized_name: 'tier',
+ type: {
+ name: 'String'
+ }
+ },
+ size: {
+ required: false,
+ serialized_name: 'size',
+ type: {
+ name: 'String'
+ }
+ },
+ family: {
+ required: false,
+ serialized_name: 'family',
+ type: {
+ name: 'String'
+ }
+ },
+ capacity: {
+ required: false,
+ serialized_name: 'capacity',
+ type: {
+ name: 'Number'
+ }
+ },
+ sku_capacity: {
+ required: false,
+ serialized_name: 'skuCapacity',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuCapacity'
+ }
+ },
+ locations: {
+ required: false,
+ serialized_name: 'locations',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ capabilities: {
+ required: false,
+ serialized_name: 'capabilities',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'CapabilityElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'Capability'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/slot_swap_status.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/slot_swap_status.rb
new file mode 100644
index 0000000000..376b0f717d
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/slot_swap_status.rb
@@ -0,0 +1,67 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # The status of the last successfull slot swap operation.
+ #
+ class SlotSwapStatus
+
+ include MsRestAzure
+
+ # @return [DateTime] The time the last successful slot swap completed.
+ attr_accessor :timestamp_utc
+
+ # @return [String] The source slot of the last swap operation.
+ attr_accessor :source_slot_name
+
+ # @return [String] The destination slot of the last swap operation.
+ attr_accessor :destination_slot_name
+
+
+ #
+ # Mapper for SlotSwapStatus class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SlotSwapStatus',
+ type: {
+ name: 'Composite',
+ class_name: 'SlotSwapStatus',
+ model_properties: {
+ timestamp_utc: {
+ required: false,
+ read_only: true,
+ serialized_name: 'timestampUtc',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ source_slot_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'sourceSlotName',
+ type: {
+ name: 'String'
+ }
+ },
+ destination_slot_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'destinationSlotName',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
new file mode 100644
index 0000000000..e99d493ae9
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Trigger based on request execution time.
+ #
+ class SlowRequestsBasedTrigger
+
+ include MsRestAzure
+
+ # @return [String] Time taken.
+ attr_accessor :time_taken
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for SlowRequestsBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SlowRequestsBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'SlowRequestsBasedTrigger',
+ model_properties: {
+ time_taken: {
+ required: false,
+ serialized_name: 'timeTaken',
+ type: {
+ name: 'String'
+ }
+ },
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb
new file mode 100644
index 0000000000..d98bea4917
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb
@@ -0,0 +1,122 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Details about app recovery operation.
+ #
+ class SnapshotRecoveryRequest < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Point in time in which the app recovery should be
+ # attempted, formatted as a DateTime string.
+ attr_accessor :snapshot_time
+
+ # @return [SnapshotRecoveryTarget] Specifies the web app that snapshot
+ # contents will be written to.
+ attr_accessor :recovery_target
+
+ # @return [Boolean] If true the recovery operation can
+ # overwrite source app; otherwise, false.
+ attr_accessor :overwrite
+
+ # @return [Boolean] If true, site configuration, in addition to content,
+ # will be reverted.
+ attr_accessor :recover_configuration
+
+ # @return [Boolean] If true, custom hostname conflicts will be ignored
+ # when recovering to a target web app.
+ # This setting is only necessary when RecoverConfiguration is enabled.
+ attr_accessor :ignore_conflicting_host_names
+
+
+ #
+ # Mapper for SnapshotRecoveryRequest class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SnapshotRecoveryRequest',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryRequest',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ snapshot_time: {
+ required: false,
+ serialized_name: 'properties.snapshotTime',
+ type: {
+ name: 'String'
+ }
+ },
+ recovery_target: {
+ required: false,
+ serialized_name: 'properties.recoveryTarget',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryTarget'
+ }
+ },
+ overwrite: {
+ required: false,
+ serialized_name: 'properties.overwrite',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ recover_configuration: {
+ required: false,
+ serialized_name: 'properties.recoverConfiguration',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ ignore_conflicting_host_names: {
+ required: false,
+ serialized_name: 'properties.ignoreConflictingHostNames',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
new file mode 100644
index 0000000000..74aa2afe02
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb
@@ -0,0 +1,59 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Specifies the web app that snapshot contents will be written to.
+ #
+ class SnapshotRecoveryTarget
+
+ include MsRestAzure
+
+ # @return [String] Geographical location of the target web app, e.g.
+ # SouthEastAsia, SouthCentralUS
+ attr_accessor :location
+
+ # @return [String] 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.
+ attr_accessor :id
+
+
+ #
+ # Mapper for SnapshotRecoveryTarget class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SnapshotRecoveryTarget',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryTarget',
+ model_properties: {
+ location: {
+ required: false,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ id: {
+ required: false,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ssl_state.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ssl_state.rb
new file mode 100644
index 0000000000..57c85bf1df
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/ssl_state.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for SslState
+ #
+ module SslState
+ Disabled = "Disabled"
+ SniEnabled = "SniEnabled"
+ IpBasedEnabled = "IpBasedEnabled"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/stamp_capacity.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/stamp_capacity.rb
new file mode 100644
index 0000000000..5035736fac
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/stamp_capacity.rb
@@ -0,0 +1,145 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Stamp capacity information.
+ #
+ class StampCapacity
+
+ include MsRestAzure
+
+ # @return [String] Name of the stamp.
+ attr_accessor :name
+
+ # @return [Integer] Available capacity (# of machines, bytes of storage
+ # etc...).
+ attr_accessor :available_capacity
+
+ # @return [Integer] Total capacity (# of machines, bytes of storage
+ # etc...).
+ attr_accessor :total_capacity
+
+ # @return [String] Name of the unit.
+ attr_accessor :unit
+
+ # @return [ComputeModeOptions] Shared/dedicated workers. Possible values
+ # include: 'Shared', 'Dedicated', 'Dynamic'
+ attr_accessor :compute_mode
+
+ # @return [WorkerSizeOptions] Size of the machines. Possible values
+ # include: 'Default', 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3'
+ attr_accessor :worker_size
+
+ # @return [Integer] Size ID of machines:
+ # 0 - Small
+ # 1 - Medium
+ # 2 - Large
+ attr_accessor :worker_size_id
+
+ # @return [Boolean] If true, it includes basic apps.
+ # Basic apps are not used for capacity allocation.
+ attr_accessor :exclude_from_capacity_allocation
+
+ # @return [Boolean] true if capacity is applicable for all
+ # apps; otherwise, false.
+ attr_accessor :is_applicable_for_all_compute_modes
+
+ # @return [String] Shared or Dedicated.
+ attr_accessor :site_mode
+
+
+ #
+ # Mapper for StampCapacity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'StampCapacity',
+ type: {
+ name: 'Composite',
+ class_name: 'StampCapacity',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ available_capacity: {
+ required: false,
+ serialized_name: 'availableCapacity',
+ type: {
+ name: 'Number'
+ }
+ },
+ total_capacity: {
+ required: false,
+ serialized_name: 'totalCapacity',
+ type: {
+ name: 'Number'
+ }
+ },
+ unit: {
+ required: false,
+ serialized_name: 'unit',
+ type: {
+ name: 'String'
+ }
+ },
+ compute_mode: {
+ required: false,
+ serialized_name: 'computeMode',
+ type: {
+ name: 'Enum',
+ module: 'ComputeModeOptions'
+ }
+ },
+ worker_size: {
+ required: false,
+ serialized_name: 'workerSize',
+ type: {
+ name: 'Enum',
+ module: 'WorkerSizeOptions'
+ }
+ },
+ worker_size_id: {
+ required: false,
+ serialized_name: 'workerSizeId',
+ type: {
+ name: 'Number'
+ }
+ },
+ exclude_from_capacity_allocation: {
+ required: false,
+ serialized_name: 'excludeFromCapacityAllocation',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ is_applicable_for_all_compute_modes: {
+ required: false,
+ serialized_name: 'isApplicableForAllComputeModes',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ site_mode: {
+ required: false,
+ serialized_name: 'siteMode',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb
new file mode 100644
index 0000000000..fa86194ab6
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb
@@ -0,0 +1,84 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Trigger based on status code.
+ #
+ class StatusCodesBasedTrigger
+
+ include MsRestAzure
+
+ # @return [Integer] HTTP status code.
+ attr_accessor :status
+
+ # @return [Integer] SubStatus.
+ attr_accessor :sub_status
+
+ # @return [Integer] Win32 error code.
+ attr_accessor :win32status
+
+ # @return [Integer] Count.
+ attr_accessor :count
+
+ # @return [String] Time interval.
+ attr_accessor :time_interval
+
+
+ #
+ # Mapper for StatusCodesBasedTrigger class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'StatusCodesBasedTrigger',
+ type: {
+ name: 'Composite',
+ class_name: 'StatusCodesBasedTrigger',
+ model_properties: {
+ status: {
+ required: false,
+ serialized_name: 'status',
+ type: {
+ name: 'Number'
+ }
+ },
+ sub_status: {
+ required: false,
+ serialized_name: 'subStatus',
+ type: {
+ name: 'Number'
+ }
+ },
+ win32status: {
+ required: false,
+ serialized_name: 'win32Status',
+ type: {
+ name: 'Number'
+ }
+ },
+ count: {
+ required: false,
+ serialized_name: 'count',
+ type: {
+ name: 'Number'
+ }
+ },
+ time_interval: {
+ required: false,
+ serialized_name: 'timeInterval',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/status_options.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/status_options.rb
new file mode 100644
index 0000000000..3bdbf07321
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/status_options.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for StatusOptions
+ #
+ module StatusOptions
+ Ready = "Ready"
+ Pending = "Pending"
+ Creating = "Creating"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/usage_state.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/usage_state.rb
new file mode 100644
index 0000000000..e29a948663
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/usage_state.rb
@@ -0,0 +1,16 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for UsageState
+ #
+ module UsageState
+ Normal = "Normal"
+ Exceeded = "Exceeded"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/validate_request.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/validate_request.rb
index db8cd62b7d..d95c65d4d3 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/validate_request.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/validate_request.rb
@@ -33,6 +33,10 @@ class ValidateRequest
# workers; otherwise, false.
attr_accessor :need_linux_workers
+ # @return [Boolean] true if App Service plan is for Spot
+ # instances; otherwise, false.
+ attr_accessor :is_spot
+
# @return [Integer] Target capacity of the App Service plan (number of
# VM's).
attr_accessor :capacity
@@ -96,6 +100,13 @@ def self.mapper()
name: 'Boolean'
}
},
+ is_spot: {
+ required: false,
+ serialized_name: 'properties.isSpot',
+ type: {
+ name: 'Boolean'
+ }
+ },
capacity: {
required: false,
serialized_name: 'properties.capacity',
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_application.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_application.rb
new file mode 100644
index 0000000000..c5ae3bbe81
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_application.rb
@@ -0,0 +1,84 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Virtual application in an app.
+ #
+ class VirtualApplication
+
+ include MsRestAzure
+
+ # @return [String] Virtual path.
+ attr_accessor :virtual_path
+
+ # @return [String] Physical path.
+ attr_accessor :physical_path
+
+ # @return [Boolean] true if preloading is enabled;
+ # otherwise, false.
+ attr_accessor :preload_enabled
+
+ # @return [Array] Virtual directories for virtual
+ # application.
+ attr_accessor :virtual_directories
+
+
+ #
+ # Mapper for VirtualApplication class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VirtualApplication',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualApplication',
+ model_properties: {
+ virtual_path: {
+ required: false,
+ serialized_name: 'virtualPath',
+ type: {
+ name: 'String'
+ }
+ },
+ physical_path: {
+ required: false,
+ serialized_name: 'physicalPath',
+ type: {
+ name: 'String'
+ }
+ },
+ preload_enabled: {
+ required: false,
+ serialized_name: 'preloadEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ virtual_directories: {
+ required: false,
+ serialized_name: 'virtualDirectories',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VirtualDirectoryElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualDirectory'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_directory.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_directory.rb
new file mode 100644
index 0000000000..7caf456790
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_directory.rb
@@ -0,0 +1,54 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Directory for virtual application.
+ #
+ class VirtualDirectory
+
+ include MsRestAzure
+
+ # @return [String] Path to virtual application.
+ attr_accessor :virtual_path
+
+ # @return [String] Physical path.
+ attr_accessor :physical_path
+
+
+ #
+ # Mapper for VirtualDirectory class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VirtualDirectory',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualDirectory',
+ model_properties: {
+ virtual_path: {
+ required: false,
+ serialized_name: 'virtualPath',
+ type: {
+ name: 'String'
+ }
+ },
+ physical_path: {
+ required: false,
+ serialized_name: 'physicalPath',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb
new file mode 100644
index 0000000000..1e4ffe5430
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb
@@ -0,0 +1,74 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Virtual IP mapping.
+ #
+ class VirtualIPMapping
+
+ include MsRestAzure
+
+ # @return [String] Virtual IP address.
+ attr_accessor :virtual_ip
+
+ # @return [Integer] Internal HTTP port.
+ attr_accessor :internal_http_port
+
+ # @return [Integer] Internal HTTPS port.
+ attr_accessor :internal_https_port
+
+ # @return [Boolean] Is virtual IP mapping in use.
+ attr_accessor :in_use
+
+
+ #
+ # Mapper for VirtualIPMapping class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VirtualIPMapping',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualIPMapping',
+ model_properties: {
+ virtual_ip: {
+ required: false,
+ serialized_name: 'virtualIP',
+ type: {
+ name: 'String'
+ }
+ },
+ internal_http_port: {
+ required: false,
+ serialized_name: 'internalHttpPort',
+ type: {
+ name: 'Number'
+ }
+ },
+ internal_https_port: {
+ required: false,
+ serialized_name: 'internalHttpsPort',
+ type: {
+ name: 'Number'
+ }
+ },
+ in_use: {
+ required: false,
+ serialized_name: 'inUse',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_network_profile.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_network_profile.rb
new file mode 100644
index 0000000000..e68d148f47
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/virtual_network_profile.rb
@@ -0,0 +1,76 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Specification for using a Virtual Network.
+ #
+ class VirtualNetworkProfile
+
+ include MsRestAzure
+
+ # @return [String] Resource id of the Virtual Network.
+ attr_accessor :id
+
+ # @return [String] Name of the Virtual Network (read-only).
+ attr_accessor :name
+
+ # @return [String] Resource type of the Virtual Network (read-only).
+ attr_accessor :type
+
+ # @return [String] Subnet within the Virtual Network.
+ attr_accessor :subnet
+
+
+ #
+ # Mapper for VirtualNetworkProfile class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VirtualNetworkProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualNetworkProfile',
+ model_properties: {
+ id: {
+ required: false,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ subnet: {
+ required: false,
+ serialized_name: 'subnet',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_gateway.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_gateway.rb
new file mode 100644
index 0000000000..42ba62b898
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_gateway.rb
@@ -0,0 +1,86 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # The Virtual Network gateway contract. This is used to give the Virtual
+ # Network gateway access to the VPN package.
+ #
+ class VnetGateway < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The Virtual Network name.
+ attr_accessor :vnet_name
+
+ # @return [String] The URI where the VPN package can be downloaded.
+ attr_accessor :vpn_package_uri
+
+
+ #
+ # Mapper for VnetGateway class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetGateway',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetGateway',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_name: {
+ required: false,
+ serialized_name: 'properties.vnetName',
+ type: {
+ name: 'String'
+ }
+ },
+ vpn_package_uri: {
+ required: false,
+ serialized_name: 'properties.vpnPackageUri',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_info.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_info.rb
new file mode 100644
index 0000000000..9242a74f16
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_info.rb
@@ -0,0 +1,141 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Virtual Network information contract.
+ #
+ class VnetInfo < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The Virtual Network's resource ID.
+ attr_accessor :vnet_resource_id
+
+ # @return [String] The client certificate thumbprint.
+ attr_accessor :cert_thumbprint
+
+ # @return [Array] A certificate file (.cer) blob containing the
+ # public key of the private key used to authenticate a
+ # Point-To-Site VPN connection.
+ attr_accessor :cert_blob
+
+ # @return [Array] The routes that this Virtual Network
+ # connection uses.
+ attr_accessor :routes
+
+ # @return [Boolean] true if a resync is required; otherwise,
+ # false.
+ attr_accessor :resync_required
+
+ # @return [String] DNS servers to be used by this Virtual Network. This
+ # should be a comma-separated list of IP addresses.
+ attr_accessor :dns_servers
+
+
+ #
+ # Mapper for VnetInfo class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetInfo',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_resource_id: {
+ required: false,
+ serialized_name: 'properties.vnetResourceId',
+ type: {
+ name: 'String'
+ }
+ },
+ cert_thumbprint: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.certThumbprint',
+ type: {
+ name: 'String'
+ }
+ },
+ cert_blob: {
+ required: false,
+ serialized_name: 'properties.certBlob',
+ type: {
+ name: 'ByteArray'
+ }
+ },
+ routes: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.routes',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VnetRouteElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetRoute'
+ }
+ }
+ }
+ },
+ resync_required: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resyncRequired',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ dns_servers: {
+ required: false,
+ serialized_name: 'properties.dnsServers',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_route.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_route.rb
new file mode 100644
index 0000000000..370383a177
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/vnet_route.rb
@@ -0,0 +1,118 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Virtual Network route contract used to pass routing information for a
+ # Virtual Network.
+ #
+ class VnetRoute < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] The name of this route. This is only returned by the
+ # server and does not need to be set by the client.
+ attr_accessor :vnet_route_name
+
+ # @return [String] The starting address for this route. This may also
+ # include a CIDR notation, in which case the end address must not be
+ # specified.
+ attr_accessor :start_address
+
+ # @return [String] The ending address for this route. If the start
+ # address is specified in CIDR notation, this must be omitted.
+ attr_accessor :end_address
+
+ # @return [RouteType] 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'
+ attr_accessor :route_type
+
+
+ #
+ # Mapper for VnetRoute class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'VnetRoute',
+ type: {
+ name: 'Composite',
+ class_name: 'VnetRoute',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_route_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ start_address: {
+ required: false,
+ serialized_name: 'properties.startAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ end_address: {
+ required: false,
+ serialized_name: 'properties.endAddress',
+ type: {
+ name: 'String'
+ }
+ },
+ route_type: {
+ required: false,
+ serialized_name: 'properties.routeType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb
new file mode 100644
index 0000000000..3c253b180b
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/worker_pool.rb
@@ -0,0 +1,95 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Worker pool of an App Service Environment.
+ #
+ class WorkerPool
+
+ include MsRestAzure
+
+ # @return [Integer] Worker size ID for referencing this worker pool.
+ attr_accessor :worker_size_id
+
+ # @return [ComputeModeOptions] Shared or dedicated app hosting. Possible
+ # values include: 'Shared', 'Dedicated', 'Dynamic'
+ attr_accessor :compute_mode
+
+ # @return [String] VM size of the worker pool instances.
+ attr_accessor :worker_size
+
+ # @return [Integer] Number of instances in the worker pool.
+ attr_accessor :worker_count
+
+ # @return [Array] Names of all instances in the worker pool (read
+ # only).
+ attr_accessor :instance_names
+
+
+ #
+ # Mapper for WorkerPool class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'WorkerPool',
+ type: {
+ name: 'Composite',
+ class_name: 'WorkerPool',
+ model_properties: {
+ worker_size_id: {
+ required: false,
+ serialized_name: 'workerSizeId',
+ type: {
+ name: 'Number'
+ }
+ },
+ compute_mode: {
+ required: false,
+ serialized_name: 'computeMode',
+ type: {
+ name: 'Enum',
+ module: 'ComputeModeOptions'
+ }
+ },
+ worker_size: {
+ required: false,
+ serialized_name: 'workerSize',
+ type: {
+ name: 'String'
+ }
+ },
+ worker_count: {
+ required: false,
+ serialized_name: 'workerCount',
+ type: {
+ name: 'Number'
+ }
+ },
+ instance_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'instanceNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/worker_size_options.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/worker_size_options.rb
new file mode 100644
index 0000000000..27318d17f7
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/models/worker_size_options.rb
@@ -0,0 +1,21 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_03_01
+ module Models
+ #
+ # Defines values for WorkerSizeOptions
+ #
+ module WorkerSizeOptions
+ Default = "Default"
+ Small = "Small"
+ Medium = "Medium"
+ Large = "Large"
+ D1 = "D1"
+ D2 = "D2"
+ D3 = "D3"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/provider.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/provider.rb
index 377ecbd6dc..f3fd9a6dde 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/provider.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/provider.rb
@@ -98,6 +98,12 @@ def get_available_stacks_async(custom_headers = nil)
promise.execute
end
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
#
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
@@ -109,6 +115,12 @@ def list_operations(custom_headers = nil)
first_page.get_all_items
end
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
#
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
@@ -119,6 +131,12 @@ def list_operations_with_http_info(custom_headers = nil)
list_operations_async(custom_headers).value!
end
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
#
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
@@ -252,6 +270,12 @@ def get_available_stacks_on_prem_async(custom_headers = nil)
promise.execute
end
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -265,6 +289,12 @@ def list_operations_next(next_page_link, custom_headers = nil)
response.body unless response.nil?
end
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -277,6 +307,12 @@ def list_operations_next_with_http_info(next_page_link, custom_headers = nil)
list_operations_next_async(next_page_link, custom_headers).value!
end
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -333,6 +369,12 @@ def list_operations_next_async(next_page_link, custom_headers = nil)
promise.execute
end
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
+ #
+ # Gets all available operations for the Microsoft.Web resource provider. Also
+ # exposes resource metric definitions
#
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
diff --git a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb
index a6af529805..823eebec99 100644
--- a/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb
+++ b/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb
@@ -400,6 +400,98 @@ def list_source_controls_async(custom_headers = nil)
promise.execute
end
+ #
+ # Gets source control token
+ #
+ # Gets source control token
+ #
+ # @param source_control_type [String] Type of source control
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [SourceControl] operation results.
+ #
+ def get_source_control(source_control_type, custom_headers = nil)
+ response = get_source_control_async(source_control_type, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Gets source control token
+ #
+ # Gets source control token
+ #
+ # @param source_control_type [String] Type of source control
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def get_source_control_with_http_info(source_control_type, custom_headers = nil)
+ get_source_control_async(source_control_type, custom_headers).value!
+ end
+
+ #
+ # Gets source control token
+ #
+ # Gets source control token
+ #
+ # @param source_control_type [String] Type of source control
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def get_source_control_async(source_control_type, custom_headers = nil)
+ fail ArgumentError, 'source_control_type is nil' if source_control_type.nil?
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
+ path_template = 'providers/Microsoft.Web/sourcecontrols/{sourceControlType}'
+
+ request_url = @base_url || self.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'sourceControlType' => source_control_type},
+ query_params: {'api-version' => api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = self.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::SourceControl.mapper()
+ result.body = self.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Updates source control token
#
@@ -623,6 +715,95 @@ def check_name_availability_async(name, type, is_fqdn = nil, custom_headers = ni
promise.execute
end
+ #
+ # Gets list of available geo regions plus ministamps
+ #
+ # Gets list of available geo regions plus ministamps
+ #
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [DeploymentLocations] operation results.
+ #
+ def get_subscription_deployment_locations(custom_headers = nil)
+ response = get_subscription_deployment_locations_async(custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Gets list of available geo regions plus ministamps
+ #
+ # Gets list of available geo regions plus ministamps
+ #
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def get_subscription_deployment_locations_with_http_info(custom_headers = nil)
+ get_subscription_deployment_locations_async(custom_headers).value!
+ end
+
+ #
+ # Gets list of available geo regions plus ministamps
+ #
+ # Gets list of available geo regions plus ministamps
+ #
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def get_subscription_deployment_locations_async(custom_headers = nil)
+ fail ArgumentError, 'subscription_id is nil' if subscription_id.nil?
+ fail ArgumentError, 'api_version is nil' if api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = accept_language unless accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/providers/Microsoft.Web/deploymentLocations'
+
+ request_url = @base_url || self.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'subscriptionId' => subscription_id},
+ query_params: {'api-version' => api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = self.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_03_01::Models::DeploymentLocations.mapper()
+ result.body = self.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Get a list of available geographical regions.
#
@@ -906,7 +1087,8 @@ def list_skus_async(custom_headers = nil)
end
#
- # Verifies if this VNET is compatible with an App Service Environment.
+ # Verifies if this VNET is compatible with an App Service Environment by
+ # analyzing the Network Security Group rules.
#
# Verifies if this VNET is compatible with an App Service Environment by
# analyzing the Network Security Group rules.
@@ -923,7 +1105,8 @@ def verify_hosting_environment_vnet(parameters, custom_headers = nil)
end
#
- # Verifies if this VNET is compatible with an App Service Environment.
+ # Verifies if this VNET is compatible with an App Service Environment by
+ # analyzing the Network Security Group rules.
#
# Verifies if this VNET is compatible with an App Service Environment by
# analyzing the Network Security Group rules.
@@ -939,7 +1122,8 @@ def verify_hosting_environment_vnet_with_http_info(parameters, custom_headers =
end
#
- # Verifies if this VNET is compatible with an App Service Environment.
+ # Verifies if this VNET is compatible with an App Service Environment by
+ # analyzing the Network Security Group rules.
#
# Verifies if this VNET is compatible with an App Service Environment by
# analyzing the Network Security Group rules.
diff --git a/management/azure_mgmt_web/lib/2016-08-01/build.json b/management/azure_mgmt_web/lib/2016-08-01/build.json
new file mode 100644
index 0000000000..3c6d7fd8cc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/build.json
@@ -0,0 +1,225 @@
+{
+ "autorest": [
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest-core",
+ "version": "2.0.4168",
+ "engines": {
+ "node": ">=7.10.0"
+ },
+ "dependencies": {},
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/async-io": "~1.0.22",
+ "@microsoft.azure/extension": "~1.2.12",
+ "@types/commonmark": "^0.27.0",
+ "@types/jsonpath": "^0.1.29",
+ "@types/node": "^8.0.28",
+ "@types/pify": "0.0.28",
+ "@types/source-map": "^0.5.0",
+ "@types/yargs": "^8.0.2",
+ "commonmark": "^0.27.0",
+ "file-url": "^2.0.2",
+ "get-uri": "^2.0.0",
+ "jsonpath": "^0.2.11",
+ "linq-es2015": "^2.4.25",
+ "mocha": "3.4.2",
+ "mocha-typescript": "1.1.5",
+ "pify": "^3.0.0",
+ "safe-eval": "^0.3.0",
+ "shx": "^0.2.2",
+ "source-map": "^0.5.6",
+ "source-map-support": "^0.4.15",
+ "strip-bom": "^3.0.0",
+ "typescript": "2.5.3",
+ "untildify": "^3.0.2",
+ "urijs": "^1.18.10",
+ "vscode-jsonrpc": "^3.3.1",
+ "yaml-ast-parser": "https://github.com/olydis/yaml-ast-parser/releases/download/0.0.34/yaml-ast-parser-0.0.34.tgz",
+ "yargs": "^8.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_shasum": "33813111fc9bfa488bd600fbba48bc53cc9182c7",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest-core@2.0.4168",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_where": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.0.21",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.3.2"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.1.1",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "3ce7d3939124b31830be15e5de99b9b7768afb90",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.0.21",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.1.22",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "ca425289fa38a210d279729048a4a91673f09c67",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.1.22",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.ruby",
+ "version": "3.0.20",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/autorest.testserver": "^1.9.2",
+ "autorest": "^2.0.0",
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_shasum": "f5b24eb17914aad0e8d2da581642044a6088d905",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.ruby@3.0.20",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ }
+ ],
+ "autorest_bootstrap": {}
+}
\ No newline at end of file
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web.rb
index e3b52946b8..53e188484c 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web.rb
@@ -24,84 +24,89 @@ module Azure::Web::Mgmt::V2016_08_01
autoload :WebSiteManagementClient, '2016-08-01/generated/azure_mgmt_web/web_site_management_client.rb'
module Models
- autoload :PerfMonSet, '2016-08-01/generated/azure_mgmt_web/models/perf_mon_set.rb'
- autoload :ApiDefinitionInfo, '2016-08-01/generated/azure_mgmt_web/models/api_definition_info.rb'
- autoload :PerfMonResponse, '2016-08-01/generated/azure_mgmt_web/models/perf_mon_response.rb'
- autoload :AzureTableStorageApplicationLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb'
- autoload :PerfMonCounterCollection, '2016-08-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb'
- autoload :ApplicationLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/application_logs_config.rb'
- autoload :HttpLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/http_logs_config.rb'
- autoload :SlotDifferenceCollection, '2016-08-01/generated/azure_mgmt_web/models/slot_difference_collection.rb'
autoload :RequestsBasedTrigger, '2016-08-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
- autoload :SiteMachineKey, '2016-08-01/generated/azure_mgmt_web/models/site_machine_key.rb'
+ autoload :StatusCodesBasedTrigger, '2016-08-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
+ autoload :AzureTableStorageApplicationLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/azure_table_storage_application_logs_config.rb'
autoload :SlowRequestsBasedTrigger, '2016-08-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
- autoload :SiteExtensionInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb'
- autoload :AutoHealRules, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
- autoload :IdentifierCollection, '2016-08-01/generated/azure_mgmt_web/models/identifier_collection.rb'
+ autoload :ApplicationLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/application_logs_config.rb'
+ autoload :AutoHealTriggers, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
autoload :DatabaseBackupSetting, '2016-08-01/generated/azure_mgmt_web/models/database_backup_setting.rb'
- autoload :IpSecurityRestriction, '2016-08-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
+ autoload :AutoHealCustomAction, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
autoload :BackupItemCollection, '2016-08-01/generated/azure_mgmt_web/models/backup_item_collection.rb'
- autoload :SiteCloneabilityCriterion, '2016-08-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb'
- autoload :AutoHealTriggers, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
- autoload :AzureBlobStorageHttpLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb'
- autoload :ConnStringInfo, '2016-08-01/generated/azure_mgmt_web/models/conn_string_info.rb'
+ autoload :AutoHealActions, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
+ autoload :WebAppInstanceCollection, '2016-08-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb'
autoload :ConnStringValueTypePair, '2016-08-01/generated/azure_mgmt_web/models/conn_string_value_type_pair.rb'
- autoload :Resource, '2016-08-01/generated/azure_mgmt_web/models/resource.rb'
- autoload :SnapshotCollection, '2016-08-01/generated/azure_mgmt_web/models/snapshot_collection.rb'
- autoload :BackupSchedule, '2016-08-01/generated/azure_mgmt_web/models/backup_schedule.rb'
- autoload :CorsSettings, '2016-08-01/generated/azure_mgmt_web/models/cors_settings.rb'
- autoload :ResourceMetricName, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
- autoload :CsmSlotEntity, '2016-08-01/generated/azure_mgmt_web/models/csm_slot_entity.rb'
- autoload :MSDeployLogEntry, '2016-08-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb'
- autoload :CsmUsageQuota, '2016-08-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
- autoload :SiteCloneability, '2016-08-01/generated/azure_mgmt_web/models/site_cloneability.rb'
+ autoload :TriggeredWebJobCollection, '2016-08-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb'
+ autoload :Operation, '2016-08-01/generated/azure_mgmt_web/models/operation.rb'
+ autoload :ProcessInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/process_info_collection.rb'
+ autoload :CsmPublishingProfileOptions, '2016-08-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb'
+ autoload :ProcessModuleInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/process_module_info_collection.rb'
autoload :ErrorEntity, '2016-08-01/generated/azure_mgmt_web/models/error_entity.rb'
- autoload :SlotSwapStatus, '2016-08-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
- autoload :ResourceMetricAvailability, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
- autoload :SiteConfigResourceCollection, '2016-08-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb'
+ autoload :ProcessThreadInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb'
+ autoload :ResourceMetricDefinitionCollection, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb'
+ autoload :TriggeredJobHistoryCollection, '2016-08-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb'
autoload :EnabledConfig, '2016-08-01/generated/azure_mgmt_web/models/enabled_config.rb'
- autoload :SnapshotRecoveryTarget, '2016-08-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
- autoload :Experiments, '2016-08-01/generated/azure_mgmt_web/models/experiments.rb'
- autoload :NameValuePair, '2016-08-01/generated/azure_mgmt_web/models/name_value_pair.rb'
+ autoload :PublicCertificateCollection, '2016-08-01/generated/azure_mgmt_web/models/public_certificate_collection.rb'
+ autoload :ResourceMetricCollection, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_collection.rb'
+ autoload :SnapshotCollection, '2016-08-01/generated/azure_mgmt_web/models/snapshot_collection.rb'
autoload :ResourceMetric, '2016-08-01/generated/azure_mgmt_web/models/resource_metric.rb'
- autoload :SiteConfig, '2016-08-01/generated/azure_mgmt_web/models/site_config.rb'
- autoload :ResourceMetricValue, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
- autoload :SiteLimits, '2016-08-01/generated/azure_mgmt_web/models/site_limits.rb'
+ autoload :SlotDifferenceCollection, '2016-08-01/generated/azure_mgmt_web/models/slot_difference_collection.rb'
+ autoload :HostNameBindingCollection, '2016-08-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb'
+ autoload :SlotSwapStatus, '2016-08-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
autoload :ResourceMetricProperty, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_property.rb'
- autoload :VirtualApplication, '2016-08-01/generated/azure_mgmt_web/models/virtual_application.rb'
- autoload :HostNameSslState, '2016-08-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
+ autoload :SiteCloneabilityCriterion, '2016-08-01/generated/azure_mgmt_web/models/site_cloneability_criterion.rb'
+ autoload :CsmUsageQuotaCollection, '2016-08-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
+ autoload :SiteCloneability, '2016-08-01/generated/azure_mgmt_web/models/site_cloneability.rb'
+ autoload :CsmUsageQuota, '2016-08-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
+ autoload :NameValuePair, '2016-08-01/generated/azure_mgmt_web/models/name_value_pair.rb'
+ autoload :Resource, '2016-08-01/generated/azure_mgmt_web/models/resource.rb'
+ autoload :ConnStringInfo, '2016-08-01/generated/azure_mgmt_web/models/conn_string_info.rb'
+ autoload :SkuCapacity, '2016-08-01/generated/azure_mgmt_web/models/sku_capacity.rb'
+ autoload :SiteMachineKey, '2016-08-01/generated/azure_mgmt_web/models/site_machine_key.rb'
+ autoload :ManagedServiceIdentity, '2016-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb'
+ autoload :HandlerMapping, '2016-08-01/generated/azure_mgmt_web/models/handler_mapping.rb'
+ autoload :ResourceMetricName, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
autoload :VirtualDirectory, '2016-08-01/generated/azure_mgmt_web/models/virtual_directory.rb'
- autoload :AutoHealActions, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
- autoload :Operation, '2016-08-01/generated/azure_mgmt_web/models/operation.rb'
- autoload :CloningInfo, '2016-08-01/generated/azure_mgmt_web/models/cloning_info.rb'
- autoload :PerfMonSample, '2016-08-01/generated/azure_mgmt_web/models/perf_mon_sample.rb'
- autoload :ContinuousWebJobCollection, '2016-08-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb'
- autoload :FileSystemApplicationLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb'
- autoload :LocalizableString, '2016-08-01/generated/azure_mgmt_web/models/localizable_string.rb'
- autoload :AzureBlobStorageApplicationLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb'
- autoload :ResourceMetricCollection, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_collection.rb'
- autoload :AutoHealCustomAction, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
+ autoload :PerfMonSet, '2016-08-01/generated/azure_mgmt_web/models/perf_mon_set.rb'
+ autoload :VirtualApplication, '2016-08-01/generated/azure_mgmt_web/models/virtual_application.rb'
+ autoload :PerfMonCounterCollection, '2016-08-01/generated/azure_mgmt_web/models/perf_mon_counter_collection.rb'
autoload :RampUpRule, '2016-08-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
- autoload :FunctionEnvelopeCollection, '2016-08-01/generated/azure_mgmt_web/models/function_envelope_collection.rb'
autoload :WebJobCollection, '2016-08-01/generated/azure_mgmt_web/models/web_job_collection.rb'
- autoload :HostNameBindingCollection, '2016-08-01/generated/azure_mgmt_web/models/host_name_binding_collection.rb'
- autoload :WebAppInstanceCollection, '2016-08-01/generated/azure_mgmt_web/models/web_app_instance_collection.rb'
- autoload :StatusCodesBasedTrigger, '2016-08-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
+ autoload :Experiments, '2016-08-01/generated/azure_mgmt_web/models/experiments.rb'
+ autoload :ContinuousWebJobCollection, '2016-08-01/generated/azure_mgmt_web/models/continuous_web_job_collection.rb'
+ autoload :SiteLimits, '2016-08-01/generated/azure_mgmt_web/models/site_limits.rb'
autoload :WebAppCollection, '2016-08-01/generated/azure_mgmt_web/models/web_app_collection.rb'
- autoload :CsmPublishingProfileOptions, '2016-08-01/generated/azure_mgmt_web/models/csm_publishing_profile_options.rb'
- autoload :ProcessInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/process_info_collection.rb'
- autoload :DeploymentCollection, '2016-08-01/generated/azure_mgmt_web/models/deployment_collection.rb'
- autoload :ProcessModuleInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/process_module_info_collection.rb'
- autoload :HandlerMapping, '2016-08-01/generated/azure_mgmt_web/models/handler_mapping.rb'
- autoload :ProcessThreadInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/process_thread_info_collection.rb'
- autoload :ResourceMetricDefinitionCollection, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb'
- autoload :ProxyOnlyResource, '2016-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
+ autoload :FileSystemApplicationLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/file_system_application_logs_config.rb'
autoload :FileSystemHttpLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb'
- autoload :TriggeredWebJobCollection, '2016-08-01/generated/azure_mgmt_web/models/triggered_web_job_collection.rb'
- autoload :CsmUsageQuotaCollection, '2016-08-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
- autoload :PublicCertificateCollection, '2016-08-01/generated/azure_mgmt_web/models/public_certificate_collection.rb'
+ autoload :AzureBlobStorageApplicationLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb'
+ autoload :ResourceMetricValue, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
+ autoload :AzureBlobStorageHttpLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb'
+ autoload :IdentifierCollection, '2016-08-01/generated/azure_mgmt_web/models/identifier_collection.rb'
+ autoload :MSDeployLogEntry, '2016-08-01/generated/azure_mgmt_web/models/msdeploy_log_entry.rb'
+ autoload :SiteExtensionInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/site_extension_info_collection.rb'
+ autoload :SkuDescription, '2016-08-01/generated/azure_mgmt_web/models/sku_description.rb'
+ autoload :BackupSchedule, '2016-08-01/generated/azure_mgmt_web/models/backup_schedule.rb'
+ autoload :ProxyOnlyResource, '2016-08-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
+ autoload :SnapshotRecoveryTarget, '2016-08-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
+ autoload :PerfMonResponse, '2016-08-01/generated/azure_mgmt_web/models/perf_mon_response.rb'
+ autoload :AutoHealRules, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
+ autoload :CorsSettings, '2016-08-01/generated/azure_mgmt_web/models/cors_settings.rb'
+ autoload :DeploymentCollection, '2016-08-01/generated/azure_mgmt_web/models/deployment_collection.rb'
+ autoload :CloningInfo, '2016-08-01/generated/azure_mgmt_web/models/cloning_info.rb'
+ autoload :HttpLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/http_logs_config.rb'
+ autoload :ApiDefinitionInfo, '2016-08-01/generated/azure_mgmt_web/models/api_definition_info.rb'
+ autoload :Capability, '2016-08-01/generated/azure_mgmt_web/models/capability.rb'
+ autoload :IpSecurityRestriction, '2016-08-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
+ autoload :ResourceMetricAvailability, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
+ autoload :SiteConfig, '2016-08-01/generated/azure_mgmt_web/models/site_config.rb'
+ autoload :FunctionEnvelopeCollection, '2016-08-01/generated/azure_mgmt_web/models/function_envelope_collection.rb'
autoload :HostingEnvironmentProfile, '2016-08-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
- autoload :TriggeredJobHistoryCollection, '2016-08-01/generated/azure_mgmt_web/models/triggered_job_history_collection.rb'
+ autoload :PerfMonSample, '2016-08-01/generated/azure_mgmt_web/models/perf_mon_sample.rb'
+ autoload :SiteConfigResourceCollection, '2016-08-01/generated/azure_mgmt_web/models/site_config_resource_collection.rb'
+ autoload :LocalizableString, '2016-08-01/generated/azure_mgmt_web/models/localizable_string.rb'
+ autoload :HostNameSslState, '2016-08-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
+ autoload :CsmSlotEntity, '2016-08-01/generated/azure_mgmt_web/models/csm_slot_entity.rb'
+ autoload :SiteConfigurationSnapshotInfoCollection, '2016-08-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb'
autoload :BackupItem, '2016-08-01/generated/azure_mgmt_web/models/backup_item.rb'
autoload :BackupRequest, '2016-08-01/generated/azure_mgmt_web/models/backup_request.rb'
autoload :ConnectionStringDictionary, '2016-08-01/generated/azure_mgmt_web/models/connection_string_dictionary.rb'
@@ -111,8 +116,6 @@ module Models
autoload :FunctionEnvelope, '2016-08-01/generated/azure_mgmt_web/models/function_envelope.rb'
autoload :FunctionSecrets, '2016-08-01/generated/azure_mgmt_web/models/function_secrets.rb'
autoload :HostNameBinding, '2016-08-01/generated/azure_mgmt_web/models/host_name_binding.rb'
- autoload :HybridConnection, '2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb'
- autoload :HybridConnectionKey, '2016-08-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb'
autoload :Identifier, '2016-08-01/generated/azure_mgmt_web/models/identifier.rb'
autoload :MSDeploy, '2016-08-01/generated/azure_mgmt_web/models/msdeploy.rb'
autoload :MSDeployLog, '2016-08-01/generated/azure_mgmt_web/models/msdeploy_log.rb'
@@ -122,24 +125,24 @@ module Models
autoload :VnetRoute, '2016-08-01/generated/azure_mgmt_web/models/vnet_route.rb'
autoload :VnetInfo, '2016-08-01/generated/azure_mgmt_web/models/vnet_info.rb'
autoload :RelayServiceConnectionEntity, '2016-08-01/generated/azure_mgmt_web/models/relay_service_connection_entity.rb'
+ autoload :HybridConnection, '2016-08-01/generated/azure_mgmt_web/models/hybrid_connection.rb'
autoload :NetworkFeatures, '2016-08-01/generated/azure_mgmt_web/models/network_features.rb'
autoload :PremierAddOn, '2016-08-01/generated/azure_mgmt_web/models/premier_add_on.rb'
autoload :ProcessThreadInfo, '2016-08-01/generated/azure_mgmt_web/models/process_thread_info.rb'
autoload :ProcessModuleInfo, '2016-08-01/generated/azure_mgmt_web/models/process_module_info.rb'
autoload :ProcessInfo, '2016-08-01/generated/azure_mgmt_web/models/process_info.rb'
autoload :PublicCertificate, '2016-08-01/generated/azure_mgmt_web/models/public_certificate.rb'
- autoload :PushSettings, '2016-08-01/generated/azure_mgmt_web/models/push_settings.rb'
- autoload :ResourceMetricDefinition, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_definition.rb'
autoload :RestoreRequest, '2016-08-01/generated/azure_mgmt_web/models/restore_request.rb'
autoload :RestoreResponse, '2016-08-01/generated/azure_mgmt_web/models/restore_response.rb'
- autoload :SnapshotRecoveryRequest, '2016-08-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb'
- autoload :Site, '2016-08-01/generated/azure_mgmt_web/models/site.rb'
autoload :SiteAuthSettings, '2016-08-01/generated/azure_mgmt_web/models/site_auth_settings.rb'
+ autoload :PushSettings, '2016-08-01/generated/azure_mgmt_web/models/push_settings.rb'
autoload :SiteConfigResource, '2016-08-01/generated/azure_mgmt_web/models/site_config_resource.rb'
autoload :SiteConfigurationSnapshotInfo, '2016-08-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info.rb'
autoload :SiteExtensionInfo, '2016-08-01/generated/azure_mgmt_web/models/site_extension_info.rb'
autoload :SiteInstance, '2016-08-01/generated/azure_mgmt_web/models/site_instance.rb'
autoload :SiteLogsConfig, '2016-08-01/generated/azure_mgmt_web/models/site_logs_config.rb'
+ autoload :SnapshotRecoveryRequest, '2016-08-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb'
+ autoload :SitePatchResource, '2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb'
autoload :SitePhpErrorLogFlag, '2016-08-01/generated/azure_mgmt_web/models/site_php_error_log_flag.rb'
autoload :SiteSourceControl, '2016-08-01/generated/azure_mgmt_web/models/site_source_control.rb'
autoload :SlotConfigNamesResource, '2016-08-01/generated/azure_mgmt_web/models/slot_config_names_resource.rb'
@@ -151,11 +154,14 @@ module Models
autoload :TriggeredJobRun, '2016-08-01/generated/azure_mgmt_web/models/triggered_job_run.rb'
autoload :TriggeredJobHistory, '2016-08-01/generated/azure_mgmt_web/models/triggered_job_history.rb'
autoload :TriggeredWebJob, '2016-08-01/generated/azure_mgmt_web/models/triggered_web_job.rb'
- autoload :User, '2016-08-01/generated/azure_mgmt_web/models/user.rb'
- autoload :VnetGateway, '2016-08-01/generated/azure_mgmt_web/models/vnet_gateway.rb'
autoload :WebJob, '2016-08-01/generated/azure_mgmt_web/models/web_job.rb'
+ autoload :VnetGateway, '2016-08-01/generated/azure_mgmt_web/models/vnet_gateway.rb'
+ autoload :User, '2016-08-01/generated/azure_mgmt_web/models/user.rb'
+ autoload :ResourceMetricDefinition, '2016-08-01/generated/azure_mgmt_web/models/resource_metric_definition.rb'
+ autoload :HybridConnectionKey, '2016-08-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb'
+ autoload :Site, '2016-08-01/generated/azure_mgmt_web/models/site.rb'
+ autoload :AppServicePlan, '2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb'
autoload :LogLevel, '2016-08-01/generated/azure_mgmt_web/models/log_level.rb'
- autoload :AutoHealActionType, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
autoload :BackupItemStatus, '2016-08-01/generated/azure_mgmt_web/models/backup_item_status.rb'
autoload :DatabaseType, '2016-08-01/generated/azure_mgmt_web/models/database_type.rb'
autoload :FrequencyUnit, '2016-08-01/generated/azure_mgmt_web/models/frequency_unit.rb'
@@ -169,22 +175,25 @@ module Models
autoload :CustomHostNameDnsRecordType, '2016-08-01/generated/azure_mgmt_web/models/custom_host_name_dns_record_type.rb'
autoload :HostNameType, '2016-08-01/generated/azure_mgmt_web/models/host_name_type.rb'
autoload :SslState, '2016-08-01/generated/azure_mgmt_web/models/ssl_state.rb'
- autoload :HostType, '2016-08-01/generated/azure_mgmt_web/models/host_type.rb'
autoload :MSDeployLogEntryType, '2016-08-01/generated/azure_mgmt_web/models/msdeploy_log_entry_type.rb'
autoload :MSDeployProvisioningState, '2016-08-01/generated/azure_mgmt_web/models/msdeploy_provisioning_state.rb'
autoload :MySqlMigrationType, '2016-08-01/generated/azure_mgmt_web/models/my_sql_migration_type.rb'
autoload :OperationStatus, '2016-08-01/generated/azure_mgmt_web/models/operation_status.rb'
autoload :RouteType, '2016-08-01/generated/azure_mgmt_web/models/route_type.rb'
autoload :PublicCertificateLocation, '2016-08-01/generated/azure_mgmt_web/models/public_certificate_location.rb'
- autoload :UsageState, '2016-08-01/generated/azure_mgmt_web/models/usage_state.rb'
- autoload :SiteAvailabilityState, '2016-08-01/generated/azure_mgmt_web/models/site_availability_state.rb'
- autoload :ScmType, '2016-08-01/generated/azure_mgmt_web/models/scm_type.rb'
- autoload :ManagedPipelineMode, '2016-08-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
- autoload :SiteLoadBalancing, '2016-08-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
autoload :UnauthenticatedClientAction, '2016-08-01/generated/azure_mgmt_web/models/unauthenticated_client_action.rb'
autoload :BuiltInAuthenticationProvider, '2016-08-01/generated/azure_mgmt_web/models/built_in_authentication_provider.rb'
autoload :CloneAbilityResult, '2016-08-01/generated/azure_mgmt_web/models/clone_ability_result.rb'
+ autoload :ScmType, '2016-08-01/generated/azure_mgmt_web/models/scm_type.rb'
+ autoload :ManagedPipelineMode, '2016-08-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
+ autoload :SiteLoadBalancing, '2016-08-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
+ autoload :AutoHealActionType, '2016-08-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
autoload :SiteExtensionType, '2016-08-01/generated/azure_mgmt_web/models/site_extension_type.rb'
+ autoload :UsageState, '2016-08-01/generated/azure_mgmt_web/models/usage_state.rb'
+ autoload :SiteAvailabilityState, '2016-08-01/generated/azure_mgmt_web/models/site_availability_state.rb'
+ autoload :HostType, '2016-08-01/generated/azure_mgmt_web/models/host_type.rb'
autoload :TriggeredWebJobStatus, '2016-08-01/generated/azure_mgmt_web/models/triggered_web_job_status.rb'
+ autoload :StatusOptions, '2016-08-01/generated/azure_mgmt_web/models/status_options.rb'
+ autoload :ProvisioningState, '2016-08-01/generated/azure_mgmt_web/models/provisioning_state.rb'
end
end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb
new file mode 100644
index 0000000000..2047e355fd
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/app_service_plan.rb
@@ -0,0 +1,289 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # App Service plan.
+ #
+ class AppServicePlan < Resource
+
+ include MsRestAzure
+
+ # @return [String] Name for the App Service plan.
+ attr_accessor :app_service_plan_name
+
+ # @return [String] Target worker tier assigned to the App Service plan.
+ attr_accessor :worker_tier_name
+
+ # @return [StatusOptions] App Service plan status. Possible values
+ # include: 'Ready', 'Pending', 'Creating'
+ attr_accessor :status
+
+ # @return [String] App Service plan subscription.
+ attr_accessor :subscription
+
+ # @return [String] App Service plan administration site.
+ attr_accessor :admin_site_name
+
+ # @return [HostingEnvironmentProfile] Specification for the App Service
+ # Environment to use for the App Service plan.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Integer] Maximum number of instances that can be assigned to
+ # this App Service plan.
+ attr_accessor :maximum_number_of_workers
+
+ # @return [String] Geographical location for the App Service plan.
+ attr_accessor :geo_region
+
+ # @return [Boolean] If true, apps assigned to this App
+ # Service plan can be scaled independently.
+ # If false, apps assigned to this App Service plan will
+ # scale to all instances of the plan. Default value: false .
+ attr_accessor :per_site_scaling
+
+ # @return [Integer] Number of apps assigned to this App Service plan.
+ attr_accessor :number_of_sites
+
+ # @return [Boolean] If true, this App Service Plan owns spot
+ # instances.
+ attr_accessor :is_spot
+
+ # @return [DateTime] The time when the server farm expires. Valid only if
+ # it is a spot server farm.
+ attr_accessor :spot_expiration_time
+
+ # @return [String] Resource group of the App Service plan.
+ attr_accessor :resource_group
+
+ # @return [Boolean] Reserved. Default value: false .
+ attr_accessor :reserved
+
+ # @return [Integer] Scaling worker count.
+ attr_accessor :target_worker_count
+
+ # @return [Integer] Scaling worker size ID.
+ attr_accessor :target_worker_size_id
+
+ # @return [ProvisioningState] Provisioning state of the App Service
+ # Environment. Possible values include: 'Succeeded', 'Failed',
+ # 'Canceled', 'InProgress', 'Deleting'
+ attr_accessor :provisioning_state
+
+ # @return [SkuDescription]
+ attr_accessor :sku
+
+
+ #
+ # Mapper for AppServicePlan class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AppServicePlan',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServicePlan',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: true,
+ serialized_name: 'location',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ tags: {
+ required: false,
+ serialized_name: 'tags',
+ type: {
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ app_service_plan_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ worker_tier_name: {
+ required: false,
+ serialized_name: 'properties.workerTierName',
+ type: {
+ name: 'String'
+ }
+ },
+ status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.status',
+ type: {
+ name: 'Enum',
+ module: 'StatusOptions'
+ }
+ },
+ subscription: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.subscription',
+ type: {
+ name: 'String'
+ }
+ },
+ admin_site_name: {
+ required: false,
+ serialized_name: 'properties.adminSiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ maximum_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maximumNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ geo_region: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.geoRegion',
+ type: {
+ name: 'String'
+ }
+ },
+ per_site_scaling: {
+ required: false,
+ serialized_name: 'properties.perSiteScaling',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ number_of_sites: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.numberOfSites',
+ type: {
+ name: 'Number'
+ }
+ },
+ is_spot: {
+ required: false,
+ serialized_name: 'properties.isSpot',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ spot_expiration_time: {
+ required: false,
+ serialized_name: 'properties.spotExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_worker_count: {
+ required: false,
+ serialized_name: 'properties.targetWorkerCount',
+ type: {
+ name: 'Number'
+ }
+ },
+ target_worker_size_id: {
+ required: false,
+ serialized_name: 'properties.targetWorkerSizeId',
+ type: {
+ name: 'Number'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'ProvisioningState'
+ }
+ },
+ sku: {
+ required: false,
+ serialized_name: 'sku',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuDescription'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/capability.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/capability.rb
new file mode 100644
index 0000000000..d8a9fc67f8
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/capability.rb
@@ -0,0 +1,64 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # Describes the capabilities/features allowed for a specific SKU.
+ #
+ class Capability
+
+ include MsRestAzure
+
+ # @return [String] Name of the SKU capability.
+ attr_accessor :name
+
+ # @return [String] Value of the SKU capability.
+ attr_accessor :value
+
+ # @return [String] Reason of the SKU capability.
+ attr_accessor :reason
+
+
+ #
+ # Mapper for Capability class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'Capability',
+ type: {
+ name: 'Composite',
+ class_name: 'Capability',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ value: {
+ required: false,
+ serialized_name: 'value',
+ type: {
+ name: 'String'
+ }
+ },
+ reason: {
+ required: false,
+ serialized_name: 'reason',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/cloning_info.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/cloning_info.rb
index b685a583c0..398068b68a 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/cloning_info.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/cloning_info.rb
@@ -12,8 +12,8 @@ class CloningInfo
include MsRestAzure
- # @return [String] Correlation ID of cloning operation. This ID ties
- # multiple cloning operations
+ # @return Correlation ID of cloning operation. This ID ties multiple
+ # cloning operations
# together to use the same snapshot.
attr_accessor :correlation_id
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/continuous_web_job.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/continuous_web_job.rb
index 45b128b268..70d104398a 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/continuous_web_job.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/continuous_web_job.rb
@@ -168,7 +168,14 @@ def self.mapper()
required: false,
serialized_name: 'properties.settings',
type: {
- name: 'Object'
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'ObjectElementType',
+ type: {
+ name: 'Object'
+ }
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/error_entity.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/error_entity.rb
index 817461c5b5..52570315e6 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/error_entity.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/error_entity.rb
@@ -12,12 +12,6 @@ class ErrorEntity
include MsRestAzure
- # @return [String] Basic error code.
- attr_accessor :code
-
- # @return [String] Any details of the error.
- attr_accessor :message
-
# @return [String] Type of error.
attr_accessor :extended_code
@@ -30,6 +24,12 @@ class ErrorEntity
# @return [Array] Inner errors.
attr_accessor :inner_errors
+ # @return [String] Basic error code.
+ attr_accessor :code
+
+ # @return [String] Any details of the error.
+ attr_accessor :message
+
#
# Mapper for ErrorEntity class as Ruby Hash.
@@ -43,20 +43,6 @@ def self.mapper()
name: 'Composite',
class_name: 'ErrorEntity',
model_properties: {
- code: {
- required: false,
- serialized_name: 'code',
- type: {
- name: 'String'
- }
- },
- message: {
- required: false,
- serialized_name: 'message',
- type: {
- name: 'String'
- }
- },
extended_code: {
required: false,
serialized_name: 'extendedCode',
@@ -99,6 +85,20 @@ def self.mapper()
}
}
}
+ },
+ code: {
+ required: false,
+ serialized_name: 'code',
+ type: {
+ name: 'String'
+ }
+ },
+ message: {
+ required: false,
+ serialized_name: 'message',
+ type: {
+ name: 'String'
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_binding.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_binding.rb
index 968a3e08d0..2e808497f1 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_binding.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/host_name_binding.rb
@@ -12,9 +12,6 @@ class HostNameBinding < ProxyOnlyResource
include MsRestAzure
- # @return [String] Hostname.
- attr_accessor :host_name_binding_name
-
# @return [String] App Service app name.
attr_accessor :site_name
@@ -91,13 +88,6 @@ def self.mapper()
name: 'String'
}
},
- host_name_binding_name: {
- required: false,
- serialized_name: 'properties.name',
- type: {
- name: 'String'
- }
- },
site_name: {
required: false,
serialized_name: 'properties.siteName',
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb
new file mode 100644
index 0000000000..3f56a680ef
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/managed_service_identity.rb
@@ -0,0 +1,66 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # Managed service identity.
+ #
+ class ManagedServiceIdentity
+
+ include MsRestAzure
+
+ # @return Type of managed service identity.
+ attr_accessor :type
+
+ # @return [String] Tenant of managed service identity.
+ attr_accessor :tenant_id
+
+ # @return [String] Principal Id of managed service identity.
+ attr_accessor :principal_id
+
+
+ #
+ # Mapper for ManagedServiceIdentity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ManagedServiceIdentity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity',
+ model_properties: {
+ type: {
+ required: false,
+ serialized_name: 'type',
+ type: {
+ name: 'Object'
+ }
+ },
+ tenant_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'tenantId',
+ type: {
+ name: 'String'
+ }
+ },
+ principal_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'principalId',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/operation.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/operation.rb
index 08239d42b1..34f64044dc 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/operation.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/operation.rb
@@ -35,7 +35,7 @@ class Operation
# @return [DateTime] Time when operation will expire.
attr_accessor :expiration_time
- # @return [String] Applicable only for stamp operation ids.
+ # @return Applicable only for stamp operation ids.
attr_accessor :geo_master_operation_id
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/provisioning_state.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/provisioning_state.rb
new file mode 100644
index 0000000000..2bde7d44fc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/provisioning_state.rb
@@ -0,0 +1,19 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # Defines values for ProvisioningState
+ #
+ module ProvisioningState
+ Succeeded = "Succeeded"
+ Failed = "Failed"
+ Canceled = "Canceled"
+ InProgress = "InProgress"
+ Deleting = "Deleting"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/public_certificate.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/public_certificate.rb
index 7c512cdba7..ceba80bf95 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/public_certificate.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/public_certificate.rb
@@ -12,7 +12,7 @@ class PublicCertificate < ProxyOnlyResource
include MsRestAzure
- # @return [String] Public Certificate byte array
+ # @return [Array] Public Certificate byte array
attr_accessor :blob
# @return [PublicCertificateLocation] Public Certificate Location.
@@ -70,7 +70,7 @@ def self.mapper()
required: false,
serialized_name: 'properties.blob',
type: {
- name: 'String'
+ name: 'ByteArray'
}
},
public_certificate_location: {
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site.rb
index 1de8f6c376..a544aefddd 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site.rb
@@ -94,9 +94,15 @@ class Site < Resource
attr_accessor :host_names_disabled
# @return [String] List of IP addresses that the app uses for outbound
- # connections (e.g. database access). Read-only.
+ # connections (e.g. database access). Includes VIPs from tenants that
+ # site can be hosted with current settings. Read-only.
attr_accessor :outbound_ip_addresses
+ # @return [String] List of IP addresses that the app uses for outbound
+ # connections (e.g. database access). Includes VIPs from all tenants.
+ # Read-only.
+ attr_accessor :possible_outbound_ip_addresses
+
# @return [Integer] Size of the function container.
attr_accessor :container_size
@@ -135,6 +141,14 @@ class Site < Resource
# operation.
attr_accessor :slot_swap_status
+ # @return [Boolean] HttpsOnly: configures a web site to accept only https
+ # requests. Issues redirect for
+ # http requests
+ attr_accessor :https_only
+
+ # @return [ManagedServiceIdentity]
+ attr_accessor :identity
+
#
# Mapper for Site class as Ruby Hash.
@@ -385,6 +399,14 @@ def self.mapper()
name: 'String'
}
},
+ possible_outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.possibleOutboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
container_size: {
required: false,
serialized_name: 'properties.containerSize',
@@ -463,6 +485,21 @@ def self.mapper()
name: 'Composite',
class_name: 'SlotSwapStatus'
}
+ },
+ https_only: {
+ required: false,
+ serialized_name: 'properties.httpsOnly',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ identity: {
+ required: false,
+ serialized_name: 'identity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity'
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb
new file mode 100644
index 0000000000..c0425aeaee
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site_configuration_snapshot_info_collection.rb
@@ -0,0 +1,96 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # Collection of metadata for the app configuration snapshots that can be
+ # restored.
+ #
+ class SiteConfigurationSnapshotInfoCollection
+
+ include MsRestAzure
+
+ include MsRest::JSONable
+ # @return [Array] Collection of resources.
+ attr_accessor :value
+
+ # @return [String] Link to next page of resources.
+ attr_accessor :next_link
+
+ # return [Proc] with next page method call.
+ attr_accessor :next_method
+
+ #
+ # Gets the rest of the items for the request, enabling auto-pagination.
+ #
+ # @return [Array] operation results.
+ #
+ def get_all_items
+ items = @value
+ page = self
+ while page.next_link != nil do
+ page = page.get_next_page
+ items.concat(page.value)
+ end
+ items
+ end
+
+ #
+ # Gets the next page of results.
+ #
+ # @return [SiteConfigurationSnapshotInfoCollection] with next page
+ # content.
+ #
+ def get_next_page
+ response = @next_method.call(@next_link).value! unless @next_method.nil?
+ unless response.nil?
+ @next_link = response.body.next_link
+ @value = response.body.value
+ self
+ end
+ end
+
+ #
+ # Mapper for SiteConfigurationSnapshotInfoCollection class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SiteConfigurationSnapshotInfoCollection',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfigurationSnapshotInfoCollection',
+ model_properties: {
+ value: {
+ required: true,
+ serialized_name: 'value',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'SiteConfigurationSnapshotInfoElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfigurationSnapshotInfo'
+ }
+ }
+ }
+ },
+ next_link: {
+ required: false,
+ serialized_name: 'nextLink',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb
new file mode 100644
index 0000000000..39ee502c4f
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/site_patch_resource.rb
@@ -0,0 +1,478 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # ARM resource for a site.
+ #
+ class SitePatchResource < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Current state of the app.
+ attr_accessor :state
+
+ # @return [Array] Hostnames associated with the app.
+ attr_accessor :host_names
+
+ # @return [String] Name of the repository site.
+ attr_accessor :repository_site_name
+
+ # @return [UsageState] State indicating whether the app has exceeded its
+ # quota usage. Read-only. Possible values include: 'Normal', 'Exceeded'
+ attr_accessor :usage_state
+
+ # @return [Boolean] true if the app is enabled; otherwise,
+ # false. Setting this value to false disables the app (takes
+ # the app offline).
+ attr_accessor :enabled
+
+ # @return [Array] Enabled hostnames for the app.Hostnames need to
+ # be assigned (see HostNames) AND enabled. Otherwise,
+ # the app is not served on those hostnames.
+ attr_accessor :enabled_host_names
+
+ # @return [SiteAvailabilityState] Management information availability
+ # state for the app. Possible values include: 'Normal', 'Limited',
+ # 'DisasterRecoveryMode'
+ attr_accessor :availability_state
+
+ # @return [Array] Hostname SSL states are used to
+ # manage the SSL bindings for app's hostnames.
+ attr_accessor :host_name_ssl_states
+
+ # @return [String] Resource ID of the associated App Service plan,
+ # formatted as:
+ # "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
+ attr_accessor :server_farm_id
+
+ # @return [Boolean] true if reserved; otherwise,
+ # false. Default value: false .
+ attr_accessor :reserved
+
+ # @return [DateTime] Last time the app was modified, in UTC. Read-only.
+ attr_accessor :last_modified_time_utc
+
+ # @return [SiteConfig] Configuration of the app.
+ attr_accessor :site_config
+
+ # @return [Array] Azure Traffic Manager hostnames associated with
+ # the app. Read-only.
+ attr_accessor :traffic_manager_host_names
+
+ # @return [Boolean] true to stop SCM (KUDU) site when the
+ # app is stopped; otherwise, false. The default is
+ # false. Default value: false .
+ attr_accessor :scm_site_also_stopped
+
+ # @return [String] Specifies which deployment slot this app will swap
+ # into. Read-only.
+ attr_accessor :target_swap_slot
+
+ # @return [HostingEnvironmentProfile] App Service Environment to use for
+ # the app.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Boolean] true to enable client affinity;
+ # false to stop sending session affinity cookies, which
+ # route client requests in the same session to the same instance. Default
+ # is true.
+ attr_accessor :client_affinity_enabled
+
+ # @return [Boolean] true to enable client certificate
+ # authentication (TLS mutual authentication); otherwise,
+ # false. Default is false.
+ attr_accessor :client_cert_enabled
+
+ # @return [Boolean] true to disable the public hostnames of
+ # the app; otherwise, false.
+ # If true, the app is only accessible via API management
+ # process.
+ attr_accessor :host_names_disabled
+
+ # @return [String] 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.
+ attr_accessor :outbound_ip_addresses
+
+ # @return [String] List of IP addresses that the app uses for outbound
+ # connections (e.g. database access). Includes VIPs from all tenants.
+ # Read-only.
+ attr_accessor :possible_outbound_ip_addresses
+
+ # @return [Integer] Size of the function container.
+ attr_accessor :container_size
+
+ # @return [Integer] Maximum allowed daily memory-time quota (applicable
+ # on dynamic apps only).
+ attr_accessor :daily_memory_time_quota
+
+ # @return [DateTime] App suspended till in case memory-time quota is
+ # exceeded.
+ attr_accessor :suspended_till
+
+ # @return [Integer] Maximum number of workers.
+ # This only applies to Functions container.
+ attr_accessor :max_number_of_workers
+
+ # @return [CloningInfo] If specified during app creation, the app is
+ # cloned from a source app.
+ attr_accessor :cloning_info
+
+ # @return [SnapshotRecoveryRequest] If specified during app creation, the
+ # app is created from a previous snapshot.
+ attr_accessor :snapshot_info
+
+ # @return [String] Name of the resource group the app belongs to.
+ # Read-only.
+ attr_accessor :resource_group
+
+ # @return [Boolean] true if the app is a default container;
+ # otherwise, false.
+ attr_accessor :is_default_container
+
+ # @return [String] Default hostname of the app. Read-only.
+ attr_accessor :default_host_name
+
+ # @return [SlotSwapStatus] Status of the last deployment slot swap
+ # operation.
+ attr_accessor :slot_swap_status
+
+ # @return [Boolean] HttpsOnly: configures a web site to accept only https
+ # requests. Issues redirect for
+ # http requests
+ attr_accessor :https_only
+
+
+ #
+ # Mapper for SitePatchResource class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SitePatchResource',
+ type: {
+ name: 'Composite',
+ class_name: 'SitePatchResource',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.state',
+ type: {
+ name: 'String'
+ }
+ },
+ host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.hostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ repository_site_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.repositorySiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ usage_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.usageState',
+ type: {
+ name: 'Enum',
+ module: 'UsageState'
+ }
+ },
+ enabled: {
+ required: false,
+ serialized_name: 'properties.enabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ enabled_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.enabledHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ availability_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.availabilityState',
+ type: {
+ name: 'Enum',
+ module: 'SiteAvailabilityState'
+ }
+ },
+ host_name_ssl_states: {
+ required: false,
+ serialized_name: 'properties.hostNameSslStates',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'HostNameSslStateElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'HostNameSslState'
+ }
+ }
+ }
+ },
+ server_farm_id: {
+ required: false,
+ serialized_name: 'properties.serverFarmId',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ last_modified_time_utc: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.lastModifiedTimeUtc',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ site_config: {
+ required: false,
+ serialized_name: 'properties.siteConfig',
+ type: {
+ name: 'Composite',
+ class_name: 'SiteConfig'
+ }
+ },
+ traffic_manager_host_names: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.trafficManagerHostNames',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ scm_site_also_stopped: {
+ required: false,
+ serialized_name: 'properties.scmSiteAlsoStopped',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_swap_slot: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.targetSwapSlot',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ client_affinity_enabled: {
+ required: false,
+ serialized_name: 'properties.clientAffinityEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ client_cert_enabled: {
+ required: false,
+ serialized_name: 'properties.clientCertEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ host_names_disabled: {
+ required: false,
+ serialized_name: 'properties.hostNamesDisabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.outboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
+ possible_outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.possibleOutboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
+ container_size: {
+ required: false,
+ serialized_name: 'properties.containerSize',
+ type: {
+ name: 'Number'
+ }
+ },
+ daily_memory_time_quota: {
+ required: false,
+ serialized_name: 'properties.dailyMemoryTimeQuota',
+ type: {
+ name: 'Number'
+ }
+ },
+ suspended_till: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.suspendedTill',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ max_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maxNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ cloning_info: {
+ required: false,
+ serialized_name: 'properties.cloningInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'CloningInfo'
+ }
+ },
+ snapshot_info: {
+ required: false,
+ serialized_name: 'properties.snapshotInfo',
+ type: {
+ name: 'Composite',
+ class_name: 'SnapshotRecoveryRequest'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ is_default_container: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.isDefaultContainer',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ default_host_name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.defaultHostName',
+ type: {
+ name: 'String'
+ }
+ },
+ slot_swap_status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.slotSwapStatus',
+ type: {
+ name: 'Composite',
+ class_name: 'SlotSwapStatus'
+ }
+ },
+ https_only: {
+ required: false,
+ serialized_name: 'properties.httpsOnly',
+ type: {
+ name: 'Boolean'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/sku_capacity.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/sku_capacity.rb
new file mode 100644
index 0000000000..f330c7352c
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/sku_capacity.rb
@@ -0,0 +1,78 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # Description of the App Service plan scale options.
+ #
+ class SkuCapacity
+
+ include MsRestAzure
+
+ # @return [Integer] Minimum number of workers for this App Service plan
+ # SKU.
+ attr_accessor :minimum
+
+ # @return [Integer] Maximum number of workers for this App Service plan
+ # SKU.
+ attr_accessor :maximum
+
+ # @return [Integer] Default number of workers for this App Service plan
+ # SKU.
+ attr_accessor :default
+
+ # @return [String] Available scale configurations for an App Service
+ # plan.
+ attr_accessor :scale_type
+
+
+ #
+ # Mapper for SkuCapacity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SkuCapacity',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuCapacity',
+ model_properties: {
+ minimum: {
+ required: false,
+ serialized_name: 'minimum',
+ type: {
+ name: 'Number'
+ }
+ },
+ maximum: {
+ required: false,
+ serialized_name: 'maximum',
+ type: {
+ name: 'Number'
+ }
+ },
+ default: {
+ required: false,
+ serialized_name: 'default',
+ type: {
+ name: 'Number'
+ }
+ },
+ scale_type: {
+ required: false,
+ serialized_name: 'scaleType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/sku_description.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/sku_description.rb
new file mode 100644
index 0000000000..af12355f23
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/sku_description.rb
@@ -0,0 +1,131 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # Description of a SKU for a scalable resource.
+ #
+ class SkuDescription
+
+ include MsRestAzure
+
+ # @return [String] Name of the resource SKU.
+ attr_accessor :name
+
+ # @return [String] Service tier of the resource SKU.
+ attr_accessor :tier
+
+ # @return [String] Size specifier of the resource SKU.
+ attr_accessor :size
+
+ # @return [String] Family code of the resource SKU.
+ attr_accessor :family
+
+ # @return [Integer] Current number of instances assigned to the resource.
+ attr_accessor :capacity
+
+ # @return [SkuCapacity] Min, max, and default scale values of the SKU.
+ attr_accessor :sku_capacity
+
+ # @return [Array] Locations of the SKU.
+ attr_accessor :locations
+
+ # @return [Array] Capabilities of the SKU, e.g., is traffic
+ # manager enabled?
+ attr_accessor :capabilities
+
+
+ #
+ # Mapper for SkuDescription class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'SkuDescription',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuDescription',
+ model_properties: {
+ name: {
+ required: false,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ tier: {
+ required: false,
+ serialized_name: 'tier',
+ type: {
+ name: 'String'
+ }
+ },
+ size: {
+ required: false,
+ serialized_name: 'size',
+ type: {
+ name: 'String'
+ }
+ },
+ family: {
+ required: false,
+ serialized_name: 'family',
+ type: {
+ name: 'String'
+ }
+ },
+ capacity: {
+ required: false,
+ serialized_name: 'capacity',
+ type: {
+ name: 'Number'
+ }
+ },
+ sku_capacity: {
+ required: false,
+ serialized_name: 'skuCapacity',
+ type: {
+ name: 'Composite',
+ class_name: 'SkuCapacity'
+ }
+ },
+ locations: {
+ required: false,
+ serialized_name: 'locations',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ },
+ capabilities: {
+ required: false,
+ serialized_name: 'capabilities',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'CapabilityElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'Capability'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/status_options.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/status_options.rb
new file mode 100644
index 0000000000..ab3aa4e268
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/status_options.rb
@@ -0,0 +1,17 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_08_01
+ module Models
+ #
+ # Defines values for StatusOptions
+ #
+ module StatusOptions
+ Ready = "Ready"
+ Pending = "Pending"
+ Creating = "Creating"
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_web_job.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_web_job.rb
index 29679255b7..182e1e4517 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_web_job.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/triggered_web_job.rb
@@ -167,7 +167,14 @@ def self.mapper()
required: false,
serialized_name: 'properties.settings',
type: {
- name: 'Object'
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'ObjectElementType',
+ type: {
+ name: 'Object'
+ }
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/vnet_info.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/vnet_info.rb
index f3fac0f0c4..06eea0f1bc 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/vnet_info.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/vnet_info.rb
@@ -18,8 +18,8 @@ class VnetInfo < ProxyOnlyResource
# @return [String] The client certificate thumbprint.
attr_accessor :cert_thumbprint
- # @return [String] A certificate file (.cer) blob containing the public
- # key of the private key used to authenticate a
+ # @return [Array] A certificate file (.cer) blob containing the
+ # public key of the private key used to authenticate a
# Point-To-Site VPN connection.
attr_accessor :cert_blob
@@ -98,7 +98,7 @@ def self.mapper()
required: false,
serialized_name: 'properties.certBlob',
type: {
- name: 'String'
+ name: 'ByteArray'
}
},
routes: {
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/web_job.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/web_job.rb
index ae84073457..d41fc3d910 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/web_job.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/models/web_job.rb
@@ -136,7 +136,14 @@ def self.mapper()
required: false,
serialized_name: 'properties.settings',
type: {
- name: 'Object'
+ name: 'Dictionary',
+ value: {
+ required: false,
+ serialized_name: 'ObjectElementType',
+ type: {
+ name: 'Object'
+ }
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb
index e2c3a814a6..730f32c3ac 100644
--- a/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb
+++ b/management/azure_mgmt_web/lib/2016-08-01/generated/azure_mgmt_web/web_apps.rb
@@ -292,7 +292,7 @@ def get_async(resource_group_name, name, custom_headers = nil)
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 200 || status_code == 404
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -478,12 +478,174 @@ def delete_async(resource_group_name, name, delete_metrics = nil, delete_empty_s
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200 || status_code == 404
+ unless status_code == 200 || status_code == 204 || status_code == 404
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Unique name of the app to create or update. To create or
+ # update a deployment slot, use the {slot} parameter.
+ # @param site_envelope [SitePatchResource] A JSON representation of the app
+ # properties. See example.
+ # @param skip_dns_registration [Boolean] If true web app hostname is not
+ # registered with DNS on creation. This parameter is
+ # only used for app creation.
+ # @param skip_custom_domain_verification [Boolean] If true, custom (non
+ # *.azurewebsites.net) domains associated with web app are not verified.
+ # @param force_dns_registration [Boolean] If true, web app hostname is force
+ # registered with DNS.
+ # @param ttl_in_seconds [String] Time to live in seconds for web app's default
+ # domain name.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [Site] operation results.
+ #
+ def update(resource_group_name, name, site_envelope, skip_dns_registration = nil, skip_custom_domain_verification = nil, force_dns_registration = nil, ttl_in_seconds = nil, custom_headers = nil)
+ response = update_async(resource_group_name, name, site_envelope, skip_dns_registration, skip_custom_domain_verification, force_dns_registration, ttl_in_seconds, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Unique name of the app to create or update. To create or
+ # update a deployment slot, use the {slot} parameter.
+ # @param site_envelope [SitePatchResource] A JSON representation of the app
+ # properties. See example.
+ # @param skip_dns_registration [Boolean] If true web app hostname is not
+ # registered with DNS on creation. This parameter is
+ # only used for app creation.
+ # @param skip_custom_domain_verification [Boolean] If true, custom (non
+ # *.azurewebsites.net) domains associated with web app are not verified.
+ # @param force_dns_registration [Boolean] If true, web app hostname is force
+ # registered with DNS.
+ # @param ttl_in_seconds [String] Time to live in seconds for web app's default
+ # domain name.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_with_http_info(resource_group_name, name, site_envelope, skip_dns_registration = nil, skip_custom_domain_verification = nil, force_dns_registration = nil, ttl_in_seconds = nil, custom_headers = nil)
+ update_async(resource_group_name, name, site_envelope, skip_dns_registration, skip_custom_domain_verification, force_dns_registration, ttl_in_seconds, custom_headers).value!
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Unique name of the app to create or update. To create or
+ # update a deployment slot, use the {slot} parameter.
+ # @param site_envelope [SitePatchResource] A JSON representation of the app
+ # properties. See example.
+ # @param skip_dns_registration [Boolean] If true web app hostname is not
+ # registered with DNS on creation. This parameter is
+ # only used for app creation.
+ # @param skip_custom_domain_verification [Boolean] If true, custom (non
+ # *.azurewebsites.net) domains associated with web app are not verified.
+ # @param force_dns_registration [Boolean] If true, web app hostname is force
+ # registered with DNS.
+ # @param ttl_in_seconds [String] Time to live in seconds for web app's default
+ # domain name.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_async(resource_group_name, name, site_envelope, skip_dns_registration = nil, skip_custom_domain_verification = nil, force_dns_registration = nil, ttl_in_seconds = nil, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'site_envelope is nil' if site_envelope.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource.mapper()
+ request_content = @client.serialize(request_mapper, site_envelope)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'skipDnsRegistration' => skip_dns_registration,'skipCustomDomainVerification' => skip_custom_domain_verification,'forceDnsRegistration' => force_dns_registration,'ttlInSeconds' => ttl_in_seconds,'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 202
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Site.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 202
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Site.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -3742,11 +3904,11 @@ def update_configuration_async(resource_group_name, name, site_config, custom_he
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Array] operation results.
+ # @return [Array] operation results.
#
def list_configuration_snapshot_info(resource_group_name, name, custom_headers = nil)
- response = list_configuration_snapshot_info_async(resource_group_name, name, custom_headers).value!
- response.body unless response.nil?
+ first_page = list_configuration_snapshot_info_as_lazy(resource_group_name, name, custom_headers)
+ first_page.get_all_items
end
#
@@ -3822,21 +3984,7 @@ def list_configuration_snapshot_info_async(resource_group_name, name, custom_hea
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = {
- required: false,
- serialized_name: 'parsed_response',
- type: {
- name: 'Sequence',
- element: {
- required: false,
- serialized_name: 'SiteConfigurationSnapshotInfoElementType',
- type: {
- name: 'Composite',
- class_name: 'SiteConfigurationSnapshotInfo'
- }
- }
- }
- }
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -4047,54 +4195,54 @@ def recover_site_configuration_snapshot_async(resource_group_name, name, snapsho
end
#
- # List continuous web jobs for an app, or a deployment slot.
+ # Gets the last lines of docker logs for the given site
#
- # List continuous web jobs for an app, or a deployment slot.
+ # Gets the last lines of docker logs for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Site name.
+ # @param name [String] Name of web app.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Array] operation results.
+ # @return [NOT_IMPLEMENTED] operation results.
#
- def list_continuous_web_jobs(resource_group_name, name, custom_headers = nil)
- first_page = list_continuous_web_jobs_as_lazy(resource_group_name, name, custom_headers)
- first_page.get_all_items
+ def get_web_site_container_logs(resource_group_name, name, custom_headers = nil)
+ response = get_web_site_container_logs_async(resource_group_name, name, custom_headers).value!
+ response.body unless response.nil?
end
#
- # List continuous web jobs for an app, or a deployment slot.
+ # Gets the last lines of docker logs for the given site
#
- # List continuous web jobs for an app, or a deployment slot.
+ # Gets the last lines of docker logs for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Site name.
+ # @param name [String] Name of web app.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_continuous_web_jobs_with_http_info(resource_group_name, name, custom_headers = nil)
- list_continuous_web_jobs_async(resource_group_name, name, custom_headers).value!
+ def get_web_site_container_logs_with_http_info(resource_group_name, name, custom_headers = nil)
+ get_web_site_container_logs_async(resource_group_name, name, custom_headers).value!
end
#
- # List continuous web jobs for an app, or a deployment slot.
+ # Gets the last lines of docker logs for the given site
#
- # List continuous web jobs for an app, or a deployment slot.
+ # Gets the last lines of docker logs for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Site name.
+ # @param name [String] Name of web app.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_continuous_web_jobs_async(resource_group_name, name, custom_headers = nil)
+ def get_web_site_container_logs_async(resource_group_name, name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -4106,7 +4254,7 @@ def list_continuous_web_jobs_async(resource_group_name, name, custom_headers = n
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs'
request_url = @base_url || @client.base_url
@@ -4117,13 +4265,13 @@ def list_continuous_web_jobs_async(resource_group_name, name, custom_headers = n
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:get, path_template, options)
+ promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 204 || status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -4133,7 +4281,13 @@ def list_continuous_web_jobs_async(resource_group_name, name, custom_headers = n
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection.mapper()
+ result_mapper = {
+ required: false,
+ serialized_name: 'parsed_response',
+ type: {
+ name: 'Stream'
+ }
+ }
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -4147,64 +4301,56 @@ def list_continuous_web_jobs_async(resource_group_name, name, custom_headers = n
end
#
- # Gets a continuous web job by its ID for an app, or a deployment slot.
+ # Gets the ZIP archived docker log files for the given site
#
- # Gets a continuous web job by its ID for an app, or a deployment slot.
+ # Gets the ZIP archived docker log files for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param name [String] Name of web app.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [ContinuousWebJob] operation results.
+ # @return [NOT_IMPLEMENTED] operation results.
#
- def get_continuous_web_job(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- response = get_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def get_container_logs_zip(resource_group_name, name, custom_headers = nil)
+ response = get_container_logs_zip_async(resource_group_name, name, custom_headers).value!
response.body unless response.nil?
end
#
- # Gets a continuous web job by its ID for an app, or a deployment slot.
+ # Gets the ZIP archived docker log files for the given site
#
- # Gets a continuous web job by its ID for an app, or a deployment slot.
+ # Gets the ZIP archived docker log files for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param name [String] Name of web app.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_continuous_web_job_with_http_info(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- get_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def get_container_logs_zip_with_http_info(resource_group_name, name, custom_headers = nil)
+ get_container_logs_zip_async(resource_group_name, name, custom_headers).value!
end
#
- # Gets a continuous web job by its ID for an app, or a deployment slot.
+ # Gets the ZIP archived docker log files for the given site
#
- # Gets a continuous web job by its ID for an app, or a deployment slot.
+ # Gets the ZIP archived docker log files for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param name [String] Name of web app.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
+ def get_container_logs_zip_async(resource_group_name, name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4214,24 +4360,24 @@ def get_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/containerlogs/zip/download'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:get, path_template, options)
+ promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200 || status_code == 404
+ unless status_code == 204 || status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -4241,7 +4387,13 @@ def get_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJob.mapper()
+ result_mapper = {
+ required: false,
+ serialized_name: 'parsed_response',
+ type: {
+ name: 'Stream'
+ }
+ }
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -4255,63 +4407,56 @@ def get_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_
end
#
- # Delete a continuous web job by its ID for an app, or a deployment slot.
+ # List continuous web jobs for an app, or a deployment slot.
#
- # Delete a continuous web job by its ID for an app, or a deployment slot.
+ # List continuous web jobs for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
+ # @return [Array] operation results.
#
- def delete_continuous_web_job(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- response = delete_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
- nil
+ def list_continuous_web_jobs(resource_group_name, name, custom_headers = nil)
+ first_page = list_continuous_web_jobs_as_lazy(resource_group_name, name, custom_headers)
+ first_page.get_all_items
end
#
- # Delete a continuous web job by its ID for an app, or a deployment slot.
+ # List continuous web jobs for an app, or a deployment slot.
#
- # Delete a continuous web job by its ID for an app, or a deployment slot.
+ # List continuous web jobs for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def delete_continuous_web_job_with_http_info(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- delete_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def list_continuous_web_jobs_with_http_info(resource_group_name, name, custom_headers = nil)
+ list_continuous_web_jobs_async(resource_group_name, name, custom_headers).value!
end
#
- # Delete a continuous web job by its ID for an app, or a deployment slot.
+ # List continuous web jobs for an app, or a deployment slot.
#
- # Delete a continuous web job by its ID for an app, or a deployment slot.
+ # List continuous web jobs for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def delete_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
+ def list_continuous_web_jobs_async(resource_group_name, name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4321,29 +4466,39 @@ def delete_continuous_web_job_async(resource_group_name, name, web_job_id, web_j
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:delete, path_template, options)
+ promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200 || status_code == 204
+ unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJobCollection.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -4352,62 +4507,59 @@ def delete_continuous_web_job_async(resource_group_name, name, web_job_id, web_j
end
#
- # Start a continuous web job for an app, or a deployment slot.
+ # Gets a continuous web job by its ID for an app, or a deployment slot.
#
- # Start a continuous web job for an app, or a deployment slot.
+ # Gets a continuous web job by its ID for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
+ # @return [ContinuousWebJob] operation results.
#
- def start_continuous_web_job(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- response = start_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
- nil
+ def get_continuous_web_job(resource_group_name, name, web_job_name, custom_headers = nil)
+ response = get_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
+ response.body unless response.nil?
end
#
- # Start a continuous web job for an app, or a deployment slot.
+ # Gets a continuous web job by its ID for an app, or a deployment slot.
#
- # Start a continuous web job for an app, or a deployment slot.
+ # Gets a continuous web job by its ID for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def start_continuous_web_job_with_http_info(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- start_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def get_continuous_web_job_with_http_info(resource_group_name, name, web_job_name, custom_headers = nil)
+ get_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
end
#
- # Start a continuous web job for an app, or a deployment slot.
+ # Gets a continuous web job by its ID for an app, or a deployment slot.
#
- # Start a continuous web job for an app, or a deployment slot.
+ # Gets a continuous web job by its ID for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def start_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
+ def get_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4418,18 +4570,18 @@ def start_continuous_web_job_async(resource_group_name, name, web_job_id, web_jo
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:post, path_template, options)
+ promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
@@ -4441,6 +4593,16 @@ def start_continuous_web_job_async(resource_group_name, name, web_job_id, web_jo
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ContinuousWebJob.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -4449,62 +4611,58 @@ def start_continuous_web_job_async(resource_group_name, name, web_job_id, web_jo
end
#
- # Stop a continuous web job for an app, or a deployment slot.
+ # Delete a continuous web job by its ID for an app, or a deployment slot.
#
- # Stop a continuous web job for an app, or a deployment slot.
+ # Delete a continuous web job by its ID for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def stop_continuous_web_job(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- response = stop_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def delete_continuous_web_job(resource_group_name, name, web_job_name, custom_headers = nil)
+ response = delete_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
nil
end
#
- # Stop a continuous web job for an app, or a deployment slot.
+ # Delete a continuous web job by its ID for an app, or a deployment slot.
#
- # Stop a continuous web job for an app, or a deployment slot.
+ # Delete a continuous web job by its ID for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def stop_continuous_web_job_with_http_info(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- stop_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def delete_continuous_web_job_with_http_info(resource_group_name, name, web_job_name, custom_headers = nil)
+ delete_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
end
#
- # Stop a continuous web job for an app, or a deployment slot.
+ # Delete a continuous web job by its ID for an app, or a deployment slot.
#
- # Stop a continuous web job for an app, or a deployment slot.
+ # Delete a continuous web job by its ID for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def stop_continuous_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
+ def delete_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4515,24 +4673,24 @@ def stop_continuous_web_job_async(resource_group_name, name, web_job_id, web_job
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:post, path_template, options)
+ promise = @client.make_request_async(:delete, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200 || status_code == 404
+ unless status_code == 200 || status_code == 204
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -4546,56 +4704,59 @@ def stop_continuous_web_job_async(resource_group_name, name, web_job_id, web_job
end
#
- # List deployments for an app, or a deployment slot.
+ # Start a continuous web job for an app, or a deployment slot.
#
- # List deployments for an app, or a deployment slot.
+ # Start a continuous web job for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
+ # @param name [String] Site name.
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Array] operation results.
#
- def list_deployments(resource_group_name, name, custom_headers = nil)
- first_page = list_deployments_as_lazy(resource_group_name, name, custom_headers)
- first_page.get_all_items
+ def start_continuous_web_job(resource_group_name, name, web_job_name, custom_headers = nil)
+ response = start_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
+ nil
end
#
- # List deployments for an app, or a deployment slot.
+ # Start a continuous web job for an app, or a deployment slot.
#
- # List deployments for an app, or a deployment slot.
+ # Start a continuous web job for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
+ # @param name [String] Site name.
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_deployments_with_http_info(resource_group_name, name, custom_headers = nil)
- list_deployments_async(resource_group_name, name, custom_headers).value!
+ def start_continuous_web_job_with_http_info(resource_group_name, name, web_job_name, custom_headers = nil)
+ start_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
end
#
- # List deployments for an app, or a deployment slot.
+ # Start a continuous web job for an app, or a deployment slot.
#
- # List deployments for an app, or a deployment slot.
+ # Start a continuous web job for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
+ # @param name [String] Site name.
+ # @param web_job_name [String] Name of Web Job.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_deployments_async(resource_group_name, name, custom_headers = nil)
+ def start_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4605,39 +4766,29 @@ def list_deployments_async(resource_group_name, name, custom_headers = nil)
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:get, path_template, options)
+ promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 200 || status_code == 404
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
- # Deserialize Response
- if status_code == 200
- begin
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection.mapper()
- result.body = @client.deserialize(result_mapper, parsed_response)
- rescue Exception => e
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
- end
- end
result
end
@@ -4646,60 +4797,59 @@ def list_deployments_async(resource_group_name, name, custom_headers = nil)
end
#
- # Get a deployment by its ID for an app, or a deployment slot.
+ # Stop a continuous web job for an app, or a deployment slot.
#
- # Get a deployment by its ID for an app, or a deployment slot.
+ # Stop a continuous web job for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param id [String] Deployment ID.
+ # @param name [String] Site name.
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Deployment] operation results.
#
- def get_deployment(resource_group_name, name, id, custom_headers = nil)
- response = get_deployment_async(resource_group_name, name, id, custom_headers).value!
- response.body unless response.nil?
+ def stop_continuous_web_job(resource_group_name, name, web_job_name, custom_headers = nil)
+ response = stop_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
+ nil
end
#
- # Get a deployment by its ID for an app, or a deployment slot.
+ # Stop a continuous web job for an app, or a deployment slot.
#
- # Get a deployment by its ID for an app, or a deployment slot.
+ # Stop a continuous web job for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param id [String] Deployment ID.
+ # @param name [String] Site name.
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_deployment_with_http_info(resource_group_name, name, id, custom_headers = nil)
- get_deployment_async(resource_group_name, name, id, custom_headers).value!
+ def stop_continuous_web_job_with_http_info(resource_group_name, name, web_job_name, custom_headers = nil)
+ stop_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
end
#
- # Get a deployment by its ID for an app, or a deployment slot.
+ # Stop a continuous web job for an app, or a deployment slot.
#
- # Get a deployment by its ID for an app, or a deployment slot.
+ # Stop a continuous web job for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param id [String] Deployment ID.
+ # @param name [String] Site name.
+ # @param web_job_name [String] Name of Web Job.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_deployment_async(resource_group_name, name, id, custom_headers = nil)
+ def stop_continuous_web_job_async(resource_group_name, name, web_job_name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'id is nil' if id.nil?
+ fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4709,39 +4859,29 @@ def get_deployment_async(resource_group_name, name, id, custom_headers = nil)
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'id' => id,'subscriptionId' => @client.subscription_id},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:get, path_template, options)
+ promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 200 || status_code == 404
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
- # Deserialize Response
- if status_code == 200
- begin
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Deployment.mapper()
- result.body = @client.deserialize(result_mapper, parsed_response)
- rescue Exception => e
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
- end
- end
result
end
@@ -4750,64 +4890,56 @@ def get_deployment_async(resource_group_name, name, id, custom_headers = nil)
end
#
- # Create a deployment for an app, or a deployment slot.
+ # List deployments for an app, or a deployment slot.
#
- # Create a deployment for an app, or a deployment slot.
+ # List deployments for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param id [String] ID of an existing deployment.
- # @param deployment [Deployment] Deployment details.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Deployment] operation results.
+ # @return [Array] operation results.
#
- def create_deployment(resource_group_name, name, id, deployment, custom_headers = nil)
- response = create_deployment_async(resource_group_name, name, id, deployment, custom_headers).value!
- response.body unless response.nil?
+ def list_deployments(resource_group_name, name, custom_headers = nil)
+ first_page = list_deployments_as_lazy(resource_group_name, name, custom_headers)
+ first_page.get_all_items
end
#
- # Create a deployment for an app, or a deployment slot.
+ # List deployments for an app, or a deployment slot.
#
- # Create a deployment for an app, or a deployment slot.
+ # List deployments for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param id [String] ID of an existing deployment.
- # @param deployment [Deployment] Deployment details.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def create_deployment_with_http_info(resource_group_name, name, id, deployment, custom_headers = nil)
- create_deployment_async(resource_group_name, name, id, deployment, custom_headers).value!
+ def list_deployments_with_http_info(resource_group_name, name, custom_headers = nil)
+ list_deployments_async(resource_group_name, name, custom_headers).value!
end
#
- # Create a deployment for an app, or a deployment slot.
+ # List deployments for an app, or a deployment slot.
#
- # Create a deployment for an app, or a deployment slot.
+ # List deployments for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param id [String] ID of an existing deployment.
- # @param deployment [Deployment] Deployment details.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def create_deployment_async(resource_group_name, name, id, deployment, custom_headers = nil)
+ def list_deployments_async(resource_group_name, name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'id is nil' if id.nil?
- fail ArgumentError, 'deployment is nil' if deployment.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -4817,27 +4949,18 @@ def create_deployment_async(resource_group_name, name, id, deployment, custom_he
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
-
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
-
- # Serialize Request
- request_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Deployment.mapper()
- request_content = @client.serialize(request_mapper, deployment)
- request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
-
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'id' => id,'subscriptionId' => @client.subscription_id},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
- body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:put, path_template, options)
+ promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
@@ -4853,7 +4976,7 @@ def create_deployment_async(resource_group_name, name, id, deployment, custom_he
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Deployment.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::DeploymentCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -4867,9 +4990,9 @@ def create_deployment_async(resource_group_name, name, id, deployment, custom_he
end
#
- # Delete 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.
#
- # Delete 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 resource_group_name [String] Name of the resource group to which the
# resource belongs.
@@ -4878,16 +5001,17 @@ def create_deployment_async(resource_group_name, name, id, deployment, custom_he
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
+ # @return [Deployment] operation results.
#
- def delete_deployment(resource_group_name, name, id, custom_headers = nil)
- response = delete_deployment_async(resource_group_name, name, id, custom_headers).value!
- nil
+ def get_deployment(resource_group_name, name, id, custom_headers = nil)
+ response = get_deployment_async(resource_group_name, name, id, custom_headers).value!
+ response.body unless response.nil?
end
#
- # Delete 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.
#
- # Delete 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 resource_group_name [String] Name of the resource group to which the
# resource belongs.
@@ -4898,14 +5022,14 @@ def delete_deployment(resource_group_name, name, id, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def delete_deployment_with_http_info(resource_group_name, name, id, custom_headers = nil)
- delete_deployment_async(resource_group_name, name, id, custom_headers).value!
+ def get_deployment_with_http_info(resource_group_name, name, id, custom_headers = nil)
+ get_deployment_async(resource_group_name, name, id, custom_headers).value!
end
#
- # Delete 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.
#
- # Delete 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 resource_group_name [String] Name of the resource group to which the
# resource belongs.
@@ -4916,7 +5040,7 @@ def delete_deployment_with_http_info(resource_group_name, name, id, custom_heade
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def delete_deployment_async(resource_group_name, name, id, custom_headers = nil)
+ def get_deployment_async(resource_group_name, name, id, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'id is nil' if id.nil?
@@ -4940,18 +5064,28 @@ def delete_deployment_async(resource_group_name, name, id, custom_headers = nil)
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:delete, path_template, options)
+ promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200 || status_code == 204
+ unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Deployment.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -4960,66 +5094,64 @@ def delete_deployment_async(resource_group_name, name, id, custom_headers = nil)
end
#
- # List deployment log for specific deployment for an app, or a deployment slot.
+ # Create a deployment for an app, or a deployment slot.
#
- # List deployment log for specific deployment for an app, or a deployment slot.
+ # Create a deployment for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param id [String] 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 id [String] ID of an existing deployment.
+ # @param deployment [Deployment] Deployment details.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Deployment] operation results.
#
- def list_deployment_log(resource_group_name, name, id, custom_headers = nil)
- response = list_deployment_log_async(resource_group_name, name, id, custom_headers).value!
+ def create_deployment(resource_group_name, name, id, deployment, custom_headers = nil)
+ response = create_deployment_async(resource_group_name, name, id, deployment, custom_headers).value!
response.body unless response.nil?
end
#
- # List deployment log for specific deployment for an app, or a deployment slot.
+ # Create a deployment for an app, or a deployment slot.
#
- # List deployment log for specific deployment for an app, or a deployment slot.
+ # Create a deployment for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param id [String] 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 id [String] ID of an existing deployment.
+ # @param deployment [Deployment] Deployment details.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_deployment_log_with_http_info(resource_group_name, name, id, custom_headers = nil)
- list_deployment_log_async(resource_group_name, name, id, custom_headers).value!
+ def create_deployment_with_http_info(resource_group_name, name, id, deployment, custom_headers = nil)
+ create_deployment_async(resource_group_name, name, id, deployment, custom_headers).value!
end
#
- # List deployment log for specific deployment for an app, or a deployment slot.
+ # Create a deployment for an app, or a deployment slot.
#
- # List deployment log for specific deployment for an app, or a deployment slot.
+ # Create a deployment for an app, or a deployment slot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param id [String] 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 id [String] ID of an existing deployment.
+ # @param deployment [Deployment] Deployment details.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_deployment_log_async(resource_group_name, name, id, custom_headers = nil)
+ def create_deployment_async(resource_group_name, name, id, deployment, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'id is nil' if id.nil?
+ fail ArgumentError, 'deployment is nil' if deployment.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -5029,7 +5161,15 @@ def list_deployment_log_async(resource_group_name, name, id, custom_headers = ni
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log'
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Deployment.mapper()
+ request_content = @client.serialize(request_mapper, deployment)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}'
request_url = @base_url || @client.base_url
@@ -5037,10 +5177,214 @@ def list_deployment_log_async(resource_group_name, name, id, custom_headers = ni
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'id' => id,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
+ body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:get, path_template, options)
+ promise = @client.make_request_async(:put, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Deployment.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param id [String] Deployment ID.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ #
+ def delete_deployment(resource_group_name, name, id, custom_headers = nil)
+ response = delete_deployment_async(resource_group_name, name, id, custom_headers).value!
+ nil
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param id [String] Deployment ID.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def delete_deployment_with_http_info(resource_group_name, name, id, custom_headers = nil)
+ delete_deployment_async(resource_group_name, name, id, custom_headers).value!
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param id [String] Deployment ID.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def delete_deployment_async(resource_group_name, name, id, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'id is nil' if id.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'id' => id,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:delete, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 204
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param id [String] 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 custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [Deployment] operation results.
+ #
+ def list_deployment_log(resource_group_name, name, id, custom_headers = nil)
+ response = list_deployment_log_async(resource_group_name, name, id, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param id [String] 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 custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def list_deployment_log_with_http_info(resource_group_name, name, id, custom_headers = nil)
+ list_deployment_log_async(resource_group_name, name, id, custom_headers).value!
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param id [String] 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 [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def list_deployment_log_async(resource_group_name, name, id, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'id is nil' if id.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'id' => id,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
promise = promise.then do |result|
http_response = result.response
@@ -8788,7 +9132,7 @@ def delete_instance_process_async(resource_group_name, name, process_id, instanc
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Object] operation results.
+ # @return [NOT_IMPLEMENTED] operation results.
#
def get_instance_process_dump(resource_group_name, name, process_id, instance_id, custom_headers = nil)
response = get_instance_process_dump_async(resource_group_name, name, process_id, instance_id, custom_headers).value!
@@ -8874,6 +9218,22 @@ def get_instance_process_dump_async(resource_group_name, name, process_id, insta
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = {
+ required: false,
+ serialized_name: 'parsed_response',
+ type: {
+ name: 'Stream'
+ }
+ }
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -9016,14 +9376,13 @@ def list_instance_process_modules_async(resource_group_name, name, process_id, i
# @param instance_id [String] 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 base_address1 [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [ProcessModuleInfo] operation results.
#
- def get_instance_process_module(resource_group_name, name, process_id, base_address, instance_id, base_address1, custom_headers = nil)
- response = get_instance_process_module_async(resource_group_name, name, process_id, base_address, instance_id, base_address1, custom_headers).value!
+ def get_instance_process_module(resource_group_name, name, process_id, base_address, instance_id, custom_headers = nil)
+ response = get_instance_process_module_async(resource_group_name, name, process_id, base_address, instance_id, custom_headers).value!
response.body unless response.nil?
end
@@ -9042,14 +9401,13 @@ def get_instance_process_module(resource_group_name, name, process_id, base_addr
# @param instance_id [String] 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 base_address1 [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_instance_process_module_with_http_info(resource_group_name, name, process_id, base_address, instance_id, base_address1, custom_headers = nil)
- get_instance_process_module_async(resource_group_name, name, process_id, base_address, instance_id, base_address1, custom_headers).value!
+ def get_instance_process_module_with_http_info(resource_group_name, name, process_id, base_address, instance_id, custom_headers = nil)
+ get_instance_process_module_async(resource_group_name, name, process_id, base_address, instance_id, custom_headers).value!
end
#
@@ -9067,19 +9425,17 @@ def get_instance_process_module_with_http_info(resource_group_name, name, proces
# @param instance_id [String] 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 base_address1 [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_instance_process_module_async(resource_group_name, name, process_id, base_address, instance_id, base_address1, custom_headers = nil)
+ def get_instance_process_module_async(resource_group_name, name, process_id, base_address, instance_id, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'process_id is nil' if process_id.nil?
fail ArgumentError, 'base_address is nil' if base_address.nil?
fail ArgumentError, 'instance_id is nil' if instance_id.nil?
- fail ArgumentError, 'base_address1 is nil' if base_address1.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -9089,133 +9445,133 @@ def get_instance_process_module_async(resource_group_name, name, process_id, bas
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{base_address}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'instanceId' => instance_id,'base_address' => base_address1,'subscriptionId' => @client.subscription_id},
- query_params: {'baseAddress' => base_address,'api-version' => @client.api_version},
- headers: request_headers.merge(custom_headers || {}),
- base_url: request_url
- }
- promise = @client.make_request_async(:get, path_template, options)
-
- promise = promise.then do |result|
- http_response = result.response
- status_code = http_response.status
- response_content = http_response.body
- unless status_code == 200 || status_code == 404
- error_model = JSON.load(response_content)
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
- end
-
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
- # Deserialize Response
- if status_code == 200
- begin
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo.mapper()
- result.body = @client.deserialize(result_mapper, parsed_response)
- rescue Exception => e
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
- end
- end
-
- result
- end
-
- promise.execute
- end
-
- #
- # 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 resource_group_name [String] Name of the resource group to which the
- # resource belongs.
- # @param name [String] Site name.
- # @param process_id [String] PID.
- # @param instance_id [String] 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 custom_headers [Hash{String => String}] A hash of custom headers that
- # will be added to the HTTP request.
- #
- # @return [Array] operation results.
- #
- def list_instance_process_threads(resource_group_name, name, process_id, instance_id, custom_headers = nil)
- first_page = list_instance_process_threads_as_lazy(resource_group_name, name, process_id, instance_id, custom_headers)
- first_page.get_all_items
- end
-
- #
- # 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 resource_group_name [String] Name of the resource group to which the
- # resource belongs.
- # @param name [String] Site name.
- # @param process_id [String] PID.
- # @param instance_id [String] 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 custom_headers [Hash{String => String}] A hash of custom headers that
- # will be added to the HTTP request.
- #
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
- #
- def list_instance_process_threads_with_http_info(resource_group_name, name, process_id, instance_id, custom_headers = nil)
- list_instance_process_threads_async(resource_group_name, name, process_id, instance_id, custom_headers).value!
- end
-
- #
- # 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 resource_group_name [String] Name of the resource group to which the
- # resource belongs.
- # @param name [String] Site name.
- # @param process_id [String] PID.
- # @param instance_id [String] 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 [Hash{String => String}] A hash of custom headers that will be added
- # to the HTTP request.
- #
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
- #
- def list_instance_process_threads_async(resource_group_name, name, process_id, instance_id, custom_headers = nil)
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
- fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'process_id is nil' if process_id.nil?
- fail ArgumentError, 'instance_id is nil' if instance_id.nil?
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
-
-
- request_headers = {}
-
- # Set Headers
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads'
-
- request_url = @base_url || @client.base_url
-
- options = {
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'instanceId' => instance_id,'subscriptionId' => @client.subscription_id},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'baseAddress' => base_address,'instanceId' => instance_id,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 404
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfo.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Site name.
+ # @param process_id [String] PID.
+ # @param instance_id [String] 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 custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [Array] operation results.
+ #
+ def list_instance_process_threads(resource_group_name, name, process_id, instance_id, custom_headers = nil)
+ first_page = list_instance_process_threads_as_lazy(resource_group_name, name, process_id, instance_id, custom_headers)
+ first_page.get_all_items
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Site name.
+ # @param process_id [String] PID.
+ # @param instance_id [String] 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 custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def list_instance_process_threads_with_http_info(resource_group_name, name, process_id, instance_id, custom_headers = nil)
+ list_instance_process_threads_async(resource_group_name, name, process_id, instance_id, custom_headers).value!
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Site name.
+ # @param process_id [String] PID.
+ # @param instance_id [String] 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 [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def list_instance_process_threads_async(resource_group_name, name, process_id, instance_id, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'process_id is nil' if process_id.nil?
+ fail ArgumentError, 'instance_id is nil' if instance_id.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'instanceId' => instance_id,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
@@ -10416,7 +10772,7 @@ def generate_new_site_publishing_password_async(resource_group_name, name, custo
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 204
+ unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -11388,7 +11744,7 @@ def delete_process_async(resource_group_name, name, process_id, custom_headers =
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Object] operation results.
+ # @return [NOT_IMPLEMENTED] operation results.
#
def get_process_dump(resource_group_name, name, process_id, custom_headers = nil)
response = get_process_dump_async(resource_group_name, name, process_id, custom_headers).value!
@@ -11467,6 +11823,22 @@ def get_process_dump_async(resource_group_name, name, process_id, custom_headers
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = {
+ required: false,
+ serialized_name: 'parsed_response',
+ type: {
+ name: 'Stream'
+ }
+ }
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -11596,14 +11968,13 @@ def list_process_modules_async(resource_group_name, name, process_id, custom_hea
# @param name [String] Site name.
# @param process_id [String] PID.
# @param base_address [String] Module base address.
- # @param base_address1 [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [ProcessModuleInfo] operation results.
#
- def get_process_module(resource_group_name, name, process_id, base_address, base_address1, custom_headers = nil)
- response = get_process_module_async(resource_group_name, name, process_id, base_address, base_address1, custom_headers).value!
+ def get_process_module(resource_group_name, name, process_id, base_address, custom_headers = nil)
+ response = get_process_module_async(resource_group_name, name, process_id, base_address, custom_headers).value!
response.body unless response.nil?
end
@@ -11619,14 +11990,13 @@ def get_process_module(resource_group_name, name, process_id, base_address, base
# @param name [String] Site name.
# @param process_id [String] PID.
# @param base_address [String] Module base address.
- # @param base_address1 [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_process_module_with_http_info(resource_group_name, name, process_id, base_address, base_address1, custom_headers = nil)
- get_process_module_async(resource_group_name, name, process_id, base_address, base_address1, custom_headers).value!
+ def get_process_module_with_http_info(resource_group_name, name, process_id, base_address, custom_headers = nil)
+ get_process_module_async(resource_group_name, name, process_id, base_address, custom_headers).value!
end
#
@@ -11641,18 +12011,16 @@ def get_process_module_with_http_info(resource_group_name, name, process_id, bas
# @param name [String] Site name.
# @param process_id [String] PID.
# @param base_address [String] Module base address.
- # @param base_address1 [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_process_module_async(resource_group_name, name, process_id, base_address, base_address1, custom_headers = nil)
+ def get_process_module_async(resource_group_name, name, process_id, base_address, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'process_id is nil' if process_id.nil?
fail ArgumentError, 'base_address is nil' if base_address.nil?
- fail ArgumentError, 'base_address1 is nil' if base_address1.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -11662,14 +12030,14 @@ def get_process_module_async(resource_group_name, name, process_id, base_address
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{base_address}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{baseAddress}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'base_address' => base_address1,'subscriptionId' => @client.subscription_id},
- query_params: {'baseAddress' => base_address,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'baseAddress' => base_address,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -12835,14 +13203,13 @@ def list_site_extensions_async(resource_group_name, name, custom_headers = nil)
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SiteExtensionInfo] operation results.
#
- def get_site_extension(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
- response = get_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers).value!
+ def get_site_extension(resource_group_name, name, site_extension_id, custom_headers = nil)
+ response = get_site_extension_async(resource_group_name, name, site_extension_id, custom_headers).value!
response.body unless response.nil?
end
@@ -12857,14 +13224,13 @@ def get_site_extension(resource_group_name, name, site_extension_id, extension_n
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_site_extension_with_http_info(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
- get_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers).value!
+ def get_site_extension_with_http_info(resource_group_name, name, site_extension_id, custom_headers = nil)
+ get_site_extension_async(resource_group_name, name, site_extension_id, custom_headers).value!
end
#
@@ -12878,17 +13244,15 @@ def get_site_extension_with_http_info(resource_group_name, name, site_extension_
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
+ def get_site_extension_async(resource_group_name, name, site_extension_id, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
- fail ArgumentError, 'extension_name is nil' if extension_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -12898,14 +13262,14 @@ def get_site_extension_async(resource_group_name, name, site_extension_id, exten
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{extensionName}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'extensionName' => extension_name,'subscriptionId' => @client.subscription_id},
- query_params: {'siteExtensionId' => site_extension_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'siteExtensionId' => site_extension_id,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -12947,14 +13311,13 @@ def get_site_extension_async(resource_group_name, name, site_extension_id, exten
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SiteExtensionInfo] operation results.
#
- def install_site_extension(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
- response = install_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers).value!
+ def install_site_extension(resource_group_name, name, site_extension_id, custom_headers = nil)
+ response = install_site_extension_async(resource_group_name, name, site_extension_id, custom_headers).value!
response.body unless response.nil?
end
@@ -12963,16 +13326,15 @@ def install_site_extension(resource_group_name, name, site_extension_id, extensi
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
- def install_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
+ def install_site_extension_async(resource_group_name, name, site_extension_id, custom_headers = nil)
# Send request
- promise = begin_install_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers)
+ promise = begin_install_site_extension_async(resource_group_name, name, site_extension_id, custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
@@ -12997,13 +13359,12 @@ def install_site_extension_async(resource_group_name, name, site_extension_id, e
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def delete_site_extension(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
- response = delete_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers).value!
+ def delete_site_extension(resource_group_name, name, site_extension_id, custom_headers = nil)
+ response = delete_site_extension_async(resource_group_name, name, site_extension_id, custom_headers).value!
nil
end
@@ -13016,14 +13377,13 @@ def delete_site_extension(resource_group_name, name, site_extension_id, extensio
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def delete_site_extension_with_http_info(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
- delete_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers).value!
+ def delete_site_extension_with_http_info(resource_group_name, name, site_extension_id, custom_headers = nil)
+ delete_site_extension_async(resource_group_name, name, site_extension_id, custom_headers).value!
end
#
@@ -13035,17 +13395,15 @@ def delete_site_extension_with_http_info(resource_group_name, name, site_extensi
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def delete_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
+ def delete_site_extension_async(resource_group_name, name, site_extension_id, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
- fail ArgumentError, 'extension_name is nil' if extension_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -13055,14 +13413,14 @@ def delete_site_extension_async(resource_group_name, name, site_extension_id, ex
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{extensionName}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'extensionName' => extension_name,'subscriptionId' => @client.subscription_id},
- query_params: {'siteExtensionId' => site_extension_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'siteExtensionId' => site_extension_id,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -13269,7 +13627,7 @@ def get_slot_async(resource_group_name, name, slot, custom_headers = nil)
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 200 || status_code == 404
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -13466,7 +13824,7 @@ def delete_slot_async(resource_group_name, name, slot, delete_metrics = nil, del
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200 || status_code == 404
+ unless status_code == 200 || status_code == 204 || status_code == 404
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -13479,6 +13837,175 @@ def delete_slot_async(resource_group_name, name, slot, delete_metrics = nil, del
promise.execute
end
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Unique name of the app to create or update. To create or
+ # update a deployment slot, use the {slot} parameter.
+ # @param site_envelope [SitePatchResource] A JSON representation of the app
+ # properties. See example.
+ # @param slot [String] Name of the deployment slot to create or update. By
+ # default, this API attempts to create or modify the production slot.
+ # @param skip_dns_registration [Boolean] If true web app hostname is not
+ # registered with DNS on creation. This parameter is
+ # only used for app creation.
+ # @param skip_custom_domain_verification [Boolean] If true, custom (non
+ # *.azurewebsites.net) domains associated with web app are not verified.
+ # @param force_dns_registration [Boolean] If true, web app hostname is force
+ # registered with DNS.
+ # @param ttl_in_seconds [String] Time to live in seconds for web app's default
+ # domain name.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [Site] operation results.
+ #
+ def update_slot(resource_group_name, name, site_envelope, slot, skip_dns_registration = nil, skip_custom_domain_verification = nil, force_dns_registration = nil, ttl_in_seconds = nil, custom_headers = nil)
+ response = update_slot_async(resource_group_name, name, site_envelope, slot, skip_dns_registration, skip_custom_domain_verification, force_dns_registration, ttl_in_seconds, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Unique name of the app to create or update. To create or
+ # update a deployment slot, use the {slot} parameter.
+ # @param site_envelope [SitePatchResource] A JSON representation of the app
+ # properties. See example.
+ # @param slot [String] Name of the deployment slot to create or update. By
+ # default, this API attempts to create or modify the production slot.
+ # @param skip_dns_registration [Boolean] If true web app hostname is not
+ # registered with DNS on creation. This parameter is
+ # only used for app creation.
+ # @param skip_custom_domain_verification [Boolean] If true, custom (non
+ # *.azurewebsites.net) domains associated with web app are not verified.
+ # @param force_dns_registration [Boolean] If true, web app hostname is force
+ # registered with DNS.
+ # @param ttl_in_seconds [String] Time to live in seconds for web app's default
+ # domain name.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_slot_with_http_info(resource_group_name, name, site_envelope, slot, skip_dns_registration = nil, skip_custom_domain_verification = nil, force_dns_registration = nil, ttl_in_seconds = nil, custom_headers = nil)
+ update_slot_async(resource_group_name, name, site_envelope, slot, skip_dns_registration, skip_custom_domain_verification, force_dns_registration, ttl_in_seconds, custom_headers).value!
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Unique name of the app to create or update. To create or
+ # update a deployment slot, use the {slot} parameter.
+ # @param site_envelope [SitePatchResource] A JSON representation of the app
+ # properties. See example.
+ # @param slot [String] Name of the deployment slot to create or update. By
+ # default, this API attempts to create or modify the production slot.
+ # @param skip_dns_registration [Boolean] If true web app hostname is not
+ # registered with DNS on creation. This parameter is
+ # only used for app creation.
+ # @param skip_custom_domain_verification [Boolean] If true, custom (non
+ # *.azurewebsites.net) domains associated with web app are not verified.
+ # @param force_dns_registration [Boolean] If true, web app hostname is force
+ # registered with DNS.
+ # @param ttl_in_seconds [String] Time to live in seconds for web app's default
+ # domain name.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_slot_async(resource_group_name, name, site_envelope, slot, skip_dns_registration = nil, skip_custom_domain_verification = nil, force_dns_registration = nil, ttl_in_seconds = nil, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'site_envelope is nil' if site_envelope.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SitePatchResource.mapper()
+ request_content = @client.serialize(request_mapper, site_envelope)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'skipDnsRegistration' => skip_dns_registration,'skipCustomDomainVerification' => skip_custom_domain_verification,'forceDnsRegistration' => force_dns_registration,'ttlInSeconds' => ttl_in_seconds,'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 202
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Site.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 202
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::Site.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Analyze a custom hostname.
#
@@ -16564,69 +17091,412 @@ def create_or_update_configuration_slot_async(resource_group_name, name, site_co
end
#
- # Updates the configuration of an app.
+ # Updates the configuration of an app.
+ #
+ # Updates the configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param site_config [SiteConfigResource] JSON representation of a SiteConfig
+ # object. See example.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will update configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [SiteConfigResource] operation results.
+ #
+ def update_configuration_slot(resource_group_name, name, site_config, slot, custom_headers = nil)
+ response = update_configuration_slot_async(resource_group_name, name, site_config, slot, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Updates the configuration of an app.
+ #
+ # Updates the configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param site_config [SiteConfigResource] JSON representation of a SiteConfig
+ # object. See example.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will update configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_configuration_slot_with_http_info(resource_group_name, name, site_config, slot, custom_headers = nil)
+ update_configuration_slot_async(resource_group_name, name, site_config, slot, custom_headers).value!
+ end
+
+ #
+ # Updates the configuration of an app.
+ #
+ # Updates the configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param site_config [SiteConfigResource] JSON representation of a SiteConfig
+ # object. See example.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will update configuration for the production slot.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_configuration_slot_async(resource_group_name, name, site_config, slot, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'site_config is nil' if site_config.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource.mapper()
+ request_content = @client.serialize(request_mapper, site_config)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will return configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [Array] operation results.
+ #
+ def list_configuration_snapshot_info_slot(resource_group_name, name, slot, custom_headers = nil)
+ first_page = list_configuration_snapshot_info_slot_as_lazy(resource_group_name, name, slot, custom_headers)
+ first_page.get_all_items
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will return configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def list_configuration_snapshot_info_slot_with_http_info(resource_group_name, name, slot, custom_headers = nil)
+ list_configuration_snapshot_info_slot_async(resource_group_name, name, slot, custom_headers).value!
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will return configuration for the production slot.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def list_configuration_snapshot_info_slot_async(resource_group_name, name, slot, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param snapshot_id [String] The ID of the snapshot to read.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will return configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [SiteConfigResource] operation results.
+ #
+ def get_configuration_snapshot_slot(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
+ response = get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param snapshot_id [String] The ID of the snapshot to read.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will return configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def get_configuration_snapshot_slot_with_http_info(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
+ get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers).value!
+ end
+
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param snapshot_id [String] The ID of the snapshot to read.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will return configuration for the production slot.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'snapshot_id is nil' if snapshot_id.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'snapshotId' => snapshot_id,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # Reverts the configuration of an app to a previous snapshot.
#
- # Updates the configuration of an app.
+ # Reverts the configuration of an app to a previous snapshot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param site_config [SiteConfigResource] JSON representation of a SiteConfig
- # object. See example.
+ # @param snapshot_id [String] The ID of the snapshot to read.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will update configuration for the production slot.
+ # the API will return configuration for the production slot.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [SiteConfigResource] operation results.
#
- def update_configuration_slot(resource_group_name, name, site_config, slot, custom_headers = nil)
- response = update_configuration_slot_async(resource_group_name, name, site_config, slot, custom_headers).value!
- response.body unless response.nil?
+ def recover_site_configuration_snapshot_slot(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
+ response = recover_site_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers).value!
+ nil
end
#
- # Updates the configuration of an app.
+ # Reverts the configuration of an app to a previous snapshot.
#
- # Updates the configuration of an app.
+ # Reverts the configuration of an app to a previous snapshot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param site_config [SiteConfigResource] JSON representation of a SiteConfig
- # object. See example.
+ # @param snapshot_id [String] The ID of the snapshot to read.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will update configuration for the production slot.
+ # the API will return configuration for the production slot.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def update_configuration_slot_with_http_info(resource_group_name, name, site_config, slot, custom_headers = nil)
- update_configuration_slot_async(resource_group_name, name, site_config, slot, custom_headers).value!
+ def recover_site_configuration_snapshot_slot_with_http_info(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
+ recover_site_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers).value!
end
#
- # Updates the configuration of an app.
+ # Reverts the configuration of an app to a previous snapshot.
#
- # Updates the configuration of an app.
+ # Reverts the configuration of an app to a previous snapshot.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
- # @param site_config [SiteConfigResource] JSON representation of a SiteConfig
- # object. See example.
+ # @param snapshot_id [String] The ID of the snapshot to read.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will update configuration for the production slot.
+ # the API will return configuration for the production slot.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def update_configuration_slot_async(resource_group_name, name, site_config, slot, custom_headers = nil)
+ def recover_site_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'site_config is nil' if site_config.nil?
+ fail ArgumentError, 'snapshot_id is nil' if snapshot_id.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -16637,48 +17507,29 @@ def update_configuration_slot_async(resource_group_name, name, site_config, slot
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
-
- request_headers['Content-Type'] = 'application/json; charset=utf-8'
-
- # Serialize Request
- request_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource.mapper()
- request_content = @client.serialize(request_mapper, site_config)
- request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
-
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'snapshotId' => snapshot_id,'slot' => slot,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
- body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:patch, path_template, options)
+ promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 204
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
- # Deserialize Response
- if status_code == 200
- begin
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource.mapper()
- result.body = @client.deserialize(result_mapper, parsed_response)
- rescue Exception => e
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
- end
- end
result
end
@@ -16687,66 +17538,60 @@ def update_configuration_slot_async(resource_group_name, name, site_config, slot
end
#
- # Gets a list of web app configuration snapshots identifiers. Each element of
- # the list contains a timestamp and the ID of the snapshot.
+ # Gets the last lines of docker logs for the given site
#
- # Gets a list of web app configuration snapshots identifiers. Each element of
- # the list contains a timestamp and the ID of the snapshot.
+ # Gets the last lines of docker logs for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
+ # @param name [String] Name of web app.
+ # @param slot [String] Name of web app slot. If not specified then will default
+ # to production slot.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Array] operation results.
+ # @return [NOT_IMPLEMENTED] operation results.
#
- def list_configuration_snapshot_info_slot(resource_group_name, name, slot, custom_headers = nil)
- response = list_configuration_snapshot_info_slot_async(resource_group_name, name, slot, custom_headers).value!
+ def get_web_site_container_logs_slot(resource_group_name, name, slot, custom_headers = nil)
+ response = get_web_site_container_logs_slot_async(resource_group_name, name, slot, custom_headers).value!
response.body unless response.nil?
end
#
- # Gets a list of web app configuration snapshots identifiers. Each element of
- # the list contains a timestamp and the ID of the snapshot.
+ # Gets the last lines of docker logs for the given site
#
- # Gets a list of web app configuration snapshots identifiers. Each element of
- # the list contains a timestamp and the ID of the snapshot.
+ # Gets the last lines of docker logs for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
+ # @param name [String] Name of web app.
+ # @param slot [String] Name of web app slot. If not specified then will default
+ # to production slot.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_configuration_snapshot_info_slot_with_http_info(resource_group_name, name, slot, custom_headers = nil)
- list_configuration_snapshot_info_slot_async(resource_group_name, name, slot, custom_headers).value!
+ def get_web_site_container_logs_slot_with_http_info(resource_group_name, name, slot, custom_headers = nil)
+ get_web_site_container_logs_slot_async(resource_group_name, name, slot, custom_headers).value!
end
#
- # Gets a list of web app configuration snapshots identifiers. Each element of
- # the list contains a timestamp and the ID of the snapshot.
+ # Gets the last lines of docker logs for the given site
#
- # Gets a list of web app configuration snapshots identifiers. Each element of
- # the list contains a timestamp and the ID of the snapshot.
+ # Gets the last lines of docker logs for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
+ # @param name [String] Name of web app.
+ # @param slot [String] Name of web app slot. If not specified then will default
+ # to production slot.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_configuration_snapshot_info_slot_async(resource_group_name, name, slot, custom_headers = nil)
+ def get_web_site_container_logs_slot_async(resource_group_name, name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
@@ -16759,7 +17604,7 @@ def list_configuration_snapshot_info_slot_async(resource_group_name, name, slot,
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs'
request_url = @base_url || @client.base_url
@@ -16770,13 +17615,13 @@ def list_configuration_snapshot_info_slot_async(resource_group_name, name, slot,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:get, path_template, options)
+ promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 204 || status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -16790,15 +17635,7 @@ def list_configuration_snapshot_info_slot_async(resource_group_name, name, slot,
required: false,
serialized_name: 'parsed_response',
type: {
- name: 'Sequence',
- element: {
- required: false,
- serialized_name: 'SiteConfigurationSnapshotInfoElementType',
- type: {
- name: 'Composite',
- class_name: 'SiteConfigurationSnapshotInfo'
- }
- }
+ name: 'Stream'
}
}
result.body = @client.deserialize(result_mapper, parsed_response)
@@ -16814,66 +17651,62 @@ def list_configuration_snapshot_info_slot_async(resource_group_name, name, slot,
end
#
- # Gets a snapshot of the configuration of an app at a previous point in time.
+ # Gets the ZIP archived docker log files for the given site
#
- # Gets a snapshot of the configuration of an app at a previous point in time.
+ # Gets the ZIP archived docker log files for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param snapshot_id [String] The ID of the snapshot to read.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
+ # @param name [String] Name of web app.
+ # @param slot [String] Name of web app slot. If not specified then will default
+ # to production slot.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [SiteConfigResource] operation results.
+ # @return [NOT_IMPLEMENTED] operation results.
#
- def get_configuration_snapshot_slot(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
- response = get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers).value!
+ def get_container_logs_zip_slot(resource_group_name, name, slot, custom_headers = nil)
+ response = get_container_logs_zip_slot_async(resource_group_name, name, slot, custom_headers).value!
response.body unless response.nil?
end
#
- # Gets a snapshot of the configuration of an app at a previous point in time.
+ # Gets the ZIP archived docker log files for the given site
#
- # Gets a snapshot of the configuration of an app at a previous point in time.
+ # Gets the ZIP archived docker log files for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param snapshot_id [String] The ID of the snapshot to read.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
+ # @param name [String] Name of web app.
+ # @param slot [String] Name of web app slot. If not specified then will default
+ # to production slot.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_configuration_snapshot_slot_with_http_info(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
- get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers).value!
+ def get_container_logs_zip_slot_with_http_info(resource_group_name, name, slot, custom_headers = nil)
+ get_container_logs_zip_slot_async(resource_group_name, name, slot, custom_headers).value!
end
#
- # Gets a snapshot of the configuration of an app at a previous point in time.
+ # Gets the ZIP archived docker log files for the given site
#
- # Gets a snapshot of the configuration of an app at a previous point in time.
+ # Gets the ZIP archived docker log files for the given site
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
- # @param name [String] Name of the app.
- # @param snapshot_id [String] The ID of the snapshot to read.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
+ # @param name [String] Name of web app.
+ # @param slot [String] Name of web app slot. If not specified then will default
+ # to production slot.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
+ def get_container_logs_zip_slot_async(resource_group_name, name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'snapshot_id is nil' if snapshot_id.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -16884,24 +17717,24 @@ def get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/containerlogs/zip/download'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'snapshotId' => snapshot_id,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:get, path_template, options)
+ promise = @client.make_request_async(:post, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 204 || status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -16911,7 +17744,13 @@ def get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResource.mapper()
+ result_mapper = {
+ required: false,
+ serialized_name: 'parsed_response',
+ type: {
+ name: 'Stream'
+ }
+ }
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -16924,106 +17763,6 @@ def get_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id
promise.execute
end
- #
- # Reverts the configuration of an app to a previous snapshot.
- #
- # Reverts the configuration of an app to a previous snapshot.
- #
- # @param resource_group_name [String] Name of the resource group to which the
- # resource belongs.
- # @param name [String] Name of the app.
- # @param snapshot_id [String] The ID of the snapshot to read.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
- # will be added to the HTTP request.
- #
- #
- def recover_site_configuration_snapshot_slot(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
- response = recover_site_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers).value!
- nil
- end
-
- #
- # Reverts the configuration of an app to a previous snapshot.
- #
- # Reverts the configuration of an app to a previous snapshot.
- #
- # @param resource_group_name [String] Name of the resource group to which the
- # resource belongs.
- # @param name [String] Name of the app.
- # @param snapshot_id [String] The ID of the snapshot to read.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
- # will be added to the HTTP request.
- #
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
- #
- def recover_site_configuration_snapshot_slot_with_http_info(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
- recover_site_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers).value!
- end
-
- #
- # Reverts the configuration of an app to a previous snapshot.
- #
- # Reverts the configuration of an app to a previous snapshot.
- #
- # @param resource_group_name [String] Name of the resource group to which the
- # resource belongs.
- # @param name [String] Name of the app.
- # @param snapshot_id [String] The ID of the snapshot to read.
- # @param slot [String] Name of the deployment slot. If a slot is not specified,
- # the API will return configuration for the production slot.
- # @param [Hash{String => String}] A hash of custom headers that will be added
- # to the HTTP request.
- #
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
- #
- def recover_site_configuration_snapshot_slot_async(resource_group_name, name, snapshot_id, slot, custom_headers = nil)
- fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
- fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'snapshot_id is nil' if snapshot_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
- fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
- fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
-
-
- request_headers = {}
-
- # Set Headers
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover'
-
- request_url = @base_url || @client.base_url
-
- options = {
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'snapshotId' => snapshot_id,'slot' => slot,'subscriptionId' => @client.subscription_id},
- query_params: {'api-version' => @client.api_version},
- headers: request_headers.merge(custom_headers || {}),
- base_url: request_url
- }
- promise = @client.make_request_async(:post, path_template, options)
-
- promise = promise.then do |result|
- http_response = result.response
- status_code = http_response.status
- response_content = http_response.body
- unless status_code == 204
- error_model = JSON.load(response_content)
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
- end
-
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
-
- result
- end
-
- promise.execute
- end
-
#
# List continuous web jobs for an app, or a deployment slot.
#
@@ -17139,17 +17878,16 @@ def list_continuous_web_jobs_slot_async(resource_group_name, name, slot, custom_
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [ContinuousWebJob] operation results.
#
- def get_continuous_web_job_slot(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- response = get_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def get_continuous_web_job_slot(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ response = get_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
response.body unless response.nil?
end
@@ -17161,17 +17899,16 @@ def get_continuous_web_job_slot(resource_group_name, name, web_job_id, slot, web
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_continuous_web_job_slot_with_http_info(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- get_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def get_continuous_web_job_slot_with_http_info(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ get_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
end
#
@@ -17182,21 +17919,19 @@ def get_continuous_web_job_slot_with_http_info(resource_group_name, name, web_jo
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
+ def get_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -17212,8 +17947,8 @@ def get_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slo
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -17254,16 +17989,15 @@ def get_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slo
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def delete_continuous_web_job_slot(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- response = delete_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def delete_continuous_web_job_slot(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ response = delete_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
nil
end
@@ -17275,17 +18009,16 @@ def delete_continuous_web_job_slot(resource_group_name, name, web_job_id, slot,
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def delete_continuous_web_job_slot_with_http_info(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- delete_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def delete_continuous_web_job_slot_with_http_info(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ delete_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
end
#
@@ -17296,21 +18029,19 @@ def delete_continuous_web_job_slot_with_http_info(resource_group_name, name, web
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def delete_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
+ def delete_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -17326,8 +18057,8 @@ def delete_continuous_web_job_slot_async(resource_group_name, name, web_job_id,
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -17358,16 +18089,15 @@ def delete_continuous_web_job_slot_async(resource_group_name, name, web_job_id,
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def start_continuous_web_job_slot(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- response = start_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def start_continuous_web_job_slot(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ response = start_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
nil
end
@@ -17379,17 +18109,16 @@ def start_continuous_web_job_slot(resource_group_name, name, web_job_id, slot, w
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def start_continuous_web_job_slot_with_http_info(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- start_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def start_continuous_web_job_slot_with_http_info(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ start_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
end
#
@@ -17400,21 +18129,19 @@ def start_continuous_web_job_slot_with_http_info(resource_group_name, name, web_
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def start_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
+ def start_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -17430,8 +18157,8 @@ def start_continuous_web_job_slot_async(resource_group_name, name, web_job_id, s
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -17462,16 +18189,15 @@ def start_continuous_web_job_slot_async(resource_group_name, name, web_job_id, s
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def stop_continuous_web_job_slot(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- response = stop_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def stop_continuous_web_job_slot(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ response = stop_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
nil
end
@@ -17483,17 +18209,16 @@ def stop_continuous_web_job_slot(resource_group_name, name, web_job_id, slot, we
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def stop_continuous_web_job_slot_with_http_info(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- stop_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def stop_continuous_web_job_slot_with_http_info(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ stop_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
end
#
@@ -17504,21 +18229,19 @@ def stop_continuous_web_job_slot_with_http_info(resource_group_name, name, web_j
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def stop_continuous_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
+ def stop_continuous_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -17534,8 +18257,8 @@ def stop_continuous_web_job_slot_async(resource_group_name, name, web_job_id, sl
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -22063,7 +22786,7 @@ def delete_instance_process_slot_async(resource_group_name, name, process_id, sl
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Object] operation results.
+ # @return [NOT_IMPLEMENTED] operation results.
#
def get_instance_process_dump_slot(resource_group_name, name, process_id, slot, instance_id, custom_headers = nil)
response = get_instance_process_dump_slot_async(resource_group_name, name, process_id, slot, instance_id, custom_headers).value!
@@ -22154,6 +22877,22 @@ def get_instance_process_dump_slot_async(resource_group_name, name, process_id,
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = {
+ required: false,
+ serialized_name: 'parsed_response',
+ type: {
+ name: 'Stream'
+ }
+ }
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -22305,14 +23044,13 @@ def list_instance_process_modules_slot_async(resource_group_name, name, process_
# @param instance_id [String] 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 base_address1 [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [ProcessModuleInfo] operation results.
#
- def get_instance_process_module_slot(resource_group_name, name, process_id, base_address, slot, instance_id, base_address1, custom_headers = nil)
- response = get_instance_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, instance_id, base_address1, custom_headers).value!
+ def get_instance_process_module_slot(resource_group_name, name, process_id, base_address, slot, instance_id, custom_headers = nil)
+ response = get_instance_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, instance_id, custom_headers).value!
response.body unless response.nil?
end
@@ -22333,14 +23071,13 @@ def get_instance_process_module_slot(resource_group_name, name, process_id, base
# @param instance_id [String] 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 base_address1 [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_instance_process_module_slot_with_http_info(resource_group_name, name, process_id, base_address, slot, instance_id, base_address1, custom_headers = nil)
- get_instance_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, instance_id, base_address1, custom_headers).value!
+ def get_instance_process_module_slot_with_http_info(resource_group_name, name, process_id, base_address, slot, instance_id, custom_headers = nil)
+ get_instance_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, instance_id, custom_headers).value!
end
#
@@ -22360,20 +23097,18 @@ def get_instance_process_module_slot_with_http_info(resource_group_name, name, p
# @param instance_id [String] 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 base_address1 [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_instance_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, instance_id, base_address1, custom_headers = nil)
+ def get_instance_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, instance_id, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'process_id is nil' if process_id.nil?
fail ArgumentError, 'base_address is nil' if base_address.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'instance_id is nil' if instance_id.nil?
- fail ArgumentError, 'base_address1 is nil' if base_address1.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -22383,14 +23118,14 @@ def get_instance_process_module_slot_async(resource_group_name, name, process_id
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{base_address}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{baseAddress}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'slot' => slot,'instanceId' => instance_id,'base_address' => base_address1,'subscriptionId' => @client.subscription_id},
- query_params: {'baseAddress' => base_address,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'baseAddress' => base_address,'slot' => slot,'instanceId' => instance_id,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -23676,7 +24411,7 @@ def generate_new_site_publishing_password_slot_async(resource_group_name, name,
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 204
+ unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -24713,7 +25448,7 @@ def delete_process_slot_async(resource_group_name, name, process_id, slot, custo
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Object] operation results.
+ # @return [NOT_IMPLEMENTED] operation results.
#
def get_process_dump_slot(resource_group_name, name, process_id, slot, custom_headers = nil)
response = get_process_dump_slot_async(resource_group_name, name, process_id, slot, custom_headers).value!
@@ -24797,6 +25532,22 @@ def get_process_dump_slot_async(resource_group_name, name, process_id, slot, cus
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = {
+ required: false,
+ serialized_name: 'parsed_response',
+ type: {
+ name: 'Stream'
+ }
+ }
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -24935,14 +25686,13 @@ def list_process_modules_slot_async(resource_group_name, name, process_id, slot,
# @param base_address [String] Module base address.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API returns deployments for the production slot.
- # @param base_address1 [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [ProcessModuleInfo] operation results.
#
- def get_process_module_slot(resource_group_name, name, process_id, base_address, slot, base_address1, custom_headers = nil)
- response = get_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, base_address1, custom_headers).value!
+ def get_process_module_slot(resource_group_name, name, process_id, base_address, slot, custom_headers = nil)
+ response = get_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, custom_headers).value!
response.body unless response.nil?
end
@@ -24960,14 +25710,13 @@ def get_process_module_slot(resource_group_name, name, process_id, base_address,
# @param base_address [String] Module base address.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API returns deployments for the production slot.
- # @param base_address1 [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_process_module_slot_with_http_info(resource_group_name, name, process_id, base_address, slot, base_address1, custom_headers = nil)
- get_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, base_address1, custom_headers).value!
+ def get_process_module_slot_with_http_info(resource_group_name, name, process_id, base_address, slot, custom_headers = nil)
+ get_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, custom_headers).value!
end
#
@@ -24984,19 +25733,17 @@ def get_process_module_slot_with_http_info(resource_group_name, name, process_id
# @param base_address [String] Module base address.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API returns deployments for the production slot.
- # @param base_address1 [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, base_address1, custom_headers = nil)
+ def get_process_module_slot_async(resource_group_name, name, process_id, base_address, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'process_id is nil' if process_id.nil?
fail ArgumentError, 'base_address is nil' if base_address.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
- fail ArgumentError, 'base_address1 is nil' if base_address1.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -25006,14 +25753,14 @@ def get_process_module_slot_async(resource_group_name, name, process_id, base_ad
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{base_address}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{baseAddress}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'slot' => slot,'base_address' => base_address1,'subscriptionId' => @client.subscription_id},
- query_params: {'baseAddress' => base_address,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'processId' => process_id,'baseAddress' => base_address,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -26255,14 +27002,13 @@ def list_site_extensions_slot_async(resource_group_name, name, slot, custom_head
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SiteExtensionInfo] operation results.
#
- def get_site_extension_slot(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
- response = get_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers).value!
+ def get_site_extension_slot(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
+ response = get_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers).value!
response.body unless response.nil?
end
@@ -26279,14 +27025,13 @@ def get_site_extension_slot(resource_group_name, name, site_extension_id, slot,
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_site_extension_slot_with_http_info(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
- get_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers).value!
+ def get_site_extension_slot_with_http_info(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
+ get_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers).value!
end
#
@@ -26302,18 +27047,16 @@ def get_site_extension_slot_with_http_info(resource_group_name, name, site_exten
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
+ def get_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
- fail ArgumentError, 'extension_name is nil' if extension_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -26323,14 +27066,14 @@ def get_site_extension_slot_async(resource_group_name, name, site_extension_id,
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{extensionName}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'extensionName' => extension_name,'subscriptionId' => @client.subscription_id},
- query_params: {'siteExtensionId' => site_extension_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'siteExtensionId' => site_extension_id,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -26374,14 +27117,13 @@ def get_site_extension_slot_async(resource_group_name, name, site_extension_id,
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SiteExtensionInfo] operation results.
#
- def install_site_extension_slot(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
- response = install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers).value!
+ def install_site_extension_slot(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
+ response = install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers).value!
response.body unless response.nil?
end
@@ -26392,16 +27134,15 @@ def install_site_extension_slot(resource_group_name, name, site_extension_id, sl
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Concurrent::Promise] promise which provides async access to http
# response.
#
- def install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
+ def install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
# Send request
- promise = begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers)
+ promise = begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers)
promise = promise.then do |response|
# Defining deserialization method.
@@ -26428,13 +27169,12 @@ def install_site_extension_slot_async(resource_group_name, name, site_extension_
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def delete_site_extension_slot(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
- response = delete_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers).value!
+ def delete_site_extension_slot(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
+ response = delete_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers).value!
nil
end
@@ -26449,14 +27189,13 @@ def delete_site_extension_slot(resource_group_name, name, site_extension_id, slo
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def delete_site_extension_slot_with_http_info(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
- delete_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers).value!
+ def delete_site_extension_slot_with_http_info(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
+ delete_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers).value!
end
#
@@ -26470,18 +27209,16 @@ def delete_site_extension_slot_with_http_info(resource_group_name, name, site_ex
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def delete_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
+ def delete_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
- fail ArgumentError, 'extension_name is nil' if extension_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -26491,14 +27228,14 @@ def delete_site_extension_slot_async(resource_group_name, name, site_extension_i
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{extensionName}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'extensionName' => extension_name,'subscriptionId' => @client.subscription_id},
- query_params: {'siteExtensionId' => site_extension_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'siteExtensionId' => site_extension_id,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -27055,6 +27792,139 @@ def delete_source_control_slot_async(resource_group_name, name, slot, custom_hea
promise.execute
end
+ #
+ # Updates the source control configuration of an app.
+ #
+ # Updates the source control configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param site_source_control [SiteSourceControl] JSON representation of a
+ # SiteSourceControl object. See example.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will update the source control configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [SiteSourceControl] operation results.
+ #
+ def update_source_control_slot(resource_group_name, name, site_source_control, slot, custom_headers = nil)
+ response = update_source_control_slot_async(resource_group_name, name, site_source_control, slot, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Updates the source control configuration of an app.
+ #
+ # Updates the source control configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param site_source_control [SiteSourceControl] JSON representation of a
+ # SiteSourceControl object. See example.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will update the source control configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_source_control_slot_with_http_info(resource_group_name, name, site_source_control, slot, custom_headers = nil)
+ update_source_control_slot_async(resource_group_name, name, site_source_control, slot, custom_headers).value!
+ end
+
+ #
+ # Updates the source control configuration of an app.
+ #
+ # Updates the source control configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param site_source_control [SiteSourceControl] JSON representation of a
+ # SiteSourceControl object. See example.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will update the source control configuration for the production slot.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_source_control_slot_async(resource_group_name, name, site_source_control, slot, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'site_source_control is nil' if site_source_control.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
+ request_content = @client.serialize(request_mapper, site_source_control)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 201
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 201
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Starts an app (or deployment slot, if specified).
#
@@ -27554,17 +28424,16 @@ def list_triggered_web_jobs_slot_async(resource_group_name, name, slot, custom_h
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TriggeredWebJob] operation results.
#
- def get_triggered_web_job_slot(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- response = get_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def get_triggered_web_job_slot(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ response = get_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
response.body unless response.nil?
end
@@ -27576,17 +28445,16 @@ def get_triggered_web_job_slot(resource_group_name, name, web_job_id, slot, web_
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_triggered_web_job_slot_with_http_info(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- get_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def get_triggered_web_job_slot_with_http_info(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ get_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
end
#
@@ -27597,21 +28465,19 @@ def get_triggered_web_job_slot_with_http_info(resource_group_name, name, web_job
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
+ def get_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -27627,8 +28493,8 @@ def get_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -27669,16 +28535,15 @@ def get_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def delete_triggered_web_job_slot(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- response = delete_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def delete_triggered_web_job_slot(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ response = delete_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
nil
end
@@ -27690,17 +28555,16 @@ def delete_triggered_web_job_slot(resource_group_name, name, web_job_id, slot, w
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def delete_triggered_web_job_slot_with_http_info(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- delete_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def delete_triggered_web_job_slot_with_http_info(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ delete_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
end
#
@@ -27711,21 +28575,19 @@ def delete_triggered_web_job_slot_with_http_info(resource_group_name, name, web_
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def delete_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
+ def delete_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -27741,8 +28603,8 @@ def delete_triggered_web_job_slot_async(resource_group_name, name, web_job_id, s
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -27773,17 +28635,16 @@ def delete_triggered_web_job_slot_async(resource_group_name, name, web_job_id, s
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Array] operation results.
#
- def list_triggered_web_job_history_slot(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- first_page = list_triggered_web_job_history_slot_as_lazy(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers)
+ def list_triggered_web_job_history_slot(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ first_page = list_triggered_web_job_history_slot_as_lazy(resource_group_name, name, web_job_name, slot, custom_headers)
first_page.get_all_items
end
@@ -27795,17 +28656,16 @@ def list_triggered_web_job_history_slot(resource_group_name, name, web_job_id, s
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_triggered_web_job_history_slot_with_http_info(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- list_triggered_web_job_history_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def list_triggered_web_job_history_slot_with_http_info(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ list_triggered_web_job_history_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
end
#
@@ -27816,21 +28676,19 @@ def list_triggered_web_job_history_slot_with_http_info(resource_group_name, name
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_triggered_web_job_history_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
+ def list_triggered_web_job_history_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -27846,8 +28704,8 @@ def list_triggered_web_job_history_slot_async(resource_group_name, name, web_job
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -27890,18 +28748,17 @@ def list_triggered_web_job_history_slot_async(resource_group_name, name, web_job
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param id [String] History ID.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TriggeredJobHistory] operation results.
#
- def get_triggered_web_job_history_slot(resource_group_name, name, web_job_id, id, slot, web_job_name, custom_headers = nil)
- response = get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_id, id, slot, web_job_name, custom_headers).value!
+ def get_triggered_web_job_history_slot(resource_group_name, name, web_job_name, id, slot, custom_headers = nil)
+ response = get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_name, id, slot, custom_headers).value!
response.body unless response.nil?
end
@@ -27915,18 +28772,17 @@ def get_triggered_web_job_history_slot(resource_group_name, name, web_job_id, id
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param id [String] History ID.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_triggered_web_job_history_slot_with_http_info(resource_group_name, name, web_job_id, id, slot, web_job_name, custom_headers = nil)
- get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_id, id, slot, web_job_name, custom_headers).value!
+ def get_triggered_web_job_history_slot_with_http_info(resource_group_name, name, web_job_name, id, slot, custom_headers = nil)
+ get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_name, id, slot, custom_headers).value!
end
#
@@ -27939,23 +28795,21 @@ def get_triggered_web_job_history_slot_with_http_info(resource_group_name, name,
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param id [String] History ID.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_id, id, slot, web_job_name, custom_headers = nil)
+ def get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_name, id, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
+ fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, 'id is nil' if id.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
- fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -27971,8 +28825,8 @@ def get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'id' => id,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'id' => id,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -28013,16 +28867,15 @@ def get_triggered_web_job_history_slot_async(resource_group_name, name, web_job_
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def run_triggered_web_job_slot(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- response = run_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def run_triggered_web_job_slot(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ response = run_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
nil
end
@@ -28034,17 +28887,16 @@ def run_triggered_web_job_slot(resource_group_name, name, web_job_id, slot, web_
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def run_triggered_web_job_slot_with_http_info(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- run_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def run_triggered_web_job_slot_with_http_info(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ run_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
end
#
@@ -28055,21 +28907,19 @@ def run_triggered_web_job_slot_with_http_info(resource_group_name, name, web_job
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def run_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
+ def run_triggered_web_job_slot_async(resource_group_name, name, web_job_name, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'slot is nil' if slot.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -28085,8 +28935,8 @@ def run_triggered_web_job_slot_async(resource_group_name, name, web_job_id, slot
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -29698,7 +30548,107 @@ def list_snapshots_async(resource_group_name, name, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SnapshotCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SnapshotCollection.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # Gets the source control configuration of an app.
+ #
+ # Gets the source control configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [SiteSourceControl] operation results.
+ #
+ def get_source_control(resource_group_name, name, custom_headers = nil)
+ response = get_source_control_async(resource_group_name, name, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Gets the source control configuration of an app.
+ #
+ # Gets the source control configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def get_source_control_with_http_info(resource_group_name, name, custom_headers = nil)
+ get_source_control_async(resource_group_name, name, custom_headers).value!
+ end
+
+ #
+ # Gets the source control configuration of an app.
+ #
+ # Gets the source control configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def get_source_control_async(resource_group_name, name, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -29712,27 +30662,76 @@ def list_snapshots_async(resource_group_name, name, custom_headers = nil)
end
#
- # Gets the source control configuration of an app.
+ # Updates the source control configuration of an app.
#
- # Gets the source control configuration of an app.
+ # Updates the source control configuration of an app.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
+ # @param site_source_control [SiteSourceControl] JSON representation of a
+ # SiteSourceControl object. See example.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SiteSourceControl] operation results.
#
- def get_source_control(resource_group_name, name, custom_headers = nil)
- response = get_source_control_async(resource_group_name, name, custom_headers).value!
+ def create_or_update_source_control(resource_group_name, name, site_source_control, custom_headers = nil)
+ response = create_or_update_source_control_async(resource_group_name, name, site_source_control, custom_headers).value!
response.body unless response.nil?
end
#
- # Gets the source control configuration of an app.
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param site_source_control [SiteSourceControl] JSON representation of a
+ # SiteSourceControl object. See example.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
#
- # Gets the source control configuration of an app.
+ # @return [Concurrent::Promise] promise which provides async access to http
+ # response.
+ #
+ def create_or_update_source_control_async(resource_group_name, name, site_source_control, custom_headers = nil)
+ # Send request
+ promise = begin_create_or_update_source_control_async(resource_group_name, name, site_source_control, custom_headers)
+
+ promise = promise.then do |response|
+ # Defining deserialization method.
+ deserialize_method = lambda do |parsed_response|
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
+ parsed_response = @client.deserialize(result_mapper, parsed_response)
+ end
+
+ # Waiting for response.
+ @client.get_long_running_operation_result(response, deserialize_method)
+ end
+
+ promise
+ end
+
+ #
+ # Deletes the source control configuration of an app.
+ #
+ # Deletes the source control configuration of an app.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ #
+ def delete_source_control(resource_group_name, name, custom_headers = nil)
+ response = delete_source_control_async(resource_group_name, name, custom_headers).value!
+ nil
+ end
+
+ #
+ # Deletes the source control configuration of an app.
+ #
+ # Deletes the source control configuration of an app.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
@@ -29742,14 +30741,14 @@ def get_source_control(resource_group_name, name, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_source_control_with_http_info(resource_group_name, name, custom_headers = nil)
- get_source_control_async(resource_group_name, name, custom_headers).value!
+ def delete_source_control_with_http_info(resource_group_name, name, custom_headers = nil)
+ delete_source_control_async(resource_group_name, name, custom_headers).value!
end
#
- # Gets the source control configuration of an app.
+ # Deletes the source control configuration of an app.
#
- # Gets the source control configuration of an app.
+ # Deletes the source control configuration of an app.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
@@ -29759,7 +30758,7 @@ def get_source_control_with_http_info(resource_group_name, name, custom_headers
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_source_control_async(resource_group_name, name, custom_headers = nil)
+ def delete_source_control_async(resource_group_name, name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
@@ -29782,28 +30781,18 @@ def get_source_control_async(resource_group_name, name, custom_headers = nil)
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:get, path_template, options)
+ promise = @client.make_request_async(:delete, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 200 || status_code == 202 || status_code == 404
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
- # Deserialize Response
- if status_code == 200
- begin
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
- result.body = @client.deserialize(result_mapper, parsed_response)
- rescue Exception => e
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
- end
- end
result
end
@@ -29826,91 +30815,49 @@ def get_source_control_async(resource_group_name, name, custom_headers = nil)
#
# @return [SiteSourceControl] operation results.
#
- def create_or_update_source_control(resource_group_name, name, site_source_control, custom_headers = nil)
- response = create_or_update_source_control_async(resource_group_name, name, site_source_control, custom_headers).value!
+ def update_source_control(resource_group_name, name, site_source_control, custom_headers = nil)
+ response = update_source_control_async(resource_group_name, name, site_source_control, custom_headers).value!
response.body unless response.nil?
end
#
- # @param resource_group_name [String] Name of the resource group to which the
- # resource belongs.
- # @param name [String] Name of the app.
- # @param site_source_control [SiteSourceControl] JSON representation of a
- # SiteSourceControl object. See example.
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
- # will be added to the HTTP request.
- #
- # @return [Concurrent::Promise] promise which provides async access to http
- # response.
- #
- def create_or_update_source_control_async(resource_group_name, name, site_source_control, custom_headers = nil)
- # Send request
- promise = begin_create_or_update_source_control_async(resource_group_name, name, site_source_control, custom_headers)
-
- promise = promise.then do |response|
- # Defining deserialization method.
- deserialize_method = lambda do |parsed_response|
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
- parsed_response = @client.deserialize(result_mapper, parsed_response)
- end
-
- # Waiting for response.
- @client.get_long_running_operation_result(response, deserialize_method)
- end
-
- promise
- end
-
- #
- # Deletes the source control configuration of an app.
- #
- # Deletes the source control configuration of an app.
- #
- # @param resource_group_name [String] Name of the resource group to which the
- # resource belongs.
- # @param name [String] Name of the app.
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
- # will be added to the HTTP request.
- #
- #
- def delete_source_control(resource_group_name, name, custom_headers = nil)
- response = delete_source_control_async(resource_group_name, name, custom_headers).value!
- nil
- end
-
- #
- # Deletes the source control configuration of an app.
+ # Updates the source control configuration of an app.
#
- # Deletes the source control configuration of an app.
+ # Updates the source control configuration of an app.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
+ # @param site_source_control [SiteSourceControl] JSON representation of a
+ # SiteSourceControl object. See example.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def delete_source_control_with_http_info(resource_group_name, name, custom_headers = nil)
- delete_source_control_async(resource_group_name, name, custom_headers).value!
+ def update_source_control_with_http_info(resource_group_name, name, site_source_control, custom_headers = nil)
+ update_source_control_async(resource_group_name, name, site_source_control, custom_headers).value!
end
#
- # Deletes the source control configuration of an app.
+ # Updates the source control configuration of an app.
#
- # Deletes the source control configuration of an app.
+ # Updates the source control configuration of an app.
#
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Name of the app.
+ # @param site_source_control [SiteSourceControl] JSON representation of a
+ # SiteSourceControl object. See example.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def delete_source_control_async(resource_group_name, name, custom_headers = nil)
+ def update_source_control_async(resource_group_name, name, site_source_control, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'site_source_control is nil' if site_source_control.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -29920,6 +30867,14 @@ def delete_source_control_async(resource_group_name, name, custom_headers = nil)
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
+ request_content = @client.serialize(request_mapper, site_source_control)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web'
request_url = @base_url || @client.base_url
@@ -29928,21 +30883,42 @@ def delete_source_control_async(resource_group_name, name, custom_headers = nil)
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
+ body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
- promise = @client.make_request_async(:delete, path_template, options)
+ promise = @client.make_request_async(:patch, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200 || status_code == 202 || status_code == 404
+ unless status_code == 200 || status_code == 201
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 201
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteSourceControl.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
result
end
@@ -30414,15 +31390,14 @@ def list_triggered_web_jobs_async(resource_group_name, name, custom_headers = ni
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TriggeredWebJob] operation results.
#
- def get_triggered_web_job(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- response = get_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def get_triggered_web_job(resource_group_name, name, web_job_name, custom_headers = nil)
+ response = get_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
response.body unless response.nil?
end
@@ -30434,15 +31409,14 @@ def get_triggered_web_job(resource_group_name, name, web_job_id, web_job_name, c
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_triggered_web_job_with_http_info(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- get_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def get_triggered_web_job_with_http_info(resource_group_name, name, web_job_name, custom_headers = nil)
+ get_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
end
#
@@ -30453,17 +31427,15 @@ def get_triggered_web_job_with_http_info(resource_group_name, name, web_job_id,
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
+ def get_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30481,7 +31453,7 @@ def get_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_n
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -30522,14 +31494,13 @@ def get_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_n
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def delete_triggered_web_job(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- response = delete_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def delete_triggered_web_job(resource_group_name, name, web_job_name, custom_headers = nil)
+ response = delete_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
nil
end
@@ -30541,15 +31512,14 @@ def delete_triggered_web_job(resource_group_name, name, web_job_id, web_job_name
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def delete_triggered_web_job_with_http_info(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- delete_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def delete_triggered_web_job_with_http_info(resource_group_name, name, web_job_name, custom_headers = nil)
+ delete_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
end
#
@@ -30560,17 +31530,15 @@ def delete_triggered_web_job_with_http_info(resource_group_name, name, web_job_i
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def delete_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
+ def delete_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30588,7 +31556,7 @@ def delete_triggered_web_job_async(resource_group_name, name, web_job_id, web_jo
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -30619,15 +31587,14 @@ def delete_triggered_web_job_async(resource_group_name, name, web_job_id, web_jo
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [Array] operation results.
#
- def list_triggered_web_job_history(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- first_page = list_triggered_web_job_history_as_lazy(resource_group_name, name, web_job_id, web_job_name, custom_headers)
+ def list_triggered_web_job_history(resource_group_name, name, web_job_name, custom_headers = nil)
+ first_page = list_triggered_web_job_history_as_lazy(resource_group_name, name, web_job_name, custom_headers)
first_page.get_all_items
end
@@ -30639,15 +31606,14 @@ def list_triggered_web_job_history(resource_group_name, name, web_job_id, web_jo
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_triggered_web_job_history_with_http_info(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- list_triggered_web_job_history_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def list_triggered_web_job_history_with_http_info(resource_group_name, name, web_job_name, custom_headers = nil)
+ list_triggered_web_job_history_async(resource_group_name, name, web_job_name, custom_headers).value!
end
#
@@ -30658,17 +31624,15 @@ def list_triggered_web_job_history_with_http_info(resource_group_name, name, web
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_triggered_web_job_history_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
+ def list_triggered_web_job_history_async(resource_group_name, name, web_job_name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30686,7 +31650,7 @@ def list_triggered_web_job_history_async(resource_group_name, name, web_job_id,
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -30729,16 +31693,15 @@ def list_triggered_web_job_history_async(resource_group_name, name, web_job_id,
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param id [String] History ID.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TriggeredJobHistory] operation results.
#
- def get_triggered_web_job_history(resource_group_name, name, web_job_id, id, web_job_name, custom_headers = nil)
- response = get_triggered_web_job_history_async(resource_group_name, name, web_job_id, id, web_job_name, custom_headers).value!
+ def get_triggered_web_job_history(resource_group_name, name, web_job_name, id, custom_headers = nil)
+ response = get_triggered_web_job_history_async(resource_group_name, name, web_job_name, id, custom_headers).value!
response.body unless response.nil?
end
@@ -30752,16 +31715,15 @@ def get_triggered_web_job_history(resource_group_name, name, web_job_id, id, web
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param id [String] History ID.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def get_triggered_web_job_history_with_http_info(resource_group_name, name, web_job_id, id, web_job_name, custom_headers = nil)
- get_triggered_web_job_history_async(resource_group_name, name, web_job_id, id, web_job_name, custom_headers).value!
+ def get_triggered_web_job_history_with_http_info(resource_group_name, name, web_job_name, id, custom_headers = nil)
+ get_triggered_web_job_history_async(resource_group_name, name, web_job_name, id, custom_headers).value!
end
#
@@ -30774,20 +31736,18 @@ def get_triggered_web_job_history_with_http_info(resource_group_name, name, web_
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param id [String] History ID.
- # @param web_job_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def get_triggered_web_job_history_async(resource_group_name, name, web_job_id, id, web_job_name, custom_headers = nil)
+ def get_triggered_web_job_history_async(resource_group_name, name, web_job_name, id, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
- fail ArgumentError, 'id is nil' if id.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
+ fail ArgumentError, 'id is nil' if id.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30803,8 +31763,8 @@ def get_triggered_web_job_history_async(resource_group_name, name, web_job_id, i
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'id' => id,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'id' => id,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -30845,14 +31805,13 @@ def get_triggered_web_job_history_async(resource_group_name, name, web_job_id, i
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
#
- def run_triggered_web_job(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- response = run_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def run_triggered_web_job(resource_group_name, name, web_job_name, custom_headers = nil)
+ response = run_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
nil
end
@@ -30864,15 +31823,14 @@ def run_triggered_web_job(resource_group_name, name, web_job_id, web_job_name, c
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def run_triggered_web_job_with_http_info(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- run_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def run_triggered_web_job_with_http_info(resource_group_name, name, web_job_name, custom_headers = nil)
+ run_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers).value!
end
#
@@ -30883,17 +31841,15 @@ def run_triggered_web_job_with_http_info(resource_group_name, name, web_job_id,
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def run_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
+ def run_triggered_web_job_async(resource_group_name, name, web_job_name, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
- fail ArgumentError, 'web_job_id is nil' if web_job_id.nil?
fail ArgumentError, 'web_job_name is nil' if web_job_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -30911,7 +31867,7 @@ def run_triggered_web_job_async(resource_group_name, name, web_job_id, web_job_n
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'name' => name,'webJobName' => web_job_name,'subscriptionId' => @client.subscription_id},
- query_params: {'webJobId' => web_job_id,'api-version' => @client.api_version},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -33270,14 +34226,13 @@ def begin_recover_async(resource_group_name, name, recovery_entity, custom_heade
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SiteExtensionInfo] operation results.
#
- def begin_install_site_extension(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
- response = begin_install_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers).value!
+ def begin_install_site_extension(resource_group_name, name, site_extension_id, custom_headers = nil)
+ response = begin_install_site_extension_async(resource_group_name, name, site_extension_id, custom_headers).value!
response.body unless response.nil?
end
@@ -33290,14 +34245,13 @@ def begin_install_site_extension(resource_group_name, name, site_extension_id, e
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def begin_install_site_extension_with_http_info(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
- begin_install_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers).value!
+ def begin_install_site_extension_with_http_info(resource_group_name, name, site_extension_id, custom_headers = nil)
+ begin_install_site_extension_async(resource_group_name, name, site_extension_id, custom_headers).value!
end
#
@@ -33309,17 +34263,15 @@ def begin_install_site_extension_with_http_info(resource_group_name, name, site_
# resource belongs.
# @param name [String] Site name.
# @param site_extension_id [String] Site extension name.
- # @param extension_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def begin_install_site_extension_async(resource_group_name, name, site_extension_id, extension_name, custom_headers = nil)
+ def begin_install_site_extension_async(resource_group_name, name, site_extension_id, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
- fail ArgumentError, 'extension_name is nil' if extension_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -33329,14 +34281,14 @@ def begin_install_site_extension_async(resource_group_name, name, site_extension
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{extensionName}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{siteExtensionId}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'extensionName' => extension_name,'subscriptionId' => @client.subscription_id},
- query_params: {'siteExtensionId' => site_extension_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'siteExtensionId' => site_extension_id,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -34273,14 +35225,13 @@ def begin_recover_slot_async(resource_group_name, name, recovery_entity, slot, c
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [SiteExtensionInfo] operation results.
#
- def begin_install_site_extension_slot(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
- response = begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers).value!
+ def begin_install_site_extension_slot(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
+ response = begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers).value!
response.body unless response.nil?
end
@@ -34295,14 +35246,13 @@ def begin_install_site_extension_slot(resource_group_name, name, site_extension_
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def begin_install_site_extension_slot_with_http_info(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
- begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers).value!
+ def begin_install_site_extension_slot_with_http_info(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
+ begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers).value!
end
#
@@ -34316,18 +35266,16 @@ def begin_install_site_extension_slot_with_http_info(resource_group_name, name,
# @param site_extension_id [String] Site extension name.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param extension_name [String]
# @param [Hash{String => String}] A hash of custom headers that will be added
# to the HTTP request.
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, extension_name, custom_headers = nil)
+ def begin_install_site_extension_slot_async(resource_group_name, name, site_extension_id, slot, custom_headers = nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'name is nil' if name.nil?
fail ArgumentError, 'site_extension_id is nil' if site_extension_id.nil?
fail ArgumentError, 'slot is nil' if slot.nil?
- fail ArgumentError, 'extension_name is nil' if extension_name.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
@@ -34337,14 +35285,14 @@ def begin_install_site_extension_slot_async(resource_group_name, name, site_exte
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{extensionName}'
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{siteExtensionId}'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- path_params: {'resourceGroupName' => resource_group_name,'name' => name,'slot' => slot,'extensionName' => extension_name,'subscriptionId' => @client.subscription_id},
- query_params: {'siteExtensionId' => site_extension_id,'api-version' => @client.api_version},
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'siteExtensionId' => site_extension_id,'slot' => slot,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
@@ -34957,26 +35905,119 @@ def list_next_async(next_page_link, custom_headers = nil)
end
#
- # Gets all web, mobile, and API apps in the specified resource group.
+ # Gets all web, mobile, and API apps in the specified resource group.
+ #
+ # Gets all web, mobile, and API apps in the specified resource group.
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [WebAppCollection] operation results.
+ #
+ def list_by_resource_group_next(next_page_link, custom_headers = nil)
+ response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Gets all web, mobile, and API apps in the specified resource group.
+ #
+ # Gets all web, mobile, and API apps in the specified resource group.
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
+ list_by_resource_group_next_async(next_page_link, custom_headers).value!
+ end
+
+ #
+ # Gets all web, mobile, and API apps in the specified resource group.
+ #
+ # Gets all web, mobile, and API apps in the specified resource group.
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = '{nextLink}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ skip_encoding_path_params: {'nextLink' => next_page_link},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::WebAppCollection.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # Gets existing backups of an app.
#
- # Gets all web, mobile, and API apps in the specified resource group.
+ # Gets existing backups of an app.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [WebAppCollection] operation results.
+ # @return [BackupItemCollection] operation results.
#
- def list_by_resource_group_next(next_page_link, custom_headers = nil)
- response = list_by_resource_group_next_async(next_page_link, custom_headers).value!
+ def list_backups_next(next_page_link, custom_headers = nil)
+ response = list_backups_next_async(next_page_link, custom_headers).value!
response.body unless response.nil?
end
#
- # Gets all web, mobile, and API apps in the specified resource group.
+ # Gets existing backups of an app.
#
- # Gets all web, mobile, and API apps in the specified resource group.
+ # Gets existing backups of an app.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -34985,14 +36026,14 @@ def list_by_resource_group_next(next_page_link, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_by_resource_group_next_with_http_info(next_page_link, custom_headers = nil)
- list_by_resource_group_next_async(next_page_link, custom_headers).value!
+ def list_backups_next_with_http_info(next_page_link, custom_headers = nil)
+ list_backups_next_async(next_page_link, custom_headers).value!
end
#
- # Gets all web, mobile, and API apps in the specified resource group.
+ # Gets existing backups of an app.
#
- # Gets all web, mobile, and API apps in the specified resource group.
+ # Gets existing backups of an app.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -35001,7 +36042,7 @@ def list_by_resource_group_next_with_http_info(next_page_link, custom_headers =
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
+ def list_backups_next_async(next_page_link, custom_headers = nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
@@ -35036,7 +36077,7 @@ def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::WebAppCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -35050,26 +36091,26 @@ def list_by_resource_group_next_async(next_page_link, custom_headers = nil)
end
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [BackupItemCollection] operation results.
+ # @return [SiteConfigResourceCollection] operation results.
#
- def list_backups_next(next_page_link, custom_headers = nil)
- response = list_backups_next_async(next_page_link, custom_headers).value!
+ def list_configurations_next(next_page_link, custom_headers = nil)
+ response = list_configurations_next_async(next_page_link, custom_headers).value!
response.body unless response.nil?
end
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -35078,14 +36119,14 @@ def list_backups_next(next_page_link, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_backups_next_with_http_info(next_page_link, custom_headers = nil)
- list_backups_next_async(next_page_link, custom_headers).value!
+ def list_configurations_next_with_http_info(next_page_link, custom_headers = nil)
+ list_configurations_next_async(next_page_link, custom_headers).value!
end
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -35094,7 +36135,7 @@ def list_backups_next_with_http_info(next_page_link, custom_headers = nil)
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_backups_next_async(next_page_link, custom_headers = nil)
+ def list_configurations_next_async(next_page_link, custom_headers = nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
@@ -35129,7 +36170,7 @@ def list_backups_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -35143,26 +36184,30 @@ def list_backups_next_async(next_page_link, custom_headers = nil)
end
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [SiteConfigResourceCollection] operation results.
+ # @return [SiteConfigurationSnapshotInfoCollection] operation results.
#
- def list_configurations_next(next_page_link, custom_headers = nil)
- response = list_configurations_next_async(next_page_link, custom_headers).value!
+ def list_configuration_snapshot_info_next(next_page_link, custom_headers = nil)
+ response = list_configuration_snapshot_info_next_async(next_page_link, custom_headers).value!
response.body unless response.nil?
end
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -35171,14 +36216,16 @@ def list_configurations_next(next_page_link, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_configurations_next_with_http_info(next_page_link, custom_headers = nil)
- list_configurations_next_async(next_page_link, custom_headers).value!
+ def list_configuration_snapshot_info_next_with_http_info(next_page_link, custom_headers = nil)
+ list_configuration_snapshot_info_next_async(next_page_link, custom_headers).value!
end
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -35187,7 +36234,7 @@ def list_configurations_next_with_http_info(next_page_link, custom_headers = nil
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_configurations_next_async(next_page_link, custom_headers = nil)
+ def list_configuration_snapshot_info_next_async(next_page_link, custom_headers = nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
@@ -35222,7 +36269,7 @@ def list_configurations_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -36544,7 +37591,199 @@ def list_process_modules_next_async(next_page_link, custom_headers = nil)
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200 || status_code == 404
+ unless status_code == 200 || status_code == 404
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfoCollection.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # 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 next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [ProcessThreadInfoCollection] operation results.
+ #
+ def list_process_threads_next(next_page_link, custom_headers = nil)
+ response = list_process_threads_next_async(next_page_link, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # 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 next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def list_process_threads_next_with_http_info(next_page_link, custom_headers = nil)
+ list_process_threads_next_async(next_page_link, custom_headers).value!
+ end
+
+ #
+ # 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 next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def list_process_threads_next_async(next_page_link, custom_headers = nil)
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = '{nextLink}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ skip_encoding_path_params: {'nextLink' => next_page_link},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 404
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfoCollection.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # Get public certificates for an app or a deployment slot.
+ #
+ # Get public certificates for an app or a deployment slot.
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [PublicCertificateCollection] operation results.
+ #
+ def list_public_certificates_next(next_page_link, custom_headers = nil)
+ response = list_public_certificates_next_async(next_page_link, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Get public certificates for an app or a deployment slot.
+ #
+ # Get public certificates for an app or a deployment slot.
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def list_public_certificates_next_with_http_info(next_page_link, custom_headers = nil)
+ list_public_certificates_next_async(next_page_link, custom_headers).value!
+ end
+
+ #
+ # Get public certificates for an app or a deployment slot.
+ #
+ # Get public certificates for an app or a deployment slot.
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def list_public_certificates_next_async(next_page_link, custom_headers = nil)
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = '{nextLink}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ skip_encoding_path_params: {'nextLink' => next_page_link},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -36554,7 +37793,7 @@ def list_process_modules_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ProcessModuleInfoCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -36568,30 +37807,26 @@ def list_process_modules_next_async(next_page_link, custom_headers = nil)
end
#
- # List the threads in a process by its ID for a specific scaled-out instance in
- # a web site.
+ # Get list of siteextensions for a web site, or a deployment slot.
#
- # List the threads in a process by its ID for a specific scaled-out instance in
- # a web site.
+ # Get list of siteextensions for a web site, or a deployment slot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [ProcessThreadInfoCollection] operation results.
+ # @return [SiteExtensionInfoCollection] operation results.
#
- def list_process_threads_next(next_page_link, custom_headers = nil)
- response = list_process_threads_next_async(next_page_link, custom_headers).value!
+ def list_site_extensions_next(next_page_link, custom_headers = nil)
+ response = list_site_extensions_next_async(next_page_link, custom_headers).value!
response.body unless response.nil?
end
#
- # List the threads in a process by its ID for a specific scaled-out instance in
- # a web site.
+ # Get list of siteextensions for a web site, or a deployment slot.
#
- # List the threads in a process by its ID for a specific scaled-out instance in
- # a web site.
+ # Get list of siteextensions for a web site, or a deployment slot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -36600,16 +37835,14 @@ def list_process_threads_next(next_page_link, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_process_threads_next_with_http_info(next_page_link, custom_headers = nil)
- list_process_threads_next_async(next_page_link, custom_headers).value!
+ def list_site_extensions_next_with_http_info(next_page_link, custom_headers = nil)
+ list_site_extensions_next_async(next_page_link, custom_headers).value!
end
#
- # List the threads in a process by its ID for a specific scaled-out instance in
- # a web site.
+ # Get list of siteextensions for a web site, or a deployment slot.
#
- # List the threads in a process by its ID for a specific scaled-out instance in
- # a web site.
+ # Get list of siteextensions for a web site, or a deployment slot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -36618,7 +37851,7 @@ def list_process_threads_next_with_http_info(next_page_link, custom_headers = ni
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_process_threads_next_async(next_page_link, custom_headers = nil)
+ def list_site_extensions_next_async(next_page_link, custom_headers = nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
@@ -36653,7 +37886,7 @@ def list_process_threads_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::ProcessThreadInfoCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -36667,26 +37900,26 @@ def list_process_threads_next_async(next_page_link, custom_headers = nil)
end
#
- # Get public certificates for an app or a deployment slot.
+ # Gets an app's deployment slots.
#
- # Get public certificates for an app or a deployment slot.
+ # Gets an app's deployment slots.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [PublicCertificateCollection] operation results.
+ # @return [WebAppCollection] operation results.
#
- def list_public_certificates_next(next_page_link, custom_headers = nil)
- response = list_public_certificates_next_async(next_page_link, custom_headers).value!
+ def list_slots_next(next_page_link, custom_headers = nil)
+ response = list_slots_next_async(next_page_link, custom_headers).value!
response.body unless response.nil?
end
#
- # Get public certificates for an app or a deployment slot.
+ # Gets an app's deployment slots.
#
- # Get public certificates for an app or a deployment slot.
+ # Gets an app's deployment slots.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -36695,14 +37928,14 @@ def list_public_certificates_next(next_page_link, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_public_certificates_next_with_http_info(next_page_link, custom_headers = nil)
- list_public_certificates_next_async(next_page_link, custom_headers).value!
+ def list_slots_next_with_http_info(next_page_link, custom_headers = nil)
+ list_slots_next_async(next_page_link, custom_headers).value!
end
#
- # Get public certificates for an app or a deployment slot.
+ # Gets an app's deployment slots.
#
- # Get public certificates for an app or a deployment slot.
+ # Gets an app's deployment slots.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -36711,7 +37944,7 @@ def list_public_certificates_next_with_http_info(next_page_link, custom_headers
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_public_certificates_next_async(next_page_link, custom_headers = nil)
+ def list_slots_next_async(next_page_link, custom_headers = nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
@@ -36746,100 +37979,7 @@ def list_public_certificates_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::PublicCertificateCollection.mapper()
- result.body = @client.deserialize(result_mapper, parsed_response)
- rescue Exception => e
- fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
- end
- end
-
- result
- end
-
- promise.execute
- end
-
- #
- # 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 next_page_link [String] The NextLink from the previous successful call
- # to List operation.
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
- # will be added to the HTTP request.
- #
- # @return [SiteExtensionInfoCollection] operation results.
- #
- def list_site_extensions_next(next_page_link, custom_headers = nil)
- response = list_site_extensions_next_async(next_page_link, custom_headers).value!
- response.body unless response.nil?
- end
-
- #
- # 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 next_page_link [String] The NextLink from the previous successful call
- # to List operation.
- # @param custom_headers [Hash{String => String}] A hash of custom headers that
- # will be added to the HTTP request.
- #
- # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
- #
- def list_site_extensions_next_with_http_info(next_page_link, custom_headers = nil)
- list_site_extensions_next_async(next_page_link, custom_headers).value!
- end
-
- #
- # 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 next_page_link [String] The NextLink from the previous successful call
- # to List operation.
- # @param [Hash{String => String}] A hash of custom headers that will be added
- # to the HTTP request.
- #
- # @return [Concurrent::Promise] Promise object which holds the HTTP response.
- #
- def list_site_extensions_next_async(next_page_link, custom_headers = nil)
- fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
-
-
- request_headers = {}
-
- # Set Headers
- request_headers['x-ms-client-request-id'] = SecureRandom.uuid
- request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
- path_template = '{nextLink}'
-
- request_url = @base_url || @client.base_url
-
- options = {
- middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
- skip_encoding_path_params: {'nextLink' => next_page_link},
- headers: request_headers.merge(custom_headers || {}),
- base_url: request_url
- }
- promise = @client.make_request_async(:get, path_template, options)
-
- promise = promise.then do |result|
- http_response = result.response
- status_code = http_response.status
- response_content = http_response.body
- unless status_code == 200 || status_code == 404
- error_model = JSON.load(response_content)
- fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
- end
-
- result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
- # Deserialize Response
- if status_code == 200
- begin
- parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteExtensionInfoCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::WebAppCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -36853,26 +37993,26 @@ def list_site_extensions_next_async(next_page_link, custom_headers = nil)
end
#
- # Gets an app's deployment slots.
+ # Gets existing backups of an app.
#
- # Gets an app's deployment slots.
+ # Gets existing backups of an app.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [WebAppCollection] operation results.
+ # @return [BackupItemCollection] operation results.
#
- def list_slots_next(next_page_link, custom_headers = nil)
- response = list_slots_next_async(next_page_link, custom_headers).value!
+ def list_backups_slot_next(next_page_link, custom_headers = nil)
+ response = list_backups_slot_next_async(next_page_link, custom_headers).value!
response.body unless response.nil?
end
#
- # Gets an app's deployment slots.
+ # Gets existing backups of an app.
#
- # Gets an app's deployment slots.
+ # Gets existing backups of an app.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -36881,14 +38021,14 @@ def list_slots_next(next_page_link, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_slots_next_with_http_info(next_page_link, custom_headers = nil)
- list_slots_next_async(next_page_link, custom_headers).value!
+ def list_backups_slot_next_with_http_info(next_page_link, custom_headers = nil)
+ list_backups_slot_next_async(next_page_link, custom_headers).value!
end
#
- # Gets an app's deployment slots.
+ # Gets existing backups of an app.
#
- # Gets an app's deployment slots.
+ # Gets existing backups of an app.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -36897,7 +38037,7 @@ def list_slots_next_with_http_info(next_page_link, custom_headers = nil)
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_slots_next_async(next_page_link, custom_headers = nil)
+ def list_backups_slot_next_async(next_page_link, custom_headers = nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
@@ -36932,7 +38072,7 @@ def list_slots_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::WebAppCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -36946,26 +38086,26 @@ def list_slots_next_async(next_page_link, custom_headers = nil)
end
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [BackupItemCollection] operation results.
+ # @return [SiteConfigResourceCollection] operation results.
#
- def list_backups_slot_next(next_page_link, custom_headers = nil)
- response = list_backups_slot_next_async(next_page_link, custom_headers).value!
+ def list_configurations_slot_next(next_page_link, custom_headers = nil)
+ response = list_configurations_slot_next_async(next_page_link, custom_headers).value!
response.body unless response.nil?
end
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -36974,14 +38114,14 @@ def list_backups_slot_next(next_page_link, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_backups_slot_next_with_http_info(next_page_link, custom_headers = nil)
- list_backups_slot_next_async(next_page_link, custom_headers).value!
+ def list_configurations_slot_next_with_http_info(next_page_link, custom_headers = nil)
+ list_configurations_slot_next_async(next_page_link, custom_headers).value!
end
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
- # Gets existing backups of an app.
+ # List the configurations of an app
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -36990,7 +38130,7 @@ def list_backups_slot_next_with_http_info(next_page_link, custom_headers = nil)
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_backups_slot_next_async(next_page_link, custom_headers = nil)
+ def list_configurations_slot_next_async(next_page_link, custom_headers = nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
@@ -37025,7 +38165,7 @@ def list_backups_slot_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::BackupItemCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -37039,26 +38179,30 @@ def list_backups_slot_next_async(next_page_link, custom_headers = nil)
end
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [SiteConfigResourceCollection] operation results.
+ # @return [SiteConfigurationSnapshotInfoCollection] operation results.
#
- def list_configurations_slot_next(next_page_link, custom_headers = nil)
- response = list_configurations_slot_next_async(next_page_link, custom_headers).value!
+ def list_configuration_snapshot_info_slot_next(next_page_link, custom_headers = nil)
+ response = list_configuration_snapshot_info_slot_next_async(next_page_link, custom_headers).value!
response.body unless response.nil?
end
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -37067,14 +38211,16 @@ def list_configurations_slot_next(next_page_link, custom_headers = nil)
#
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
#
- def list_configurations_slot_next_with_http_info(next_page_link, custom_headers = nil)
- list_configurations_slot_next_async(next_page_link, custom_headers).value!
+ def list_configuration_snapshot_info_slot_next_with_http_info(next_page_link, custom_headers = nil)
+ list_configuration_snapshot_info_slot_next_async(next_page_link, custom_headers).value!
end
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
- # List the configurations of an app
+ # Gets a list of web app configuration snapshots identifiers. Each element of
+ # the list contains a timestamp and the ID of the snapshot.
#
# @param next_page_link [String] The NextLink from the previous successful call
# to List operation.
@@ -37083,7 +38229,7 @@ def list_configurations_slot_next_with_http_info(next_page_link, custom_headers
#
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
#
- def list_configurations_slot_next_async(next_page_link, custom_headers = nil)
+ def list_configuration_snapshot_info_slot_next_async(next_page_link, custom_headers = nil)
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
@@ -37118,7 +38264,7 @@ def list_configurations_slot_next_async(next_page_link, custom_headers = nil)
if status_code == 200
begin
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
- result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigResourceCollection.mapper()
+ result_mapper = Azure::Web::Mgmt::V2016_08_01::Models::SiteConfigurationSnapshotInfoCollection.mapper()
result.body = @client.deserialize(result_mapper, parsed_response)
rescue Exception => e
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
@@ -39975,6 +41121,33 @@ def list_configurations_as_lazy(resource_group_name, name, custom_headers = nil)
end
end
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [SiteConfigurationSnapshotInfoCollection] which provide lazy access
+ # to pages of the response.
+ #
+ def list_configuration_snapshot_info_as_lazy(resource_group_name, name, custom_headers = nil)
+ response = list_configuration_snapshot_info_async(resource_group_name, name, custom_headers).value!
+ unless response.nil?
+ page = response.body
+ page.next_method = Proc.new do |next_page_link|
+ list_configuration_snapshot_info_next_async(next_page_link, custom_headers)
+ end
+ page
+ end
+ end
+
#
# List continuous web jobs for an app, or a deployment slot.
#
@@ -40514,6 +41687,35 @@ def list_configurations_slot_as_lazy(resource_group_name, name, slot, custom_hea
end
end
+ #
+ # 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 resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the app.
+ # @param slot [String] Name of the deployment slot. If a slot is not specified,
+ # the API will return configuration for the production slot.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [SiteConfigurationSnapshotInfoCollection] which provide lazy access
+ # to pages of the response.
+ #
+ def list_configuration_snapshot_info_slot_as_lazy(resource_group_name, name, slot, custom_headers = nil)
+ response = list_configuration_snapshot_info_slot_async(resource_group_name, name, slot, custom_headers).value!
+ unless response.nil?
+ page = response.body
+ page.next_method = Proc.new do |next_page_link|
+ list_configuration_snapshot_info_slot_next_async(next_page_link, custom_headers)
+ end
+ page
+ end
+ end
+
#
# List continuous web jobs for an app, or a deployment slot.
#
@@ -41098,18 +42300,17 @@ def list_triggered_web_jobs_slot_as_lazy(resource_group_name, name, slot, custom
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
+ # @param web_job_name [String] Name of Web Job.
# @param slot [String] Name of the deployment slot. If a slot is not specified,
# the API deletes a deployment for the production slot.
- # @param web_job_name [String]
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TriggeredJobHistoryCollection] which provide lazy access to pages of
# the response.
#
- def list_triggered_web_job_history_slot_as_lazy(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers = nil)
- response = list_triggered_web_job_history_slot_async(resource_group_name, name, web_job_id, slot, web_job_name, custom_headers).value!
+ def list_triggered_web_job_history_slot_as_lazy(resource_group_name, name, web_job_name, slot, custom_headers = nil)
+ response = list_triggered_web_job_history_slot_async(resource_group_name, name, web_job_name, slot, custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
@@ -41264,16 +42465,15 @@ def list_triggered_web_jobs_as_lazy(resource_group_name, name, custom_headers =
# @param resource_group_name [String] Name of the resource group to which the
# resource belongs.
# @param name [String] Site name.
- # @param web_job_id [String] Web job ID.
- # @param web_job_name [String]
+ # @param web_job_name [String] Name of Web Job.
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
# @return [TriggeredJobHistoryCollection] which provide lazy access to pages of
# the response.
#
- def list_triggered_web_job_history_as_lazy(resource_group_name, name, web_job_id, web_job_name, custom_headers = nil)
- response = list_triggered_web_job_history_async(resource_group_name, name, web_job_id, web_job_name, custom_headers).value!
+ def list_triggered_web_job_history_as_lazy(resource_group_name, name, web_job_name, custom_headers = nil)
+ response = list_triggered_web_job_history_async(resource_group_name, name, web_job_name, custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
diff --git a/management/azure_mgmt_web/lib/2016-09-01/build.json b/management/azure_mgmt_web/lib/2016-09-01/build.json
new file mode 100644
index 0000000000..3c6d7fd8cc
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-09-01/build.json
@@ -0,0 +1,225 @@
+{
+ "autorest": [
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest-core",
+ "version": "2.0.4168",
+ "engines": {
+ "node": ">=7.10.0"
+ },
+ "dependencies": {},
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/async-io": "~1.0.22",
+ "@microsoft.azure/extension": "~1.2.12",
+ "@types/commonmark": "^0.27.0",
+ "@types/jsonpath": "^0.1.29",
+ "@types/node": "^8.0.28",
+ "@types/pify": "0.0.28",
+ "@types/source-map": "^0.5.0",
+ "@types/yargs": "^8.0.2",
+ "commonmark": "^0.27.0",
+ "file-url": "^2.0.2",
+ "get-uri": "^2.0.0",
+ "jsonpath": "^0.2.11",
+ "linq-es2015": "^2.4.25",
+ "mocha": "3.4.2",
+ "mocha-typescript": "1.1.5",
+ "pify": "^3.0.0",
+ "safe-eval": "^0.3.0",
+ "shx": "^0.2.2",
+ "source-map": "^0.5.6",
+ "source-map-support": "^0.4.15",
+ "strip-bom": "^3.0.0",
+ "typescript": "2.5.3",
+ "untildify": "^3.0.2",
+ "urijs": "^1.18.10",
+ "vscode-jsonrpc": "^3.3.1",
+ "yaml-ast-parser": "https://github.com/olydis/yaml-ast-parser/releases/download/0.0.34/yaml-ast-parser-0.0.34.tgz",
+ "yargs": "^8.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_shasum": "33813111fc9bfa488bd600fbba48bc53cc9182c7",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest-core@2.0.4168",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core",
+ "_where": "/root/.autorest/@microsoft.azure_autorest-core@2.0.4168/node_modules/@microsoft.azure/autorest-core"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.0.21",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.3.2"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.1.1",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "3ce7d3939124b31830be15e5de99b9b7768afb90",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.0.21",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.0.21/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.modeler",
+ "version": "2.1.22",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_shasum": "ca425289fa38a210d279729048a4a91673f09c67",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.modeler@2.1.22",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.modeler@2.1.22/node_modules/@microsoft.azure/autorest.modeler"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ },
+ {
+ "resolvedInfo": null,
+ "packageMetadata": {
+ "name": "@microsoft.azure/autorest.ruby",
+ "version": "3.0.20",
+ "dependencies": {
+ "dotnet-2.0.0": "^1.4.4"
+ },
+ "optionalDependencies": {},
+ "devDependencies": {
+ "@microsoft.azure/autorest.testserver": "^1.9.2",
+ "autorest": "^2.0.0",
+ "coffee-script": "^1.11.1",
+ "dotnet-sdk-2.0.0": "^1.4.4",
+ "gulp": "^3.9.1",
+ "gulp-filter": "^5.0.0",
+ "gulp-line-ending-corrector": "^1.0.1",
+ "iced-coffee-script": "^108.0.11",
+ "marked": "^0.3.6",
+ "marked-terminal": "^2.0.0",
+ "moment": "^2.17.1",
+ "run-sequence": "*",
+ "shx": "^0.2.2",
+ "through2-parallel": "^0.1.3",
+ "yargs": "^8.0.2",
+ "yarn": "^1.0.2"
+ },
+ "bundleDependencies": false,
+ "peerDependencies": {},
+ "deprecated": false,
+ "_resolved": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_shasum": "f5b24eb17914aad0e8d2da581642044a6088d905",
+ "_shrinkwrap": null,
+ "bin": null,
+ "_id": "@microsoft.azure/autorest.ruby@3.0.20",
+ "_from": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_requested": {
+ "type": "directory",
+ "where": "/git-restapi",
+ "raw": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "rawSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "saveSpec": "file:/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "fetchSpec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "_spec": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby",
+ "_where": "/root/.autorest/@microsoft.azure_autorest.ruby@3.0.20/node_modules/@microsoft.azure/autorest.ruby"
+ },
+ "extensionManager": {
+ "installationPath": "/root/.autorest",
+ "dotnetPath": "/root/.dotnet"
+ },
+ "installationPath": "/root/.autorest"
+ }
+ ],
+ "autorest_bootstrap": {}
+}
\ No newline at end of file
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web.rb
index 5c94278912..efc1ffba7e 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web.rb
@@ -25,99 +25,102 @@ module Azure::Web::Mgmt::V2016_09_01
autoload :WebSiteManagementClient, '2016-09-01/generated/azure_mgmt_web/web_site_management_client.rb'
module Models
- autoload :RampUpRule, '2016-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
- autoload :Experiments, '2016-09-01/generated/azure_mgmt_web/models/experiments.rb'
+ autoload :HostingEnvironmentProfile, '2016-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
+ autoload :IpSecurityRestriction, '2016-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
autoload :AddressResponse, '2016-09-01/generated/azure_mgmt_web/models/address_response.rb'
- autoload :HandlerMapping, '2016-09-01/generated/azure_mgmt_web/models/handler_mapping.rb'
+ autoload :ApiDefinitionInfo, '2016-09-01/generated/azure_mgmt_web/models/api_definition_info.rb'
+ autoload :WorkerPool, '2016-09-01/generated/azure_mgmt_web/models/worker_pool.rb'
+ autoload :CorsSettings, '2016-09-01/generated/azure_mgmt_web/models/cors_settings.rb'
+ autoload :NetworkAccessControlEntry, '2016-09-01/generated/azure_mgmt_web/models/network_access_control_entry.rb'
+ autoload :AutoHealCustomAction, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
+ autoload :ResourceMetric, '2016-09-01/generated/azure_mgmt_web/models/resource_metric.rb'
+ autoload :ProxyOnlyResource, '2016-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
+ autoload :ManagedServiceIdentity, '2016-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb'
+ autoload :MetricAvailabilily, '2016-09-01/generated/azure_mgmt_web/models/metric_availabilily.rb'
+ autoload :SlotSwapStatus, '2016-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
+ autoload :SkuCapacity, '2016-09-01/generated/azure_mgmt_web/models/sku_capacity.rb'
+ autoload :CloningInfo, '2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb'
+ autoload :SkuDescription, '2016-09-01/generated/azure_mgmt_web/models/sku_description.rb'
+ autoload :VirtualIPMapping, '2016-09-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb'
+ autoload :SkuInfoCollection, '2016-09-01/generated/azure_mgmt_web/models/sku_info_collection.rb'
autoload :VirtualNetworkProfile, '2016-09-01/generated/azure_mgmt_web/models/virtual_network_profile.rb'
- autoload :HostNameSslState, '2016-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
+ autoload :HybridConnectionCollection, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb'
autoload :StampCapacity, '2016-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb'
- autoload :HostingEnvironmentDiagnostics, '2016-09-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb'
- autoload :NameValuePair, '2016-09-01/generated/azure_mgmt_web/models/name_value_pair.rb'
- autoload :IpSecurityRestriction, '2016-09-01/generated/azure_mgmt_web/models/ip_security_restriction.rb'
- autoload :AppServiceEnvironmentCollection, '2016-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb'
- autoload :MetricAvailabilily, '2016-09-01/generated/azure_mgmt_web/models/metric_availabilily.rb'
- autoload :HostingEnvironmentProfile, '2016-09-01/generated/azure_mgmt_web/models/hosting_environment_profile.rb'
- autoload :Capability, '2016-09-01/generated/azure_mgmt_web/models/capability.rb'
autoload :Operation, '2016-09-01/generated/azure_mgmt_web/models/operation.rb'
- autoload :UsageCollection, '2016-09-01/generated/azure_mgmt_web/models/usage_collection.rb'
- autoload :AppServicePlanCollection, '2016-09-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb'
- autoload :ProxyOnlyResource, '2016-09-01/generated/azure_mgmt_web/models/proxy_only_resource.rb'
- autoload :AutoHealActions, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
- autoload :ResourceCollection, '2016-09-01/generated/azure_mgmt_web/models/resource_collection.rb'
- autoload :StatusCodesBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
- autoload :Resource, '2016-09-01/generated/azure_mgmt_web/models/resource.rb'
- autoload :AutoHealTriggers, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
- autoload :ResourceMetricName, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
- autoload :CloningInfo, '2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb'
- autoload :ResourceMetricProperty, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_property.rb'
- autoload :CorsSettings, '2016-09-01/generated/azure_mgmt_web/models/cors_settings.rb'
- autoload :ResourceMetricValue, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
- autoload :CsmUsageQuota, '2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
- autoload :ResourceMetric, '2016-09-01/generated/azure_mgmt_web/models/resource_metric.rb'
+ autoload :NameValuePair, '2016-09-01/generated/azure_mgmt_web/models/name_value_pair.rb'
autoload :ErrorEntity, '2016-09-01/generated/azure_mgmt_web/models/error_entity.rb'
+ autoload :ResourceMetricValue, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_value.rb'
+ autoload :WebAppCollection, '2016-09-01/generated/azure_mgmt_web/models/web_app_collection.rb'
+ autoload :AutoHealActions, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_actions.rb'
+ autoload :SnapshotRecoveryTarget, '2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
+ autoload :SlowRequestsBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
autoload :ResourceMetricAvailability, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_availability.rb'
- autoload :ApiDefinitionInfo, '2016-09-01/generated/azure_mgmt_web/models/api_definition_info.rb'
+ autoload :StatusCodesBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/status_codes_based_trigger.rb'
+ autoload :LocalizableString, '2016-09-01/generated/azure_mgmt_web/models/localizable_string.rb'
+ autoload :RequestsBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
autoload :ResourceMetricCollection, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_collection.rb'
- autoload :NetworkAccessControlEntry, '2016-09-01/generated/azure_mgmt_web/models/network_access_control_entry.rb'
- autoload :HybridConnectionCollection, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_collection.rb'
+ autoload :AutoHealTriggers, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_triggers.rb'
+ autoload :HostingEnvironmentDiagnostics, '2016-09-01/generated/azure_mgmt_web/models/hosting_environment_diagnostics.rb'
+ autoload :AutoHealRules, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
+ autoload :Capability, '2016-09-01/generated/azure_mgmt_web/models/capability.rb'
+ autoload :SiteLimits, '2016-09-01/generated/azure_mgmt_web/models/site_limits.rb'
autoload :StampCapacityCollection, '2016-09-01/generated/azure_mgmt_web/models/stamp_capacity_collection.rb'
- autoload :SkuCapacity, '2016-09-01/generated/azure_mgmt_web/models/sku_capacity.rb'
- autoload :ResourceMetricDefinitionCollection, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb'
- autoload :AutoHealCustomAction, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_custom_action.rb'
- autoload :SiteMachineKey, '2016-09-01/generated/azure_mgmt_web/models/site_machine_key.rb'
- autoload :SlowRequestsBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/slow_requests_based_trigger.rb'
+ autoload :RampUpRule, '2016-09-01/generated/azure_mgmt_web/models/ramp_up_rule.rb'
+ autoload :WorkerPoolCollection, '2016-09-01/generated/azure_mgmt_web/models/worker_pool_collection.rb'
+ autoload :Experiments, '2016-09-01/generated/azure_mgmt_web/models/experiments.rb'
+ autoload :CsmUsageQuotaCollection, '2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
autoload :VirtualDirectory, '2016-09-01/generated/azure_mgmt_web/models/virtual_directory.rb'
- autoload :ConnStringInfo, '2016-09-01/generated/azure_mgmt_web/models/conn_string_info.rb'
+ autoload :ResourceMetricName, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_name.rb'
autoload :VirtualApplication, '2016-09-01/generated/azure_mgmt_web/models/virtual_application.rb'
- autoload :CsmUsageQuotaCollection, '2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota_collection.rb'
- autoload :SiteLimits, '2016-09-01/generated/azure_mgmt_web/models/site_limits.rb'
- autoload :WorkerPool, '2016-09-01/generated/azure_mgmt_web/models/worker_pool.rb'
- autoload :SiteConfig, '2016-09-01/generated/azure_mgmt_web/models/site_config.rb'
- autoload :SkuDescription, '2016-09-01/generated/azure_mgmt_web/models/sku_description.rb'
- autoload :SnapshotRecoveryTarget, '2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_target.rb'
- autoload :AutoHealRules, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_rules.rb'
- autoload :WorkerPoolCollection, '2016-09-01/generated/azure_mgmt_web/models/worker_pool_collection.rb'
- autoload :VirtualIPMapping, '2016-09-01/generated/azure_mgmt_web/models/virtual_ipmapping.rb'
- autoload :SlotSwapStatus, '2016-09-01/generated/azure_mgmt_web/models/slot_swap_status.rb'
- autoload :RequestsBasedTrigger, '2016-09-01/generated/azure_mgmt_web/models/requests_based_trigger.rb'
- autoload :WebAppCollection, '2016-09-01/generated/azure_mgmt_web/models/web_app_collection.rb'
- autoload :AppServiceEnvironment, '2016-09-01/generated/azure_mgmt_web/models/app_service_environment.rb'
+ autoload :AppServiceEnvironmentCollection, '2016-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb'
+ autoload :HandlerMapping, '2016-09-01/generated/azure_mgmt_web/models/handler_mapping.rb'
autoload :SkuInfo, '2016-09-01/generated/azure_mgmt_web/models/sku_info.rb'
- autoload :LocalizableString, '2016-09-01/generated/azure_mgmt_web/models/localizable_string.rb'
- autoload :SkuInfoCollection, '2016-09-01/generated/azure_mgmt_web/models/sku_info_collection.rb'
+ autoload :SiteMachineKey, '2016-09-01/generated/azure_mgmt_web/models/site_machine_key.rb'
+ autoload :AppServicePlanCollection, '2016-09-01/generated/azure_mgmt_web/models/app_service_plan_collection.rb'
+ autoload :ConnStringInfo, '2016-09-01/generated/azure_mgmt_web/models/conn_string_info.rb'
+ autoload :ResourceMetricDefinitionCollection, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition_collection.rb'
+ autoload :SiteConfig, '2016-09-01/generated/azure_mgmt_web/models/site_config.rb'
+ autoload :UsageCollection, '2016-09-01/generated/azure_mgmt_web/models/usage_collection.rb'
+ autoload :HostNameSslState, '2016-09-01/generated/azure_mgmt_web/models/host_name_ssl_state.rb'
+ autoload :ResourceCollection, '2016-09-01/generated/azure_mgmt_web/models/resource_collection.rb'
+ autoload :ResourceMetricProperty, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_property.rb'
+ autoload :CsmUsageQuota, '2016-09-01/generated/azure_mgmt_web/models/csm_usage_quota.rb'
+ autoload :Resource, '2016-09-01/generated/azure_mgmt_web/models/resource.rb'
autoload :AppServiceEnvironmentResource, '2016-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb'
- autoload :AppServicePlan, '2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb'
+ autoload :AppServiceEnvironmentPatchResource, '2016-09-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb'
autoload :MetricDefinition, '2016-09-01/generated/azure_mgmt_web/models/metric_definition.rb'
- autoload :PushSettings, '2016-09-01/generated/azure_mgmt_web/models/push_settings.rb'
- autoload :ResourceMetricDefinition, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb'
- autoload :SnapshotRecoveryRequest, '2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb'
- autoload :Site, '2016-09-01/generated/azure_mgmt_web/models/site.rb'
autoload :Usage, '2016-09-01/generated/azure_mgmt_web/models/usage.rb'
autoload :WorkerPoolResource, '2016-09-01/generated/azure_mgmt_web/models/worker_pool_resource.rb'
- autoload :HybridConnection, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb'
- autoload :HybridConnectionKey, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb'
- autoload :HybridConnectionLimits, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb'
- autoload :VnetGateway, '2016-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb'
autoload :VnetRoute, '2016-09-01/generated/azure_mgmt_web/models/vnet_route.rb'
autoload :VnetInfo, '2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb'
+ autoload :VnetGateway, '2016-09-01/generated/azure_mgmt_web/models/vnet_gateway.rb'
+ autoload :User, '2016-09-01/generated/azure_mgmt_web/models/user.rb'
+ autoload :SnapshotRecoveryRequest, '2016-09-01/generated/azure_mgmt_web/models/snapshot_recovery_request.rb'
+ autoload :ResourceMetricDefinition, '2016-09-01/generated/azure_mgmt_web/models/resource_metric_definition.rb'
+ autoload :PushSettings, '2016-09-01/generated/azure_mgmt_web/models/push_settings.rb'
+ autoload :HybridConnectionKey, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_key.rb'
+ autoload :HybridConnection, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb'
+ autoload :Site, '2016-09-01/generated/azure_mgmt_web/models/site.rb'
+ autoload :AppServicePlan, '2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb'
+ autoload :AppServicePlanPatchResource, '2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb'
+ autoload :HybridConnectionLimits, '2016-09-01/generated/azure_mgmt_web/models/hybrid_connection_limits.rb'
autoload :ProvisioningState, '2016-09-01/generated/azure_mgmt_web/models/provisioning_state.rb'
autoload :HostingEnvironmentStatus, '2016-09-01/generated/azure_mgmt_web/models/hosting_environment_status.rb'
autoload :InternalLoadBalancingMode, '2016-09-01/generated/azure_mgmt_web/models/internal_load_balancing_mode.rb'
autoload :ComputeModeOptions, '2016-09-01/generated/azure_mgmt_web/models/compute_mode_options.rb'
autoload :WorkerSizeOptions, '2016-09-01/generated/azure_mgmt_web/models/worker_size_options.rb'
autoload :AccessControlEntryAction, '2016-09-01/generated/azure_mgmt_web/models/access_control_entry_action.rb'
- autoload :StatusOptions, '2016-09-01/generated/azure_mgmt_web/models/status_options.rb'
+ autoload :RouteType, '2016-09-01/generated/azure_mgmt_web/models/route_type.rb'
autoload :AutoHealActionType, '2016-09-01/generated/azure_mgmt_web/models/auto_heal_action_type.rb'
autoload :ConnectionStringType, '2016-09-01/generated/azure_mgmt_web/models/connection_string_type.rb'
+ autoload :ScmType, '2016-09-01/generated/azure_mgmt_web/models/scm_type.rb'
+ autoload :ManagedPipelineMode, '2016-09-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
+ autoload :SiteLoadBalancing, '2016-09-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
autoload :SslState, '2016-09-01/generated/azure_mgmt_web/models/ssl_state.rb'
autoload :HostType, '2016-09-01/generated/azure_mgmt_web/models/host_type.rb'
- autoload :OperationStatus, '2016-09-01/generated/azure_mgmt_web/models/operation_status.rb'
autoload :UsageState, '2016-09-01/generated/azure_mgmt_web/models/usage_state.rb'
autoload :SiteAvailabilityState, '2016-09-01/generated/azure_mgmt_web/models/site_availability_state.rb'
- autoload :ScmType, '2016-09-01/generated/azure_mgmt_web/models/scm_type.rb'
- autoload :ManagedPipelineMode, '2016-09-01/generated/azure_mgmt_web/models/managed_pipeline_mode.rb'
- autoload :SiteLoadBalancing, '2016-09-01/generated/azure_mgmt_web/models/site_load_balancing.rb'
- autoload :RouteType, '2016-09-01/generated/azure_mgmt_web/models/route_type.rb'
+ autoload :StatusOptions, '2016-09-01/generated/azure_mgmt_web/models/status_options.rb'
+ autoload :OperationStatus, '2016-09-01/generated/azure_mgmt_web/models/operation_status.rb'
end
end
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb
index 3a8397d5e2..fbc5f95964 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_environments.rb
@@ -29,7 +29,7 @@ def initialize(client)
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Array] operation results.
+ # @return [Array] operation results.
#
def list(custom_headers = nil)
first_page = list_as_lazy(custom_headers)
@@ -120,7 +120,7 @@ def list_async(custom_headers = nil)
# @param custom_headers [Hash{String => String}] A hash of custom headers that
# will be added to the HTTP request.
#
- # @return [Array] operation results.
+ # @return [Array] operation results.
#
def list_by_resource_group(resource_group_name, custom_headers = nil)
first_page = list_by_resource_group_as_lazy(resource_group_name, custom_headers)
@@ -404,6 +404,132 @@ def delete_async(resource_group_name, name, force_delete = nil, custom_headers =
promise
end
+ #
+ # Create or update an App Service Environment.
+ #
+ # Create or update an App Service Environment.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param hosting_environment_envelope [AppServiceEnvironmentPatchResource]
+ # Configuration details of the App Service Environment.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [AppServiceEnvironmentResource] operation results.
+ #
+ def update(resource_group_name, name, hosting_environment_envelope, custom_headers = nil)
+ response = update_async(resource_group_name, name, hosting_environment_envelope, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Create or update an App Service Environment.
+ #
+ # Create or update an App Service Environment.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param hosting_environment_envelope [AppServiceEnvironmentPatchResource]
+ # Configuration details of the App Service Environment.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_with_http_info(resource_group_name, name, hosting_environment_envelope, custom_headers = nil)
+ update_async(resource_group_name, name, hosting_environment_envelope, custom_headers).value!
+ end
+
+ #
+ # Create or update an App Service Environment.
+ #
+ # Create or update an App Service Environment.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param hosting_environment_envelope [AppServiceEnvironmentPatchResource]
+ # Configuration details of the App Service Environment.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_async(resource_group_name, name, hosting_environment_envelope, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'hosting_environment_envelope is nil' if hosting_environment_envelope.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentPatchResource.mapper()
+ request_content = @client.serialize(request_mapper, hosting_environment_envelope)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 202 || status_code == 400 || status_code == 404 || status_code == 409
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 202
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServiceEnvironmentResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Get the used, available, and total worker capacity an App Service
# Environment.
@@ -1297,6 +1423,132 @@ def create_or_update_multi_role_pool_async(resource_group_name, name, multi_role
promise
end
+ #
+ # Create or update a multi-role pool.
+ #
+ # Create or update a multi-role pool.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param multi_role_pool_envelope [WorkerPoolResource] Properties of the
+ # multi-role pool.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [WorkerPoolResource] operation results.
+ #
+ def update_multi_role_pool(resource_group_name, name, multi_role_pool_envelope, custom_headers = nil)
+ response = update_multi_role_pool_async(resource_group_name, name, multi_role_pool_envelope, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Create or update a multi-role pool.
+ #
+ # Create or update a multi-role pool.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param multi_role_pool_envelope [WorkerPoolResource] Properties of the
+ # multi-role pool.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_multi_role_pool_with_http_info(resource_group_name, name, multi_role_pool_envelope, custom_headers = nil)
+ update_multi_role_pool_async(resource_group_name, name, multi_role_pool_envelope, custom_headers).value!
+ end
+
+ #
+ # Create or update a multi-role pool.
+ #
+ # Create or update a multi-role pool.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param multi_role_pool_envelope [WorkerPoolResource] Properties of the
+ # multi-role pool.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_multi_role_pool_async(resource_group_name, name, multi_role_pool_envelope, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'multi_role_pool_envelope is nil' if multi_role_pool_envelope.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
+ request_content = @client.serialize(request_mapper, multi_role_pool_envelope)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 202 || status_code == 400 || status_code == 404 || status_code == 409
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 202
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Get metric definitions for a specific instance of a multi-role pool of an App
# Service Environment.
@@ -2867,6 +3119,136 @@ def create_or_update_worker_pool_async(resource_group_name, name, worker_pool_na
promise
end
+ #
+ # Create or update a worker pool.
+ #
+ # Create or update a worker pool.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param worker_pool_name [String] Name of the worker pool.
+ # @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
+ # pool.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [WorkerPoolResource] operation results.
+ #
+ def update_worker_pool(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers = nil)
+ response = update_worker_pool_async(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Create or update a worker pool.
+ #
+ # Create or update a worker pool.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param worker_pool_name [String] Name of the worker pool.
+ # @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
+ # pool.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_worker_pool_with_http_info(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers = nil)
+ update_worker_pool_async(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers).value!
+ end
+
+ #
+ # Create or update a worker pool.
+ #
+ # Create or update a worker pool.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service Environment.
+ # @param worker_pool_name [String] Name of the worker pool.
+ # @param worker_pool_envelope [WorkerPoolResource] Properties of the worker
+ # pool.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_worker_pool_async(resource_group_name, name, worker_pool_name, worker_pool_envelope, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'worker_pool_name is nil' if worker_pool_name.nil?
+ fail ArgumentError, 'worker_pool_envelope is nil' if worker_pool_envelope.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
+ request_content = @client.serialize(request_mapper, worker_pool_envelope)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'workerPoolName' => worker_pool_name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 202 || status_code == 400 || status_code == 404 || status_code == 409
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 202
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::WorkerPoolResource.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Get metric definitions for a specific instance of a worker pool of an App
# Service Environment.
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb
index 873605b3b8..91e64fa739 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/app_service_plans.rb
@@ -295,7 +295,7 @@ def get_async(resource_group_name, name, custom_headers = nil)
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 200 || status_code == 404
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -442,7 +442,7 @@ def delete_async(resource_group_name, name, custom_headers = nil)
http_response = result.response
status_code = http_response.status
response_content = http_response.body
- unless status_code == 200
+ unless status_code == 200 || status_code == 204
error_model = JSON.load(response_content)
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
end
@@ -455,6 +455,132 @@ def delete_async(resource_group_name, name, custom_headers = nil)
promise.execute
end
+ #
+ # Creates or updates an App Service Plan.
+ #
+ # Creates or updates an App Service Plan.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service plan.
+ # @param app_service_plan [AppServicePlanPatchResource] Details of the App
+ # Service plan.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [AppServicePlan] operation results.
+ #
+ def update(resource_group_name, name, app_service_plan, custom_headers = nil)
+ response = update_async(resource_group_name, name, app_service_plan, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Creates or updates an App Service Plan.
+ #
+ # Creates or updates an App Service Plan.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service plan.
+ # @param app_service_plan [AppServicePlanPatchResource] Details of the App
+ # Service plan.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def update_with_http_info(resource_group_name, name, app_service_plan, custom_headers = nil)
+ update_async(resource_group_name, name, app_service_plan, custom_headers).value!
+ end
+
+ #
+ # Creates or updates an App Service Plan.
+ #
+ # Creates or updates an App Service Plan.
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of the App Service plan.
+ # @param app_service_plan [AppServicePlanPatchResource] Details of the App
+ # Service plan.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def update_async(resource_group_name, name, app_service_plan, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, 'app_service_plan is nil' if app_service_plan.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+
+ request_headers['Content-Type'] = 'application/json; charset=utf-8'
+
+ # Serialize Request
+ request_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlanPatchResource.mapper()
+ request_content = @client.serialize(request_mapper, app_service_plan)
+ request_content = request_content != nil ? JSON.generate(request_content, quirks_mode: true) : nil
+
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ body: request_content,
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:patch, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200 || status_code == 202
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+ # Deserialize Response
+ if status_code == 202
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::AppServicePlan.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# List all capabilities of an App Service plan.
#
@@ -1638,6 +1764,206 @@ def list_web_apps_async(resource_group_name, name, skip_token = nil, filter = ni
promise.execute
end
+ #
+ # Gets all selectable sku's for a given App Service Plan
+ #
+ # Gets all selectable sku's for a given App Service Plan
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of App Service Plan
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [Object] operation results.
+ #
+ def get_server_farm_skus(resource_group_name, name, custom_headers = nil)
+ response = get_server_farm_skus_async(resource_group_name, name, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Gets all selectable sku's for a given App Service Plan
+ #
+ # Gets all selectable sku's for a given App Service Plan
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of App Service Plan
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def get_server_farm_skus_with_http_info(resource_group_name, name, custom_headers = nil)
+ get_server_farm_skus_async(resource_group_name, name, custom_headers).value!
+ end
+
+ #
+ # Gets all selectable sku's for a given App Service Plan
+ #
+ # Gets all selectable sku's for a given App Service Plan
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of App Service Plan
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def get_server_farm_skus_async(resource_group_name, name, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/skus'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+
+ result
+ end
+
+ promise.execute
+ end
+
+ #
+ # Gets server farm usage information
+ #
+ # Gets server farm usage information
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of App Service Plan
+ # @param filter [String] Return only usages/metrics specified in the filter.
+ # Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
+ # name.value eq 'Metric2').
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [Array] operation results.
+ #
+ def list_usages(resource_group_name, name, filter = nil, custom_headers = nil)
+ first_page = list_usages_as_lazy(resource_group_name, name, filter, custom_headers)
+ first_page.get_all_items
+ end
+
+ #
+ # Gets server farm usage information
+ #
+ # Gets server farm usage information
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of App Service Plan
+ # @param filter [String] Return only usages/metrics specified in the filter.
+ # Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
+ # name.value eq 'Metric2').
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def list_usages_with_http_info(resource_group_name, name, filter = nil, custom_headers = nil)
+ list_usages_async(resource_group_name, name, filter, custom_headers).value!
+ end
+
+ #
+ # Gets server farm usage information
+ #
+ # Gets server farm usage information
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of App Service Plan
+ # @param filter [String] Return only usages/metrics specified in the filter.
+ # Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
+ # name.value eq 'Metric2').
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def list_usages_async(resource_group_name, name, filter = nil, custom_headers = nil)
+ fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
+ fail ArgumentError, 'name is nil' if name.nil?
+ fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
+ fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/usages'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ path_params: {'resourceGroupName' => resource_group_name,'name' => name,'subscriptionId' => @client.subscription_id},
+ query_params: {'api-version' => @client.api_version},
+ skip_encoding_query_params: {'$filter' => filter},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Get all Virtual Networks associated with an App Service plan.
#
@@ -3552,6 +3878,99 @@ def list_web_apps_next_async(next_page_link, custom_headers = nil)
promise.execute
end
+ #
+ # Gets server farm usage information
+ #
+ # Gets server farm usage information
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [CsmUsageQuotaCollection] operation results.
+ #
+ def list_usages_next(next_page_link, custom_headers = nil)
+ response = list_usages_next_async(next_page_link, custom_headers).value!
+ response.body unless response.nil?
+ end
+
+ #
+ # Gets server farm usage information
+ #
+ # Gets server farm usage information
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [MsRestAzure::AzureOperationResponse] HTTP response information.
+ #
+ def list_usages_next_with_http_info(next_page_link, custom_headers = nil)
+ list_usages_next_async(next_page_link, custom_headers).value!
+ end
+
+ #
+ # Gets server farm usage information
+ #
+ # Gets server farm usage information
+ #
+ # @param next_page_link [String] The NextLink from the previous successful call
+ # to List operation.
+ # @param [Hash{String => String}] A hash of custom headers that will be added
+ # to the HTTP request.
+ #
+ # @return [Concurrent::Promise] Promise object which holds the HTTP response.
+ #
+ def list_usages_next_async(next_page_link, custom_headers = nil)
+ fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
+
+
+ request_headers = {}
+
+ # Set Headers
+ request_headers['x-ms-client-request-id'] = SecureRandom.uuid
+ request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
+ path_template = '{nextLink}'
+
+ request_url = @base_url || @client.base_url
+
+ options = {
+ middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
+ skip_encoding_path_params: {'nextLink' => next_page_link},
+ headers: request_headers.merge(custom_headers || {}),
+ base_url: request_url
+ }
+ promise = @client.make_request_async(:get, path_template, options)
+
+ promise = promise.then do |result|
+ http_response = result.response
+ status_code = http_response.status
+ response_content = http_response.body
+ unless status_code == 200
+ error_model = JSON.load(response_content)
+ fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
+ end
+
+ result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
+ # Deserialize Response
+ if status_code == 200
+ begin
+ parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
+ result_mapper = Azure::Web::Mgmt::V2016_09_01::Models::CsmUsageQuotaCollection.mapper()
+ result.body = @client.deserialize(result_mapper, parsed_response)
+ rescue Exception => e
+ fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
+ end
+ end
+
+ result
+ end
+
+ promise.execute
+ end
+
#
# Get all App Service plans for a subcription.
#
@@ -3744,5 +4163,33 @@ def list_web_apps_as_lazy(resource_group_name, name, skip_token = nil, filter =
end
end
+ #
+ # Gets server farm usage information
+ #
+ # Gets server farm usage information
+ #
+ # @param resource_group_name [String] Name of the resource group to which the
+ # resource belongs.
+ # @param name [String] Name of App Service Plan
+ # @param filter [String] Return only usages/metrics specified in the filter.
+ # Filter conforms to odata syntax. Example: $filter=(name.value eq 'Metric1' or
+ # name.value eq 'Metric2').
+ # @param custom_headers [Hash{String => String}] A hash of custom headers that
+ # will be added to the HTTP request.
+ #
+ # @return [CsmUsageQuotaCollection] which provide lazy access to pages of the
+ # response.
+ #
+ def list_usages_as_lazy(resource_group_name, name, filter = nil, custom_headers = nil)
+ response = list_usages_async(resource_group_name, name, filter, custom_headers).value!
+ unless response.nil?
+ page = response.body
+ page.next_method = Proc.new do |next_page_link|
+ list_usages_next_async(next_page_link, custom_headers)
+ end
+ page
+ end
+ end
+
end
end
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb
index 593e125342..55b9d1c7a2 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_collection.rb
@@ -13,7 +13,7 @@ class AppServiceEnvironmentCollection
include MsRestAzure
include MsRest::JSONable
- # @return [Array] Collection of resources.
+ # @return [Array] Collection of resources.
attr_accessor :value
# @return [String] Link to next page of resources.
@@ -25,7 +25,7 @@ class AppServiceEnvironmentCollection
#
# Gets the rest of the items for the request, enabling auto-pagination.
#
- # @return [Array] operation results.
+ # @return [Array] operation results.
#
def get_all_items
items = @value
@@ -70,10 +70,10 @@ def self.mapper()
name: 'Sequence',
element: {
required: false,
- serialized_name: 'AppServiceEnvironmentElementType',
+ serialized_name: 'AppServiceEnvironmentResourceElementType',
type: {
name: 'Composite',
- class_name: 'AppServiceEnvironment'
+ class_name: 'AppServiceEnvironmentResource'
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb
new file mode 100644
index 0000000000..bbf369ed6f
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_patch_resource.rb
@@ -0,0 +1,522 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_09_01
+ module Models
+ #
+ # ARM resource for a app service enviroment.
+ #
+ class AppServiceEnvironmentPatchResource < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Name of the App Service Environment.
+ attr_accessor :app_service_environment_patch_resource_name
+
+ # @return [String] Location of the App Service Environment, e.g. "West
+ # US".
+ attr_accessor :location
+
+ # @return [ProvisioningState] Provisioning state of the App Service
+ # Environment. Possible values include: 'Succeeded', 'Failed',
+ # 'Canceled', 'InProgress', 'Deleting'
+ attr_accessor :provisioning_state
+
+ # @return [HostingEnvironmentStatus] Current status of the App Service
+ # Environment. Possible values include: 'Preparing', 'Ready', 'Scaling',
+ # 'Deleting'
+ attr_accessor :status
+
+ # @return [String] Name of the Virtual Network for the App Service
+ # Environment.
+ attr_accessor :vnet_name
+
+ # @return [String] Resource group of the Virtual Network.
+ attr_accessor :vnet_resource_group_name
+
+ # @return [String] Subnet of the Virtual Network.
+ attr_accessor :vnet_subnet_name
+
+ # @return [VirtualNetworkProfile] Description of the Virtual Network.
+ attr_accessor :virtual_network
+
+ # @return [InternalLoadBalancingMode] Specifies which endpoints to serve
+ # internally in the Virtual Network for the App Service Environment.
+ # Possible values include: 'None', 'Web', 'Publishing'
+ attr_accessor :internal_load_balancing_mode
+
+ # @return [String] Front-end VM size, e.g. "Medium", "Large".
+ attr_accessor :multi_size
+
+ # @return [Integer] Number of front-end instances.
+ attr_accessor :multi_role_count
+
+ # @return [Array] Description of worker pools with worker
+ # size IDs, VM sizes, and number of workers in each pool.
+ attr_accessor :worker_pools
+
+ # @return [Integer] Number of IP SSL addresses reserved for the App
+ # Service Environment.
+ attr_accessor :ipssl_address_count
+
+ # @return [String] Edition of the metadata database for the App Service
+ # Environment, e.g. "Standard".
+ attr_accessor :database_edition
+
+ # @return [String] Service objective of the metadata database for the App
+ # Service Environment, e.g. "S0".
+ attr_accessor :database_service_objective
+
+ # @return [Integer] Number of upgrade domains of the App Service
+ # Environment.
+ attr_accessor :upgrade_domains
+
+ # @return [String] Subscription of the App Service Environment.
+ attr_accessor :subscription_id
+
+ # @return [String] DNS suffix of the App Service Environment.
+ attr_accessor :dns_suffix
+
+ # @return [String] Last deployment action on the App Service Environment.
+ attr_accessor :last_action
+
+ # @return [String] Result of the last deployment action on the App
+ # Service Environment.
+ attr_accessor :last_action_result
+
+ # @return [String] List of comma separated strings describing which VM
+ # sizes are allowed for front-ends.
+ attr_accessor :allowed_multi_sizes
+
+ # @return [String] List of comma separated strings describing which VM
+ # sizes are allowed for workers.
+ attr_accessor :allowed_worker_sizes
+
+ # @return [Integer] Maximum number of VMs in the App Service Environment.
+ attr_accessor :maximum_number_of_machines
+
+ # @return [Array] Description of IP SSL mapping for the
+ # App Service Environment.
+ attr_accessor :vip_mappings
+
+ # @return [Array] Current total, used, and available
+ # worker capacities.
+ attr_accessor :environment_capacities
+
+ # @return [Array] Access control list for
+ # controlling traffic to the App Service Environment.
+ attr_accessor :network_access_control_list
+
+ # @return [Boolean] True/false indicating whether the App Service
+ # Environment is healthy.
+ attr_accessor :environment_is_healthy
+
+ # @return [String] Detailed message about with results of the last check
+ # of the App Service Environment.
+ attr_accessor :environment_status
+
+ # @return [String] Resource group of the App Service Environment.
+ attr_accessor :resource_group
+
+ # @return [Integer] Scale factor for front-ends.
+ attr_accessor :front_end_scale_factor
+
+ # @return [Integer] Default Scale Factor for FrontEnds.
+ attr_accessor :default_front_end_scale_factor
+
+ # @return [String] API Management Account associated with the App Service
+ # Environment.
+ attr_accessor :api_management_account_id
+
+ # @return [Boolean] true if the App Service Environment is
+ # suspended; otherwise, false. The environment can be
+ # suspended, e.g. when the management endpoint is no longer available
+ # (most likely because NSG blocked the incoming traffic).
+ attr_accessor :suspended
+
+ # @return [Boolean] True/false indicating whether the App Service
+ # Environment is suspended. The environment can be suspended e.g. when
+ # the management endpoint is no longer available
+ # (most likely because NSG blocked the incoming traffic).
+ attr_accessor :dynamic_cache_enabled
+
+ # @return [Array] Custom settings for changing the
+ # behavior of the App Service Environment.
+ attr_accessor :cluster_settings
+
+ # @return [Array] User added ip ranges to whitelist on ASE db
+ attr_accessor :user_whitelisted_ip_ranges
+
+
+ #
+ # Mapper for AppServiceEnvironmentPatchResource class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AppServiceEnvironmentPatchResource',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServiceEnvironmentPatchResource',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ app_service_environment_patch_resource_name: {
+ required: true,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ location: {
+ required: true,
+ serialized_name: 'properties.location',
+ type: {
+ name: 'String'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'ProvisioningState'
+ }
+ },
+ status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.status',
+ type: {
+ name: 'Enum',
+ module: 'HostingEnvironmentStatus'
+ }
+ },
+ vnet_name: {
+ required: false,
+ serialized_name: 'properties.vnetName',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_resource_group_name: {
+ required: false,
+ serialized_name: 'properties.vnetResourceGroupName',
+ type: {
+ name: 'String'
+ }
+ },
+ vnet_subnet_name: {
+ required: false,
+ serialized_name: 'properties.vnetSubnetName',
+ type: {
+ name: 'String'
+ }
+ },
+ virtual_network: {
+ required: true,
+ serialized_name: 'properties.virtualNetwork',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualNetworkProfile'
+ }
+ },
+ internal_load_balancing_mode: {
+ required: false,
+ serialized_name: 'properties.internalLoadBalancingMode',
+ type: {
+ name: 'Enum',
+ module: 'InternalLoadBalancingMode'
+ }
+ },
+ multi_size: {
+ required: false,
+ serialized_name: 'properties.multiSize',
+ type: {
+ name: 'String'
+ }
+ },
+ multi_role_count: {
+ required: false,
+ serialized_name: 'properties.multiRoleCount',
+ type: {
+ name: 'Number'
+ }
+ },
+ worker_pools: {
+ required: true,
+ serialized_name: 'properties.workerPools',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'WorkerPoolElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'WorkerPool'
+ }
+ }
+ }
+ },
+ ipssl_address_count: {
+ required: false,
+ serialized_name: 'properties.ipsslAddressCount',
+ type: {
+ name: 'Number'
+ }
+ },
+ database_edition: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.databaseEdition',
+ type: {
+ name: 'String'
+ }
+ },
+ database_service_objective: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.databaseServiceObjective',
+ type: {
+ name: 'String'
+ }
+ },
+ upgrade_domains: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.upgradeDomains',
+ type: {
+ name: 'Number'
+ }
+ },
+ subscription_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.subscriptionId',
+ type: {
+ name: 'String'
+ }
+ },
+ dns_suffix: {
+ required: false,
+ serialized_name: 'properties.dnsSuffix',
+ type: {
+ name: 'String'
+ }
+ },
+ last_action: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.lastAction',
+ type: {
+ name: 'String'
+ }
+ },
+ last_action_result: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.lastActionResult',
+ type: {
+ name: 'String'
+ }
+ },
+ allowed_multi_sizes: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.allowedMultiSizes',
+ type: {
+ name: 'String'
+ }
+ },
+ allowed_worker_sizes: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.allowedWorkerSizes',
+ type: {
+ name: 'String'
+ }
+ },
+ maximum_number_of_machines: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maximumNumberOfMachines',
+ type: {
+ name: 'Number'
+ }
+ },
+ vip_mappings: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.vipMappings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'VirtualIPMappingElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'VirtualIPMapping'
+ }
+ }
+ }
+ },
+ environment_capacities: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.environmentCapacities',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StampCapacityElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'StampCapacity'
+ }
+ }
+ }
+ },
+ network_access_control_list: {
+ required: false,
+ serialized_name: 'properties.networkAccessControlList',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'NetworkAccessControlEntryElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'NetworkAccessControlEntry'
+ }
+ }
+ }
+ },
+ environment_is_healthy: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.environmentIsHealthy',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ environment_status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.environmentStatus',
+ type: {
+ name: 'String'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ front_end_scale_factor: {
+ required: false,
+ serialized_name: 'properties.frontEndScaleFactor',
+ type: {
+ name: 'Number'
+ }
+ },
+ default_front_end_scale_factor: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.defaultFrontEndScaleFactor',
+ type: {
+ name: 'Number'
+ }
+ },
+ api_management_account_id: {
+ required: false,
+ serialized_name: 'properties.apiManagementAccountId',
+ type: {
+ name: 'String'
+ }
+ },
+ suspended: {
+ required: false,
+ serialized_name: 'properties.suspended',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ dynamic_cache_enabled: {
+ required: false,
+ serialized_name: 'properties.dynamicCacheEnabled',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ cluster_settings: {
+ required: false,
+ serialized_name: 'properties.clusterSettings',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'NameValuePairElementType',
+ type: {
+ name: 'Composite',
+ class_name: 'NameValuePair'
+ }
+ }
+ }
+ },
+ user_whitelisted_ip_ranges: {
+ required: false,
+ serialized_name: 'properties.userWhitelistedIpRanges',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb
index 8b16919908..8e7695634f 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_environment_resource.rb
@@ -146,6 +146,9 @@ class AppServiceEnvironmentResource < Resource
# behavior of the App Service Environment.
attr_accessor :cluster_settings
+ # @return [Array] User added ip ranges to whitelist on ASE db
+ attr_accessor :user_whitelisted_ip_ranges
+
#
# Mapper for AppServiceEnvironmentResource class as Ruby Hash.
@@ -516,6 +519,20 @@ def self.mapper()
}
}
}
+ },
+ user_whitelisted_ip_ranges: {
+ required: false,
+ serialized_name: 'properties.userWhitelistedIpRanges',
+ type: {
+ name: 'Sequence',
+ element: {
+ required: false,
+ serialized_name: 'StringElementType',
+ type: {
+ name: 'String'
+ }
+ }
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb
index 812192d0da..9b8a577b73 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan.rb
@@ -19,7 +19,7 @@ class AppServicePlan < Resource
attr_accessor :worker_tier_name
# @return [StatusOptions] App Service plan status. Possible values
- # include: 'Ready', 'Pending'
+ # include: 'Ready', 'Pending', 'Creating'
attr_accessor :status
# @return [String] App Service plan subscription.
@@ -48,6 +48,14 @@ class AppServicePlan < Resource
# @return [Integer] Number of apps assigned to this App Service plan.
attr_accessor :number_of_sites
+ # @return [Boolean] If true, this App Service Plan owns spot
+ # instances.
+ attr_accessor :is_spot
+
+ # @return [DateTime] The time when the server farm expires. Valid only if
+ # it is a spot server farm.
+ attr_accessor :spot_expiration_time
+
# @return [String] Resource group of the App Service plan.
attr_accessor :resource_group
@@ -211,6 +219,20 @@ def self.mapper()
name: 'Number'
}
},
+ is_spot: {
+ required: false,
+ serialized_name: 'properties.isSpot',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ spot_expiration_time: {
+ required: false,
+ serialized_name: 'properties.spotExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
resource_group: {
required: false,
read_only: true,
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb
new file mode 100644
index 0000000000..283162f4ea
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/app_service_plan_patch_resource.rb
@@ -0,0 +1,257 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_09_01
+ module Models
+ #
+ # ARM resource for a app service plan.
+ #
+ class AppServicePlanPatchResource < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Name for the App Service plan.
+ attr_accessor :app_service_plan_patch_resource_name
+
+ # @return [String] Target worker tier assigned to the App Service plan.
+ attr_accessor :worker_tier_name
+
+ # @return [StatusOptions] App Service plan status. Possible values
+ # include: 'Ready', 'Pending', 'Creating'
+ attr_accessor :status
+
+ # @return [String] App Service plan subscription.
+ attr_accessor :subscription
+
+ # @return [String] App Service plan administration site.
+ attr_accessor :admin_site_name
+
+ # @return [HostingEnvironmentProfile] Specification for the App Service
+ # Environment to use for the App Service plan.
+ attr_accessor :hosting_environment_profile
+
+ # @return [Integer] Maximum number of instances that can be assigned to
+ # this App Service plan.
+ attr_accessor :maximum_number_of_workers
+
+ # @return [String] Geographical location for the App Service plan.
+ attr_accessor :geo_region
+
+ # @return [Boolean] If true, apps assigned to this App
+ # Service plan can be scaled independently.
+ # If false, apps assigned to this App Service plan will
+ # scale to all instances of the plan. Default value: false .
+ attr_accessor :per_site_scaling
+
+ # @return [Integer] Number of apps assigned to this App Service plan.
+ attr_accessor :number_of_sites
+
+ # @return [Boolean] If true, this App Service Plan owns spot
+ # instances.
+ attr_accessor :is_spot
+
+ # @return [DateTime] The time when the server farm expires. Valid only if
+ # it is a spot server farm.
+ attr_accessor :spot_expiration_time
+
+ # @return [String] Resource group of the App Service plan.
+ attr_accessor :resource_group
+
+ # @return [Boolean] Reserved. Default value: false .
+ attr_accessor :reserved
+
+ # @return [Integer] Scaling worker count.
+ attr_accessor :target_worker_count
+
+ # @return [Integer] Scaling worker size ID.
+ attr_accessor :target_worker_size_id
+
+ # @return [ProvisioningState] Provisioning state of the App Service
+ # Environment. Possible values include: 'Succeeded', 'Failed',
+ # 'Canceled', 'InProgress', 'Deleting'
+ attr_accessor :provisioning_state
+
+
+ #
+ # Mapper for AppServicePlanPatchResource class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'AppServicePlanPatchResource',
+ type: {
+ name: 'Composite',
+ class_name: 'AppServicePlanPatchResource',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ app_service_plan_patch_resource_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ worker_tier_name: {
+ required: false,
+ serialized_name: 'properties.workerTierName',
+ type: {
+ name: 'String'
+ }
+ },
+ status: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.status',
+ type: {
+ name: 'Enum',
+ module: 'StatusOptions'
+ }
+ },
+ subscription: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.subscription',
+ type: {
+ name: 'String'
+ }
+ },
+ admin_site_name: {
+ required: false,
+ serialized_name: 'properties.adminSiteName',
+ type: {
+ name: 'String'
+ }
+ },
+ hosting_environment_profile: {
+ required: false,
+ serialized_name: 'properties.hostingEnvironmentProfile',
+ type: {
+ name: 'Composite',
+ class_name: 'HostingEnvironmentProfile'
+ }
+ },
+ maximum_number_of_workers: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.maximumNumberOfWorkers',
+ type: {
+ name: 'Number'
+ }
+ },
+ geo_region: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.geoRegion',
+ type: {
+ name: 'String'
+ }
+ },
+ per_site_scaling: {
+ required: false,
+ serialized_name: 'properties.perSiteScaling',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ number_of_sites: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.numberOfSites',
+ type: {
+ name: 'Number'
+ }
+ },
+ is_spot: {
+ required: false,
+ serialized_name: 'properties.isSpot',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ spot_expiration_time: {
+ required: false,
+ serialized_name: 'properties.spotExpirationTime',
+ type: {
+ name: 'DateTime'
+ }
+ },
+ resource_group: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.resourceGroup',
+ type: {
+ name: 'String'
+ }
+ },
+ reserved: {
+ required: false,
+ serialized_name: 'properties.reserved',
+ default_value: false,
+ type: {
+ name: 'Boolean'
+ }
+ },
+ target_worker_count: {
+ required: false,
+ serialized_name: 'properties.targetWorkerCount',
+ type: {
+ name: 'Number'
+ }
+ },
+ target_worker_size_id: {
+ required: false,
+ serialized_name: 'properties.targetWorkerSizeId',
+ type: {
+ name: 'Number'
+ }
+ },
+ provisioning_state: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.provisioningState',
+ type: {
+ name: 'Enum',
+ module: 'ProvisioningState'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb
index 8dd49e88a9..4d7827cbc1 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/cloning_info.rb
@@ -12,8 +12,8 @@ class CloningInfo
include MsRestAzure
- # @return [String] Correlation ID of cloning operation. This ID ties
- # multiple cloning operations
+ # @return Correlation ID of cloning operation. This ID ties multiple
+ # cloning operations
# together to use the same snapshot.
attr_accessor :correlation_id
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb
index 73defd8df1..9d14b3770c 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/hybrid_connection.rb
@@ -37,6 +37,10 @@ class HybridConnection < ProxyOnlyResource
# normally, use the POST /listKeys API instead.
attr_accessor :send_key_value
+ # @return [String] The suffix for the service bus endpoint. By default
+ # this is .servicebus.windows.net
+ attr_accessor :service_bus_suffix
+
#
# Mapper for HybridConnection class as Ruby Hash.
@@ -129,6 +133,13 @@ def self.mapper()
type: {
name: 'String'
}
+ },
+ service_bus_suffix: {
+ required: false,
+ serialized_name: 'properties.serviceBusSuffix',
+ type: {
+ name: 'String'
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb
new file mode 100644
index 0000000000..e29a73797b
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/managed_service_identity.rb
@@ -0,0 +1,66 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_09_01
+ module Models
+ #
+ # Managed service identity.
+ #
+ class ManagedServiceIdentity
+
+ include MsRestAzure
+
+ # @return Type of managed service identity.
+ attr_accessor :type
+
+ # @return [String] Tenant of managed service identity.
+ attr_accessor :tenant_id
+
+ # @return [String] Principal Id of managed service identity.
+ attr_accessor :principal_id
+
+
+ #
+ # Mapper for ManagedServiceIdentity class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'ManagedServiceIdentity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity',
+ model_properties: {
+ type: {
+ required: false,
+ serialized_name: 'type',
+ type: {
+ name: 'Object'
+ }
+ },
+ tenant_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'tenantId',
+ type: {
+ name: 'String'
+ }
+ },
+ principal_id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'principalId',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/operation.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/operation.rb
index 8c477e784b..2f52f9f22d 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/operation.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/operation.rb
@@ -35,7 +35,7 @@ class Operation
# @return [DateTime] Time when operation will expire.
attr_accessor :expiration_time
- # @return [String] Applicable only for stamp operation ids.
+ # @return Applicable only for stamp operation ids.
attr_accessor :geo_master_operation_id
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/site.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/site.rb
index 07eab8a148..b3ebb4c5d7 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/site.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/site.rb
@@ -63,9 +63,6 @@ class Site < Resource
# the app. Read-only.
attr_accessor :traffic_manager_host_names
- # @return [Boolean] Indicates whether app is deployed as a premium app.
- attr_accessor :premium_app_deployed
-
# @return [Boolean] true to stop SCM (KUDU) site when the
# app is stopped; otherwise, false. The default is
# false. Default value: false .
@@ -79,13 +76,6 @@ class Site < Resource
# the app.
attr_accessor :hosting_environment_profile
- # @return [String] Micro services like apps, logic apps. Default value:
- # 'WebSites' .
- attr_accessor :micro_service
-
- # @return [String] Name of gateway app associated with the app.
- attr_accessor :gateway_site_name
-
# @return [Boolean] true to enable client affinity;
# false to stop sending session affinity cookies, which
# route client requests in the same session to the same instance. Default
@@ -104,9 +94,15 @@ class Site < Resource
attr_accessor :host_names_disabled
# @return [String] List of IP addresses that the app uses for outbound
- # connections (e.g. database access). Read-only.
+ # connections (e.g. database access). Includes VIPs from tenants that
+ # site can be hosted with current settings. Read-only.
attr_accessor :outbound_ip_addresses
+ # @return [String] List of IP addresses that the app uses for outbound
+ # connections (e.g. database access). Includes VIPs from all tenants.
+ # Read-only.
+ attr_accessor :possible_outbound_ip_addresses
+
# @return [Integer] Size of the function container.
attr_accessor :container_size
@@ -145,6 +141,14 @@ class Site < Resource
# operation.
attr_accessor :slot_swap_status
+ # @return [Boolean] HttpsOnly: configures a web site to accept only https
+ # requests. Issues redirect for
+ # http requests
+ attr_accessor :https_only
+
+ # @return [ManagedServiceIdentity]
+ attr_accessor :identity
+
#
# Mapper for Site class as Ruby Hash.
@@ -342,14 +346,6 @@ def self.mapper()
}
}
},
- premium_app_deployed: {
- required: false,
- read_only: true,
- serialized_name: 'properties.premiumAppDeployed',
- type: {
- name: 'Boolean'
- }
- },
scm_site_also_stopped: {
required: false,
serialized_name: 'properties.scmSiteAlsoStopped',
@@ -374,21 +370,6 @@ def self.mapper()
class_name: 'HostingEnvironmentProfile'
}
},
- micro_service: {
- required: false,
- serialized_name: 'properties.microService',
- default_value: 'WebSites',
- type: {
- name: 'String'
- }
- },
- gateway_site_name: {
- required: false,
- serialized_name: 'properties.gatewaySiteName',
- type: {
- name: 'String'
- }
- },
client_affinity_enabled: {
required: false,
serialized_name: 'properties.clientAffinityEnabled',
@@ -418,6 +399,14 @@ def self.mapper()
name: 'String'
}
},
+ possible_outbound_ip_addresses: {
+ required: false,
+ read_only: true,
+ serialized_name: 'properties.possibleOutboundIpAddresses',
+ type: {
+ name: 'String'
+ }
+ },
container_size: {
required: false,
serialized_name: 'properties.containerSize',
@@ -496,6 +485,21 @@ def self.mapper()
name: 'Composite',
class_name: 'SlotSwapStatus'
}
+ },
+ https_only: {
+ required: false,
+ serialized_name: 'properties.httpsOnly',
+ type: {
+ name: 'Boolean'
+ }
+ },
+ identity: {
+ required: false,
+ serialized_name: 'identity',
+ type: {
+ name: 'Composite',
+ class_name: 'ManagedServiceIdentity'
+ }
}
}
}
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb
index 97911a95af..33a8a56904 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/stamp_capacity.rb
@@ -31,7 +31,7 @@ class StampCapacity
attr_accessor :compute_mode
# @return [WorkerSizeOptions] Size of the machines. Possible values
- # include: 'Default', 'Small', 'Medium', 'Large'
+ # include: 'Default', 'Small', 'Medium', 'Large', 'D1', 'D2', 'D3'
attr_accessor :worker_size
# @return [Integer] Size ID of machines:
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/status_options.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/status_options.rb
index 9da45f0b27..237a490e91 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/status_options.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/status_options.rb
@@ -11,6 +11,7 @@ module Models
module StatusOptions
Ready = "Ready"
Pending = "Pending"
+ Creating = "Creating"
end
end
end
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/user.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/user.rb
new file mode 100644
index 0000000000..7c253c67de
--- /dev/null
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/user.rb
@@ -0,0 +1,115 @@
+# encoding: utf-8
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is
+# regenerated.
+
+module Azure::Web::Mgmt::V2016_09_01
+ module Models
+ #
+ # User crendentials used for publishing activity.
+ #
+ class User < ProxyOnlyResource
+
+ include MsRestAzure
+
+ # @return [String] Username
+ attr_accessor :user_name
+
+ # @return [String] Username used for publishing.
+ attr_accessor :publishing_user_name
+
+ # @return [String] Password used for publishing.
+ attr_accessor :publishing_password
+
+ # @return [String] Password hash used for publishing.
+ attr_accessor :publishing_password_hash
+
+ # @return [String] Password hash salt used for publishing.
+ attr_accessor :publishing_password_hash_salt
+
+
+ #
+ # Mapper for User class as Ruby Hash.
+ # This will be used for serialization/deserialization.
+ #
+ def self.mapper()
+ {
+ required: false,
+ serialized_name: 'User',
+ type: {
+ name: 'Composite',
+ class_name: 'User',
+ model_properties: {
+ id: {
+ required: false,
+ read_only: true,
+ serialized_name: 'id',
+ type: {
+ name: 'String'
+ }
+ },
+ name: {
+ required: false,
+ read_only: true,
+ serialized_name: 'name',
+ type: {
+ name: 'String'
+ }
+ },
+ kind: {
+ required: false,
+ serialized_name: 'kind',
+ type: {
+ name: 'String'
+ }
+ },
+ type: {
+ required: false,
+ read_only: true,
+ serialized_name: 'type',
+ type: {
+ name: 'String'
+ }
+ },
+ user_name: {
+ required: false,
+ serialized_name: 'properties.name',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_user_name: {
+ required: false,
+ serialized_name: 'properties.publishingUserName',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password: {
+ required: false,
+ serialized_name: 'properties.publishingPassword',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password_hash: {
+ required: false,
+ serialized_name: 'properties.publishingPasswordHash',
+ type: {
+ name: 'String'
+ }
+ },
+ publishing_password_hash_salt: {
+ required: false,
+ serialized_name: 'properties.publishingPasswordHashSalt',
+ type: {
+ name: 'String'
+ }
+ }
+ }
+ }
+ }
+ end
+ end
+ end
+end
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb
index 5cb66ae2e9..92fad4d0c0 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/vnet_info.rb
@@ -18,8 +18,8 @@ class VnetInfo < ProxyOnlyResource
# @return [String] The client certificate thumbprint.
attr_accessor :cert_thumbprint
- # @return [String] A certificate file (.cer) blob containing the public
- # key of the private key used to authenticate a
+ # @return [Array] A certificate file (.cer) blob containing the
+ # public key of the private key used to authenticate a
# Point-To-Site VPN connection.
attr_accessor :cert_blob
@@ -98,7 +98,7 @@ def self.mapper()
required: false,
serialized_name: 'properties.certBlob',
type: {
- name: 'String'
+ name: 'ByteArray'
}
},
routes: {
diff --git a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/worker_size_options.rb b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/worker_size_options.rb
index 3a2e8d8e1c..8f96ce2646 100644
--- a/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/worker_size_options.rb
+++ b/management/azure_mgmt_web/lib/2016-09-01/generated/azure_mgmt_web/models/worker_size_options.rb
@@ -13,6 +13,9 @@ module WorkerSizeOptions
Small = "Small"
Medium = "Medium"
Large = "Large"
+ D1 = "D1"
+ D2 = "D2"
+ D3 = "D3"
end
end
end