pyaz/iot/dps/access_policy/__init__.py
def create(access_policy_name, dps_name, resource_group, rights, no_wait=None, primary_key=None, secondary_key=None):
    '''
    Create a new shared access policy in an Azure IoT Hub device provisioning service.

    Required Parameters:
    - access_policy_name -- A friendly name for DPS access policy.
    - dps_name -- IoT Provisioning Service name
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - rights -- Access rights for the IoT provisioning service. Use space-separated list for multiple rights.

    Optional Parameters:
    - no_wait -- Do not wait for the long-running operation to finish.
    - primary_key -- Primary SAS key value.
    - secondary_key -- Secondary SAS key value.
    '''
    return _call_az("az iot dps access-policy create", locals())

    Create a new shared access policy in an Azure IoT Hub device provisioning service.

    Required Parameters:
    - access_policy_name -- A friendly name for DPS access policy.
    - dps_name -- IoT Provisioning Service name
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - rights -- Access rights for the IoT provisioning service. Use space-separated list for multiple rights.

    Optional Parameters:
    - no_wait -- Do not wait for the long-running operation to finish.
    - primary_key -- Primary SAS key value.
    - secondary_key -- Secondary SAS key value.
    
Create a new shared access policy in an Azure IoT Hub device provisioning service.
Required Parameters:
access_policy_name -- A friendly name for DPS access policy.
dps_name -- IoT Provisioning Service name
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
rights -- Access rights for the IoT provisioning service. Use space-separated list for multiple rights.

Optional Parameters:
no_wait -- Do not wait for the long-running operation to finish.
primary_key -- Primary SAS key value.
secondary_key -- Secondary SAS key value.
Create a new shared access policy in an Azure IoT Hub device provisioning service . Required Parameters : access_policy_name -- A friendly name for DPS access policy . dps_name -- IoT Provisioning Service name resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` rights -- Access rights for the IoT provisioning service . Use space - separated list for multiple rights . Optional Parameters : no_wait -- Do not wait for the long - running operation to finish . primary_key -- Primary SAS key value . secondary_key -- Secondary SAS key value .
def create(access_policy_name, dps_name, resource_group, rights, no_wait=None, primary_key=None, secondary_key=None):
    return _call_az("az iot dps access-policy create", locals())
def create ( access_policy_name , dps_name , resource_group , rights , no_wait = None , primary_key = None , secondary_key = None ) : return _call_az ( "az iot dps access-policy create" , locals ( ) )
Create a new shared access policy in an Azure IoT Hub device provisioning service.
Create a new shared access policy in an Azure IoT Hub device provisioning service .
'''
    Create a new shared access policy in an Azure IoT Hub device provisioning service.

    Required Parameters:
    - access_policy_name -- A friendly name for DPS access policy.
    - dps_name -- IoT Provisioning Service name
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - rights -- Access rights for the IoT provisioning service. Use space-separated list for multiple rights.

    Optional Parameters:
    - no_wait -- Do not wait for the long-running operation to finish.
    - primary_key -- Primary SAS key value.
    - secondary_key -- Secondary SAS key value.
    '''
access_policy_name
dps_name
resource_group
rights
no_wait
primary_key
secondary_key