diff --git a/sdk/network/azure-mgmt-frontdoor/README.rst b/sdk/network/azure-mgmt-frontdoor/README.rst index 5091bd19f934..57850737cf83 100644 --- a/sdk/network/azure-mgmt-frontdoor/README.rst +++ b/sdk/network/azure-mgmt-frontdoor/README.rst @@ -6,7 +6,7 @@ This is the Microsoft Azure Front Door Service Client Library. Azure Resource Manager (ARM) is the next generation of management APIs that replace the old Azure Service Management (ASM). -This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7. +This package has been tested with Python 2.7, 3.5, 3.6 and 3.7. For the older Azure Service Management (ASM) libraries, see `azure-servicemanagement-legacy `__ library. diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/front_door_management_client.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/front_door_management_client.py index 89aa4286479d..2f48131d3b4d 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/front_door_management_client.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/front_door_management_client.py @@ -151,7 +151,7 @@ def check_front_door_name_availability( """ check_front_door_name_availability_input = models.CheckNameAvailabilityInput(name=name, type=type) - api_version = "2019-04-01" + api_version = "2019-05-01" # Construct URL url = self.check_front_door_name_availability.metadata['url'] @@ -216,7 +216,7 @@ def check_front_door_name_availability_with_subscription( """ check_front_door_name_availability_input = models.CheckNameAvailabilityInput(name=name, type=type) - api_version = "2019-04-01" + api_version = "2019-05-01" # Construct URL url = self.check_front_door_name_availability_with_subscription.metadata['url'] diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/__init__.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/__init__.py index f4f564eae7dd..7099b46386cc 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/__init__.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/__init__.py @@ -116,7 +116,7 @@ CustomHttpsProvisioningState, CustomHttpsProvisioningSubstate, FrontDoorCertificateSource, - FrontDoorTlsProtocolType, + MinimumTLSVersion, FrontDoorCertificateType, EnforceCertificateNameCheckEnabledState, FrontDoorEnabledState, @@ -128,6 +128,8 @@ FrontDoorRedirectType, FrontDoorRedirectProtocol, BackendEnabledState, + FrontDoorHealthProbeMethod, + HealthProbeEnabled, SessionAffinityEnabledState, ResourceType, Availability, @@ -203,7 +205,7 @@ 'CustomHttpsProvisioningState', 'CustomHttpsProvisioningSubstate', 'FrontDoorCertificateSource', - 'FrontDoorTlsProtocolType', + 'MinimumTLSVersion', 'FrontDoorCertificateType', 'EnforceCertificateNameCheckEnabledState', 'FrontDoorEnabledState', @@ -215,6 +217,8 @@ 'FrontDoorRedirectType', 'FrontDoorRedirectProtocol', 'BackendEnabledState', + 'FrontDoorHealthProbeMethod', + 'HealthProbeEnabled', 'SessionAffinityEnabledState', 'ResourceType', 'Availability', diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/backend_pools_settings.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/backend_pools_settings.py index a0ceb9de5d81..6062d2c11f30 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/backend_pools_settings.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/backend_pools_settings.py @@ -21,12 +21,22 @@ class BackendPoolsSettings(Model): "Enabled" . :type enforce_certificate_name_check: str or ~azure.mgmt.frontdoor.models.EnforceCertificateNameCheckEnabledState + :param send_recv_timeout_seconds: Send and receive timeout on forwarding + request to the backend. When timeout is reached, the request fails and + returns. + :type send_recv_timeout_seconds: int """ + _validation = { + 'send_recv_timeout_seconds': {'minimum': 16}, + } + _attribute_map = { 'enforce_certificate_name_check': {'key': 'enforceCertificateNameCheck', 'type': 'str'}, + 'send_recv_timeout_seconds': {'key': 'sendRecvTimeoutSeconds', 'type': 'int'}, } def __init__(self, **kwargs): super(BackendPoolsSettings, self).__init__(**kwargs) self.enforce_certificate_name_check = kwargs.get('enforce_certificate_name_check', "Enabled") + self.send_recv_timeout_seconds = kwargs.get('send_recv_timeout_seconds', None) diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/backend_pools_settings_py3.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/backend_pools_settings_py3.py index e903bbc62ef5..e38797382615 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/backend_pools_settings_py3.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/backend_pools_settings_py3.py @@ -21,12 +21,22 @@ class BackendPoolsSettings(Model): "Enabled" . :type enforce_certificate_name_check: str or ~azure.mgmt.frontdoor.models.EnforceCertificateNameCheckEnabledState + :param send_recv_timeout_seconds: Send and receive timeout on forwarding + request to the backend. When timeout is reached, the request fails and + returns. + :type send_recv_timeout_seconds: int """ + _validation = { + 'send_recv_timeout_seconds': {'minimum': 16}, + } + _attribute_map = { 'enforce_certificate_name_check': {'key': 'enforceCertificateNameCheck', 'type': 'str'}, + 'send_recv_timeout_seconds': {'key': 'sendRecvTimeoutSeconds', 'type': 'int'}, } - def __init__(self, *, enforce_certificate_name_check="Enabled", **kwargs) -> None: + def __init__(self, *, enforce_certificate_name_check="Enabled", send_recv_timeout_seconds: int=None, **kwargs) -> None: super(BackendPoolsSettings, self).__init__(**kwargs) self.enforce_certificate_name_check = enforce_certificate_name_check + self.send_recv_timeout_seconds = send_recv_timeout_seconds diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/custom_https_configuration.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/custom_https_configuration.py index ebf4b28794fd..4956b04fb4f2 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/custom_https_configuration.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/custom_https_configuration.py @@ -15,14 +15,23 @@ class CustomHttpsConfiguration(Model): """Https settings for a domain. - :param certificate_source: Defines the source of the SSL certificate. - Possible values include: 'AzureKeyVault', 'FrontDoor' + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param certificate_source: Required. Defines the source of the SSL + certificate. Possible values include: 'AzureKeyVault', 'FrontDoor' :type certificate_source: str or ~azure.mgmt.frontdoor.models.FrontDoorCertificateSource - :param protocol_type: Defines the TLS extension protocol that is used for - secure delivery. Possible values include: 'ServerNameIndication' - :type protocol_type: str or - ~azure.mgmt.frontdoor.models.FrontDoorTlsProtocolType + :ivar protocol_type: Required. Defines the TLS extension protocol that is + used for secure delivery. Default value: "ServerNameIndication" . + :vartype protocol_type: str + :param minimum_tls_version: Required. The minimum TLS version required + from the clients to establish an SSL handshake with Front Door. Possible + values include: '1.0', '1.2' + :type minimum_tls_version: str or + ~azure.mgmt.frontdoor.models.MinimumTLSVersion :param vault: The Key Vault containing the SSL certificate :type vault: ~azure.mgmt.frontdoor.models.KeyVaultCertificateSourceParametersVault @@ -39,19 +48,28 @@ class CustomHttpsConfiguration(Model): ~azure.mgmt.frontdoor.models.FrontDoorCertificateType """ + _validation = { + 'certificate_source': {'required': True}, + 'protocol_type': {'required': True, 'constant': True}, + 'minimum_tls_version': {'required': True}, + } + _attribute_map = { 'certificate_source': {'key': 'certificateSource', 'type': 'str'}, 'protocol_type': {'key': 'protocolType', 'type': 'str'}, + 'minimum_tls_version': {'key': 'minimumTlsVersion', 'type': 'str'}, 'vault': {'key': 'keyVaultCertificateSourceParameters.vault', 'type': 'KeyVaultCertificateSourceParametersVault'}, 'secret_name': {'key': 'keyVaultCertificateSourceParameters.secretName', 'type': 'str'}, 'secret_version': {'key': 'keyVaultCertificateSourceParameters.secretVersion', 'type': 'str'}, 'certificate_type': {'key': 'frontDoorCertificateSourceParameters.certificateType', 'type': 'str'}, } + protocol_type = "ServerNameIndication" + def __init__(self, **kwargs): super(CustomHttpsConfiguration, self).__init__(**kwargs) self.certificate_source = kwargs.get('certificate_source', None) - self.protocol_type = kwargs.get('protocol_type', None) + self.minimum_tls_version = kwargs.get('minimum_tls_version', None) self.vault = kwargs.get('vault', None) self.secret_name = kwargs.get('secret_name', None) self.secret_version = kwargs.get('secret_version', None) diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/custom_https_configuration_py3.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/custom_https_configuration_py3.py index 2420582fecb1..67ba20aa46af 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/custom_https_configuration_py3.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/custom_https_configuration_py3.py @@ -15,14 +15,23 @@ class CustomHttpsConfiguration(Model): """Https settings for a domain. - :param certificate_source: Defines the source of the SSL certificate. - Possible values include: 'AzureKeyVault', 'FrontDoor' + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param certificate_source: Required. Defines the source of the SSL + certificate. Possible values include: 'AzureKeyVault', 'FrontDoor' :type certificate_source: str or ~azure.mgmt.frontdoor.models.FrontDoorCertificateSource - :param protocol_type: Defines the TLS extension protocol that is used for - secure delivery. Possible values include: 'ServerNameIndication' - :type protocol_type: str or - ~azure.mgmt.frontdoor.models.FrontDoorTlsProtocolType + :ivar protocol_type: Required. Defines the TLS extension protocol that is + used for secure delivery. Default value: "ServerNameIndication" . + :vartype protocol_type: str + :param minimum_tls_version: Required. The minimum TLS version required + from the clients to establish an SSL handshake with Front Door. Possible + values include: '1.0', '1.2' + :type minimum_tls_version: str or + ~azure.mgmt.frontdoor.models.MinimumTLSVersion :param vault: The Key Vault containing the SSL certificate :type vault: ~azure.mgmt.frontdoor.models.KeyVaultCertificateSourceParametersVault @@ -39,19 +48,28 @@ class CustomHttpsConfiguration(Model): ~azure.mgmt.frontdoor.models.FrontDoorCertificateType """ + _validation = { + 'certificate_source': {'required': True}, + 'protocol_type': {'required': True, 'constant': True}, + 'minimum_tls_version': {'required': True}, + } + _attribute_map = { 'certificate_source': {'key': 'certificateSource', 'type': 'str'}, 'protocol_type': {'key': 'protocolType', 'type': 'str'}, + 'minimum_tls_version': {'key': 'minimumTlsVersion', 'type': 'str'}, 'vault': {'key': 'keyVaultCertificateSourceParameters.vault', 'type': 'KeyVaultCertificateSourceParametersVault'}, 'secret_name': {'key': 'keyVaultCertificateSourceParameters.secretName', 'type': 'str'}, 'secret_version': {'key': 'keyVaultCertificateSourceParameters.secretVersion', 'type': 'str'}, 'certificate_type': {'key': 'frontDoorCertificateSourceParameters.certificateType', 'type': 'str'}, } - def __init__(self, *, certificate_source=None, protocol_type=None, vault=None, secret_name: str=None, secret_version: str=None, certificate_type=None, **kwargs) -> None: + protocol_type = "ServerNameIndication" + + def __init__(self, *, certificate_source, minimum_tls_version, vault=None, secret_name: str=None, secret_version: str=None, certificate_type=None, **kwargs) -> None: super(CustomHttpsConfiguration, self).__init__(**kwargs) self.certificate_source = certificate_source - self.protocol_type = protocol_type + self.minimum_tls_version = minimum_tls_version self.vault = vault self.secret_name = secret_name self.secret_version = secret_version diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/front_door_management_client_enums.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/front_door_management_client_enums.py index 04dbf18ac020..b2cea7051432 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/front_door_management_client_enums.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/front_door_management_client_enums.py @@ -51,9 +51,10 @@ class FrontDoorCertificateSource(str, Enum): front_door = "FrontDoor" -class FrontDoorTlsProtocolType(str, Enum): +class MinimumTLSVersion(str, Enum): - server_name_indication = "ServerNameIndication" + one_full_stop_zero = "1.0" + one_full_stop_two = "1.2" class FrontDoorCertificateType(str, Enum): @@ -125,6 +126,18 @@ class BackendEnabledState(str, Enum): disabled = "Disabled" +class FrontDoorHealthProbeMethod(str, Enum): + + get = "GET" + head = "HEAD" + + +class HealthProbeEnabled(str, Enum): + + enabled = "Enabled" + disabled = "Disabled" + + class SessionAffinityEnabledState(str, Enum): enabled = "Enabled" diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_model.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_model.py index 693eb0cf1f40..328782297e8a 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_model.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_model.py @@ -27,6 +27,17 @@ class HealthProbeSettingsModel(SubResource): :type protocol: str or ~azure.mgmt.frontdoor.models.FrontDoorProtocol :param interval_in_seconds: The number of seconds between health probes. :type interval_in_seconds: int + :param health_probe_method: Configures which HTTP method to use to probe + the backends defined under backendPools. Possible values include: 'GET', + 'HEAD'. Default value: "HEAD" . + :type health_probe_method: str or + ~azure.mgmt.frontdoor.models.FrontDoorHealthProbeMethod + :param enabled_state: Whether to enable health probes to be made against + backends defined under backendPools. Health probes can only be disabled if + there is a single enabled backend in single enabled backend pool. Possible + values include: 'Enabled', 'Disabled' + :type enabled_state: str or + ~azure.mgmt.frontdoor.models.HealthProbeEnabled :param resource_state: Resource status. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' :type resource_state: str or @@ -46,6 +57,8 @@ class HealthProbeSettingsModel(SubResource): 'path': {'key': 'properties.path', 'type': 'str'}, 'protocol': {'key': 'properties.protocol', 'type': 'str'}, 'interval_in_seconds': {'key': 'properties.intervalInSeconds', 'type': 'int'}, + 'health_probe_method': {'key': 'properties.healthProbeMethod', 'type': 'str'}, + 'enabled_state': {'key': 'properties.enabledState', 'type': 'str'}, 'resource_state': {'key': 'properties.resourceState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, @@ -56,6 +69,8 @@ def __init__(self, **kwargs): self.path = kwargs.get('path', None) self.protocol = kwargs.get('protocol', None) self.interval_in_seconds = kwargs.get('interval_in_seconds', None) + self.health_probe_method = kwargs.get('health_probe_method', "HEAD") + self.enabled_state = kwargs.get('enabled_state', None) self.resource_state = kwargs.get('resource_state', None) self.name = kwargs.get('name', None) self.type = None diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_model_py3.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_model_py3.py index ef1d1f5749b3..d379453e3b7c 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_model_py3.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_model_py3.py @@ -27,6 +27,17 @@ class HealthProbeSettingsModel(SubResource): :type protocol: str or ~azure.mgmt.frontdoor.models.FrontDoorProtocol :param interval_in_seconds: The number of seconds between health probes. :type interval_in_seconds: int + :param health_probe_method: Configures which HTTP method to use to probe + the backends defined under backendPools. Possible values include: 'GET', + 'HEAD'. Default value: "HEAD" . + :type health_probe_method: str or + ~azure.mgmt.frontdoor.models.FrontDoorHealthProbeMethod + :param enabled_state: Whether to enable health probes to be made against + backends defined under backendPools. Health probes can only be disabled if + there is a single enabled backend in single enabled backend pool. Possible + values include: 'Enabled', 'Disabled' + :type enabled_state: str or + ~azure.mgmt.frontdoor.models.HealthProbeEnabled :param resource_state: Resource status. Possible values include: 'Creating', 'Enabling', 'Enabled', 'Disabling', 'Disabled', 'Deleting' :type resource_state: str or @@ -46,16 +57,20 @@ class HealthProbeSettingsModel(SubResource): 'path': {'key': 'properties.path', 'type': 'str'}, 'protocol': {'key': 'properties.protocol', 'type': 'str'}, 'interval_in_seconds': {'key': 'properties.intervalInSeconds', 'type': 'int'}, + 'health_probe_method': {'key': 'properties.healthProbeMethod', 'type': 'str'}, + 'enabled_state': {'key': 'properties.enabledState', 'type': 'str'}, 'resource_state': {'key': 'properties.resourceState', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, } - def __init__(self, *, id: str=None, path: str=None, protocol=None, interval_in_seconds: int=None, resource_state=None, name: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, path: str=None, protocol=None, interval_in_seconds: int=None, health_probe_method="HEAD", enabled_state=None, resource_state=None, name: str=None, **kwargs) -> None: super(HealthProbeSettingsModel, self).__init__(id=id, **kwargs) self.path = path self.protocol = protocol self.interval_in_seconds = interval_in_seconds + self.health_probe_method = health_probe_method + self.enabled_state = enabled_state self.resource_state = resource_state self.name = name self.type = None diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_update_parameters.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_update_parameters.py index a9bad070a4a2..be6cfd6173e0 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_update_parameters.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_update_parameters.py @@ -22,12 +22,25 @@ class HealthProbeSettingsUpdateParameters(Model): :type protocol: str or ~azure.mgmt.frontdoor.models.FrontDoorProtocol :param interval_in_seconds: The number of seconds between health probes. :type interval_in_seconds: int + :param health_probe_method: Configures which HTTP method to use to probe + the backends defined under backendPools. Possible values include: 'GET', + 'HEAD'. Default value: "HEAD" . + :type health_probe_method: str or + ~azure.mgmt.frontdoor.models.FrontDoorHealthProbeMethod + :param enabled_state: Whether to enable health probes to be made against + backends defined under backendPools. Health probes can only be disabled if + there is a single enabled backend in single enabled backend pool. Possible + values include: 'Enabled', 'Disabled' + :type enabled_state: str or + ~azure.mgmt.frontdoor.models.HealthProbeEnabled """ _attribute_map = { 'path': {'key': 'path', 'type': 'str'}, 'protocol': {'key': 'protocol', 'type': 'str'}, 'interval_in_seconds': {'key': 'intervalInSeconds', 'type': 'int'}, + 'health_probe_method': {'key': 'healthProbeMethod', 'type': 'str'}, + 'enabled_state': {'key': 'enabledState', 'type': 'str'}, } def __init__(self, **kwargs): @@ -35,3 +48,5 @@ def __init__(self, **kwargs): self.path = kwargs.get('path', None) self.protocol = kwargs.get('protocol', None) self.interval_in_seconds = kwargs.get('interval_in_seconds', None) + self.health_probe_method = kwargs.get('health_probe_method', "HEAD") + self.enabled_state = kwargs.get('enabled_state', None) diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_update_parameters_py3.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_update_parameters_py3.py index 21eeab0350aa..8ea262f41c72 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_update_parameters_py3.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/models/health_probe_settings_update_parameters_py3.py @@ -22,16 +22,31 @@ class HealthProbeSettingsUpdateParameters(Model): :type protocol: str or ~azure.mgmt.frontdoor.models.FrontDoorProtocol :param interval_in_seconds: The number of seconds between health probes. :type interval_in_seconds: int + :param health_probe_method: Configures which HTTP method to use to probe + the backends defined under backendPools. Possible values include: 'GET', + 'HEAD'. Default value: "HEAD" . + :type health_probe_method: str or + ~azure.mgmt.frontdoor.models.FrontDoorHealthProbeMethod + :param enabled_state: Whether to enable health probes to be made against + backends defined under backendPools. Health probes can only be disabled if + there is a single enabled backend in single enabled backend pool. Possible + values include: 'Enabled', 'Disabled' + :type enabled_state: str or + ~azure.mgmt.frontdoor.models.HealthProbeEnabled """ _attribute_map = { 'path': {'key': 'path', 'type': 'str'}, 'protocol': {'key': 'protocol', 'type': 'str'}, 'interval_in_seconds': {'key': 'intervalInSeconds', 'type': 'int'}, + 'health_probe_method': {'key': 'healthProbeMethod', 'type': 'str'}, + 'enabled_state': {'key': 'enabledState', 'type': 'str'}, } - def __init__(self, *, path: str=None, protocol=None, interval_in_seconds: int=None, **kwargs) -> None: + def __init__(self, *, path: str=None, protocol=None, interval_in_seconds: int=None, health_probe_method="HEAD", enabled_state=None, **kwargs) -> None: super(HealthProbeSettingsUpdateParameters, self).__init__(**kwargs) self.path = path self.protocol = protocol self.interval_in_seconds = interval_in_seconds + self.health_probe_method = health_probe_method + self.enabled_state = enabled_state diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/backend_pools_operations.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/backend_pools_operations.py index cfc046574d6b..5d5ac0d65f3b 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/backend_pools_operations.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/backend_pools_operations.py @@ -24,7 +24,7 @@ class BackendPoolsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-04-01". + :ivar api_version: Client API version. Constant value: "2019-05-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-04-01" + self.api_version = "2019-05-01" self.config = config diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/endpoints_operations.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/endpoints_operations.py index 593f746b72e0..54cb258ca99b 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/endpoints_operations.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/endpoints_operations.py @@ -24,7 +24,7 @@ class EndpointsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-04-01". + :ivar api_version: Client API version. Constant value: "2019-05-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-04-01" + self.api_version = "2019-05-01" self.config = config diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/front_doors_operations.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/front_doors_operations.py index 393d9721e861..1ae400044c09 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/front_doors_operations.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/front_doors_operations.py @@ -24,7 +24,7 @@ class FrontDoorsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-04-01". + :ivar api_version: Client API version. Constant value: "2019-05-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-04-01" + self.api_version = "2019-05-01" self.config = config diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/frontend_endpoints_operations.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/frontend_endpoints_operations.py index 8099aab4bcb1..2efde3061737 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/frontend_endpoints_operations.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/frontend_endpoints_operations.py @@ -24,7 +24,7 @@ class FrontendEndpointsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-04-01". + :ivar api_version: Client API version. Constant value: "2019-05-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-04-01" + self.api_version = "2019-05-01" self.config = config diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/health_probe_settings_operations.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/health_probe_settings_operations.py index 697c2cf0cb92..1c7a54e017ad 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/health_probe_settings_operations.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/health_probe_settings_operations.py @@ -24,7 +24,7 @@ class HealthProbeSettingsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-04-01". + :ivar api_version: Client API version. Constant value: "2019-05-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-04-01" + self.api_version = "2019-05-01" self.config = config diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/load_balancing_settings_operations.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/load_balancing_settings_operations.py index 7437f51958d1..153398dda3d5 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/load_balancing_settings_operations.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/load_balancing_settings_operations.py @@ -24,7 +24,7 @@ class LoadBalancingSettingsOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-04-01". + :ivar api_version: Client API version. Constant value: "2019-05-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-04-01" + self.api_version = "2019-05-01" self.config = config diff --git a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/routing_rules_operations.py b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/routing_rules_operations.py index bf9129a43d97..53df799b014e 100644 --- a/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/routing_rules_operations.py +++ b/sdk/network/azure-mgmt-frontdoor/azure/mgmt/frontdoor/operations/routing_rules_operations.py @@ -24,7 +24,7 @@ class RoutingRulesOperations(object): :param config: Configuration of service client. :param serializer: An object model serializer. :param deserializer: An object model deserializer. - :ivar api_version: Client API version. Constant value: "2019-04-01". + :ivar api_version: Client API version. Constant value: "2019-05-01". """ models = models @@ -34,7 +34,7 @@ def __init__(self, client, config, serializer, deserializer): self._client = client self._serialize = serializer self._deserialize = deserializer - self.api_version = "2019-04-01" + self.api_version = "2019-05-01" self.config = config diff --git a/sdk/network/azure-mgmt-frontdoor/setup.py b/sdk/network/azure-mgmt-frontdoor/setup.py index 3aa721a88c8b..bb1b4df3475f 100644 --- a/sdk/network/azure-mgmt-frontdoor/setup.py +++ b/sdk/network/azure-mgmt-frontdoor/setup.py @@ -64,7 +64,6 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7',