sdk/python/pulumi_azure_nextgen/databoxedge/latest/list_order_dc_access_code.py
def list_order_dc_access_code(device_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListOrderDCAccessCodeResult:
    """
    DC Access code in the case of Self Managed Shipping.
    Latest API Version: 2020-09-01.


    :param str device_name: The device name
    :param str resource_group_name: The resource group name.
    """
    pulumi.log.warn("list_order_dc_access_code is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:databoxedge:listOrderDCAccessCode'.")
    __args__ = dict()
    __args__['deviceName'] = device_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:databoxedge/latest:listOrderDCAccessCode', __args__, opts=opts, typ=ListOrderDCAccessCodeResult).value

    return AwaitableListOrderDCAccessCodeResult(
        auth_code=__ret__.auth_code)

    DC Access code in the case of Self Managed Shipping.
    Latest API Version: 2020-09-01.


    :param str device_name: The device name
    :param str resource_group_name: The resource group name.
    
DC Access code in the case of Self Managed Shipping.
DC Access code in the case of Self Managed Shipping .
def list_order_dc_access_code(device_name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableListOrderDCAccessCodeResult:
    pulumi.log.warn("list_order_dc_access_code is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:databoxedge:listOrderDCAccessCode'.")
    __args__ = dict()
    __args__['deviceName'] = device_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:databoxedge/latest:listOrderDCAccessCode', __args__, opts=opts, typ=ListOrderDCAccessCodeResult).value
    return AwaitableListOrderDCAccessCodeResult(
        auth_code=__ret__.auth_code)
def list_order_dc_access_code ( device_name : Optional [ str ] = None , resource_group_name : Optional [ str ] = None , opts : Optional [ pulumi . InvokeOptions ] = None ) -> AwaitableListOrderDCAccessCodeResult : pulumi . log . warn ( "list_order_dc_access_code is deprecated: The 'latest' version is deprecated. Please migrate to the function in the top-level module: 'azure-nextgen:databoxedge:listOrderDCAccessCode'." ) __args__ = dict ( ) __args__ [ 'deviceName' ] = device_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:databoxedge/latest:listOrderDCAccessCode' , __args__ , opts = opts , typ = ListOrderDCAccessCodeResult ) . value return AwaitableListOrderDCAccessCodeResult ( auth_code = __ret__ . auth_code )
DC Access code in the case of Self Managed Shipping.
DC Access code in the case of Self Managed Shipping .
"""
    DC Access code in the case of Self Managed Shipping.
    Latest API Version: 2020-09-01.


    :param str device_name: The device name
    :param str resource_group_name: The resource group name.
    """
device_name
Optional[str]
The device name
The device name
resource_group_name
Optional[str]
The resource group name.
The resource group name .
opts
Optional[pulumi.InvokeOptions]