pyaz/servicebus/topic/subscription/__init__.py
def create(name, namespace_name, resource_group, topic_name, auto_delete_on_idle=None, dead_letter_on_filter_exceptions=None, default_message_time_to_live=None, enable_batched_operations=None, enable_dead_lettering_on_message_expiration=None, enable_session=None, forward_dead_lettered_messages_to=None, forward_to=None, lock_duration=None, max_delivery_count=None, status=None):
    '''
    Create the ServiceBus Subscription

    Required Parameters:
    - name -- Name of Subscription
    - namespace_name -- Name of Namespace
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - topic_name -- Name of Topic

    Optional Parameters:
    - auto_delete_on_idle -- ISO 8601 timeSpan  or duration time format for idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
    - dead_letter_on_filter_exceptions -- Allow dead lettering when filter evaluation exceptions occur.
    - default_message_time_to_live -- ISO 8601 or duration time format for Default message timespan 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.
    - enable_batched_operations -- Allow server-side batched operations.
    - enable_dead_lettering_on_message_expiration -- A boolean Value that indicates whether a subscription has dead letter support when a message expires.
    - enable_session -- A boolean value indicating if a subscription supports the concept of sessions.
    - forward_dead_lettered_messages_to -- Queue/Topic name to forward the Dead Letter message
    - forward_to -- Queue/Topic name to forward the messages
    - lock_duration -- ISO 8601 or duration format (day:minute:seconds) for lock duration timespan for the subscription. The default value is 1 minute.
    - max_delivery_count -- Number of maximum deliveries.
    - status -- Enumerates the possible values for the status of a messaging entity.
    '''
    return _call_az("az servicebus topic subscription create", locals())

    Create the ServiceBus Subscription

    Required Parameters:
    - name -- Name of Subscription
    - namespace_name -- Name of Namespace
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - topic_name -- Name of Topic

    Optional Parameters:
    - auto_delete_on_idle -- ISO 8601 timeSpan  or duration time format for idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
    - dead_letter_on_filter_exceptions -- Allow dead lettering when filter evaluation exceptions occur.
    - default_message_time_to_live -- ISO 8601 or duration time format for Default message timespan 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.
    - enable_batched_operations -- Allow server-side batched operations.
    - enable_dead_lettering_on_message_expiration -- A boolean Value that indicates whether a subscription has dead letter support when a message expires.
    - enable_session -- A boolean value indicating if a subscription supports the concept of sessions.
    - forward_dead_lettered_messages_to -- Queue/Topic name to forward the Dead Letter message
    - forward_to -- Queue/Topic name to forward the messages
    - lock_duration -- ISO 8601 or duration format (day:minute:seconds) for lock duration timespan for the subscription. The default value is 1 minute.
    - max_delivery_count -- Number of maximum deliveries.
    - status -- Enumerates the possible values for the status of a messaging entity.
    


Optional Parameters:
auto_delete_on_idle -- ISO 8601 timeSpan  or duration time format for idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
dead_letter_on_filter_exceptions -- Allow dead lettering when filter evaluation exceptions occur.
default_message_time_to_live -- ISO 8601 or duration time format for Default message timespan 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.
enable_batched_operations -- Allow server-side batched operations.
enable_dead_lettering_on_message_expiration -- A boolean Value that indicates whether a subscription has dead letter support when a message expires.
enable_session -- A boolean value indicating if a subscription supports the concept of sessions.
Optional Parameters : auto_delete_on_idle -- ISO 8601 timeSpan or duration time format for idle interval after which the topic is automatically deleted . The minimum duration is 5 minutes . dead_letter_on_filter_exceptions -- Allow dead lettering when filter evaluation exceptions occur . default_message_time_to_live -- ISO 8601 or duration time format for Default message timespan 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 . enable_batched_operations -- Allow server - side batched operations . enable_dead_lettering_on_message_expiration -- A boolean Value that indicates whether a subscription has dead letter support when a message expires . enable_session -- A boolean value indicating if a subscription supports the concept of sessions .
def create(name, namespace_name, resource_group, topic_name, auto_delete_on_idle=None, dead_letter_on_filter_exceptions=None, default_message_time_to_live=None, enable_batched_operations=None, enable_dead_lettering_on_message_expiration=None, enable_session=None, forward_dead_lettered_messages_to=None, forward_to=None, lock_duration=None, max_delivery_count=None, status=None):
    return _call_az("az servicebus topic subscription create", locals())
def create ( name , namespace_name , resource_group , topic_name , auto_delete_on_idle = None , dead_letter_on_filter_exceptions = None , default_message_time_to_live = None , enable_batched_operations = None , enable_dead_lettering_on_message_expiration = None , enable_session = None , forward_dead_lettered_messages_to = None , forward_to = None , lock_duration = None , max_delivery_count = None , status = None ) : return _call_az ( "az servicebus topic subscription create" , locals ( ) )
Create the ServiceBus Subscription
Required Parameters:
 name -- Name of Subscription
 namespace_name -- Name of Namespace
 resource_group -- Name of resource group.
Create the ServiceBus Subscription Required Parameters : name -- Name of Subscription namespace_name -- Name of Namespace resource_group -- Name of resource group .
'''
    Create the ServiceBus Subscription

    Required Parameters:
    - name -- Name of Subscription
    - namespace_name -- Name of Namespace
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - topic_name -- Name of Topic

    Optional Parameters:
    - auto_delete_on_idle -- ISO 8601 timeSpan  or duration time format for idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
    - dead_letter_on_filter_exceptions -- Allow dead lettering when filter evaluation exceptions occur.
    - default_message_time_to_live -- ISO 8601 or duration time format for Default message timespan 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.
    - enable_batched_operations -- Allow server-side batched operations.
    - enable_dead_lettering_on_message_expiration -- A boolean Value that indicates whether a subscription has dead letter support when a message expires.
    - enable_session -- A boolean value indicating if a subscription supports the concept of sessions.
    - forward_dead_lettered_messages_to -- Queue/Topic name to forward the Dead Letter message
    - forward_to -- Queue/Topic name to forward the messages
    - lock_duration -- ISO 8601 or duration format (day:minute:seconds) for lock duration timespan for the subscription. The default value is 1 minute.
    - max_delivery_count -- Number of maximum deliveries.
    - status -- Enumerates the possible values for the status of a messaging entity.
    '''
name
namespace_name
resource_group
topic_name
auto_delete_on_idle
dead_letter_on_filter_exceptions
default_message_time_to_live
enable_batched_operations
enable_dead_lettering_on_message_expiration
enable_session
forward_dead_lettered_messages_to
forward_to
lock_duration
max_delivery_count
status