1. Packages
  2. Azure Native
  3. API Docs
  4. cosmosdb
  5. Service
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

azure-native.cosmosdb.Service

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi

    Properties for the database account.

    Uses Azure REST API version 2024-11-15.

    Other available API versions: 2021-04-01-preview, 2021-07-01-preview, 2021-10-15-preview, 2021-11-15-preview, 2022-02-15-preview, 2022-05-15, 2022-05-15-preview, 2022-08-15, 2022-08-15-preview, 2022-11-15, 2022-11-15-preview, 2023-03-01-preview, 2023-03-15, 2023-03-15-preview, 2023-04-15, 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15, 2024-05-15-preview, 2024-08-15, 2024-09-01-preview, 2024-12-01-preview, 2025-04-15, 2025-05-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.

    Example Usage

    DataTransferServiceCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.CosmosDB.Service("service", new()
        {
            AccountName = "ddb1",
            Properties = new AzureNative.CosmosDB.Inputs.DataTransferServiceResourceCreateUpdatePropertiesArgs
            {
                InstanceCount = 1,
                InstanceSize = AzureNative.CosmosDB.ServiceSize.Cosmos_D4s,
                ServiceType = "DataTransfer",
            },
            ResourceGroupName = "rg1",
            ServiceName = "DataTransfer",
        });
    
    });
    
    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.NewService(ctx, "service", &cosmosdb.ServiceArgs{
    			AccountName: pulumi.String("ddb1"),
    			Properties: &cosmosdb.DataTransferServiceResourceCreateUpdatePropertiesArgs{
    				InstanceCount: pulumi.Int(1),
    				InstanceSize:  pulumi.String(cosmosdb.ServiceSize_Cosmos_D4s),
    				ServiceType:   pulumi.String("DataTransfer"),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			ServiceName:       pulumi.String("DataTransfer"),
    		})
    		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.Service;
    import com.pulumi.azurenative.cosmosdb.ServiceArgs;
    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 service = new Service("service", ServiceArgs.builder()
                .accountName("ddb1")
                .properties(DataTransferServiceResourceCreateUpdatePropertiesArgs.builder()
                    .instanceCount(1)
                    .instanceSize("Cosmos.D4s")
                    .serviceType("DataTransfer")
                    .build())
                .resourceGroupName("rg1")
                .serviceName("DataTransfer")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.cosmosdb.Service("service", {
        accountName: "ddb1",
        properties: {
            instanceCount: 1,
            instanceSize: azure_native.cosmosdb.ServiceSize.Cosmos_D4s,
            serviceType: "DataTransfer",
        },
        resourceGroupName: "rg1",
        serviceName: "DataTransfer",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.cosmosdb.Service("service",
        account_name="ddb1",
        properties={
            "instance_count": 1,
            "instance_size": azure_native.cosmosdb.ServiceSize.COSMOS_D4S,
            "service_type": "DataTransfer",
        },
        resource_group_name="rg1",
        service_name="DataTransfer")
    
    resources:
      service:
        type: azure-native:cosmosdb:Service
        properties:
          accountName: ddb1
          properties:
            instanceCount: 1
            instanceSize: Cosmos.D4s
            serviceType: DataTransfer
          resourceGroupName: rg1
          serviceName: DataTransfer
    

    GraphAPIComputeServiceCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.CosmosDB.Service("service", new()
        {
            AccountName = "ddb1",
            Properties = new AzureNative.CosmosDB.Inputs.GraphAPIComputeServiceResourceCreateUpdatePropertiesArgs
            {
                InstanceCount = 1,
                InstanceSize = AzureNative.CosmosDB.ServiceSize.Cosmos_D4s,
                ServiceType = "GraphAPICompute",
            },
            ResourceGroupName = "rg1",
            ServiceName = "GraphAPICompute",
        });
    
    });
    
    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.NewService(ctx, "service", &cosmosdb.ServiceArgs{
    			AccountName: pulumi.String("ddb1"),
    			Properties: &cosmosdb.GraphAPIComputeServiceResourceCreateUpdatePropertiesArgs{
    				InstanceCount: pulumi.Int(1),
    				InstanceSize:  pulumi.String(cosmosdb.ServiceSize_Cosmos_D4s),
    				ServiceType:   pulumi.String("GraphAPICompute"),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			ServiceName:       pulumi.String("GraphAPICompute"),
    		})
    		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.Service;
    import com.pulumi.azurenative.cosmosdb.ServiceArgs;
    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 service = new Service("service", ServiceArgs.builder()
                .accountName("ddb1")
                .properties(GraphAPIComputeServiceResourceCreateUpdatePropertiesArgs.builder()
                    .instanceCount(1)
                    .instanceSize("Cosmos.D4s")
                    .serviceType("GraphAPICompute")
                    .build())
                .resourceGroupName("rg1")
                .serviceName("GraphAPICompute")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.cosmosdb.Service("service", {
        accountName: "ddb1",
        properties: {
            instanceCount: 1,
            instanceSize: azure_native.cosmosdb.ServiceSize.Cosmos_D4s,
            serviceType: "GraphAPICompute",
        },
        resourceGroupName: "rg1",
        serviceName: "GraphAPICompute",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.cosmosdb.Service("service",
        account_name="ddb1",
        properties={
            "instance_count": 1,
            "instance_size": azure_native.cosmosdb.ServiceSize.COSMOS_D4S,
            "service_type": "GraphAPICompute",
        },
        resource_group_name="rg1",
        service_name="GraphAPICompute")
    
    resources:
      service:
        type: azure-native:cosmosdb:Service
        properties:
          accountName: ddb1
          properties:
            instanceCount: 1
            instanceSize: Cosmos.D4s
            serviceType: GraphAPICompute
          resourceGroupName: rg1
          serviceName: GraphAPICompute
    

    MaterializedViewsBuilderServiceCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.CosmosDB.Service("service", new()
        {
            AccountName = "ddb1",
            Properties = new AzureNative.CosmosDB.Inputs.MaterializedViewsBuilderServiceResourceCreateUpdatePropertiesArgs
            {
                InstanceCount = 1,
                InstanceSize = AzureNative.CosmosDB.ServiceSize.Cosmos_D4s,
                ServiceType = "MaterializedViewsBuilder",
            },
            ResourceGroupName = "rg1",
            ServiceName = "MaterializedViewsBuilder",
        });
    
    });
    
    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.NewService(ctx, "service", &cosmosdb.ServiceArgs{
    			AccountName: pulumi.String("ddb1"),
    			Properties: &cosmosdb.MaterializedViewsBuilderServiceResourceCreateUpdatePropertiesArgs{
    				InstanceCount: pulumi.Int(1),
    				InstanceSize:  pulumi.String(cosmosdb.ServiceSize_Cosmos_D4s),
    				ServiceType:   pulumi.String("MaterializedViewsBuilder"),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			ServiceName:       pulumi.String("MaterializedViewsBuilder"),
    		})
    		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.Service;
    import com.pulumi.azurenative.cosmosdb.ServiceArgs;
    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 service = new Service("service", ServiceArgs.builder()
                .accountName("ddb1")
                .properties(MaterializedViewsBuilderServiceResourceCreateUpdatePropertiesArgs.builder()
                    .instanceCount(1)
                    .instanceSize("Cosmos.D4s")
                    .serviceType("MaterializedViewsBuilder")
                    .build())
                .resourceGroupName("rg1")
                .serviceName("MaterializedViewsBuilder")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.cosmosdb.Service("service", {
        accountName: "ddb1",
        properties: {
            instanceCount: 1,
            instanceSize: azure_native.cosmosdb.ServiceSize.Cosmos_D4s,
            serviceType: "MaterializedViewsBuilder",
        },
        resourceGroupName: "rg1",
        serviceName: "MaterializedViewsBuilder",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.cosmosdb.Service("service",
        account_name="ddb1",
        properties={
            "instance_count": 1,
            "instance_size": azure_native.cosmosdb.ServiceSize.COSMOS_D4S,
            "service_type": "MaterializedViewsBuilder",
        },
        resource_group_name="rg1",
        service_name="MaterializedViewsBuilder")
    
    resources:
      service:
        type: azure-native:cosmosdb:Service
        properties:
          accountName: ddb1
          properties:
            instanceCount: 1
            instanceSize: Cosmos.D4s
            serviceType: MaterializedViewsBuilder
          resourceGroupName: rg1
          serviceName: MaterializedViewsBuilder
    

    SqlDedicatedGatewayServiceCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.CosmosDB.Service("service", new()
        {
            AccountName = "ddb1",
            Properties = new AzureNative.CosmosDB.Inputs.SqlDedicatedGatewayServiceResourceCreateUpdatePropertiesArgs
            {
                DedicatedGatewayType = AzureNative.CosmosDB.DedicatedGatewayType.IntegratedCache,
                InstanceCount = 1,
                InstanceSize = AzureNative.CosmosDB.ServiceSize.Cosmos_D4s,
                ServiceType = "SqlDedicatedGateway",
            },
            ResourceGroupName = "rg1",
            ServiceName = "SqlDedicatedGateway",
        });
    
    });
    
    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.NewService(ctx, "service", &cosmosdb.ServiceArgs{
    			AccountName: pulumi.String("ddb1"),
    			Properties: &cosmosdb.SqlDedicatedGatewayServiceResourceCreateUpdatePropertiesArgs{
    				DedicatedGatewayType: pulumi.String(cosmosdb.DedicatedGatewayTypeIntegratedCache),
    				InstanceCount:        pulumi.Int(1),
    				InstanceSize:         pulumi.String(cosmosdb.ServiceSize_Cosmos_D4s),
    				ServiceType:          pulumi.String("SqlDedicatedGateway"),
    			},
    			ResourceGroupName: pulumi.String("rg1"),
    			ServiceName:       pulumi.String("SqlDedicatedGateway"),
    		})
    		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.Service;
    import com.pulumi.azurenative.cosmosdb.ServiceArgs;
    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 service = new Service("service", ServiceArgs.builder()
                .accountName("ddb1")
                .properties(SqlDedicatedGatewayServiceResourceCreateUpdatePropertiesArgs.builder()
                    .dedicatedGatewayType("IntegratedCache")
                    .instanceCount(1)
                    .instanceSize("Cosmos.D4s")
                    .serviceType("SqlDedicatedGateway")
                    .build())
                .resourceGroupName("rg1")
                .serviceName("SqlDedicatedGateway")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.cosmosdb.Service("service", {
        accountName: "ddb1",
        properties: {
            dedicatedGatewayType: azure_native.cosmosdb.DedicatedGatewayType.IntegratedCache,
            instanceCount: 1,
            instanceSize: azure_native.cosmosdb.ServiceSize.Cosmos_D4s,
            serviceType: "SqlDedicatedGateway",
        },
        resourceGroupName: "rg1",
        serviceName: "SqlDedicatedGateway",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.cosmosdb.Service("service",
        account_name="ddb1",
        properties={
            "dedicated_gateway_type": azure_native.cosmosdb.DedicatedGatewayType.INTEGRATED_CACHE,
            "instance_count": 1,
            "instance_size": azure_native.cosmosdb.ServiceSize.COSMOS_D4S,
            "service_type": "SqlDedicatedGateway",
        },
        resource_group_name="rg1",
        service_name="SqlDedicatedGateway")
    
    resources:
      service:
        type: azure-native:cosmosdb:Service
        properties:
          accountName: ddb1
          properties:
            dedicatedGatewayType: IntegratedCache
            instanceCount: 1
            instanceSize: Cosmos.D4s
            serviceType: SqlDedicatedGateway
          resourceGroupName: rg1
          serviceName: SqlDedicatedGateway
    

    Create Service Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Service(name: string, args: ServiceArgs, opts?: CustomResourceOptions);
    @overload
    def Service(resource_name: str,
                args: ServiceArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Service(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                account_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                properties: Optional[Union[DataTransferServiceResourceCreateUpdatePropertiesArgs, GraphAPIComputeServiceResourceCreateUpdatePropertiesArgs, MaterializedViewsBuilderServiceResourceCreateUpdatePropertiesArgs, SqlDedicatedGatewayServiceResourceCreateUpdatePropertiesArgs]] = None,
                service_name: Optional[str] = None)
    func NewService(ctx *Context, name string, args ServiceArgs, opts ...ResourceOption) (*Service, error)
    public Service(string name, ServiceArgs args, CustomResourceOptions? opts = null)
    public Service(String name, ServiceArgs args)
    public Service(String name, ServiceArgs args, CustomResourceOptions options)
    
    type: azure-native:cosmosdb:Service
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleserviceResourceResourceFromCosmosdb = new AzureNative.CosmosDB.Service("exampleserviceResourceResourceFromCosmosdb", new()
    {
        AccountName = "string",
        ResourceGroupName = "string",
        Properties = new AzureNative.CosmosDB.Inputs.DataTransferServiceResourceCreateUpdatePropertiesArgs
        {
            ServiceType = "DataTransfer",
            InstanceCount = 0,
            InstanceSize = "string",
        },
        ServiceName = "string",
    });
    
    example, err := cosmosdb.NewService(ctx, "exampleserviceResourceResourceFromCosmosdb", &cosmosdb.ServiceArgs{
    	AccountName:       pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	Properties: &cosmosdb.DataTransferServiceResourceCreateUpdatePropertiesArgs{
    		ServiceType:   pulumi.String("DataTransfer"),
    		InstanceCount: pulumi.Int(0),
    		InstanceSize:  pulumi.String("string"),
    	},
    	ServiceName: pulumi.String("string"),
    })
    
    var exampleserviceResourceResourceFromCosmosdb = new com.pulumi.azurenative.cosmosdb.Service("exampleserviceResourceResourceFromCosmosdb", com.pulumi.azurenative.cosmosdb.ServiceArgs.builder()
        .accountName("string")
        .resourceGroupName("string")
        .properties(DataTransferServiceResourceCreateUpdatePropertiesArgs.builder()
            .serviceType("DataTransfer")
            .instanceCount(0)
            .instanceSize("string")
            .build())
        .serviceName("string")
        .build());
    
    exampleservice_resource_resource_from_cosmosdb = azure_native.cosmosdb.Service("exampleserviceResourceResourceFromCosmosdb",
        account_name="string",
        resource_group_name="string",
        properties={
            "service_type": "DataTransfer",
            "instance_count": 0,
            "instance_size": "string",
        },
        service_name="string")
    
    const exampleserviceResourceResourceFromCosmosdb = new azure_native.cosmosdb.Service("exampleserviceResourceResourceFromCosmosdb", {
        accountName: "string",
        resourceGroupName: "string",
        properties: {
            serviceType: "DataTransfer",
            instanceCount: 0,
            instanceSize: "string",
        },
        serviceName: "string",
    });
    
    type: azure-native:cosmosdb:Service
    properties:
        accountName: string
        properties:
            instanceCount: 0
            instanceSize: string
            serviceType: DataTransfer
        resourceGroupName: string
        serviceName: string
    

    Service Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Service resource accepts the following input properties:

    AccountName string
    Cosmos DB database account name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    Properties DataTransferServiceResourceCreateUpdatePropertiesArgs | GraphAPIComputeServiceResourceCreateUpdatePropertiesArgs | MaterializedViewsBuilderServiceResourceCreateUpdatePropertiesArgs | SqlDedicatedGatewayServiceResourceCreateUpdatePropertiesArgs
    Properties in ServiceResourceCreateUpdateParameters.
    ServiceName string
    Cosmos DB service name.
    accountName String
    Cosmos DB database account name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    properties DataTransferServiceResourceCreateUpdateProperties | GraphAPIComputeServiceResourceCreateUpdateProperties | MaterializedViewsBuilderServiceResourceCreateUpdateProperties | SqlDedicatedGatewayServiceResourceCreateUpdateProperties
    Properties in ServiceResourceCreateUpdateParameters.
    serviceName String
    Cosmos DB service name.
    accountName string
    Cosmos DB database account name.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    properties DataTransferServiceResourceCreateUpdateProperties | GraphAPIComputeServiceResourceCreateUpdateProperties | MaterializedViewsBuilderServiceResourceCreateUpdateProperties | SqlDedicatedGatewayServiceResourceCreateUpdateProperties
    Properties in ServiceResourceCreateUpdateParameters.
    serviceName string
    Cosmos DB service name.
    accountName String
    Cosmos DB database account name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    properties Property Map | Property Map | Property Map | Property Map
    Properties in ServiceResourceCreateUpdateParameters.
    serviceName String
    Cosmos DB service name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Service resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the database account.
    Type string
    The type of Azure resource.
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the database account.
    Type string
    The type of Azure resource.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the database account.
    type String
    The type of Azure resource.
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the database account.
    type string
    The type of Azure resource.
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the database account.
    type str
    The type of Azure resource.
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the database account.
    type String
    The type of Azure resource.

    Supporting Types

    DataTransferRegionalServiceResourceResponse, DataTransferRegionalServiceResourceResponseArgs

    Location string
    The location name.
    Name string
    The regional service name.
    Status string
    Describes the status of a service.
    Location string
    The location name.
    Name string
    The regional service name.
    Status string
    Describes the status of a service.
    location String
    The location name.
    name String
    The regional service name.
    status String
    Describes the status of a service.
    location string
    The location name.
    name string
    The regional service name.
    status string
    Describes the status of a service.
    location str
    The location name.
    name str
    The regional service name.
    status str
    Describes the status of a service.
    location String
    The location name.
    name String
    The regional service name.
    status String
    Describes the status of a service.

    DataTransferServiceResourceCreateUpdateProperties, DataTransferServiceResourceCreateUpdatePropertiesArgs

    InstanceCount int
    Instance count for the service.
    InstanceSize string | Pulumi.AzureNative.CosmosDB.ServiceSize
    Instance type for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string | ServiceSize
    Instance type for the service.
    instanceCount Integer
    Instance count for the service.
    instanceSize String | ServiceSize
    Instance type for the service.
    instanceCount number
    Instance count for the service.
    instanceSize string | ServiceSize
    Instance type for the service.
    instance_count int
    Instance count for the service.
    instance_size str | ServiceSize
    Instance type for the service.
    instanceCount Number
    Instance count for the service.
    instanceSize String | "Cosmos.D4s" | "Cosmos.D8s" | "Cosmos.D16s"
    Instance type for the service.

    DataTransferServiceResourcePropertiesResponse, DataTransferServiceResourcePropertiesResponseArgs

    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations List<Pulumi.AzureNative.CosmosDB.Inputs.DataTransferRegionalServiceResourceResponse>
    An array that contains all of the locations for the service.
    Status string
    Describes the status of a service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string
    Instance type for the service.
    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations []DataTransferRegionalServiceResourceResponse
    An array that contains all of the locations for the service.
    Status string
    Describes the status of a service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string
    Instance type for the service.
    creationTime String
    Time of the last state change (ISO-8601 format).
    locations List<DataTransferRegionalServiceResourceResponse>
    An array that contains all of the locations for the service.
    status String
    Describes the status of a service.
    instanceCount Integer
    Instance count for the service.
    instanceSize String
    Instance type for the service.
    creationTime string
    Time of the last state change (ISO-8601 format).
    locations DataTransferRegionalServiceResourceResponse[]
    An array that contains all of the locations for the service.
    status string
    Describes the status of a service.
    instanceCount number
    Instance count for the service.
    instanceSize string
    Instance type for the service.
    creation_time str
    Time of the last state change (ISO-8601 format).
    locations Sequence[DataTransferRegionalServiceResourceResponse]
    An array that contains all of the locations for the service.
    status str
    Describes the status of a service.
    instance_count int
    Instance count for the service.
    instance_size str
    Instance type for the service.
    creationTime String
    Time of the last state change (ISO-8601 format).
    locations List<Property Map>
    An array that contains all of the locations for the service.
    status String
    Describes the status of a service.
    instanceCount Number
    Instance count for the service.
    instanceSize String
    Instance type for the service.

    DedicatedGatewayType, DedicatedGatewayTypeArgs

    IntegratedCache
    IntegratedCache
    DistributedQuery
    DistributedQuery
    DedicatedGatewayTypeIntegratedCache
    IntegratedCache
    DedicatedGatewayTypeDistributedQuery
    DistributedQuery
    IntegratedCache
    IntegratedCache
    DistributedQuery
    DistributedQuery
    IntegratedCache
    IntegratedCache
    DistributedQuery
    DistributedQuery
    INTEGRATED_CACHE
    IntegratedCache
    DISTRIBUTED_QUERY
    DistributedQuery
    "IntegratedCache"
    IntegratedCache
    "DistributedQuery"
    DistributedQuery

    GraphAPIComputeRegionalServiceResourceResponse, GraphAPIComputeRegionalServiceResourceResponseArgs

    GraphApiComputeEndpoint string
    The regional endpoint for GraphAPICompute.
    Location string
    The location name.
    Name string
    The regional service name.
    Status string
    Describes the status of a service.
    GraphApiComputeEndpoint string
    The regional endpoint for GraphAPICompute.
    Location string
    The location name.
    Name string
    The regional service name.
    Status string
    Describes the status of a service.
    graphApiComputeEndpoint String
    The regional endpoint for GraphAPICompute.
    location String
    The location name.
    name String
    The regional service name.
    status String
    Describes the status of a service.
    graphApiComputeEndpoint string
    The regional endpoint for GraphAPICompute.
    location string
    The location name.
    name string
    The regional service name.
    status string
    Describes the status of a service.
    graph_api_compute_endpoint str
    The regional endpoint for GraphAPICompute.
    location str
    The location name.
    name str
    The regional service name.
    status str
    Describes the status of a service.
    graphApiComputeEndpoint String
    The regional endpoint for GraphAPICompute.
    location String
    The location name.
    name String
    The regional service name.
    status String
    Describes the status of a service.

    GraphAPIComputeServiceResourceCreateUpdateProperties, GraphAPIComputeServiceResourceCreateUpdatePropertiesArgs

    InstanceCount int
    Instance count for the service.
    InstanceSize string | Pulumi.AzureNative.CosmosDB.ServiceSize
    Instance type for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string | ServiceSize
    Instance type for the service.
    instanceCount Integer
    Instance count for the service.
    instanceSize String | ServiceSize
    Instance type for the service.
    instanceCount number
    Instance count for the service.
    instanceSize string | ServiceSize
    Instance type for the service.
    instance_count int
    Instance count for the service.
    instance_size str | ServiceSize
    Instance type for the service.
    instanceCount Number
    Instance count for the service.
    instanceSize String | "Cosmos.D4s" | "Cosmos.D8s" | "Cosmos.D16s"
    Instance type for the service.

    GraphAPIComputeServiceResourcePropertiesResponse, GraphAPIComputeServiceResourcePropertiesResponseArgs

    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations List<Pulumi.AzureNative.CosmosDB.Inputs.GraphAPIComputeRegionalServiceResourceResponse>
    An array that contains all of the locations for the service.
    Status string
    Describes the status of a service.
    GraphApiComputeEndpoint string
    GraphAPICompute endpoint for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string
    Instance type for the service.
    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations []GraphAPIComputeRegionalServiceResourceResponse
    An array that contains all of the locations for the service.
    Status string
    Describes the status of a service.
    GraphApiComputeEndpoint string
    GraphAPICompute endpoint for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string
    Instance type for the service.
    creationTime String
    Time of the last state change (ISO-8601 format).
    locations List<GraphAPIComputeRegionalServiceResourceResponse>
    An array that contains all of the locations for the service.
    status String
    Describes the status of a service.
    graphApiComputeEndpoint String
    GraphAPICompute endpoint for the service.
    instanceCount Integer
    Instance count for the service.
    instanceSize String
    Instance type for the service.
    creationTime string
    Time of the last state change (ISO-8601 format).
    locations GraphAPIComputeRegionalServiceResourceResponse[]
    An array that contains all of the locations for the service.
    status string
    Describes the status of a service.
    graphApiComputeEndpoint string
    GraphAPICompute endpoint for the service.
    instanceCount number
    Instance count for the service.
    instanceSize string
    Instance type for the service.
    creation_time str
    Time of the last state change (ISO-8601 format).
    locations Sequence[GraphAPIComputeRegionalServiceResourceResponse]
    An array that contains all of the locations for the service.
    status str
    Describes the status of a service.
    graph_api_compute_endpoint str
    GraphAPICompute endpoint for the service.
    instance_count int
    Instance count for the service.
    instance_size str
    Instance type for the service.
    creationTime String
    Time of the last state change (ISO-8601 format).
    locations List<Property Map>
    An array that contains all of the locations for the service.
    status String
    Describes the status of a service.
    graphApiComputeEndpoint String
    GraphAPICompute endpoint for the service.
    instanceCount Number
    Instance count for the service.
    instanceSize String
    Instance type for the service.

    MaterializedViewsBuilderRegionalServiceResourceResponse, MaterializedViewsBuilderRegionalServiceResourceResponseArgs

    Location string
    The location name.
    Name string
    The regional service name.
    Status string
    Describes the status of a service.
    Location string
    The location name.
    Name string
    The regional service name.
    Status string
    Describes the status of a service.
    location String
    The location name.
    name String
    The regional service name.
    status String
    Describes the status of a service.
    location string
    The location name.
    name string
    The regional service name.
    status string
    Describes the status of a service.
    location str
    The location name.
    name str
    The regional service name.
    status str
    Describes the status of a service.
    location String
    The location name.
    name String
    The regional service name.
    status String
    Describes the status of a service.

    MaterializedViewsBuilderServiceResourceCreateUpdateProperties, MaterializedViewsBuilderServiceResourceCreateUpdatePropertiesArgs

    InstanceCount int
    Instance count for the service.
    InstanceSize string | Pulumi.AzureNative.CosmosDB.ServiceSize
    Instance type for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string | ServiceSize
    Instance type for the service.
    instanceCount Integer
    Instance count for the service.
    instanceSize String | ServiceSize
    Instance type for the service.
    instanceCount number
    Instance count for the service.
    instanceSize string | ServiceSize
    Instance type for the service.
    instance_count int
    Instance count for the service.
    instance_size str | ServiceSize
    Instance type for the service.
    instanceCount Number
    Instance count for the service.
    instanceSize String | "Cosmos.D4s" | "Cosmos.D8s" | "Cosmos.D16s"
    Instance type for the service.

    MaterializedViewsBuilderServiceResourcePropertiesResponse, MaterializedViewsBuilderServiceResourcePropertiesResponseArgs

    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations List<Pulumi.AzureNative.CosmosDB.Inputs.MaterializedViewsBuilderRegionalServiceResourceResponse>
    An array that contains all of the locations for the service.
    Status string
    Describes the status of a service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string
    Instance type for the service.
    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations []MaterializedViewsBuilderRegionalServiceResourceResponse
    An array that contains all of the locations for the service.
    Status string
    Describes the status of a service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string
    Instance type for the service.
    creationTime String
    Time of the last state change (ISO-8601 format).
    locations List<MaterializedViewsBuilderRegionalServiceResourceResponse>
    An array that contains all of the locations for the service.
    status String
    Describes the status of a service.
    instanceCount Integer
    Instance count for the service.
    instanceSize String
    Instance type for the service.
    creationTime string
    Time of the last state change (ISO-8601 format).
    locations MaterializedViewsBuilderRegionalServiceResourceResponse[]
    An array that contains all of the locations for the service.
    status string
    Describes the status of a service.
    instanceCount number
    Instance count for the service.
    instanceSize string
    Instance type for the service.
    creation_time str
    Time of the last state change (ISO-8601 format).
    locations Sequence[MaterializedViewsBuilderRegionalServiceResourceResponse]
    An array that contains all of the locations for the service.
    status str
    Describes the status of a service.
    instance_count int
    Instance count for the service.
    instance_size str
    Instance type for the service.
    creationTime String
    Time of the last state change (ISO-8601 format).
    locations List<Property Map>
    An array that contains all of the locations for the service.
    status String
    Describes the status of a service.
    instanceCount Number
    Instance count for the service.
    instanceSize String
    Instance type for the service.

    ServiceSize, ServiceSizeArgs

    Cosmos_D4s
    Cosmos.D4s
    Cosmos_D8s
    Cosmos.D8s
    Cosmos_D16s
    Cosmos.D16s
    ServiceSize_Cosmos_D4s
    Cosmos.D4s
    ServiceSize_Cosmos_D8s
    Cosmos.D8s
    ServiceSize_Cosmos_D16s
    Cosmos.D16s
    Cosmos_D4s
    Cosmos.D4s
    Cosmos_D8s
    Cosmos.D8s
    Cosmos_D16s
    Cosmos.D16s
    Cosmos_D4s
    Cosmos.D4s
    Cosmos_D8s
    Cosmos.D8s
    Cosmos_D16s
    Cosmos.D16s
    COSMOS_D4S
    Cosmos.D4s
    COSMOS_D8S
    Cosmos.D8s
    COSMOS_D16S
    Cosmos.D16s
    "Cosmos.D4s"
    Cosmos.D4s
    "Cosmos.D8s"
    Cosmos.D8s
    "Cosmos.D16s"
    Cosmos.D16s

    SqlDedicatedGatewayRegionalServiceResourceResponse, SqlDedicatedGatewayRegionalServiceResourceResponseArgs

    Location string
    The location name.
    Name string
    The regional service name.
    SqlDedicatedGatewayEndpoint string
    The regional endpoint for SqlDedicatedGateway.
    Status string
    Describes the status of a service.
    Location string
    The location name.
    Name string
    The regional service name.
    SqlDedicatedGatewayEndpoint string
    The regional endpoint for SqlDedicatedGateway.
    Status string
    Describes the status of a service.
    location String
    The location name.
    name String
    The regional service name.
    sqlDedicatedGatewayEndpoint String
    The regional endpoint for SqlDedicatedGateway.
    status String
    Describes the status of a service.
    location string
    The location name.
    name string
    The regional service name.
    sqlDedicatedGatewayEndpoint string
    The regional endpoint for SqlDedicatedGateway.
    status string
    Describes the status of a service.
    location str
    The location name.
    name str
    The regional service name.
    sql_dedicated_gateway_endpoint str
    The regional endpoint for SqlDedicatedGateway.
    status str
    Describes the status of a service.
    location String
    The location name.
    name String
    The regional service name.
    sqlDedicatedGatewayEndpoint String
    The regional endpoint for SqlDedicatedGateway.
    status String
    Describes the status of a service.

    SqlDedicatedGatewayServiceResourceCreateUpdateProperties, SqlDedicatedGatewayServiceResourceCreateUpdatePropertiesArgs

    DedicatedGatewayType string | Pulumi.AzureNative.CosmosDB.DedicatedGatewayType
    DedicatedGatewayType for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string | Pulumi.AzureNative.CosmosDB.ServiceSize
    Instance type for the service.
    DedicatedGatewayType string | DedicatedGatewayType
    DedicatedGatewayType for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string | ServiceSize
    Instance type for the service.
    dedicatedGatewayType String | DedicatedGatewayType
    DedicatedGatewayType for the service.
    instanceCount Integer
    Instance count for the service.
    instanceSize String | ServiceSize
    Instance type for the service.
    dedicatedGatewayType string | DedicatedGatewayType
    DedicatedGatewayType for the service.
    instanceCount number
    Instance count for the service.
    instanceSize string | ServiceSize
    Instance type for the service.
    dedicated_gateway_type str | DedicatedGatewayType
    DedicatedGatewayType for the service.
    instance_count int
    Instance count for the service.
    instance_size str | ServiceSize
    Instance type for the service.
    dedicatedGatewayType String | "IntegratedCache" | "DistributedQuery"
    DedicatedGatewayType for the service.
    instanceCount Number
    Instance count for the service.
    instanceSize String | "Cosmos.D4s" | "Cosmos.D8s" | "Cosmos.D16s"
    Instance type for the service.

    SqlDedicatedGatewayServiceResourcePropertiesResponse, SqlDedicatedGatewayServiceResourcePropertiesResponseArgs

    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations List<Pulumi.AzureNative.CosmosDB.Inputs.SqlDedicatedGatewayRegionalServiceResourceResponse>
    An array that contains all of the locations for the service.
    Status string
    Describes the status of a service.
    DedicatedGatewayType string
    DedicatedGatewayType for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string
    Instance type for the service.
    SqlDedicatedGatewayEndpoint string
    SqlDedicatedGateway endpoint for the service.
    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations []SqlDedicatedGatewayRegionalServiceResourceResponse
    An array that contains all of the locations for the service.
    Status string
    Describes the status of a service.
    DedicatedGatewayType string
    DedicatedGatewayType for the service.
    InstanceCount int
    Instance count for the service.
    InstanceSize string
    Instance type for the service.
    SqlDedicatedGatewayEndpoint string
    SqlDedicatedGateway endpoint for the service.
    creationTime String
    Time of the last state change (ISO-8601 format).
    locations List<SqlDedicatedGatewayRegionalServiceResourceResponse>
    An array that contains all of the locations for the service.
    status String
    Describes the status of a service.
    dedicatedGatewayType String
    DedicatedGatewayType for the service.
    instanceCount Integer
    Instance count for the service.
    instanceSize String
    Instance type for the service.
    sqlDedicatedGatewayEndpoint String
    SqlDedicatedGateway endpoint for the service.
    creationTime string
    Time of the last state change (ISO-8601 format).
    locations SqlDedicatedGatewayRegionalServiceResourceResponse[]
    An array that contains all of the locations for the service.
    status string
    Describes the status of a service.
    dedicatedGatewayType string
    DedicatedGatewayType for the service.
    instanceCount number
    Instance count for the service.
    instanceSize string
    Instance type for the service.
    sqlDedicatedGatewayEndpoint string
    SqlDedicatedGateway endpoint for the service.
    creation_time str
    Time of the last state change (ISO-8601 format).
    locations Sequence[SqlDedicatedGatewayRegionalServiceResourceResponse]
    An array that contains all of the locations for the service.
    status str
    Describes the status of a service.
    dedicated_gateway_type str
    DedicatedGatewayType for the service.
    instance_count int
    Instance count for the service.
    instance_size str
    Instance type for the service.
    sql_dedicated_gateway_endpoint str
    SqlDedicatedGateway endpoint for the service.
    creationTime String
    Time of the last state change (ISO-8601 format).
    locations List<Property Map>
    An array that contains all of the locations for the service.
    status String
    Describes the status of a service.
    dedicatedGatewayType String
    DedicatedGatewayType for the service.
    instanceCount Number
    Instance count for the service.
    instanceSize String
    Instance type for the service.
    sqlDedicatedGatewayEndpoint String
    SqlDedicatedGateway endpoint for the service.

    Import

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

    $ pulumi import azure-native:cosmosdb:Service SqlDedicatedGateway /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/services/{serviceName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi