def METHOD_NAME(account_name: Optional[pulumi.Input[str]] = None,
                                                     collection_name: Optional[pulumi.Input[str]] = None,
                                                     database_name: Optional[pulumi.Input[str]] = None,
                                                     resource_group_name: Optional[pulumi.Input[str]] = None,
                                                     opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMongoDBResourceMongoDBCollectionResult]:
    """
    Gets the MongoDB collection under an existing Azure Cosmos DB database account.
    :param str account_name: Cosmos DB database account name.
    :param str collection_name: Cosmos DB collection name.
    :param str database_name: Cosmos DB database name.
    :param str resource_group_name: The name of the resource group. The name is case insensitive.
    """
    ...