def METHOD_NAME(nested_resource_type_first: Optional[pulumi.Input[str]] = None,
                                                nested_resource_type_second: Optional[pulumi.Input[str]] = None,
                                                provider_namespace: Optional[pulumi.Input[str]] = None,
                                                resource_type: Optional[pulumi.Input[str]] = None,
                                                sku: Optional[pulumi.Input[str]] = None,
                                                opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSkusNestedResourceTypeSecondResult]:
    """
    Gets the sku details for the given resource type and sku name.
    Azure REST API version: 2021-09-01-preview.
    :param str nested_resource_type_first: The first child resource type.
    :param str nested_resource_type_second: The second child resource type.
    :param str provider_namespace: The name of the resource provider hosted within ProviderHub.
    :param str resource_type: The resource type.
    :param str sku: The SKU.
    """
    ...