Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACR] Add patch for replications #1391

Closed
wants to merge 1 commit into from
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
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"autorest": "1.1.0", "date": "2017-06-30T21:38:07Z", "version": ""}
{"autorest": "1.2.2", "date": "2017-08-24T23:20:58Z", "version": ""}
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from .registry_usage import RegistryUsage
from .registry_usage_list_result import RegistryUsageListResult
from .replication import Replication
from .replication_update_parameters import ReplicationUpdateParameters
from .webhook import Webhook
from .webhook_create_parameters import WebhookCreateParameters
from .webhook_update_parameters import WebhookUpdateParameters
Expand Down Expand Up @@ -69,6 +70,7 @@
'RegistryUsage',
'RegistryUsageListResult',
'Replication',
'ReplicationUpdateParameters',
'Webhook',
'WebhookCreateParameters',
'WebhookUpdateParameters',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class EventPaged(Paged):
"""
A paging container for iterating over a list of Event object
A paging container for iterating over a list of :class:`Event <azure.mgmt.containerregistry.v2017_06_01_preview.models.Event>` object
"""

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class OperationDefinitionPaged(Paged):
"""
A paging container for iterating over a list of OperationDefinition object
A paging container for iterating over a list of :class:`OperationDefinition <azure.mgmt.containerregistry.v2017_06_01_preview.models.OperationDefinition>` object
"""

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class RegistryNameCheckRequest(Model):
"""

_validation = {
'name': {'required': True, 'max_length': 50, 'min_length': 5, 'pattern': '^[a-zA-Z0-9]*$'},
'name': {'required': True, 'max_length': 50, 'min_length': 5, 'pattern': r'^[a-zA-Z0-9]*$'},
'type': {'required': True, 'constant': True},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class RegistryPaged(Paged):
"""
A paging container for iterating over a list of Registry object
A paging container for iterating over a list of :class:`Registry <azure.mgmt.containerregistry.v2017_06_01_preview.models.Registry>` object
"""

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class ReplicationPaged(Paged):
"""
A paging container for iterating over a list of Replication object
A paging container for iterating over a list of :class:`Replication <azure.mgmt.containerregistry.v2017_06_01_preview.models.Replication>` object
"""

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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 ReplicationUpdateParameters(Model):
"""The parameters for updating a replication.

:param tags: The tags for the replication.
:type tags: dict
"""

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

def __init__(self, tags=None):
self.tags = tags
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

class WebhookPaged(Paged):
"""
A paging container for iterating over a list of Webhook object
A paging container for iterating over a list of :class:`Webhook <azure.mgmt.containerregistry.v2017_06_01_preview.models.Webhook>` object
"""

_attribute_map = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
# regenerated.
# --------------------------------------------------------------------------

import uuid
from msrest.pipeline import ClientRawResponse
from msrestazure.azure_exceptions import CloudError
import uuid

from .. import models

Expand Down Expand Up @@ -45,6 +45,8 @@ def list(
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of :class:`OperationDefinition
<azure.mgmt.containerregistry.v2017_06_01_preview.models.OperationDefinition>`
:rtype: :class:`OperationDefinitionPaged
<azure.mgmt.containerregistry.v2017_06_01_preview.models.OperationDefinitionPaged>`
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
Expand Down
Loading