Skip to content
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
Empty file modified azure-mgmt-web/azure/mgmt/web/__init__.py
100755 → 100644
Empty file.
450 changes: 246 additions & 204 deletions azure-mgmt-web/azure/mgmt/web/models/__init__.py
100755 → 100644

Large diffs are not rendered by default.

Empty file modified azure-mgmt-web/azure/mgmt/web/models/address.py
100755 → 100644
Empty file.
Empty file modified azure-mgmt-web/azure/mgmt/web/models/address_response.py
100755 → 100644
Empty file.
Empty file modified azure-mgmt-web/azure/mgmt/web/models/api_definition_info.py
100755 → 100644
Empty file.
Empty file modified azure-mgmt-web/azure/mgmt/web/models/app_service_certificate.py
100755 → 100644
Empty file.
14 changes: 8 additions & 6 deletions azure-mgmt-web/azure/mgmt/web/models/app_service_certificate_order.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ class AppServiceCertificateOrder(Resource):

:ivar id: Resource Id.
:vartype id: str
:param name: Resource Name.
:type name: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:param location: Resource Location.
:type location: str
:param type: Resource type.
:type type: str
:ivar type: Resource type.
:vartype type: str
:param tags: Resource tags.
:type tags: dict
:param certificates: State of the Key Vault secret.
Expand Down Expand Up @@ -88,7 +88,9 @@ class AppServiceCertificateOrder(Resource):

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'location': {'required': True},
'type': {'readonly': True},
'domain_verification_token': {'readonly': True},
'validity_in_years': {'maximum': 3, 'minimum': 1},
'provisioning_state': {'readonly': True},
Expand Down Expand Up @@ -132,8 +134,8 @@ class AppServiceCertificateOrder(Resource):
'next_auto_renewal_time_stamp': {'key': 'properties.nextAutoRenewalTimeStamp', 'type': 'iso-8601'},
}

def __init__(self, location, name=None, kind=None, type=None, tags=None, certificates=None, distinguished_name=None, validity_in_years=1, key_size=2048, product_type=None, auto_renew=True, csr=None):
super(AppServiceCertificateOrder, self).__init__(name=name, kind=kind, location=location, type=type, tags=tags)
def __init__(self, location, kind=None, tags=None, certificates=None, distinguished_name=None, validity_in_years=1, key_size=2048, product_type=None, auto_renew=True, csr=None):
super(AppServiceCertificateOrder, self).__init__(kind=kind, location=location, tags=tags)
self.certificates = certificates
self.distinguished_name = distinguished_name
self.domain_verification_token = None
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/app_service_certificate_order_paged.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class AppServiceCertificateOrderPaged(Paged):
"""
A paging container for iterating over a list of AppServiceCertificateOrder object
A paging container for iterating over a list of :class:`AppServiceCertificateOrder <azure.mgmt.web.models.AppServiceCertificateOrder>` object
"""

_attribute_map = {
Expand Down
14 changes: 8 additions & 6 deletions azure-mgmt-web/azure/mgmt/web/models/app_service_certificate_resource.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ class AppServiceCertificateResource(Resource):

:ivar id: Resource Id.
:vartype id: str
:param name: Resource Name.
:type name: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:param location: Resource Location.
:type location: str
:param type: Resource type.
:type type: str
:ivar type: Resource type.
:vartype type: str
:param tags: Resource tags.
:type tags: dict
:param key_vault_id: Key Vault resource Id.
Expand All @@ -47,7 +47,9 @@ class AppServiceCertificateResource(Resource):

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'location': {'required': True},
'type': {'readonly': True},
'provisioning_state': {'readonly': True},
}

Expand All @@ -63,8 +65,8 @@ class AppServiceCertificateResource(Resource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'KeyVaultSecretStatus'},
}

def __init__(self, location, name=None, kind=None, type=None, tags=None, key_vault_id=None, key_vault_secret_name=None):
super(AppServiceCertificateResource, self).__init__(name=name, kind=kind, location=location, type=type, tags=tags)
def __init__(self, location, kind=None, tags=None, key_vault_id=None, key_vault_secret_name=None):
super(AppServiceCertificateResource, self).__init__(kind=kind, location=location, tags=tags)
self.key_vault_id = key_vault_id
self.key_vault_secret_name = key_vault_secret_name
self.provisioning_state = None
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/app_service_certificate_resource_paged.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class AppServiceCertificateResourcePaged(Paged):
"""
A paging container for iterating over a list of AppServiceCertificateResource object
A paging container for iterating over a list of :class:`AppServiceCertificateResource <azure.mgmt.web.models.AppServiceCertificateResource>` object
"""

_attribute_map = {
Expand Down
Empty file modified azure-mgmt-web/azure/mgmt/web/models/app_service_environment.py
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/app_service_environment_paged.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class AppServiceEnvironmentPaged(Paged):
"""
A paging container for iterating over a list of AppServiceEnvironment object
A paging container for iterating over a list of :class:`AppServiceEnvironment <azure.mgmt.web.models.AppServiceEnvironment>` object
"""

_attribute_map = {
Expand Down
14 changes: 8 additions & 6 deletions azure-mgmt-web/azure/mgmt/web/models/app_service_environment_resource.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ class AppServiceEnvironmentResource(Resource):

:ivar id: Resource Id.
:vartype id: str
:param name: Resource Name.
:type name: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:param location: Resource Location.
:type location: str
:param type: Resource type.
:type type: str
:ivar type: Resource type.
:vartype type: str
:param tags: Resource tags.
:type tags: dict
:param app_service_environment_resource_name: Name of the App Service
Expand Down Expand Up @@ -145,7 +145,9 @@ class AppServiceEnvironmentResource(Resource):

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'location': {'required': True},
'type': {'readonly': True},
'app_service_environment_resource_name': {'required': True},
'app_service_environment_resource_location': {'required': True},
'provisioning_state': {'readonly': True},
Expand Down Expand Up @@ -213,8 +215,8 @@ class AppServiceEnvironmentResource(Resource):
'cluster_settings': {'key': 'properties.clusterSettings', 'type': '[NameValuePair]'},
}

def __init__(self, location, app_service_environment_resource_name, app_service_environment_resource_location, virtual_network, worker_pools, name=None, kind=None, type=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):
super(AppServiceEnvironmentResource, self).__init__(name=name, kind=kind, location=location, type=type, tags=tags)
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):
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
self.provisioning_state = None
Expand Down
14 changes: 8 additions & 6 deletions azure-mgmt-web/azure/mgmt/web/models/app_service_plan.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ class AppServicePlan(Resource):

:ivar id: Resource Id.
:vartype id: str
:param name: Resource Name.
:type name: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:param location: Resource Location.
:type location: str
:param type: Resource type.
:type type: str
:ivar type: Resource type.
:vartype type: str
:param tags: Resource tags.
:type tags: dict
:param app_service_plan_name: Name for the App Service plan.
Expand Down Expand Up @@ -78,7 +78,9 @@ class AppServicePlan(Resource):

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'location': {'required': True},
'type': {'readonly': True},
'status': {'readonly': True},
'subscription': {'readonly': True},
'maximum_number_of_workers': {'readonly': True},
Expand Down Expand Up @@ -113,8 +115,8 @@ class AppServicePlan(Resource):
'sku': {'key': 'sku', 'type': 'SkuDescription'},
}

def __init__(self, location, name=None, kind=None, type=None, tags=None, app_service_plan_name=None, worker_tier_name=None, admin_site_name=None, hosting_environment_profile=None, per_site_scaling=False, reserved=False, target_worker_count=None, target_worker_size_id=None, sku=None):
super(AppServicePlan, self).__init__(name=name, kind=kind, location=location, type=type, tags=tags)
def __init__(self, location, kind=None, tags=None, app_service_plan_name=None, worker_tier_name=None, admin_site_name=None, hosting_environment_profile=None, per_site_scaling=False, reserved=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
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/app_service_plan_paged.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class AppServicePlanPaged(Paged):
"""
A paging container for iterating over a list of AppServicePlan object
A paging container for iterating over a list of :class:`AppServicePlan <azure.mgmt.web.models.AppServicePlan>` object
"""

_attribute_map = {
Expand Down
Empty file modified azure-mgmt-web/azure/mgmt/web/models/application_logs_config.py
100755 → 100644
Empty file.
Empty file modified azure-mgmt-web/azure/mgmt/web/models/auto_heal_actions.py
100755 → 100644
Empty file.
Empty file modified azure-mgmt-web/azure/mgmt/web/models/auto_heal_custom_action.py
100755 → 100644
Empty file.
Empty file modified azure-mgmt-web/azure/mgmt/web/models/auto_heal_rules.py
100755 → 100644
Empty file.
Empty file modified azure-mgmt-web/azure/mgmt/web/models/auto_heal_triggers.py
100755 → 100644
Empty file.
Empty file.
3 changes: 2 additions & 1 deletion azure-mgmt-web/azure/mgmt/web/models/azure_blob_storage_http_logs_config.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class AzureBlobStorageHttpLogsConfig(Model):
Remove blobs older than X days.
0 or lower means no retention.
:type retention_in_days: int
:param enabled: Enabled.
:param enabled: True if configuration is enabled, false if it is disabled
and null if configuration is not set.
:type enabled: bool
"""

Expand Down
Empty file.
25 changes: 10 additions & 15 deletions azure-mgmt-web/azure/mgmt/web/models/backup_item.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,23 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource
from .proxy_only_resource import ProxyOnlyResource


class BackupItem(Resource):
class BackupItem(ProxyOnlyResource):
"""Backup description.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource Id.
:vartype id: str
:param name: Resource Name.
:type name: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:param location: Resource Location.
:type location: str
:param type: Resource type.
:type type: str
:param tags: Resource tags.
:type tags: dict
:ivar type: Resource type.
:vartype type: str
:ivar backup_id: Id of the backup.
:vartype backup_id: int
:ivar storage_account_url: SAS URL for the storage account container which
Expand Down Expand Up @@ -71,7 +67,8 @@ class BackupItem(Resource):

_validation = {
'id': {'readonly': True},
'location': {'required': True},
'name': {'readonly': True},
'type': {'readonly': True},
'backup_id': {'readonly': True},
'storage_account_url': {'readonly': True},
'blob_name': {'readonly': True},
Expand All @@ -92,9 +89,7 @@ class BackupItem(Resource):
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'backup_id': {'key': 'properties.id', 'type': 'int'},
'storage_account_url': {'key': 'properties.storageAccountUrl', 'type': 'str'},
'blob_name': {'key': 'properties.blobName', 'type': 'str'},
Expand All @@ -111,8 +106,8 @@ class BackupItem(Resource):
'website_size_in_bytes': {'key': 'properties.websiteSizeInBytes', 'type': 'long'},
}

def __init__(self, location, name=None, kind=None, type=None, tags=None):
super(BackupItem, self).__init__(name=name, kind=kind, location=location, type=type, tags=tags)
def __init__(self, kind=None):
super(BackupItem, self).__init__(kind=kind)
self.backup_id = None
self.storage_account_url = None
self.blob_name = None
Expand Down
2 changes: 1 addition & 1 deletion azure-mgmt-web/azure/mgmt/web/models/backup_item_paged.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class BackupItemPaged(Paged):
"""
A paging container for iterating over a list of BackupItem object
A paging container for iterating over a list of :class:`BackupItem <azure.mgmt.web.models.BackupItem>` object
"""

_attribute_map = {
Expand Down
27 changes: 11 additions & 16 deletions azure-mgmt-web/azure/mgmt/web/models/backup_request.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,23 @@
# regenerated.
# --------------------------------------------------------------------------

from .resource import Resource
from .proxy_only_resource import ProxyOnlyResource


class BackupRequest(Resource):
class BackupRequest(ProxyOnlyResource):
"""Description of a backup which will be performed.

Variables are only populated by the server, and will be ignored when
sending a request.

:ivar id: Resource Id.
:vartype id: str
:param name: Resource Name.
:type name: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:param location: Resource Location.
:type location: str
:param type: Resource type.
:type type: str
:param tags: Resource tags.
:type tags: dict
:ivar type: Resource type.
:vartype type: str
:param backup_request_name: Name of the backup.
:type backup_request_name: str
:param enabled: True if the backup schedule is enabled (must be included
Expand All @@ -45,23 +41,22 @@ class BackupRequest(Resource):
:type databases: list of :class:`DatabaseBackupSetting
<azure.mgmt.web.models.DatabaseBackupSetting>`
:param backup_request_type: Type of the backup. Possible values include:
'Default', 'Clone', 'Relocation'
'Default', 'Clone', 'Relocation', 'Snapshot'
:type backup_request_type: str or :class:`BackupRestoreOperationType
<azure.mgmt.web.models.BackupRestoreOperationType>`
"""

_validation = {
'id': {'readonly': True},
'location': {'required': True},
'name': {'readonly': True},
'type': {'readonly': True},
}

_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'backup_request_name': {'key': 'properties.name', 'type': 'str'},
'enabled': {'key': 'properties.enabled', 'type': 'bool'},
'storage_account_url': {'key': 'properties.storageAccountUrl', 'type': 'str'},
Expand All @@ -70,8 +65,8 @@ class BackupRequest(Resource):
'backup_request_type': {'key': 'properties.type', 'type': 'BackupRestoreOperationType'},
}

def __init__(self, location, name=None, kind=None, type=None, tags=None, backup_request_name=None, enabled=None, storage_account_url=None, backup_schedule=None, databases=None, backup_request_type=None):
super(BackupRequest, self).__init__(name=name, kind=kind, location=location, type=type, tags=tags)
def __init__(self, kind=None, backup_request_name=None, enabled=None, storage_account_url=None, backup_schedule=None, databases=None, backup_request_type=None):
super(BackupRequest, self).__init__(kind=kind)
self.backup_request_name = backup_request_name
self.enabled = enabled
self.storage_account_url = storage_account_url
Expand Down
Empty file modified azure-mgmt-web/azure/mgmt/web/models/backup_schedule.py
100755 → 100644
Empty file.
Empty file modified azure-mgmt-web/azure/mgmt/web/models/capability.py
100755 → 100644
Empty file.
14 changes: 8 additions & 6 deletions azure-mgmt-web/azure/mgmt/web/models/certificate.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ class Certificate(Resource):

:ivar id: Resource Id.
:vartype id: str
:param name: Resource Name.
:type name: str
:ivar name: Resource Name.
:vartype name: str
:param kind: Kind of resource.
:type kind: str
:param location: Resource Location.
:type location: str
:param type: Resource type.
:type type: str
:ivar type: Resource type.
:vartype type: str
:param tags: Resource tags.
:type tags: dict
:ivar friendly_name: Friendly name of the certificate.
Expand Down Expand Up @@ -86,7 +86,9 @@ class Certificate(Resource):

_validation = {
'id': {'readonly': True},
'name': {'readonly': True},
'location': {'required': True},
'type': {'readonly': True},
'friendly_name': {'readonly': True},
'subject_name': {'readonly': True},
'site_name': {'readonly': True},
Expand Down Expand Up @@ -134,8 +136,8 @@ class Certificate(Resource):
'server_farm_id': {'key': 'properties.serverFarmId', 'type': 'str'},
}

def __init__(self, location, name=None, kind=None, type=None, tags=None, host_names=None, pfx_blob=None, password=None, key_vault_id=None, key_vault_secret_name=None, server_farm_id=None):
super(Certificate, self).__init__(name=name, kind=kind, location=location, type=type, tags=tags)
def __init__(self, location, kind=None, tags=None, host_names=None, pfx_blob=None, password=None, key_vault_id=None, key_vault_secret_name=None, server_farm_id=None):
super(Certificate, self).__init__(kind=kind, location=location, tags=tags)
self.friendly_name = None
self.subject_name = None
self.host_names = host_names
Expand Down
Empty file modified azure-mgmt-web/azure/mgmt/web/models/certificate_details.py
100755 → 100644
Empty file.
Loading