Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate webapps sdk for 2018-02-01 API version #2650

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 32 additions & 8 deletions azure-mgmt-web/azure/mgmt/web/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
from .snapshot_recovery_target import SnapshotRecoveryTarget
from .snapshot_recovery_request import SnapshotRecoveryRequest
from .resource_metric_availability import ResourceMetricAvailability
from .resource_metric_name import ResourceMetricName
from .resource_metric_definition import ResourceMetricDefinition
from .push_settings import PushSettings
from .identifier import Identifier
Expand Down Expand Up @@ -66,6 +65,9 @@
from .sku_description import SkuDescription
from .app_service_plan import AppServicePlan
from .resource import Resource
from .default_error_response_error_details_item import DefaultErrorResponseErrorDetailsItem
from .default_error_response_error import DefaultErrorResponseError
from .default_error_response import DefaultErrorResponse, DefaultErrorResponseException
from .name_identifier import NameIdentifier
from .metric_availability import MetricAvailability
from .dimension import Dimension
Expand All @@ -84,7 +86,6 @@
from .domain_ownership_identifier import DomainOwnershipIdentifier
from .domain_patch_resource import DomainPatchResource
from .domain_recommendation_search_parameters import DomainRecommendationSearchParameters
from .error_response import ErrorResponse, ErrorResponseException
from .tld_legal_agreement import TldLegalAgreement
from .top_level_domain import TopLevelDomain
from .top_level_domain_agreement_option import TopLevelDomainAgreementOption
Expand All @@ -100,6 +101,7 @@
from .csm_usage_quota import CsmUsageQuota
from .error_entity import ErrorEntity
from .operation import Operation
from .resource_metric_name import ResourceMetricName
from .resource_metric_property import ResourceMetricProperty
from .resource_metric_value import ResourceMetricValue
from .resource_metric import ResourceMetric
Expand All @@ -123,6 +125,7 @@
from .application_stack import ApplicationStack
from .recommendation import Recommendation
from .recommendation_rule import RecommendationRule
from .billing_meter import BillingMeter
from .csm_move_resource_envelope import CsmMoveResourceEnvelope
from .geo_region import GeoRegion
from .hosting_environment_deployment_info import HostingEnvironmentDeploymentInfo
Expand Down Expand Up @@ -154,6 +157,7 @@
from .csm_publishing_profile_options import CsmPublishingProfileOptions
from .csm_slot_entity import CsmSlotEntity
from .custom_hostname_analysis_result import CustomHostnameAnalysisResult
from .deleted_app_restore_request import DeletedAppRestoreRequest
from .deployment import Deployment
from .enabled_config import EnabledConfig
from .file_system_http_logs_config import FileSystemHttpLogsConfig
Expand All @@ -173,12 +177,14 @@
from .perf_mon_set import PerfMonSet
from .perf_mon_response import PerfMonResponse
from .premier_add_on import PremierAddOn
from .private_access_subnet import PrivateAccessSubnet
from .private_access_virtual_network import PrivateAccessVirtualNetwork
from .private_access import PrivateAccess
from .process_thread_info import ProcessThreadInfo
from .process_module_info import ProcessModuleInfo
from .process_info import ProcessInfo
from .public_certificate import PublicCertificate
from .restore_request import RestoreRequest
from .restore_response import RestoreResponse
from .site_auth_settings import SiteAuthSettings
from .site_cloneability_criterion import SiteCloneabilityCriterion
from .site_cloneability import SiteCloneability
Expand All @@ -193,6 +199,8 @@
from .slot_config_names_resource import SlotConfigNamesResource
from .slot_difference import SlotDifference
from .snapshot import Snapshot
from .snapshot_recovery_source import SnapshotRecoverySource
from .snapshot_restore_request import SnapshotRestoreRequest
from .storage_migration_options import StorageMigrationOptions
from .storage_migration_response import StorageMigrationResponse
from .string_dictionary import StringDictionary
Expand Down Expand Up @@ -225,7 +233,9 @@
from .analysis_definition_paged import AnalysisDefinitionPaged
from .detector_definition_paged import DetectorDefinitionPaged
from .application_stack_paged import ApplicationStackPaged
from .recommendation_paged import RecommendationPaged
from .source_control_paged import SourceControlPaged
from .billing_meter_paged import BillingMeterPaged
from .geo_region_paged import GeoRegionPaged
from .identifier_paged import IdentifierPaged
from .premier_add_on_offer_paged import PremierAddOnOfferPaged
Expand Down Expand Up @@ -267,12 +277,14 @@
CertificateOrderStatus,
CertificateOrderActionType,
RouteType,
ManagedServiceIdentityType,
AutoHealActionType,
ConnectionStringType,
ScmType,
ManagedPipelineMode,
SiteLoadBalancing,
SupportedTlsVersions,
FtpsState,
SslState,
HostType,
UsageState,
Expand Down Expand Up @@ -303,7 +315,6 @@
BackupItemStatus,
DatabaseType,
FrequencyUnit,
BackupRestoreOperationType,
ContinuousWebJobStatus,
WebJobType,
PublishingProfileFormat,
Expand All @@ -312,6 +323,7 @@
MSDeployProvisioningState,
MySqlMigrationType,
PublicCertificateLocation,
BackupRestoreOperationType,
UnauthenticatedClientAction,
BuiltInAuthenticationProvider,
CloneAbilityResult,
Expand Down Expand Up @@ -340,7 +352,6 @@
'SnapshotRecoveryTarget',
'SnapshotRecoveryRequest',
'ResourceMetricAvailability',
'ResourceMetricName',
'ResourceMetricDefinition',
'PushSettings',
'Identifier',
Expand Down Expand Up @@ -378,6 +389,9 @@
'SkuDescription',
'AppServicePlan',
'Resource',
'DefaultErrorResponseErrorDetailsItem',
'DefaultErrorResponseError',
'DefaultErrorResponse', 'DefaultErrorResponseException',
'NameIdentifier',
'MetricAvailability',
'Dimension',
Expand All @@ -396,7 +410,6 @@
'DomainOwnershipIdentifier',
'DomainPatchResource',
'DomainRecommendationSearchParameters',
'ErrorResponse', 'ErrorResponseException',
'TldLegalAgreement',
'TopLevelDomain',
'TopLevelDomainAgreementOption',
Expand All @@ -412,6 +425,7 @@
'CsmUsageQuota',
'ErrorEntity',
'Operation',
'ResourceMetricName',
'ResourceMetricProperty',
'ResourceMetricValue',
'ResourceMetric',
Expand All @@ -435,6 +449,7 @@
'ApplicationStack',
'Recommendation',
'RecommendationRule',
'BillingMeter',
'CsmMoveResourceEnvelope',
'GeoRegion',
'HostingEnvironmentDeploymentInfo',
Expand Down Expand Up @@ -466,6 +481,7 @@
'CsmPublishingProfileOptions',
'CsmSlotEntity',
'CustomHostnameAnalysisResult',
'DeletedAppRestoreRequest',
'Deployment',
'EnabledConfig',
'FileSystemHttpLogsConfig',
Expand All @@ -485,12 +501,14 @@
'PerfMonSet',
'PerfMonResponse',
'PremierAddOn',
'PrivateAccessSubnet',
'PrivateAccessVirtualNetwork',
'PrivateAccess',
'ProcessThreadInfo',
'ProcessModuleInfo',
'ProcessInfo',
'PublicCertificate',
'RestoreRequest',
'RestoreResponse',
'SiteAuthSettings',
'SiteCloneabilityCriterion',
'SiteCloneability',
Expand All @@ -505,6 +523,8 @@
'SlotConfigNamesResource',
'SlotDifference',
'Snapshot',
'SnapshotRecoverySource',
'SnapshotRestoreRequest',
'StorageMigrationOptions',
'StorageMigrationResponse',
'StringDictionary',
Expand Down Expand Up @@ -537,7 +557,9 @@
'AnalysisDefinitionPaged',
'DetectorDefinitionPaged',
'ApplicationStackPaged',
'RecommendationPaged',
'SourceControlPaged',
'BillingMeterPaged',
'GeoRegionPaged',
'IdentifierPaged',
'PremierAddOnOfferPaged',
Expand Down Expand Up @@ -578,12 +600,14 @@
'CertificateOrderStatus',
'CertificateOrderActionType',
'RouteType',
'ManagedServiceIdentityType',
'AutoHealActionType',
'ConnectionStringType',
'ScmType',
'ManagedPipelineMode',
'SiteLoadBalancing',
'SupportedTlsVersions',
'FtpsState',
'SslState',
'HostType',
'UsageState',
Expand Down Expand Up @@ -614,7 +638,6 @@
'BackupItemStatus',
'DatabaseType',
'FrequencyUnit',
'BackupRestoreOperationType',
'ContinuousWebJobStatus',
'WebJobType',
'PublishingProfileFormat',
Expand All @@ -623,6 +646,7 @@
'MSDeployProvisioningState',
'MySqlMigrationType',
'PublicCertificateLocation',
'BackupRestoreOperationType',
'UnauthenticatedClientAction',
'BuiltInAuthenticationProvider',
'CloneAbilityResult',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ class AppServiceEnvironment(Model):
:param user_whitelisted_ip_ranges: User added ip ranges to whitelist on
ASE db
:type user_whitelisted_ip_ranges: list[str]
:param has_linux_workers: Flag that displays whether an ASE has linux
workers or not
:type has_linux_workers: bool
"""

_validation = {
Expand Down Expand Up @@ -186,9 +189,10 @@ class AppServiceEnvironment(Model):
'dynamic_cache_enabled': {'key': 'dynamicCacheEnabled', 'type': 'bool'},
'cluster_settings': {'key': 'clusterSettings', 'type': '[NameValuePair]'},
'user_whitelisted_ip_ranges': {'key': 'userWhitelistedIpRanges', 'type': '[str]'},
'has_linux_workers': {'key': 'hasLinuxWorkers', 'type': 'bool'},
}

def __init__(self, name, location, virtual_network, worker_pools, vnet_name=None, vnet_resource_group_name=None, vnet_subnet_name=None, internal_load_balancing_mode=None, multi_size=None, multi_role_count=None, ipssl_address_count=None, dns_suffix=None, network_access_control_list=None, front_end_scale_factor=None, api_management_account_id=None, suspended=None, dynamic_cache_enabled=None, cluster_settings=None, user_whitelisted_ip_ranges=None):
def __init__(self, name, location, virtual_network, worker_pools, vnet_name=None, vnet_resource_group_name=None, vnet_subnet_name=None, internal_load_balancing_mode=None, multi_size=None, multi_role_count=None, ipssl_address_count=None, dns_suffix=None, network_access_control_list=None, front_end_scale_factor=None, api_management_account_id=None, suspended=None, dynamic_cache_enabled=None, cluster_settings=None, user_whitelisted_ip_ranges=None, has_linux_workers=None):
super(AppServiceEnvironment, self).__init__()
self.name = name
self.location = location
Expand Down Expand Up @@ -226,3 +230,4 @@ def __init__(self, name, location, virtual_network, worker_pools, vnet_name=None
self.dynamic_cache_enabled = dynamic_cache_enabled
self.cluster_settings = cluster_settings
self.user_whitelisted_ip_ranges = user_whitelisted_ip_ranges
self.has_linux_workers = has_linux_workers
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ class AppServiceEnvironmentPatchResource(ProxyOnlyResource):
:param user_whitelisted_ip_ranges: User added ip ranges to whitelist on
ASE db
:type user_whitelisted_ip_ranges: list[str]
:param has_linux_workers: Flag that displays whether an ASE has linux
workers or not
:type has_linux_workers: bool
"""

_validation = {
Expand Down Expand Up @@ -202,9 +205,10 @@ class AppServiceEnvironmentPatchResource(ProxyOnlyResource):
'dynamic_cache_enabled': {'key': 'properties.dynamicCacheEnabled', 'type': 'bool'},
'cluster_settings': {'key': 'properties.clusterSettings', 'type': '[NameValuePair]'},
'user_whitelisted_ip_ranges': {'key': 'properties.userWhitelistedIpRanges', 'type': '[str]'},
'has_linux_workers': {'key': 'properties.hasLinuxWorkers', 'type': 'bool'},
}

def __init__(self, app_service_environment_patch_resource_name, location, virtual_network, worker_pools, kind=None, vnet_name=None, vnet_resource_group_name=None, vnet_subnet_name=None, internal_load_balancing_mode=None, multi_size=None, multi_role_count=None, ipssl_address_count=None, dns_suffix=None, network_access_control_list=None, front_end_scale_factor=None, api_management_account_id=None, suspended=None, dynamic_cache_enabled=None, cluster_settings=None, user_whitelisted_ip_ranges=None):
def __init__(self, app_service_environment_patch_resource_name, location, virtual_network, worker_pools, kind=None, vnet_name=None, vnet_resource_group_name=None, vnet_subnet_name=None, internal_load_balancing_mode=None, multi_size=None, multi_role_count=None, ipssl_address_count=None, dns_suffix=None, network_access_control_list=None, front_end_scale_factor=None, api_management_account_id=None, suspended=None, dynamic_cache_enabled=None, cluster_settings=None, user_whitelisted_ip_ranges=None, has_linux_workers=None):
super(AppServiceEnvironmentPatchResource, self).__init__(kind=kind)
self.app_service_environment_patch_resource_name = app_service_environment_patch_resource_name
self.location = location
Expand Down Expand Up @@ -242,3 +246,4 @@ def __init__(self, app_service_environment_patch_resource_name, location, virtua
self.dynamic_cache_enabled = dynamic_cache_enabled
self.cluster_settings = cluster_settings
self.user_whitelisted_ip_ranges = user_whitelisted_ip_ranges
self.has_linux_workers = has_linux_workers
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ class AppServiceEnvironmentResource(Resource):
:param user_whitelisted_ip_ranges: User added ip ranges to whitelist on
ASE db
:type user_whitelisted_ip_ranges: list[str]
:param has_linux_workers: Flag that displays whether an ASE has linux
workers or not
:type has_linux_workers: bool
"""

_validation = {
Expand Down Expand Up @@ -210,9 +213,10 @@ class AppServiceEnvironmentResource(Resource):
'dynamic_cache_enabled': {'key': 'properties.dynamicCacheEnabled', 'type': 'bool'},
'cluster_settings': {'key': 'properties.clusterSettings', 'type': '[NameValuePair]'},
'user_whitelisted_ip_ranges': {'key': 'properties.userWhitelistedIpRanges', 'type': '[str]'},
'has_linux_workers': {'key': 'properties.hasLinuxWorkers', 'type': 'bool'},
}

def __init__(self, location, app_service_environment_resource_name, app_service_environment_resource_location, virtual_network, worker_pools, kind=None, tags=None, vnet_name=None, vnet_resource_group_name=None, vnet_subnet_name=None, internal_load_balancing_mode=None, multi_size=None, multi_role_count=None, ipssl_address_count=None, dns_suffix=None, network_access_control_list=None, front_end_scale_factor=None, api_management_account_id=None, suspended=None, dynamic_cache_enabled=None, cluster_settings=None, user_whitelisted_ip_ranges=None):
def __init__(self, location, app_service_environment_resource_name, app_service_environment_resource_location, virtual_network, worker_pools, kind=None, tags=None, vnet_name=None, vnet_resource_group_name=None, vnet_subnet_name=None, internal_load_balancing_mode=None, multi_size=None, multi_role_count=None, ipssl_address_count=None, dns_suffix=None, network_access_control_list=None, front_end_scale_factor=None, api_management_account_id=None, suspended=None, dynamic_cache_enabled=None, cluster_settings=None, user_whitelisted_ip_ranges=None, has_linux_workers=None):
super(AppServiceEnvironmentResource, self).__init__(kind=kind, location=location, tags=tags)
self.app_service_environment_resource_name = app_service_environment_resource_name
self.app_service_environment_resource_location = app_service_environment_resource_location
Expand Down Expand Up @@ -250,3 +254,4 @@ def __init__(self, location, app_service_environment_resource_name, app_service_
self.dynamic_cache_enabled = dynamic_cache_enabled
self.cluster_settings = cluster_settings
self.user_whitelisted_ip_ranges = user_whitelisted_ip_ranges
self.has_linux_workers = has_linux_workers
12 changes: 6 additions & 6 deletions azure-mgmt-web/azure/mgmt/web/models/app_service_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ class AppServicePlan(Resource):
:vartype type: str
:param tags: Resource tags.
:type tags: dict[str, str]
:param app_service_plan_name: Name for the App Service plan.
:type app_service_plan_name: str
:param worker_tier_name: Target worker tier assigned to the App Service
plan.
:type worker_tier_name: str
Expand Down Expand Up @@ -69,6 +67,9 @@ class AppServicePlan(Resource):
:param reserved: If Linux app service plan <code>true</code>,
<code>false</code> otherwise. Default value: False .
:type reserved: bool
:param is_xenon: If Hyper-V container app service plan <code>true</code>,
<code>false</code> otherwise. Default value: False .
:type is_xenon: bool
:param target_worker_count: Scaling worker count.
:type target_worker_count: int
:param target_worker_size_id: Scaling worker size ID.
Expand All @@ -87,7 +88,6 @@ class AppServicePlan(Resource):
'name': {'readonly': True},
'location': {'required': True},
'type': {'readonly': True},
'app_service_plan_name': {'required': True},
'status': {'readonly': True},
'subscription': {'readonly': True},
'maximum_number_of_workers': {'readonly': True},
Expand All @@ -104,7 +104,6 @@ class AppServicePlan(Resource):
'location': {'key': 'location', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'app_service_plan_name': {'key': 'properties.name', 'type': 'str'},
'worker_tier_name': {'key': 'properties.workerTierName', 'type': 'str'},
'status': {'key': 'properties.status', 'type': 'StatusOptions'},
'subscription': {'key': 'properties.subscription', 'type': 'str'},
Expand All @@ -118,15 +117,15 @@ class AppServicePlan(Resource):
'spot_expiration_time': {'key': 'properties.spotExpirationTime', 'type': 'iso-8601'},
'resource_group': {'key': 'properties.resourceGroup', 'type': 'str'},
'reserved': {'key': 'properties.reserved', 'type': 'bool'},
'is_xenon': {'key': 'properties.isXenon', 'type': 'bool'},
'target_worker_count': {'key': 'properties.targetWorkerCount', 'type': 'int'},
'target_worker_size_id': {'key': 'properties.targetWorkerSizeId', 'type': 'int'},
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'},
'sku': {'key': 'sku', 'type': 'SkuDescription'},
}

def __init__(self, location, app_service_plan_name, kind=None, tags=None, worker_tier_name=None, admin_site_name=None, hosting_environment_profile=None, per_site_scaling=False, is_spot=None, spot_expiration_time=None, reserved=False, target_worker_count=None, target_worker_size_id=None, sku=None):
def __init__(self, location, kind=None, tags=None, worker_tier_name=None, admin_site_name=None, hosting_environment_profile=None, per_site_scaling=False, is_spot=None, spot_expiration_time=None, reserved=False, is_xenon=False, target_worker_count=None, target_worker_size_id=None, sku=None):
super(AppServicePlan, self).__init__(kind=kind, location=location, tags=tags)
self.app_service_plan_name = app_service_plan_name
self.worker_tier_name = worker_tier_name
self.status = None
self.subscription = None
Expand All @@ -140,6 +139,7 @@ def __init__(self, location, app_service_plan_name, kind=None, tags=None, worker
self.spot_expiration_time = spot_expiration_time
self.resource_group = None
self.reserved = reserved
self.is_xenon = is_xenon
self.target_worker_count = target_worker_count
self.target_worker_size_id = target_worker_size_id
self.provisioning_state = None
Expand Down
Loading