pyaz/capacity/reservation/__init__.py
def create(capacity_reservation_group, capacity_reservation_name, resource_group, sku, capacity=None, location=None, no_wait=None, tags=None, zone=None):
    '''
    Create capacity reservation.

    Required Parameters:
    - capacity_reservation_group -- The name of the capacity reservation group.
    - capacity_reservation_name -- The name of the capacity reservation.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - sku -- The SKU of the resource for which capacity needs be reserved. Currently VM Skus with the capability called "CapacityReservationSupported" set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.

    Optional Parameters:
    - capacity -- Specify the number of virtual machines in the scale set.
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - no_wait -- Do not wait for the long-running operation to finish.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - zone -- Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.
    '''
    return _call_az("az capacity reservation create", locals())

    Create capacity reservation.

    Required Parameters:
    - capacity_reservation_group -- The name of the capacity reservation group.
    - capacity_reservation_name -- The name of the capacity reservation.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - sku -- The SKU of the resource for which capacity needs be reserved. Currently VM Skus with the capability called "CapacityReservationSupported" set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.

    Optional Parameters:
    - capacity -- Specify the number of virtual machines in the scale set.
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - no_wait -- Do not wait for the long-running operation to finish.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - zone -- Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.
    
Create capacity reservation.
Required Parameters:
capacity_reservation_group -- The name of the capacity reservation group.
capacity_reservation_name -- The name of the capacity reservation.
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
sku -- The SKU of the resource for which capacity needs be reserved. Currently VM Skus with the capability called "CapacityReservationSupported" set to true are supported. Refer to List Microsoft.Compute SKUs in a region  for supported values.

Optional Parameters:
capacity -- Specify the number of virtual machines in the scale set.
location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=`.
no_wait -- Do not wait for the long-running operation to finish.
tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
zone -- Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.
Create capacity reservation . Required Parameters : capacity_reservation_group -- The name of the capacity reservation group . capacity_reservation_name -- The name of the capacity reservation . resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = ` sku -- The SKU of the resource for which capacity needs be reserved . Currently VM Skus with the capability called " CapacityReservationSupported " set to true are supported . Refer to List Microsoft . Compute SKUs in a region for supported values . Optional Parameters : capacity -- Specify the number of virtual machines in the scale set . location -- Location . Values from : ` az account list - locations ` . You can configure the default location using ` az configure -- defaults location = ` . no_wait -- Do not wait for the long - running operation to finish . tags -- space - separated tags : key [ = value ] [ key [ = value ] ... ] . Use ' ' to clear existing tags . zone -- Availability Zone to use for this capacity reservation . The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation . If not provided the reservation supports only non - zonal deployments . If provided enforces VM / VMSS using this capacity reservation to be in same zone .
def create(capacity_reservation_group, capacity_reservation_name, resource_group, sku, capacity=None, location=None, no_wait=None, tags=None, zone=None):
    return _call_az("az capacity reservation create", locals())
def create ( capacity_reservation_group , capacity_reservation_name , resource_group , sku , capacity = None , location = None , no_wait = None , tags = None , zone = None ) : return _call_az ( "az capacity reservation create" , locals ( ) )
Create capacity reservation.
Create capacity reservation .
'''
    Create capacity reservation.

    Required Parameters:
    - capacity_reservation_group -- The name of the capacity reservation group.
    - capacity_reservation_name -- The name of the capacity reservation.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - sku -- The SKU of the resource for which capacity needs be reserved. Currently VM Skus with the capability called "CapacityReservationSupported" set to true are supported. Refer to List Microsoft.Compute SKUs in a region (https://docs.microsoft.com/rest/api/compute/resourceskus/list) for supported values.

    Optional Parameters:
    - capacity -- Specify the number of virtual machines in the scale set.
    - location -- Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`.
    - no_wait -- Do not wait for the long-running operation to finish.
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - zone -- Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone.
    '''
capacity_reservation_group
capacity_reservation_name
resource_group
sku
capacity
location
no_wait
tags
zone