diff --git a/azure-servicefabric/MANIFEST.in b/azure-servicefabric/MANIFEST.in index bb37a2723dae..73ef117329e5 100644 --- a/azure-servicefabric/MANIFEST.in +++ b/azure-servicefabric/MANIFEST.in @@ -1 +1,3 @@ include *.rst +include azure/__init__.py + diff --git a/azure-servicefabric/azure/servicefabric/models/service_fabric_client_ap_is_enums.py b/azure-servicefabric/azure/servicefabric/models/service_fabric_client_ap_is_enums.py index 95f1696c8ce1..a3e57c5884ec 100644 --- a/azure-servicefabric/azure/servicefabric/models/service_fabric_client_ap_is_enums.py +++ b/azure-servicefabric/azure/servicefabric/models/service_fabric_client_ap_is_enums.py @@ -914,7 +914,7 @@ class OperatingSystemTypes(str, Enum): class NodeStatusFilter(str, Enum): - default = "default" #: This filter value will match all of the nodes excepts the ones with with status as Unknown or Removed. + default = "default" #: This filter value will match all of the nodes excepts the ones with status as Unknown or Removed. all = "all" #: This filter value will match all of the nodes. up = "up" #: This filter value will match nodes that are Up. down = "down" #: This filter value will match nodes that are Down. diff --git a/azure-servicefabric/azure/servicefabric/models/service_type_health_policy.py b/azure-servicefabric/azure/servicefabric/models/service_type_health_policy.py index 6bb8bd0e1e45..ba0701690528 100644 --- a/azure-servicefabric/azure/servicefabric/models/service_type_health_policy.py +++ b/azure-servicefabric/azure/servicefabric/models/service_type_health_policy.py @@ -40,9 +40,8 @@ class ServiceTypeHealthPolicy(Model): The computation rounds up to tolerate one failure on small numbers of replicas. Default percentage is zero. Default value: 0 . :type max_percent_unhealthy_replicas_per_partition: int - :param max_percent_unhealthy_services: The maximum maximum allowed - percentage of unhealthy services. Allowed values are Byte values from zero - to 100. + :param max_percent_unhealthy_services: The maximum allowed percentage of + unhealthy services. Allowed values are Byte values from zero to 100. The percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error. If the percentage is respected but there is at least one unhealthy diff --git a/azure-servicefabric/azure/servicefabric/models/service_type_health_policy_py3.py b/azure-servicefabric/azure/servicefabric/models/service_type_health_policy_py3.py index 11941a78796f..3cd924d68fa7 100644 --- a/azure-servicefabric/azure/servicefabric/models/service_type_health_policy_py3.py +++ b/azure-servicefabric/azure/servicefabric/models/service_type_health_policy_py3.py @@ -40,9 +40,8 @@ class ServiceTypeHealthPolicy(Model): The computation rounds up to tolerate one failure on small numbers of replicas. Default percentage is zero. Default value: 0 . :type max_percent_unhealthy_replicas_per_partition: int - :param max_percent_unhealthy_services: The maximum maximum allowed - percentage of unhealthy services. Allowed values are Byte values from zero - to 100. + :param max_percent_unhealthy_services: The maximum allowed percentage of + unhealthy services. Allowed values are Byte values from zero to 100. The percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error. If the percentage is respected but there is at least one unhealthy diff --git a/azure-servicefabric/azure/servicefabric/service_fabric_client_ap_is.py b/azure-servicefabric/azure/servicefabric/service_fabric_client_ap_is.py index 224683435b48..55d4870757c3 100644 --- a/azure-servicefabric/azure/servicefabric/service_fabric_client_ap_is.py +++ b/azure-servicefabric/azure/servicefabric/service_fabric_client_ap_is.py @@ -2889,7 +2889,7 @@ def get_service_type_info_by_name( Gets the information about a specific service type that is supported by a provisioned application type in a Service Fabric cluster. The provided application type must exist. Otherwise, a 404 status is - returned. A 204 response is returned if the specificed service type is + returned. A 204 response is returned if the specified service type is not found in the cluster. :param application_type_name: The name of the application type. @@ -15906,7 +15906,7 @@ def get_service( def get_replicas( self, application_resource_name, service_resource_name, custom_headers=None, raw=False, **operation_config): - """Gets replicas of a given service in an applciation resource. + """Gets replicas of a given service in an application resource. Gets the information about all replicas of a given service of an application. The information includes the runtime properties of the diff --git a/azure-servicefabric/setup.py b/azure-servicefabric/setup.py index ae9d865d3229..ece0e3b53f62 100644 --- a/azure-servicefabric/setup.py +++ b/azure-servicefabric/setup.py @@ -77,6 +77,7 @@ ]), install_requires=[ 'msrest>=0.5.0', + 'msrestazure>=0.4.32,<2.0.0', 'azure-common~=1.1', ], extras_require={