Skip to content

Commit

Permalink
Generated from 33469ca0e594d658a51b73dcb5e7f9526c768024 (#2684)
Browse files Browse the repository at this point in the history
Rename to "Operation" from "ComputeOperation"
  • Loading branch information
AutorestCI authored Jun 4, 2018
1 parent f6578e2 commit 04b1af4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from .container_service_vm_diagnostics_py3 import ContainerServiceVMDiagnostics
from .container_service_diagnostics_profile_py3 import ContainerServiceDiagnosticsProfile
from .container_service_py3 import ContainerService
from .compute_operation_value_py3 import ComputeOperationValue
from .operation_value_py3 import OperationValue
from .managed_cluster_agent_pool_profile_py3 import ManagedClusterAgentPoolProfile
from .container_service_network_profile_py3 import ContainerServiceNetworkProfile
from .managed_cluster_addon_profile_py3 import ManagedClusterAddonProfile
Expand All @@ -51,7 +51,7 @@
from .container_service_vm_diagnostics import ContainerServiceVMDiagnostics
from .container_service_diagnostics_profile import ContainerServiceDiagnosticsProfile
from .container_service import ContainerService
from .compute_operation_value import ComputeOperationValue
from .operation_value import OperationValue
from .managed_cluster_agent_pool_profile import ManagedClusterAgentPoolProfile
from .container_service_network_profile import ContainerServiceNetworkProfile
from .managed_cluster_addon_profile import ManagedClusterAddonProfile
Expand All @@ -64,7 +64,7 @@
from .orchestrator_version_profile import OrchestratorVersionProfile
from .orchestrator_version_profile_list_result import OrchestratorVersionProfileListResult
from .container_service_paged import ContainerServicePaged
from .compute_operation_value_paged import ComputeOperationValuePaged
from .operation_value_paged import OperationValuePaged
from .managed_cluster_paged import ManagedClusterPaged
from .container_service_client_enums import (
ContainerServiceStorageProfileTypes,
Expand All @@ -90,7 +90,7 @@
'ContainerServiceVMDiagnostics',
'ContainerServiceDiagnosticsProfile',
'ContainerService',
'ComputeOperationValue',
'OperationValue',
'ManagedClusterAgentPoolProfile',
'ContainerServiceNetworkProfile',
'ManagedClusterAddonProfile',
Expand All @@ -103,7 +103,7 @@
'OrchestratorVersionProfile',
'OrchestratorVersionProfileListResult',
'ContainerServicePaged',
'ComputeOperationValuePaged',
'OperationValuePaged',
'ManagedClusterPaged',
'ContainerServiceStorageProfileTypes',
'ContainerServiceVMSizeTypes',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.serialization import Model


class ComputeOperationValue(Model):
class OperationValue(Model):
"""Describes the properties of a Compute Operation value.
Variables are only populated by the server, and will be ignored when
Expand Down Expand Up @@ -51,7 +51,7 @@ class ComputeOperationValue(Model):
}

def __init__(self, **kwargs):
super(ComputeOperationValue, self).__init__(**kwargs)
super(OperationValue, self).__init__(**kwargs)
self.origin = None
self.name = None
self.operation = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
from msrest.paging import Paged


class ComputeOperationValuePaged(Paged):
class OperationValuePaged(Paged):
"""
A paging container for iterating over a list of :class:`ComputeOperationValue <azure.mgmt.containerservice.models.ComputeOperationValue>` object
A paging container for iterating over a list of :class:`OperationValue <azure.mgmt.containerservice.models.OperationValue>` object
"""

_attribute_map = {
'next_link': {'key': 'nextLink', 'type': 'str'},
'current_page': {'key': 'value', 'type': '[ComputeOperationValue]'}
'current_page': {'key': 'value', 'type': '[OperationValue]'}
}

def __init__(self, *args, **kwargs):

super(ComputeOperationValuePaged, self).__init__(*args, **kwargs)
super(OperationValuePaged, self).__init__(*args, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.serialization import Model


class ComputeOperationValue(Model):
class OperationValue(Model):
"""Describes the properties of a Compute Operation value.
Variables are only populated by the server, and will be ignored when
Expand Down Expand Up @@ -51,7 +51,7 @@ class ComputeOperationValue(Model):
}

def __init__(self, **kwargs) -> None:
super(ComputeOperationValue, self).__init__(**kwargs)
super(OperationValue, self).__init__(**kwargs)
self.origin = None
self.name = None
self.operation = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ def list(
deserialized response
:param operation_config: :ref:`Operation configuration
overrides<msrest:optionsforoperations>`.
:return: An iterator like instance of ComputeOperationValue
:return: An iterator like instance of OperationValue
:rtype:
~azure.mgmt.containerservice.models.ComputeOperationValuePaged[~azure.mgmt.containerservice.models.ComputeOperationValue]
~azure.mgmt.containerservice.models.OperationValuePaged[~azure.mgmt.containerservice.models.OperationValue]
:raises: :class:`CloudError<msrestazure.azure_exceptions.CloudError>`
"""
def internal_paging(next_link=None, raw=False):
Expand Down Expand Up @@ -88,11 +88,11 @@ def internal_paging(next_link=None, raw=False):
return response

# Deserialize response
deserialized = models.ComputeOperationValuePaged(internal_paging, self._deserialize.dependencies)
deserialized = models.OperationValuePaged(internal_paging, self._deserialize.dependencies)

if raw:
header_dict = {}
client_raw_response = models.ComputeOperationValuePaged(internal_paging, self._deserialize.dependencies, header_dict)
client_raw_response = models.OperationValuePaged(internal_paging, self._deserialize.dependencies, header_dict)
return client_raw_response

return deserialized
Expand Down

0 comments on commit 04b1af4

Please sign in to comment.