FleetspaceAccount

class FleetspaceAccount : KotlinCustomResource

An Azure Cosmos DB Fleetspace Account Uses Azure REST API version 2025-05-01-preview.

Example Usage

CosmosDB FleetspaceAccount Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var fleetspaceAccount = new AzureNative.CosmosDB.FleetspaceAccount("fleetspaceAccount", new()
{
AccountLocation = "West US",
AccountResourceIdentifier = "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DocumentDB/resourceGroup/rg1/databaseAccounts/db1",
FleetName = "fleet1",
FleetspaceAccountName = "db1",
FleetspaceName = "fleetspace1",
ResourceGroupName = "rg1",
});
});
package main
import (
cosmosdb "github.com/pulumi/pulumi-azure-native-sdk/cosmosdb/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cosmosdb.NewFleetspaceAccount(ctx, "fleetspaceAccount", &cosmosdb.FleetspaceAccountArgs{
AccountLocation: pulumi.String("West US"),
AccountResourceIdentifier: pulumi.String("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DocumentDB/resourceGroup/rg1/databaseAccounts/db1"),
FleetName: pulumi.String("fleet1"),
FleetspaceAccountName: pulumi.String("db1"),
FleetspaceName: pulumi.String("fleetspace1"),
ResourceGroupName: pulumi.String("rg1"),
})
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.cosmosdb.FleetspaceAccount;
import com.pulumi.azurenative.cosmosdb.FleetspaceAccountArgs;
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 fleetspaceAccount = new FleetspaceAccount("fleetspaceAccount", FleetspaceAccountArgs.builder()
.accountLocation("West US")
.accountResourceIdentifier("/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/providers/Microsoft.DocumentDB/resourceGroup/rg1/databaseAccounts/db1")
.fleetName("fleet1")
.fleetspaceAccountName("db1")
.fleetspaceName("fleetspace1")
.resourceGroupName("rg1")
.build());
}
}

Import

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

$ pulumi import azure-native:cosmosdb:FleetspaceAccount db1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/fleets/{fleetName}/fleetspaces/{fleetspaceName}/fleetspaceAccounts/{fleetspaceAccountName}

Properties

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

The location of global database account in the Fleetspace Account.

Link copied to clipboard

The resource identifier of global database account in the Fleetspace Account.

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

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

The name of the resource

Link copied to clipboard

A provisioning state of the Fleetspace Account.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
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>