-
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 8e3c1b45d0234eeebeab1d7ebdcc2a30ce1d7179
A few improvements and fixes (#4) * A few improvements and fixes * Fix the description for build arguments * Remove error schema * use 2017-10-01 tag * Add default response back
- Loading branch information
1 parent
afd2a69
commit 3da78b0
Showing
73 changed files
with
5,081 additions
and
20 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
46 changes: 46 additions & 0 deletions
46
...ontainerregistry/azure/mgmt/containerregistry/v2017_10_01/models/base_image_dependency.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,46 @@ | ||
# 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 BaseImageDependency(Model): | ||
"""Properties that describe a base image dependency. | ||
:param type: The type of the base image dependency. Possible values | ||
include: 'BuildTime', 'RunTime' | ||
:type type: str or | ||
~azure.mgmt.containerregistry.v2017_10_01.models.BaseImageDependencyType | ||
:param registry: The registry login server. | ||
:type registry: str | ||
:param repository: The repository name. | ||
:type repository: str | ||
:param tag: The tag name. | ||
:type tag: str | ||
:param digest: The sha256-based digest of the image manifest. | ||
:type digest: str | ||
""" | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'registry': {'key': 'registry', 'type': 'str'}, | ||
'repository': {'key': 'repository', 'type': 'str'}, | ||
'tag': {'key': 'tag', 'type': 'str'}, | ||
'digest': {'key': 'digest', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(BaseImageDependency, self).__init__(**kwargs) | ||
self.type = kwargs.get('type', None) | ||
self.registry = kwargs.get('registry', None) | ||
self.repository = kwargs.get('repository', None) | ||
self.tag = kwargs.get('tag', None) | ||
self.digest = kwargs.get('digest', None) |
46 changes: 46 additions & 0 deletions
46
...inerregistry/azure/mgmt/containerregistry/v2017_10_01/models/base_image_dependency_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,46 @@ | ||
# 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 BaseImageDependency(Model): | ||
"""Properties that describe a base image dependency. | ||
:param type: The type of the base image dependency. Possible values | ||
include: 'BuildTime', 'RunTime' | ||
:type type: str or | ||
~azure.mgmt.containerregistry.v2017_10_01.models.BaseImageDependencyType | ||
:param registry: The registry login server. | ||
:type registry: str | ||
:param repository: The repository name. | ||
:type repository: str | ||
:param tag: The tag name. | ||
:type tag: str | ||
:param digest: The sha256-based digest of the image manifest. | ||
:type digest: str | ||
""" | ||
|
||
_attribute_map = { | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'registry': {'key': 'registry', 'type': 'str'}, | ||
'repository': {'key': 'repository', 'type': 'str'}, | ||
'tag': {'key': 'tag', 'type': 'str'}, | ||
'digest': {'key': 'digest', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, type=None, registry: str=None, repository: str=None, tag: str=None, digest: str=None, **kwargs) -> None: | ||
super(BaseImageDependency, self).__init__(**kwargs) | ||
self.type = type | ||
self.registry = registry | ||
self.repository = repository | ||
self.tag = tag | ||
self.digest = digest |
Oops, something went wrong.