ReadOnlyFollowingDatabase

class ReadOnlyFollowingDatabase : KotlinCustomResource

Class representing a read only following database. Uses Azure REST API version 2021-06-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-06-01-preview.

Example Usage

KustoPoolDatabasesCreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var readOnlyFollowingDatabase = new AzureNative.Synapse.ReadOnlyFollowingDatabase("readOnlyFollowingDatabase", new()
{
DatabaseName = "KustoDatabase8",
KustoPoolName = "kustoclusterrptest4",
ResourceGroupName = "kustorptest",
WorkspaceName = "synapseWorkspaceName",
});
});
package main
import (
synapse "github.com/pulumi/pulumi-azure-native-sdk/synapse/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := synapse.NewReadOnlyFollowingDatabase(ctx, "readOnlyFollowingDatabase", &synapse.ReadOnlyFollowingDatabaseArgs{
DatabaseName: pulumi.String("KustoDatabase8"),
KustoPoolName: pulumi.String("kustoclusterrptest4"),
ResourceGroupName: pulumi.String("kustorptest"),
WorkspaceName: pulumi.String("synapseWorkspaceName"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.synapse.ReadOnlyFollowingDatabase;
import com.pulumi.azurenative.synapse.ReadOnlyFollowingDatabaseArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var readOnlyFollowingDatabase = new ReadOnlyFollowingDatabase("readOnlyFollowingDatabase", ReadOnlyFollowingDatabaseArgs.builder()
.databaseName("KustoDatabase8")
.kustoPoolName("kustoclusterrptest4")
.resourceGroupName("kustorptest")
.workspaceName("synapseWorkspaceName")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:synapse:ReadOnlyFollowingDatabase KustoClusterRPTest4/KustoDatabase8 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/kustoPools/{kustoPoolName}/databases/{databaseName}

Properties

Link copied to clipboard

The name of the attached database configuration cluster

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val hotCachePeriod: Output<String>?

The time the data should be kept in cache for fast queries in TimeSpan.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kind: Output<String>

Kind of the database Expected value is 'ReadOnlyFollowing'.

Link copied to clipboard

The name of the leader cluster

Link copied to clipboard
val location: Output<String>?

Resource location.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

The principals modification kind of the database

Link copied to clipboard

The provisioned state of the resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The time the data should be kept before it stops being accessible to queries in TimeSpan.

Link copied to clipboard

The statistics of the database.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>