published on Wednesday, Mar 4, 2026 by Pulumi
published on Wednesday, Mar 4, 2026 by Pulumi
Retrieves the properties of an existing Azure Cosmos DB fleetspace account under a fleetspace
Uses Azure REST API version 2025-10-15.
Other available API versions: 2025-05-01-preview, 2025-11-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cosmosdb [ApiVersion]. See the version guide for details.
Using getFleetspaceAccount
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getFleetspaceAccount(args: GetFleetspaceAccountArgs, opts?: InvokeOptions): Promise<GetFleetspaceAccountResult>
function getFleetspaceAccountOutput(args: GetFleetspaceAccountOutputArgs, opts?: InvokeOptions): Output<GetFleetspaceAccountResult>def get_fleetspace_account(fleet_name: Optional[str] = None,
fleetspace_account_name: Optional[str] = None,
fleetspace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFleetspaceAccountResult
def get_fleetspace_account_output(fleet_name: Optional[pulumi.Input[str]] = None,
fleetspace_account_name: Optional[pulumi.Input[str]] = None,
fleetspace_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFleetspaceAccountResult]func LookupFleetspaceAccount(ctx *Context, args *LookupFleetspaceAccountArgs, opts ...InvokeOption) (*LookupFleetspaceAccountResult, error)
func LookupFleetspaceAccountOutput(ctx *Context, args *LookupFleetspaceAccountOutputArgs, opts ...InvokeOption) LookupFleetspaceAccountResultOutput> Note: This function is named LookupFleetspaceAccount in the Go SDK.
public static class GetFleetspaceAccount
{
public static Task<GetFleetspaceAccountResult> InvokeAsync(GetFleetspaceAccountArgs args, InvokeOptions? opts = null)
public static Output<GetFleetspaceAccountResult> Invoke(GetFleetspaceAccountInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFleetspaceAccountResult> getFleetspaceAccount(GetFleetspaceAccountArgs args, InvokeOptions options)
public static Output<GetFleetspaceAccountResult> getFleetspaceAccount(GetFleetspaceAccountArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:cosmosdb:getFleetspaceAccount
arguments:
# arguments dictionaryThe following arguments are supported:
- Fleet
Name string - Cosmos DB fleet name. Needs to be unique under a subscription.
- Fleetspace
Account stringName - Cosmos DB fleetspace account name.
- Fleetspace
Name string - Cosmos DB fleetspace name. Needs to be unique under a fleet.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Fleet
Name string - Cosmos DB fleet name. Needs to be unique under a subscription.
- Fleetspace
Account stringName - Cosmos DB fleetspace account name.
- Fleetspace
Name string - Cosmos DB fleetspace name. Needs to be unique under a fleet.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- fleet
Name String - Cosmos DB fleet name. Needs to be unique under a subscription.
- fleetspace
Account StringName - Cosmos DB fleetspace account name.
- fleetspace
Name String - Cosmos DB fleetspace name. Needs to be unique under a fleet.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- fleet
Name string - Cosmos DB fleet name. Needs to be unique under a subscription.
- fleetspace
Account stringName - Cosmos DB fleetspace account name.
- fleetspace
Name string - Cosmos DB fleetspace name. Needs to be unique under a fleet.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- fleet_
name str - Cosmos DB fleet name. Needs to be unique under a subscription.
- fleetspace_
account_ strname - Cosmos DB fleetspace account name.
- fleetspace_
name str - Cosmos DB fleetspace name. Needs to be unique under a fleet.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- fleet
Name String - Cosmos DB fleet name. Needs to be unique under a subscription.
- fleetspace
Account StringName - Cosmos DB fleetspace account name.
- fleetspace
Name String - Cosmos DB fleetspace name. Needs to be unique under a fleet.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getFleetspaceAccount Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Provisioning
State string - A provisioning state of the Fleetspace Account.
- System
Data Pulumi.Azure Native. Cosmos DB. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Global
Database Pulumi.Account Properties Azure Native. Cosmos DB. Outputs. Fleetspace Account Properties Response Global Database Account Properties - Configuration for fleetspace Account in the fleetspace.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Provisioning
State string - A provisioning state of the Fleetspace Account.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Global
Database FleetspaceAccount Properties Account Properties Response Global Database Account Properties - Configuration for fleetspace Account in the fleetspace.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- provisioning
State String - A provisioning state of the Fleetspace Account.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- global
Database FleetspaceAccount Properties Account Properties Response Global Database Account Properties - Configuration for fleetspace Account in the fleetspace.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- provisioning
State string - A provisioning state of the Fleetspace Account.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- global
Database FleetspaceAccount Properties Account Properties Response Global Database Account Properties - Configuration for fleetspace Account in the fleetspace.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- provisioning_
state str - A provisioning state of the Fleetspace Account.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- global_
database_ Fleetspaceaccount_ properties Account Properties Response Global Database Account Properties - Configuration for fleetspace Account in the fleetspace.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- provisioning
State String - A provisioning state of the Fleetspace Account.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- global
Database Property MapAccount Properties - Configuration for fleetspace Account in the fleetspace.
Supporting Types
FleetspaceAccountPropertiesResponseGlobalDatabaseAccountProperties
- Arm
Location string - The location of global database account in the Fleetspace Account.
- Resource
Id string - The resource identifier of global database account in the Fleetspace Account.
- Arm
Location string - The location of global database account in the Fleetspace Account.
- Resource
Id string - The resource identifier of global database account in the Fleetspace Account.
- arm
Location String - The location of global database account in the Fleetspace Account.
- resource
Id String - The resource identifier of global database account in the Fleetspace Account.
- arm
Location string - The location of global database account in the Fleetspace Account.
- resource
Id string - The resource identifier of global database account in the Fleetspace Account.
- arm_
location str - The location of global database account in the Fleetspace Account.
- resource_
id str - The resource identifier of global database account in the Fleetspace Account.
- arm
Location String - The location of global database account in the Fleetspace Account.
- resource
Id String - The resource identifier of global database account in the Fleetspace Account.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
published on Wednesday, Mar 4, 2026 by Pulumi
