Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions sdk/managementgroups/azure-mgmt-managementgroups/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.4.2",
"autorest": "3.4.5",
"use": [
"@autorest/[email protected].0",
"@autorest/[email protected].1"
"@autorest/[email protected].4",
"@autorest/[email protected].2"
],
"commit": "e5bdbb00cf31e34dfaffe74432b80a110f86e06a",
"commit": "6ba37b7279bbd0d69042743246780cc3af9257b9",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/managementgroups/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].0 --use=@autorest/[email protected].1 --version=3.4.2",
"autorest_command": "autorest specification/managementgroups/resource-manager/readme.md --multiapi --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --track2 --use=@autorest/[email protected].4 --use=@autorest/[email protected].2 --version=3.4.5",
"readme": "specification/managementgroups/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

VERSION = "1.0.0"
VERSION = "2019-05-01T00:00:00.000Z"
Original file line number Diff line number Diff line change
Expand Up @@ -65,32 +65,26 @@ def __init__(
class CheckNameAvailabilityRequest(msrest.serialization.Model):
"""Management group name availability check parameters.

Variables are only populated by the server, and will be ignored when sending a request.

:param name: the name to check for availability.
:type name: str
:ivar type: fully qualified resource type which includes provider namespace. Default value:
"Microsoft.Management/managementGroups".
:vartype type: str
:param type: fully qualified resource type which includes provider namespace. The only
acceptable values to pass in are None and "Microsoft.Management/managementGroups". The default
value is None.
:type type: str
"""

_validation = {
'type': {'constant': True},
}

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}

type = "Microsoft.Management/managementGroups"

def __init__(
self,
**kwargs
):
super(CheckNameAvailabilityRequest, self).__init__(**kwargs)
self.name = kwargs.get('name', None)
self.type = kwargs.get('type', None)


class CheckNameAvailabilityResult(msrest.serialization.Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,34 +73,29 @@ def __init__(
class CheckNameAvailabilityRequest(msrest.serialization.Model):
"""Management group name availability check parameters.

Variables are only populated by the server, and will be ignored when sending a request.

:param name: the name to check for availability.
:type name: str
:ivar type: fully qualified resource type which includes provider namespace. Default value:
"Microsoft.Management/managementGroups".
:vartype type: str
:param type: fully qualified resource type which includes provider namespace. The only
acceptable values to pass in are None and "Microsoft.Management/managementGroups". The default
value is None.
:type type: str
"""

_validation = {
'type': {'constant': True},
}

_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}

type = "Microsoft.Management/managementGroups"

def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[str] = None,
**kwargs
):
super(CheckNameAvailabilityRequest, self).__init__(**kwargs)
self.name = name
self.type = type


class CheckNameAvailabilityResult(msrest.serialization.Model):
Expand Down