-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 70adfab06b35f90ca4c799542cb8c9de22a834c2 (#2567)
Fix SFRP map types and error model
- Loading branch information
1 parent
4be00de
commit 2988f0f
Showing
48 changed files
with
1,323 additions
and
1,039 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
39 changes: 39 additions & 0 deletions
39
azure-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, default_service_type_delta_health_policy=None, service_type_delta_health_policies=None): | ||
super(ApplicationDeltaHealthPolicy, self).__init__() | ||
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
38 changes: 0 additions & 38 deletions
38
azure-mgmt-servicefabric/azure/mgmt/servicefabric/models/application_parameter.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.