pyaz/monitor/diagnostic_settings/subscription/__init__.py
def create(location, logs, name, event_hub_auth_rule=None, event_hub_name=None, service_bus_rule=None, storage_account=None, workspace=None):
    '''
    Create diagnostic settings for a subscription

    Required Parameters:
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - logs -- JSON encoded list of logs settings. Use '@{file}' to load from a file.
    - name -- The name of the diagnostic setting.

    Optional Parameters:
    - event_hub_auth_rule -- The resource Id for the event hub authorization rule.
    - event_hub_name -- The name of the event hub. If none is specified, the default event hub will be selected.
    - service_bus_rule -- The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format '{service bus resource ID}/authorizationrules/{key name}'.
    - storage_account -- The resource id of the storage account to which you would like to send the Activity Log.
    - workspace -- The resource id of the log analytics workspace.
    '''
    return _call_az("az monitor diagnostic-settings subscription create", locals())

    Create diagnostic settings for a subscription

    Required Parameters:
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - logs -- JSON encoded list of logs settings. Use '@{file}' to load from a file.
    - name -- The name of the diagnostic setting.

    Optional Parameters:
    - event_hub_auth_rule -- The resource Id for the event hub authorization rule.
    - event_hub_name -- The name of the event hub. If none is specified, the default event hub will be selected.
    - service_bus_rule -- The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format '{service bus resource ID}/authorizationrules/{key name}'.
    - storage_account -- The resource id of the storage account to which you would like to send the Activity Log.
    - workspace -- The resource id of the log analytics workspace.
    
Create diagnostic settings for a subscription
Required Parameters:
location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`.
logs -- JSON encoded list of logs settings. Use '@{file}' to load from a file.
name -- The name of the diagnostic setting.

Optional Parameters:
event_hub_auth_rule -- The resource Id for the event hub authorization rule.
event_hub_name -- The name of the event hub. If none is specified, the default event hub will be selected.
service_bus_rule -- The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format '{service bus resource ID}/authorizationrules/{key name}'.
storage_account -- The resource id of the storage account to which you would like to send the Activity Log.
workspace -- The resource id of the log analytics workspace.
Create diagnostic settings for a subscription Required Parameters : location -- Location . Values from : ` az account list - locations ` . You can configure the default location using ` az configure -- defaults location = ` . logs -- JSON encoded list of logs settings . Use ' @ { file } ' to load from a file . name -- The name of the diagnostic setting . Optional Parameters : event_hub_auth_rule -- The resource Id for the event hub authorization rule . event_hub_name -- The name of the event hub . If none is specified the default event hub will be selected . service_bus_rule -- The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log . The rule ID is of the format ' { service bus resource ID } / authorizationrules / { key name } ' . storage_account -- The resource id of the storage account to which you would like to send the Activity Log . workspace -- The resource id of the log analytics workspace .
def create(location, logs, name, event_hub_auth_rule=None, event_hub_name=None, service_bus_rule=None, storage_account=None, workspace=None):
    return _call_az("az monitor diagnostic-settings subscription create", locals())
def create ( location , logs , name , event_hub_auth_rule = None , event_hub_name = None , service_bus_rule = None , storage_account = None , workspace = None ) : return _call_az ( "az monitor diagnostic-settings subscription create" , locals ( ) )
Create diagnostic settings for a subscription
Required Parameters:
 location -- Location.
Create diagnostic settings for a subscription Required Parameters : location -- Location .
'''
    Create diagnostic settings for a subscription

    Required Parameters:
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - logs -- JSON encoded list of logs settings. Use '@{file}' to load from a file.
    - name -- The name of the diagnostic setting.

    Optional Parameters:
    - event_hub_auth_rule -- The resource Id for the event hub authorization rule.
    - event_hub_name -- The name of the event hub. If none is specified, the default event hub will be selected.
    - service_bus_rule -- The service bus rule ID of the service bus namespace in which you would like to have Event Hubs created for streaming the Activity Log. The rule ID is of the format '{service bus resource ID}/authorizationrules/{key name}'.
    - storage_account -- The resource id of the storage account to which you would like to send the Activity Log.
    - workspace -- The resource id of the log analytics workspace.
    '''
location
logs
name
event_hub_auth_rule
event_hub_name
service_bus_rule
storage_account
workspace