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


    :param str lab_name: The name of the lab.
    :param str name: The name of the service fabric.
    :param str resource_group_name: The name of the resource group.
    :param str user_name: The name of the user profile.
    """
    __args__ = dict()
    __args__['labName'] = lab_name
    __args__['name'] = name
    __args__['resourceGroupName'] = resource_group_name
    __args__['userName'] = user_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/v20180915:listServiceFabricApplicableSchedules', __args__, opts=opts, typ=ListServiceFabricApplicableSchedulesResult).value

    return AwaitableListServiceFabricApplicableSchedulesResult(
        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.


    :param str lab_name: The name of the lab.
    :param str name: The name of the service fabric.
    :param str resource_group_name: The name of the resource group.
    :param str user_name: The name of the user profile.
    
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_service_fabric_applicable_schedules(lab_name: Optional[str] = None,
                                             name: Optional[str] = None,
                                             resource_group_name: Optional[str] = None,
                                             user_name: Optional[str] = None,
                                             opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListServiceFabricApplicableSchedulesResult:
    __args__ = dict()
    __args__['labName'] = lab_name
    __args__['name'] = name
    __args__['resourceGroupName'] = resource_group_name
    __args__['userName'] = user_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/v20180915:listServiceFabricApplicableSchedules', __args__, opts=opts, typ=ListServiceFabricApplicableSchedulesResult).value
    return AwaitableListServiceFabricApplicableSchedulesResult(
        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_service_fabric_applicable_schedules ( lab_name : Optional [ str ] = None , name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , user_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListServiceFabricApplicableSchedulesResult : __args__ = dict ( ) __args__ [ 'labName' ] = lab_name __args__ [ 'name' ] = name __args__ [ 'resourceGroupName' ] = resource_group_name __args__ [ 'userName' ] = user_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/v20180915:listServiceFabricApplicableSchedules' , __args__ , opts = opts , typ = ListServiceFabricApplicableSchedulesResult ) . value return AwaitableListServiceFabricApplicableSchedulesResult ( 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.


    :param str lab_name: The name of the lab.
    :param str name: The name of the service fabric.
    :param str resource_group_name: The name of the resource group.
    :param str user_name: The name of the user profile.
    """
lab_name
Optional[str]
The name of the lab.
The name of the lab .
name
Optional[str]
The name of the service fabric.
The name of the service fabric .
resource_group_name
Optional[str]
The name of the resource group.
The name of the resource group .
user_name
Optional[str]
The name of the user profile.
The name of the user profile .
opts
Optional[pulumi.InvokeOptions]