-
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.
azure-mgmt-containerregistry 2.1.0 (#2774)
* Generated from 94aaf65edfd82b449c0d7e8128fcfedfe6870849 (#2762) Update default tag to 2018-02-preview * Generated from de6b3a1607eaca8bef4a23e3323ad6352d4a9a5f (#2823) Fix list builds odata query * [AutoPR containerregistry/resource-manager] add Azure Container Registry policies api and update OperationDefinition (#2869) * Generated from 56239b4cfb94bfe30a857fb0c34b6c4d0b6bbe23 add Azure Container Registry policies api and update OperationDefinition * Generated from 56239b4cfb94bfe30a857fb0c34b6c4d0b6bbe23 add Azure Container Registry policies api and update OperationDefinition * Generated from 56239b4cfb94bfe30a857fb0c34b6c4d0b6bbe23 add Azure Container Registry policies api and update OperationDefinition * Revert broken hub generation * ACR 2.1.0 * ChangeLog * Packaging
- Loading branch information
1 parent
6867dbc
commit 74aa7ac
Showing
54 changed files
with
1,219 additions
and
40 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
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
48 changes: 48 additions & 0 deletions
48
...re/mgmt/containerregistry/v2017_10_01/models/operation_metric_specification_definition.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,48 @@ | ||
# 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 OperationMetricSpecificationDefinition(Model): | ||
"""The definition of Azure Monitoring metric. | ||
:param name: Metric name. | ||
:type name: str | ||
:param display_name: Metric display name. | ||
:type display_name: str | ||
:param display_description: Metric description. | ||
:type display_description: str | ||
:param unit: Metric unit. | ||
:type unit: str | ||
:param aggregation_type: Metric aggregation type. | ||
:type aggregation_type: str | ||
:param internal_metric_name: Internal metric name. | ||
:type internal_metric_name: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'display_name': {'key': 'displayName', 'type': 'str'}, | ||
'display_description': {'key': 'displayDescription', 'type': 'str'}, | ||
'unit': {'key': 'unit', 'type': 'str'}, | ||
'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, | ||
'internal_metric_name': {'key': 'internalMetricName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(OperationMetricSpecificationDefinition, self).__init__(**kwargs) | ||
self.name = kwargs.get('name', None) | ||
self.display_name = kwargs.get('display_name', None) | ||
self.display_description = kwargs.get('display_description', None) | ||
self.unit = kwargs.get('unit', None) | ||
self.aggregation_type = kwargs.get('aggregation_type', None) | ||
self.internal_metric_name = kwargs.get('internal_metric_name', None) |
48 changes: 48 additions & 0 deletions
48
...gmt/containerregistry/v2017_10_01/models/operation_metric_specification_definition_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,48 @@ | ||
# 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 OperationMetricSpecificationDefinition(Model): | ||
"""The definition of Azure Monitoring metric. | ||
:param name: Metric name. | ||
:type name: str | ||
:param display_name: Metric display name. | ||
:type display_name: str | ||
:param display_description: Metric description. | ||
:type display_description: str | ||
:param unit: Metric unit. | ||
:type unit: str | ||
:param aggregation_type: Metric aggregation type. | ||
:type aggregation_type: str | ||
:param internal_metric_name: Internal metric name. | ||
:type internal_metric_name: str | ||
""" | ||
|
||
_attribute_map = { | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'display_name': {'key': 'displayName', 'type': 'str'}, | ||
'display_description': {'key': 'displayDescription', 'type': 'str'}, | ||
'unit': {'key': 'unit', 'type': 'str'}, | ||
'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, | ||
'internal_metric_name': {'key': 'internalMetricName', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, name: str=None, display_name: str=None, display_description: str=None, unit: str=None, aggregation_type: str=None, internal_metric_name: str=None, **kwargs) -> None: | ||
super(OperationMetricSpecificationDefinition, self).__init__(**kwargs) | ||
self.name = name | ||
self.display_name = display_name | ||
self.display_description = display_description | ||
self.unit = unit | ||
self.aggregation_type = aggregation_type | ||
self.internal_metric_name = internal_metric_name |
30 changes: 30 additions & 0 deletions
30
...e/mgmt/containerregistry/v2017_10_01/models/operation_service_specification_definition.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,30 @@ | ||
# 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 OperationServiceSpecificationDefinition(Model): | ||
"""The definition of Azure Monitoring metrics list. | ||
:param metric_specifications: A list of Azure Monitoring metrics | ||
definition. | ||
:type metric_specifications: | ||
list[~azure.mgmt.containerregistry.v2017_10_01.models.OperationMetricSpecificationDefinition] | ||
""" | ||
|
||
_attribute_map = { | ||
'metric_specifications': {'key': 'metricSpecifications', 'type': '[OperationMetricSpecificationDefinition]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(OperationServiceSpecificationDefinition, self).__init__(**kwargs) | ||
self.metric_specifications = kwargs.get('metric_specifications', None) |
30 changes: 30 additions & 0 deletions
30
...mt/containerregistry/v2017_10_01/models/operation_service_specification_definition_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,30 @@ | ||
# 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 OperationServiceSpecificationDefinition(Model): | ||
"""The definition of Azure Monitoring metrics list. | ||
:param metric_specifications: A list of Azure Monitoring metrics | ||
definition. | ||
:type metric_specifications: | ||
list[~azure.mgmt.containerregistry.v2017_10_01.models.OperationMetricSpecificationDefinition] | ||
""" | ||
|
||
_attribute_map = { | ||
'metric_specifications': {'key': 'metricSpecifications', 'type': '[OperationMetricSpecificationDefinition]'}, | ||
} | ||
|
||
def __init__(self, *, metric_specifications=None, **kwargs) -> None: | ||
super(OperationServiceSpecificationDefinition, self).__init__(**kwargs) | ||
self.metric_specifications = metric_specifications |
Oops, something went wrong.