Skip to content

Commit

Permalink
Merge pull request #866 from AutorestCI/RestAPI-PR678
Browse files Browse the repository at this point in the history
Automatic PR from RestAPI-PR678
  • Loading branch information
lmazuel committed Nov 10, 2016
2 parents 1deb78a + f946f8a commit da8db3e
Show file tree
Hide file tree
Showing 19 changed files with 205 additions and 169 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ class MessageCountDetails(Model):
topic, or subscription.
:type active_message_count: long
:param dead_letter_message_count: Number of messages that are dead
letters.
lettered.
:type dead_letter_message_count: long
:param scheduled_message_count: Number scheduled messages.
:param scheduled_message_count: Number of scheduled messages.
:type scheduled_message_count: long
:param transfer_dead_letter_message_count: Number of messages transferred
into dead letters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@


class NamespaceCreateOrUpdateParameters(Model):
"""Parameters supplied to the CreateOrUpdate Namespace operation.
"""Parameters supplied to the Create Or Update Namespace operation.
:param location: Namespace location.
:type location: str
:param sku:
:type sku: :class:`Sku <azure.mgmt.servicebus.models.Sku>`
:param tags: Namespace tags.
:type tags: dict
:param provisioning_state: Provisioning state of the Namespace.
:param provisioning_state: Provisioning state of the namespace.
:type provisioning_state: str
:param status: State of the namespace. Possible values include:
'Unknown', 'Creating', 'Created', 'Activating', 'Enabling', 'Active',
Expand All @@ -33,10 +33,10 @@ class NamespaceCreateOrUpdateParameters(Model):
:type created_at: datetime
:param updated_at: The time the namespace was updated.
:type updated_at: datetime
:param service_bus_endpoint: Endpoint you can use to perform ServiceBus
:param service_bus_endpoint: Endpoint you can use to perform Service Bus
operations.
:type service_bus_endpoint: str
:param create_acs_namespace: Indicates whether to create ACS namespace.
:param create_acs_namespace: Indicates whether to create an ACS namespace.
:type create_acs_namespace: bool
:param enabled: Specifies whether this instance is enabled.
:type enabled: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class NamespaceResource(Resource):
"""Description of a Namespace resource.
"""Description of a namespace resource.
Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -30,7 +30,7 @@ class NamespaceResource(Resource):
:type tags: dict
:param sku:
:type sku: :class:`Sku <azure.mgmt.servicebus.models.Sku>`
:param provisioning_state: Provisioning state of the Namespace.
:param provisioning_state: Provisioning state of the namespace.
:type provisioning_state: str
:param status: State of the namespace. Possible values include:
'Unknown', 'Creating', 'Created', 'Activating', 'Enabling', 'Active',
Expand All @@ -42,10 +42,10 @@ class NamespaceResource(Resource):
:type created_at: datetime
:param updated_at: The time the namespace was updated.
:type updated_at: datetime
:param service_bus_endpoint: Endpoint you can use to perform ServiceBus
:param service_bus_endpoint: Endpoint you can use to perform Service Bus
operations.
:type service_bus_endpoint: str
:param create_acs_namespace: Indicates whether to create ACS namespace.
:param create_acs_namespace: Indicates whether to create an ACS namespace.
:type create_acs_namespace: bool
:param enabled: Specifies whether this instance is enabled.
:type enabled: bool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@


class QueueCreateOrUpdateParameters(Model):
"""Parameters supplied to the CreateOrUpdate Queue operation.
"""Parameters supplied to the Create Or Update Queue operation.
:param name: Queue name.
:type name: str
:param location: location of the resource.
:type location: str
:param lock_duration: the duration of a peek lock; that is, the amount of
:param lock_duration: The duration of a peek-lock; that is, the amount of
time that the message is locked for other receivers. The maximum value
for LockDuration is 5 minutes; the default value is 1 minute.
:type lock_duration: str
Expand All @@ -34,62 +34,62 @@ class QueueCreateOrUpdateParameters(Model):
'Restoring', 'Unknown'
:type entity_availability_status: str or :class:`EntityAvailabilityStatus
<azure.mgmt.servicebus.models.EntityAvailabilityStatus>`
:param created_at: the exact time the message was created.
:param created_at: The exact time the message was created.
:type created_at: datetime
:param default_message_time_to_live: the default message time to live
:param default_message_time_to_live: The default message time to live
value. This is the duration after which the message expires, starting
from when the message is sent to Service Bus. This is the default value
used when TimeToLive is not set on a message itself.
:type default_message_time_to_live: str
:param duplicate_detection_history_time_window: TimeSpan structure that
defines the duration of the duplicate detection history. The default
value is 10 minutes..
value is 10 minutes.
:type duplicate_detection_history_time_window: str
:param enable_batched_operations: value that indicates whether
server-side batched operations are enabled..
:param enable_batched_operations: A value that indicates whether
server-side batched operations are enabled.
:type enable_batched_operations: bool
:param dead_lettering_on_message_expiration: a value that indicates
:param dead_lettering_on_message_expiration: A value that indicates
whether this queue has dead letter support when a message expires.
:type dead_lettering_on_message_expiration: bool
:param enable_express: a value that indicates whether Express Entities
:param enable_express: A value that indicates whether Express Entities
are enabled. An express queue holds a message in memory temporarily
before writing it to persistent storage.
:type enable_express: bool
:param enable_partitioning: value that indicates whether the queue to be
partitioned across multiple message brokers is enabled.
:param enable_partitioning: A value that indicates whether the queue is
to be partitioned across multiple message brokers.
:type enable_partitioning: bool
:param is_anonymous_accessible: a value that indicates whether the
message is anonymous accessible.
:param is_anonymous_accessible: A value that indicates whether the
message is accessible anonymously.
:type is_anonymous_accessible: bool
:param max_delivery_count: the maximum delivery count. A message is
:param max_delivery_count: The maximum delivery count. A message is
automatically deadlettered after this number of deliveries.
:type max_delivery_count: int
:param max_size_in_megabytes: the maximum size of the queue in megabytes,
:param max_size_in_megabytes: The maximum size of the queue in megabytes,
which is the size of memory allocated for the queue.
:type max_size_in_megabytes: long
:param message_count: the number of messages in the queue.
:param message_count: The number of messages in the queue.
:type message_count: long
:param count_details:
:type count_details: :class:`MessageCountDetails
<azure.mgmt.servicebus.models.MessageCountDetails>`
:param requires_duplicate_detection: the value indicating if this queue
:param requires_duplicate_detection: A value indicating if this queue
requires duplicate detection.
:type requires_duplicate_detection: bool
:param requires_session: a value that indicates whether the queue
supports the concept of session.
:param requires_session: A value that indicates whether the queue
supports the concept of sessions.
:type requires_session: bool
:param size_in_bytes: the size of the queue in bytes.
:param size_in_bytes: The size of the queue, in bytes.
:type size_in_bytes: long
:param status: Enumerates the possible values for the status of a
messaging entity. Possible values include: 'Active', 'Creating',
'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', 'Restoring',
'SendDisabled', 'Unknown'
:type status: str or :class:`EntityStatus
<azure.mgmt.servicebus.models.EntityStatus>`
:param support_ordering: a value that indicates whether the queue
:param support_ordering: A value that indicates whether the queue
supports ordering.
:type support_ordering: bool
:param updated_at: the exact time the message has been updated.
:param updated_at: The exact time the message was updated.
:type updated_at: datetime
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class QueueResource(Resource):
:type location: str
:param tags: Resource tags
:type tags: dict
:param lock_duration: the duration of a peek lock; that is, the amount of
:param lock_duration: The duration of a peek-lock; that is, the amount of
time that the message is locked for other receivers. The maximum value
for LockDuration is 5 minutes; the default value is 1 minute.
:type lock_duration: str
Expand All @@ -43,62 +43,62 @@ class QueueResource(Resource):
'Restoring', 'Unknown'
:type entity_availability_status: str or :class:`EntityAvailabilityStatus
<azure.mgmt.servicebus.models.EntityAvailabilityStatus>`
:param created_at: the exact time the message was created.
:param created_at: The exact time the message was created.
:type created_at: datetime
:param default_message_time_to_live: the default message time to live
:param default_message_time_to_live: The default message time to live
value. This is the duration after which the message expires, starting
from when the message is sent to Service Bus. This is the default value
used when TimeToLive is not set on a message itself.
:type default_message_time_to_live: str
:param duplicate_detection_history_time_window: TimeSpan structure that
defines the duration of the duplicate detection history. The default
value is 10 minutes..
value is 10 minutes.
:type duplicate_detection_history_time_window: str
:param enable_batched_operations: value that indicates whether
server-side batched operations are enabled..
:param enable_batched_operations: A value that indicates whether
server-side batched operations are enabled.
:type enable_batched_operations: bool
:param dead_lettering_on_message_expiration: a value that indicates
:param dead_lettering_on_message_expiration: A value that indicates
whether this queue has dead letter support when a message expires.
:type dead_lettering_on_message_expiration: bool
:param enable_express: a value that indicates whether Express Entities
:param enable_express: A value that indicates whether Express Entities
are enabled. An express queue holds a message in memory temporarily
before writing it to persistent storage.
:type enable_express: bool
:param enable_partitioning: value that indicates whether the queue to be
partitioned across multiple message brokers is enabled.
:param enable_partitioning: A value that indicates whether the queue is
to be partitioned across multiple message brokers.
:type enable_partitioning: bool
:param is_anonymous_accessible: a value that indicates whether the
message is anonymous accessible.
:param is_anonymous_accessible: A value that indicates whether the
message is accessible anonymously.
:type is_anonymous_accessible: bool
:param max_delivery_count: the maximum delivery count. A message is
:param max_delivery_count: The maximum delivery count. A message is
automatically deadlettered after this number of deliveries.
:type max_delivery_count: int
:param max_size_in_megabytes: the maximum size of the queue in megabytes,
:param max_size_in_megabytes: The maximum size of the queue in megabytes,
which is the size of memory allocated for the queue.
:type max_size_in_megabytes: long
:param message_count: the number of messages in the queue.
:param message_count: The number of messages in the queue.
:type message_count: long
:param count_details:
:type count_details: :class:`MessageCountDetails
<azure.mgmt.servicebus.models.MessageCountDetails>`
:param requires_duplicate_detection: the value indicating if this queue
:param requires_duplicate_detection: A value indicating if this queue
requires duplicate detection.
:type requires_duplicate_detection: bool
:param requires_session: a value that indicates whether the queue
supports the concept of session.
:param requires_session: A value that indicates whether the queue
supports the concept of sessions.
:type requires_session: bool
:param size_in_bytes: the size of the queue in bytes.
:param size_in_bytes: The size of the queue, in bytes.
:type size_in_bytes: long
:param status: Enumerates the possible values for the status of a
messaging entity. Possible values include: 'Active', 'Creating',
'Deleting', 'Disabled', 'ReceiveDisabled', 'Renaming', 'Restoring',
'SendDisabled', 'Unknown'
:type status: str or :class:`EntityStatus
<azure.mgmt.servicebus.models.EntityStatus>`
:param support_ordering: a value that indicates whether the queue
:param support_ordering: A value that indicates whether the queue
supports ordering.
:type support_ordering: bool
:param updated_at: the exact time the message has been updated.
:param updated_at: The exact time the message was updated.
:type updated_at: datetime
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@


class RegenerateKeysParameters(Model):
"""Parameters supplied to the Regenerate Auth Rule.
"""Parameters supplied to the Regenerate Authorization Rule operation.
:param policykey: Key that needs to be regenerated . Possible values
:param policykey: Key that needs to be regenerated. Possible values
include: 'PrimaryKey', 'SecondaryKey'
:type policykey: str or :class:`Policykey
<azure.mgmt.servicebus.models.Policykey>`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
class ResourceListKeys(Model):
"""Namespace/ServiceBus Connection String.
:param primary_connection_string: PrimaryConnectionString of the created
Namespace AuthorizationRule.
:param primary_connection_string: Primary connection string of the
created namespace authorization rule.
:type primary_connection_string: str
:param secondary_connection_string: SecondaryConnectionString of the
created Namespace AuthorizationRule
:param secondary_connection_string: Secondary connection string of the
created namespace authorization rule.
:type secondary_connection_string: str
:param primary_key: A base64-encoded 256-bit primary key for signing and
validating the SAS token
validating the SAS token.
:type primary_key: str
:param secondary_key: A base64-encoded 256-bit primary key for signing
and validating the SAS token
and validating the SAS token.
:type secondary_key: str
:param key_name: A string that describes the authorization rule
:param key_name: A string that describes the authorization rule.
:type key_name: str
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@


class SharedAccessAuthorizationRuleCreateOrUpdateParameters(Model):
"""Parameters supplied to the CreateOrUpdate AuthorizationRules.
"""Parameters supplied to the Create Or Update Authorization Rules operation.
:param location: data center location.
:type location: str
:param name: Name of the AuthorizationRule.
:param name: Name of the authorization rule.
:type name: str
:param rights: The rights associated with the rule.
:type rights: list of str or :class:`AccessRights
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class SharedAccessAuthorizationRuleResource(Resource):
"""Description of a Namespace AuthorizationRules.
"""Description of a namespace authorization rule.
Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
10 changes: 5 additions & 5 deletions azure-mgmt-servicebus/azure/mgmt/servicebus/models/sku.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@


class Sku(Model):
"""Sku of the Namespace.
"""SKU of the namespace.
:param name: Name of this Sku. Possible values include: 'Basic',
:param name: Name of this SKU. Possible values include: 'Basic',
'Standard', 'Premium'
:type name: str or :class:`SkuName <azure.mgmt.servicebus.models.SkuName>`
:param tier: The tier of this particular SKU. Possible values include:
'Basic', 'Standard', 'Premium'
:param tier: The billing tier of this particular SKU. Possible values
include: 'Basic', 'Standard', 'Premium'
:type tier: str or :class:`SkuTier <azure.mgmt.servicebus.models.SkuTier>`
:param capacity: The messaging units for the tier specified
:param capacity: The specified messaging units for the tier.
:type capacity: int
"""

Expand Down
Loading

0 comments on commit da8db3e

Please sign in to comment.