-
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 containerregistry/resource-manager] [ACR] Auto Build Swagger:…
… Added identity to registry properties (#3491) * Generated from a9ff5f330e569cbbdfded62d6506e9fe2b71f9ae Added identity to registry properties * Generated from 454d0e161ff250d2b0d4301d8375d74487249f30 CR comments * Generated from 185e2e930d7cd67eb43fee8264dd52b805f87ec0 CR comments * Generated from 185e2e930d7cd67eb43fee8264dd52b805f87ec0 CR comments
- Loading branch information
1 parent
e1e5857
commit 55874e5
Showing
21 changed files
with
291 additions
and
6 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
36 changes: 36 additions & 0 deletions
36
...mt-containerregistry/azure/mgmt/containerregistry/v2017_10_01/models/registry_identity.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,36 @@ | ||
# 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 RegistryIdentity(Model): | ||
"""The identity of the container registry. | ||
:param type: The type of identity used for the registry. | ||
:type type: str | ||
:param principal_id: The principal ID of registry identity. | ||
:type principal_id: str | ||
:param tenant_id: The tenant ID associated with the registry. | ||
:type tenant_id: str | ||
""" | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'principal_id': {'key': 'principalId', 'type': 'str'}, | ||
'tenant_id': {'key': 'tenantId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(RegistryIdentity, self).__init__(**kwargs) | ||
self.type = kwargs.get('type', None) | ||
self.principal_id = kwargs.get('principal_id', None) | ||
self.tenant_id = kwargs.get('tenant_id', None) |
36 changes: 36 additions & 0 deletions
36
...ontainerregistry/azure/mgmt/containerregistry/v2017_10_01/models/registry_identity_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,36 @@ | ||
# 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 RegistryIdentity(Model): | ||
"""The identity of the container registry. | ||
:param type: The type of identity used for the registry. | ||
:type type: str | ||
:param principal_id: The principal ID of registry identity. | ||
:type principal_id: str | ||
:param tenant_id: The tenant ID associated with the registry. | ||
:type tenant_id: str | ||
""" | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'principal_id': {'key': 'principalId', 'type': 'str'}, | ||
'tenant_id': {'key': 'tenantId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, type: str=None, principal_id: str=None, tenant_id: str=None, **kwargs) -> None: | ||
super(RegistryIdentity, self).__init__(**kwargs) | ||
self.type = type | ||
self.principal_id = principal_id | ||
self.tenant_id = tenant_id |
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
36 changes: 36 additions & 0 deletions
36
...inerregistry/azure/mgmt/containerregistry/v2018_02_01_preview/models/registry_identity.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,36 @@ | ||
# 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 RegistryIdentity(Model): | ||
"""The identity of the container registry. | ||
:param type: The type of identity used for the registry. | ||
:type type: str | ||
:param principal_id: The principal ID of registry identity. | ||
:type principal_id: str | ||
:param tenant_id: The tenant ID associated with the registry. | ||
:type tenant_id: str | ||
""" | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'principal_id': {'key': 'principalId', 'type': 'str'}, | ||
'tenant_id': {'key': 'tenantId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(RegistryIdentity, self).__init__(**kwargs) | ||
self.type = kwargs.get('type', None) | ||
self.principal_id = kwargs.get('principal_id', None) | ||
self.tenant_id = kwargs.get('tenant_id', None) |
36 changes: 36 additions & 0 deletions
36
...registry/azure/mgmt/containerregistry/v2018_02_01_preview/models/registry_identity_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,36 @@ | ||
# 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 RegistryIdentity(Model): | ||
"""The identity of the container registry. | ||
:param type: The type of identity used for the registry. | ||
:type type: str | ||
:param principal_id: The principal ID of registry identity. | ||
:type principal_id: str | ||
:param tenant_id: The tenant ID associated with the registry. | ||
:type tenant_id: str | ||
""" | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'principal_id': {'key': 'principalId', 'type': 'str'}, | ||
'tenant_id': {'key': 'tenantId', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, type: str=None, principal_id: str=None, tenant_id: str=None, **kwargs) -> None: | ||
super(RegistryIdentity, self).__init__(**kwargs) | ||
self.type = type | ||
self.principal_id = principal_id | ||
self.tenant_id = tenant_id |
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.