forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR] servicefabric/resource-manager (Azure#5563)
* Generated from bda610e837cf647417615e0f74e0d1e005fe4aa0 (Azure#5562) Re-trigger ServiceFabric Mgmt for Python * Packaging update of azure-mgmt-servicefabric * ChangeLog
- Loading branch information
1 parent
7a60f9f
commit 6671f23
Showing
116 changed files
with
2,579 additions
and
1,518 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
recursive-include tests *.py *.yaml | ||
include *.rst | ||
include azure/__init__.py | ||
include azure/mgmt/__init__.py | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
226 changes: 127 additions & 99 deletions
226
sdk/servicefabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric/models/__init__.py
Large diffs are not rendered by default.
Oops, something went wrong.
39 changes: 39 additions & 0 deletions
39
...ure-mgmt-servicefabric/azure/mgmt/servicefabric/models/application_delta_health_policy.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ApplicationDeltaHealthPolicy(Model): | ||
"""Defines a delta health policy used to evaluate the health of an application | ||
or one of its child entities when upgrading the cluster. | ||
. | ||
:param default_service_type_delta_health_policy: The delta health policy | ||
used by default to evaluate the health of a service type when upgrading | ||
the cluster. | ||
:type default_service_type_delta_health_policy: | ||
~azure.mgmt.servicefabric.models.ServiceTypeDeltaHealthPolicy | ||
:param service_type_delta_health_policies: The map with service type delta | ||
health policy per service type name. The map is empty by default. | ||
:type service_type_delta_health_policies: dict[str, | ||
~azure.mgmt.servicefabric.models.ServiceTypeDeltaHealthPolicy] | ||
""" | ||
|
||
_attribute_map = { | ||
'default_service_type_delta_health_policy': {'key': 'defaultServiceTypeDeltaHealthPolicy', 'type': 'ServiceTypeDeltaHealthPolicy'}, | ||
'service_type_delta_health_policies': {'key': 'serviceTypeDeltaHealthPolicies', 'type': '{ServiceTypeDeltaHealthPolicy}'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(ApplicationDeltaHealthPolicy, self).__init__(**kwargs) | ||
self.default_service_type_delta_health_policy = kwargs.get('default_service_type_delta_health_policy', None) | ||
self.service_type_delta_health_policies = kwargs.get('service_type_delta_health_policies', None) |
39 changes: 39 additions & 0 deletions
39
...mgmt-servicefabric/azure/mgmt/servicefabric/models/application_delta_health_policy_py3.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.serialization import Model | ||
|
||
|
||
class ApplicationDeltaHealthPolicy(Model): | ||
"""Defines a delta health policy used to evaluate the health of an application | ||
or one of its child entities when upgrading the cluster. | ||
. | ||
:param default_service_type_delta_health_policy: The delta health policy | ||
used by default to evaluate the health of a service type when upgrading | ||
the cluster. | ||
:type default_service_type_delta_health_policy: | ||
~azure.mgmt.servicefabric.models.ServiceTypeDeltaHealthPolicy | ||
:param service_type_delta_health_policies: The map with service type delta | ||
health policy per service type name. The map is empty by default. | ||
:type service_type_delta_health_policies: dict[str, | ||
~azure.mgmt.servicefabric.models.ServiceTypeDeltaHealthPolicy] | ||
""" | ||
|
||
_attribute_map = { | ||
'default_service_type_delta_health_policy': {'key': 'defaultServiceTypeDeltaHealthPolicy', 'type': 'ServiceTypeDeltaHealthPolicy'}, | ||
'service_type_delta_health_policies': {'key': 'serviceTypeDeltaHealthPolicies', 'type': '{ServiceTypeDeltaHealthPolicy}'}, | ||
} | ||
|
||
def __init__(self, *, default_service_type_delta_health_policy=None, service_type_delta_health_policies=None, **kwargs) -> None: | ||
super(ApplicationDeltaHealthPolicy, self).__init__(**kwargs) | ||
self.default_service_type_delta_health_policy = default_service_type_delta_health_policy | ||
self.service_type_delta_health_policies = service_type_delta_health_policies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 0 additions & 40 deletions
40
...efabric/azure-mgmt-servicefabric/azure/mgmt/servicefabric/models/application_parameter.py
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...ric/azure-mgmt-servicefabric/azure/mgmt/servicefabric/models/application_parameter_py3.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.