-
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.
[AutoPR] recoveryservices/resource-manager (#3975)
* [AutoPR recoveryservices/resource-manager] typo: recoveryservices/resource-manager/Microsoft.RecoveryServices (#3966) * Generated from 86c08209956d8a147acab6460c56f44e3ce75f6c typo: recoveryservices/resource-manager/Microsoft.RecoveryServices - polymorhpic -> polymorphic - friendlyname -> friendly name - operationss -> operations - upgradation -> upgrade * Packaging update of azure-mgmt-recoveryservices * [AutoPR recoveryservices/resource-manager] Added Swagger details for CheckNameAvailability API (#4706) * Generated from 1c52533609d5a8a806f616702ab45f6b8c514b68 Changed operationId for checkNameAvailability from CheckResourceNameAvailability_Post to RecoveryServices_CheckNameAvailability * Packaging update of azure-mgmt-recoveryservices * Generated from 2edb73566dac3446f8b8a54399b9f14650c32e36 Renaming ResourceNameAvailabilityResponse to ResourceNameAvailabilityResult * Generated from f97eae58835c2bcc143d6c854a183830f257dda0 Renaming ResourceNameAvailabilityResult to CheckNameAvailabilityResult and changing GCed to GC'ed in swagger API summary * Generated from cc6ecf84a7e767b9299aa77868b43817d17bde4c Renaming ResourceNameAvailabilityParameters to CheckNameAvailabilityParameters * Rebuild by #3975 * Packaging update of azure-mgmt-recoveryservices * updated change log and versioning * Update HISTORY.rst
- Loading branch information
1 parent
010077b
commit 7e2b995
Showing
30 changed files
with
442 additions
and
76 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
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
34 changes: 34 additions & 0 deletions
34
...recoveryservices/azure/mgmt/recoveryservices/models/check_name_availability_parameters.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,34 @@ | ||
# 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 CheckNameAvailabilityParameters(Model): | ||
"""Resource Name availability input parameters - Resource type and resource | ||
name. | ||
:param type: Describes the Resource type: | ||
Microsoft.RecoveryServices/Vaults | ||
:type type: str | ||
:param name: Resource name for which availability needs to be checked | ||
:type name: str | ||
""" | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(CheckNameAvailabilityParameters, self).__init__(**kwargs) | ||
self.type = kwargs.get('type', None) | ||
self.name = kwargs.get('name', None) |
34 changes: 34 additions & 0 deletions
34
...veryservices/azure/mgmt/recoveryservices/models/check_name_availability_parameters_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,34 @@ | ||
# 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 CheckNameAvailabilityParameters(Model): | ||
"""Resource Name availability input parameters - Resource type and resource | ||
name. | ||
:param type: Describes the Resource type: | ||
Microsoft.RecoveryServices/Vaults | ||
:type type: str | ||
:param name: Resource name for which availability needs to be checked | ||
:type name: str | ||
""" | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, type: str=None, name: str=None, **kwargs) -> None: | ||
super(CheckNameAvailabilityParameters, self).__init__(**kwargs) | ||
self.type = type | ||
self.name = name |
37 changes: 37 additions & 0 deletions
37
...gmt-recoveryservices/azure/mgmt/recoveryservices/models/check_name_availability_result.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,37 @@ | ||
# 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 CheckNameAvailabilityResult(Model): | ||
"""Response for check name availability API. Resource provider will set | ||
availability as true | false. | ||
:param name_available: | ||
:type name_available: bool | ||
:param reason: | ||
:type reason: str | ||
:param message: | ||
:type message: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name_available': {'key': 'nameAvailable', 'type': 'bool'}, | ||
'reason': {'key': 'reason', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(CheckNameAvailabilityResult, self).__init__(**kwargs) | ||
self.name_available = kwargs.get('name_available', None) | ||
self.reason = kwargs.get('reason', None) | ||
self.message = kwargs.get('message', None) |
37 changes: 37 additions & 0 deletions
37
...recoveryservices/azure/mgmt/recoveryservices/models/check_name_availability_result_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,37 @@ | ||
# 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 CheckNameAvailabilityResult(Model): | ||
"""Response for check name availability API. Resource provider will set | ||
availability as true | false. | ||
:param name_available: | ||
:type name_available: bool | ||
:param reason: | ||
:type reason: str | ||
:param message: | ||
:type message: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name_available': {'key': 'nameAvailable', 'type': 'bool'}, | ||
'reason': {'key': 'reason', 'type': 'str'}, | ||
'message': {'key': 'message', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, name_available: bool=None, reason: str=None, message: str=None, **kwargs) -> None: | ||
super(CheckNameAvailabilityResult, self).__init__(**kwargs) | ||
self.name_available = name_available | ||
self.reason = reason | ||
self.message = message |
52 changes: 52 additions & 0 deletions
52
...eryservices/azure/mgmt/recoveryservices/models/check_name_availability_result_resource.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,52 @@ | ||
# 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 .resource import Resource | ||
|
||
|
||
class CheckNameAvailabilityResultResource(Resource): | ||
"""Response for check name availability API. Resource provider will set | ||
availability as true | false. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id represents the complete path to the resource. | ||
:vartype id: str | ||
:ivar name: Resource name associated with the resource. | ||
:vartype name: str | ||
:ivar type: Resource type represents the complete path of the form | ||
Namespace/ResourceType/ResourceType/... | ||
:vartype type: str | ||
:param e_tag: Optional ETag. | ||
:type e_tag: str | ||
:param properties: CheckNameAvailabilityResultResource properties | ||
:type properties: | ||
~azure.mgmt.recoveryservices.models.CheckNameAvailabilityResult | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'e_tag': {'key': 'eTag', 'type': 'str'}, | ||
'properties': {'key': 'properties', 'type': 'CheckNameAvailabilityResult'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(CheckNameAvailabilityResultResource, self).__init__(**kwargs) | ||
self.properties = kwargs.get('properties', None) |
52 changes: 52 additions & 0 deletions
52
...ervices/azure/mgmt/recoveryservices/models/check_name_availability_result_resource_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,52 @@ | ||
# 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 .resource_py3 import Resource | ||
|
||
|
||
class CheckNameAvailabilityResultResource(Resource): | ||
"""Response for check name availability API. Resource provider will set | ||
availability as true | false. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Resource Id represents the complete path to the resource. | ||
:vartype id: str | ||
:ivar name: Resource name associated with the resource. | ||
:vartype name: str | ||
:ivar type: Resource type represents the complete path of the form | ||
Namespace/ResourceType/ResourceType/... | ||
:vartype type: str | ||
:param e_tag: Optional ETag. | ||
:type e_tag: str | ||
:param properties: CheckNameAvailabilityResultResource properties | ||
:type properties: | ||
~azure.mgmt.recoveryservices.models.CheckNameAvailabilityResult | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'e_tag': {'key': 'eTag', 'type': 'str'}, | ||
'properties': {'key': 'properties', 'type': 'CheckNameAvailabilityResult'}, | ||
} | ||
|
||
def __init__(self, *, e_tag: str=None, properties=None, **kwargs) -> None: | ||
super(CheckNameAvailabilityResultResource, self).__init__(e_tag=e_tag, **kwargs) | ||
self.properties = properties |
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
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
Oops, something went wrong.