def METHOD_NAME(resource_group_name: Optional[str] = None,
               secret_resource_name: Optional[str] = None,
               opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSecretResult:
    """
    Gets the information about the secret resource with the given name. The information include the description and other properties of the secret.
    Azure REST API version: 2018-09-01-preview.
    :param str resource_group_name: Azure resource group name
    :param str secret_resource_name: The name of the secret resource.
    """
    __args__ = dict()
    __args__['resourceGroupName'] = resource_group_name
    __args__['secretResourceName'] = secret_resource_name
    opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
    __ret__ = pulumi.runtime.invoke('azure-native:servicefabricmesh:getSecret', __args__, opts=opts, typ=GetSecretResult).value
    return AwaitableGetSecretResult(
        id=pulumi.get(__ret__, 'id'),
        location=pulumi.get(__ret__, 'location'),
        name=pulumi.get(__ret__, 'name'),
        properties=pulumi.get(__ret__, 'properties'),
        tags=pulumi.get(__ret__, 'tags'),
        type=pulumi.get(__ret__, 'type'))