-
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 8741aed33b77989e144e30c2229e44db19aa1265 (#3223)
Added the replica count change.
- Loading branch information
1 parent
f4b3e17
commit 76f5dd2
Showing
8 changed files
with
104 additions
and
35 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
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
33 changes: 33 additions & 0 deletions
33
azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region.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,33 @@ | ||
# 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 TargetRegion(Model): | ||
"""Describes the target region information. | ||
:param name: The name of the region. | ||
:type name: str | ||
:param regional_replica_count: This is the number of source blob copies in | ||
this specific region. | ||
:type regional_replica_count: int | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'regional_replica_count': {'key': 'regionalReplicaCount', 'type': 'int'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(TargetRegion, self).__init__(**kwargs) | ||
self.name = kwargs.get('name', None) | ||
self.regional_replica_count = kwargs.get('regional_replica_count', None) |
33 changes: 33 additions & 0 deletions
33
azure-mgmt-compute/azure/mgmt/compute/v2018_06_01/models/target_region_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,33 @@ | ||
# 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 TargetRegion(Model): | ||
"""Describes the target region information. | ||
:param name: The name of the region. | ||
:type name: str | ||
:param regional_replica_count: This is the number of source blob copies in | ||
this specific region. | ||
:type regional_replica_count: int | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'regional_replica_count': {'key': 'regionalReplicaCount', 'type': 'int'}, | ||
} | ||
|
||
def __init__(self, *, name: str=None, regional_replica_count: int=None, **kwargs) -> None: | ||
super(TargetRegion, self).__init__(**kwargs) | ||
self.name = name | ||
self.regional_replica_count = regional_replica_count |