pyaz/iot/hub/policy/__init__.py
def create(hub_name, name, permissions, resource_group=None):
    '''
    Create a new shared access policy in an IoT hub.

    Required Parameters:
    - hub_name -- IoT Hub name.
    - name -- Shared access policy name.
    - permissions -- Permissions of shared access policy. Use space-separated list for multiple permissions. Possible values: RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect

    Optional Parameters:
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    '''
    return _call_az("az iot hub policy create", locals())

    Create a new shared access policy in an IoT hub.

    Required Parameters:
    - hub_name -- IoT Hub name.
    - name -- Shared access policy name.
    - permissions -- Permissions of shared access policy. Use space-separated list for multiple permissions. Possible values: RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect

    Optional Parameters:
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    
Create a new shared access policy in an IoT hub.
Required Parameters:
hub_name -- IoT Hub name.
name -- Shared access policy name.
permissions -- Permissions of shared access policy. Use space-separated list for multiple permissions.

Optional Parameters:
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
Create a new shared access policy in an IoT hub . Required Parameters : hub_name -- IoT Hub name . name -- Shared access policy name . permissions -- Permissions of shared access policy . Use space - separated list for multiple permissions . Optional Parameters : resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = `
def create(hub_name, name, permissions, resource_group=None):
    return _call_az("az iot hub policy create", locals())
def create ( hub_name , name , permissions , resource_group = None ) : return _call_az ( "az iot hub policy create" , locals ( ) )
Create a new shared access policy in an IoT hub.
Create a new shared access policy in an IoT hub .
'''
    Create a new shared access policy in an IoT hub.

    Required Parameters:
    - hub_name -- IoT Hub name.
    - name -- Shared access policy name.
    - permissions -- Permissions of shared access policy. Use space-separated list for multiple permissions. Possible values: RegistryRead, RegistryWrite, ServiceConnect, DeviceConnect

    Optional Parameters:
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    '''
hub_name
name
permissions
resource_group