sdk/python/pulumi_azure_nextgen/devtestlab/list_virtual_machine_applicable_schedules.py
def list_virtual_machine_applicable_schedules(lab_name: Optional[str] = None,
                                              name: Optional[str] = None,
                                              resource_group_name: Optional[str] = None,
                                              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListVirtualMachineApplicableSchedulesResult:
    """
    Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.
    API Version: 2018-09-15.


    :param str lab_name: The name of the lab.
    :param str name: The name of the virtual machine.
    :param str resource_group_name: The name of the resource group.
    """
    __args__ = dict()
    __args__['labName'] = lab_name
    __args__['name'] = name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:devtestlab:listVirtualMachineApplicableSchedules', __args__, opts=opts, typ=ListVirtualMachineApplicableSchedulesResult).value

    return AwaitableListVirtualMachineApplicableSchedulesResult(
        id=__ret__.id,
        lab_vms_shutdown=__ret__.lab_vms_shutdown,
        lab_vms_startup=__ret__.lab_vms_startup,
        location=__ret__.location,
        name=__ret__.name,
        tags=__ret__.tags,
        type=__ret__.type)

    Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.
    API Version: 2018-09-15.


    :param str lab_name: The name of the lab.
    :param str name: The name of the virtual machine.
    :param str resource_group_name: The name of the resource group.
    
Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.
Schedules applicable to a virtual machine . The schedules may have been defined on a VM or on lab level .
def list_virtual_machine_applicable_schedules(lab_name: Optional[str] = None,
                                              name: Optional[str] = None,
                                              resource_group_name: Optional[str] = None,
                                              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListVirtualMachineApplicableSchedulesResult:
    __args__ = dict()
    __args__['labName'] = lab_name
    __args__['name'] = name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-nextgen:devtestlab:listVirtualMachineApplicableSchedules', __args__, opts=opts, typ=ListVirtualMachineApplicableSchedulesResult).value
    return AwaitableListVirtualMachineApplicableSchedulesResult(
        id=__ret__.id,
        lab_vms_shutdown=__ret__.lab_vms_shutdown,
        lab_vms_startup=__ret__.lab_vms_startup,
        location=__ret__.location,
        name=__ret__.name,
        tags=__ret__.tags,
        type=__ret__.type)
def list_virtual_machine_applicable_schedules ( lab_name : Optional [ str ] = None , name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListVirtualMachineApplicableSchedulesResult : __args__ = dict ( ) __args__ [ 'labName' ] = lab_name __args__ [ 'name' ] = name __args__ [ 'resourceGroupName' ] = resource_group_name if opts is None : opts = pulumi . InvokeOptions ( ) if opts . version is None : opts . version = _utilities . get_version ( ) __ret__ = pulumi . runtime . invoke ( 'azure-nextgen:devtestlab:listVirtualMachineApplicableSchedules' , __args__ , opts = opts , typ = ListVirtualMachineApplicableSchedulesResult ) . value return AwaitableListVirtualMachineApplicableSchedulesResult ( id = __ret__ . id , lab_vms_shutdown = __ret__ . lab_vms_shutdown , lab_vms_startup = __ret__ . lab_vms_startup , location = __ret__ . location , name = __ret__ . name , tags = __ret__ . tags , type = __ret__ . type )
Schedules applicable to a virtual machine.
Schedules applicable to a virtual machine .
"""
    Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.
    API Version: 2018-09-15.


    :param str lab_name: The name of the lab.
    :param str name: The name of the virtual machine.
    :param str resource_group_name: The name of the resource group.
    """
lab_name
Optional[str]
The name of the lab.
The name of the lab .
name
Optional[str]
The name of the virtual machine.
The name of the virtual machine .
resource_group_name
Optional[str]
The name of the resource group.
The name of the resource group .
opts
Optional[pulumi.InvokeOptions]