Skip to content
Merged
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
4 changes: 2 additions & 2 deletions azure-mgmt-signalr/azure/mgmt/signalr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
# regenerated.
# --------------------------------------------------------------------------

from .signalr_management_client import SignalrManagementClient
from .signal_rmanagement_client import SignalRManagementClient
from .version import VERSION

__all__ = ['SignalrManagementClient']
__all__ = ['SignalRManagementClient']

__version__ = VERSION

40 changes: 20 additions & 20 deletions azure-mgmt-signalr/azure/mgmt/signalr/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
from .name_availability_parameters_py3 import NameAvailabilityParameters
from .name_availability_py3 import NameAvailability
from .resource_sku_py3 import ResourceSku
from .signalr_resource_py3 import SignalrResource
from .signal_rresource_py3 import SignalRResource
from .tracked_resource_py3 import TrackedResource
from .resource_py3 import Resource
from .signalr_create_or_update_properties_py3 import SignalrCreateOrUpdateProperties
from .signalr_keys_py3 import SignalrKeys
from .signal_rcreate_or_update_properties_py3 import SignalRCreateOrUpdateProperties
from .signal_rkeys_py3 import SignalRKeys
from .regenerate_key_parameters_py3 import RegenerateKeyParameters
from .signalr_create_parameters_py3 import SignalrCreateParameters
from .signalr_update_parameters_py3 import SignalrUpdateParameters
from .signal_rcreate_parameters_py3 import SignalRCreateParameters
from .signal_rupdate_parameters_py3 import SignalRUpdateParameters
except (SyntaxError, ImportError):
from .operation_display import OperationDisplay
from .metric_specification import MetricSpecification
Expand All @@ -35,18 +35,18 @@
from .name_availability_parameters import NameAvailabilityParameters
from .name_availability import NameAvailability
from .resource_sku import ResourceSku
from .signalr_resource import SignalrResource
from .signal_rresource import SignalRResource
from .tracked_resource import TrackedResource
from .resource import Resource
from .signalr_create_or_update_properties import SignalrCreateOrUpdateProperties
from .signalr_keys import SignalrKeys
from .signal_rcreate_or_update_properties import SignalRCreateOrUpdateProperties
from .signal_rkeys import SignalRKeys
from .regenerate_key_parameters import RegenerateKeyParameters
from .signalr_create_parameters import SignalrCreateParameters
from .signalr_update_parameters import SignalrUpdateParameters
from .signal_rcreate_parameters import SignalRCreateParameters
from .signal_rupdate_parameters import SignalRUpdateParameters
from .operation_paged import OperationPaged
from .signalr_resource_paged import SignalrResourcePaged
from .signalr_management_client_enums import (
SignalrSkuTier,
from .signal_rresource_paged import SignalRResourcePaged
from .signal_rmanagement_client_enums import (
SignalRSkuTier,
ProvisioningState,
KeyType,
)
Expand All @@ -60,17 +60,17 @@
'NameAvailabilityParameters',
'NameAvailability',
'ResourceSku',
'SignalrResource',
'SignalRResource',
'TrackedResource',
'Resource',
'SignalrCreateOrUpdateProperties',
'SignalrKeys',
'SignalRCreateOrUpdateProperties',
'SignalRKeys',
'RegenerateKeyParameters',
'SignalrCreateParameters',
'SignalrUpdateParameters',
'SignalRCreateParameters',
'SignalRUpdateParameters',
'OperationPaged',
'SignalrResourcePaged',
'SignalrSkuTier',
'SignalRResourcePaged',
'SignalRSkuTier',
'ProvisioningState',
'KeyType',
]
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ResourceSku(Model):
:type name: str
:param tier: The tier of this particular SKU. Optional. Possible values
include: 'Free', 'Basic', 'Premium'
:type tier: str or ~azure.mgmt.signalr.models.SignalrSkuTier
:type tier: str or ~azure.mgmt.signalr.models.SignalRSkuTier
:param size: Optional, string. When the name field is the combination of
tier and some other value, this would be the standalone code.
:type size: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ResourceSku(Model):
:type name: str
:param tier: The tier of this particular SKU. Optional. Possible values
include: 'Free', 'Basic', 'Premium'
:type tier: str or ~azure.mgmt.signalr.models.SignalrSkuTier
:type tier: str or ~azure.mgmt.signalr.models.SignalRSkuTier
:param size: Optional, string. When the name field is the combination of
tier and some other value, this would be the standalone code.
:type size: str
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.serialization import Model


class SignalrCreateOrUpdateProperties(Model):
class SignalRCreateOrUpdateProperties(Model):
"""Settings used to provision or configure the resource.

:param host_name_prefix: Prefix for the hostName of the SignalR service.
Expand All @@ -27,5 +27,5 @@ class SignalrCreateOrUpdateProperties(Model):
}

def __init__(self, **kwargs):
super(SignalrCreateOrUpdateProperties, self).__init__(**kwargs)
super(SignalRCreateOrUpdateProperties, self).__init__(**kwargs)
self.host_name_prefix = kwargs.get('host_name_prefix', None)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.serialization import Model


class SignalrCreateOrUpdateProperties(Model):
class SignalRCreateOrUpdateProperties(Model):
"""Settings used to provision or configure the resource.

:param host_name_prefix: Prefix for the hostName of the SignalR service.
Expand All @@ -27,5 +27,5 @@ class SignalrCreateOrUpdateProperties(Model):
}

def __init__(self, *, host_name_prefix: str=None, **kwargs) -> None:
super(SignalrCreateOrUpdateProperties, self).__init__(**kwargs)
super(SignalRCreateOrUpdateProperties, self).__init__(**kwargs)
self.host_name_prefix = host_name_prefix
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
# regenerated.
# --------------------------------------------------------------------------

from .signalr_update_parameters import SignalrUpdateParameters
from .signal_rupdate_parameters import SignalRUpdateParameters


class SignalrCreateParameters(SignalrUpdateParameters):
class SignalRCreateParameters(SignalRUpdateParameters):
"""Parameters for SignalR service create/update operation.
Keep the same schema as AzSignalR.Models.SignalRResource.

Expand All @@ -25,7 +25,7 @@ class SignalrCreateParameters(SignalrUpdateParameters):
:type sku: ~azure.mgmt.signalr.models.ResourceSku
:param properties: Settings used to provision or configure the resource
:type properties:
~azure.mgmt.signalr.models.SignalrCreateOrUpdateProperties
~azure.mgmt.signalr.models.SignalRCreateOrUpdateProperties
:param location: Required. Azure GEO region: e.g. West US | East US |
North Central US | South Central US | West Europe | North Europe | East
Asia | Southeast Asia | etc.
Expand All @@ -40,10 +40,10 @@ class SignalrCreateParameters(SignalrUpdateParameters):
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'ResourceSku'},
'properties': {'key': 'properties', 'type': 'SignalrCreateOrUpdateProperties'},
'properties': {'key': 'properties', 'type': 'SignalRCreateOrUpdateProperties'},
'location': {'key': 'location', 'type': 'str'},
}

def __init__(self, **kwargs):
super(SignalrCreateParameters, self).__init__(**kwargs)
super(SignalRCreateParameters, self).__init__(**kwargs)
self.location = kwargs.get('location', None)
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
# regenerated.
# --------------------------------------------------------------------------

from .signalr_update_parameters import SignalrUpdateParameters
from .signal_rupdate_parameters import SignalRUpdateParameters


class SignalrCreateParameters(SignalrUpdateParameters):
class SignalRCreateParameters(SignalRUpdateParameters):
"""Parameters for SignalR service create/update operation.
Keep the same schema as AzSignalR.Models.SignalRResource.

Expand All @@ -25,7 +25,7 @@ class SignalrCreateParameters(SignalrUpdateParameters):
:type sku: ~azure.mgmt.signalr.models.ResourceSku
:param properties: Settings used to provision or configure the resource
:type properties:
~azure.mgmt.signalr.models.SignalrCreateOrUpdateProperties
~azure.mgmt.signalr.models.SignalRCreateOrUpdateProperties
:param location: Required. Azure GEO region: e.g. West US | East US |
North Central US | South Central US | West Europe | North Europe | East
Asia | Southeast Asia | etc.
Expand All @@ -40,10 +40,10 @@ class SignalrCreateParameters(SignalrUpdateParameters):
_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'ResourceSku'},
'properties': {'key': 'properties', 'type': 'SignalrCreateOrUpdateProperties'},
'properties': {'key': 'properties', 'type': 'SignalRCreateOrUpdateProperties'},
'location': {'key': 'location', 'type': 'str'},
}

def __init__(self, *, location: str, tags=None, sku=None, properties=None, **kwargs) -> None:
super(SignalrCreateParameters, self).__init__(tags=tags, sku=sku, properties=properties, **kwargs)
super(SignalRCreateParameters, self).__init__(tags=tags, sku=sku, properties=properties, **kwargs)
self.location = location
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.serialization import Model


class SignalrKeys(Model):
class SignalRKeys(Model):
"""A class represents the access keys of SignalR service.

:param primary_key: The primary access key.
Expand All @@ -27,6 +27,6 @@ class SignalrKeys(Model):
}

def __init__(self, **kwargs):
super(SignalrKeys, self).__init__(**kwargs)
super(SignalRKeys, self).__init__(**kwargs)
self.primary_key = kwargs.get('primary_key', None)
self.secondary_key = kwargs.get('secondary_key', None)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.serialization import Model


class SignalrKeys(Model):
class SignalRKeys(Model):
"""A class represents the access keys of SignalR service.

:param primary_key: The primary access key.
Expand All @@ -27,6 +27,6 @@ class SignalrKeys(Model):
}

def __init__(self, *, primary_key: str=None, secondary_key: str=None, **kwargs) -> None:
super(SignalrKeys, self).__init__(**kwargs)
super(SignalRKeys, self).__init__(**kwargs)
self.primary_key = primary_key
self.secondary_key = secondary_key
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from enum import Enum


class SignalrSkuTier(str, Enum):
class SignalRSkuTier(str, Enum):

free = "Free"
basic = "Basic"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .tracked_resource import TrackedResource


class SignalrResource(TrackedResource):
class SignalRResource(TrackedResource):
"""A class represent a SignalR service resource.

Variables are only populated by the server, and will be ignored when
Expand Down Expand Up @@ -83,7 +83,7 @@ class SignalrResource(TrackedResource):
}

def __init__(self, **kwargs):
super(SignalrResource, self).__init__(**kwargs)
super(SignalRResource, self).__init__(**kwargs)
self.sku = kwargs.get('sku', None)
self.host_name_prefix = kwargs.get('host_name_prefix', None)
self.provisioning_state = 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 SignalrResourcePaged(Paged):
class SignalRResourcePaged(Paged):
"""
A paging container for iterating over a list of :class:`SignalrResource <azure.mgmt.signalr.models.SignalrResource>` object
A paging container for iterating over a list of :class:`SignalRResource <azure.mgmt.signalr.models.SignalRResource>` object
"""

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

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

super(SignalrResourcePaged, self).__init__(*args, **kwargs)
super(SignalRResourcePaged, self).__init__(*args, **kwargs)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from .tracked_resource import TrackedResource


class SignalrResource(TrackedResource):
class SignalRResource(TrackedResource):
"""A class represent a SignalR service resource.

Variables are only populated by the server, and will be ignored when
Expand Down Expand Up @@ -83,7 +83,7 @@ class SignalrResource(TrackedResource):
}

def __init__(self, *, location: str=None, tags=None, sku=None, host_name_prefix: str=None, **kwargs) -> None:
super(SignalrResource, self).__init__(location=location, tags=tags, **kwargs)
super(SignalRResource, self).__init__(location=location, tags=tags, **kwargs)
self.sku = sku
self.host_name_prefix = host_name_prefix
self.provisioning_state = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.serialization import Model


class SignalrUpdateParameters(Model):
class SignalRUpdateParameters(Model):
"""Parameters for SignalR service update operation.

:param tags: A list of key value pairs that describe the resource.
Expand All @@ -22,17 +22,17 @@ class SignalrUpdateParameters(Model):
:type sku: ~azure.mgmt.signalr.models.ResourceSku
:param properties: Settings used to provision or configure the resource
:type properties:
~azure.mgmt.signalr.models.SignalrCreateOrUpdateProperties
~azure.mgmt.signalr.models.SignalRCreateOrUpdateProperties
"""

_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'ResourceSku'},
'properties': {'key': 'properties', 'type': 'SignalrCreateOrUpdateProperties'},
'properties': {'key': 'properties', 'type': 'SignalRCreateOrUpdateProperties'},
}

def __init__(self, **kwargs):
super(SignalrUpdateParameters, self).__init__(**kwargs)
super(SignalRUpdateParameters, self).__init__(**kwargs)
self.tags = kwargs.get('tags', None)
self.sku = kwargs.get('sku', None)
self.properties = kwargs.get('properties', None)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from msrest.serialization import Model


class SignalrUpdateParameters(Model):
class SignalRUpdateParameters(Model):
"""Parameters for SignalR service update operation.

:param tags: A list of key value pairs that describe the resource.
Expand All @@ -22,17 +22,17 @@ class SignalrUpdateParameters(Model):
:type sku: ~azure.mgmt.signalr.models.ResourceSku
:param properties: Settings used to provision or configure the resource
:type properties:
~azure.mgmt.signalr.models.SignalrCreateOrUpdateProperties
~azure.mgmt.signalr.models.SignalRCreateOrUpdateProperties
"""

_attribute_map = {
'tags': {'key': 'tags', 'type': '{str}'},
'sku': {'key': 'sku', 'type': 'ResourceSku'},
'properties': {'key': 'properties', 'type': 'SignalrCreateOrUpdateProperties'},
'properties': {'key': 'properties', 'type': 'SignalRCreateOrUpdateProperties'},
}

def __init__(self, *, tags=None, sku=None, properties=None, **kwargs) -> None:
super(SignalrUpdateParameters, self).__init__(**kwargs)
super(SignalRUpdateParameters, self).__init__(**kwargs)
self.tags = tags
self.sku = sku
self.properties = properties
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ class TrackedResource(Resource):
}

def __init__(self, *, location: str=None, tags=None, **kwargs) -> None:
super(TrackedResource, self).__init__(, **kwargs)
super(TrackedResource, self).__init__(**kwargs)
self.location = location
self.tags = tags
4 changes: 2 additions & 2 deletions azure-mgmt-signalr/azure/mgmt/signalr/operations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
# --------------------------------------------------------------------------

from .operations import Operations
from .signalr_operations import SignalrOperations
from .signal_roperations import SignalROperations

__all__ = [
'Operations',
'SignalrOperations',
'SignalROperations',
]
Loading