1. Packages
  2. Azure Native
  3. API Docs
  4. documentdb
  5. Service
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.documentdb.Service

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Properties for the database account. Azure REST API version: 2023-04-15. Prior API version in Azure Native 1.x: 2021-04-01-preview.

    Other available API versions: 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.

    Example Usage

    DataTransferServiceCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.DocumentDB.Service("service", new()
        {
            AccountName = "ddb1",
            InstanceCount = 1,
            InstanceSize = AzureNative.DocumentDB.ServiceSize.Cosmos_D4s,
            ResourceGroupName = "rg1",
            ServiceName = "DataTransfer",
            ServiceType = AzureNative.DocumentDB.ServiceType.DataTransfer,
        });
    
    });
    
    package main
    
    import (
    	documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := documentdb.NewService(ctx, "service", &documentdb.ServiceArgs{
    			AccountName:       pulumi.String("ddb1"),
    			InstanceCount:     pulumi.Int(1),
    			InstanceSize:      pulumi.String(documentdb.ServiceSize_Cosmos_D4s),
    			ResourceGroupName: pulumi.String("rg1"),
    			ServiceName:       pulumi.String("DataTransfer"),
    			ServiceType:       pulumi.String(documentdb.ServiceTypeDataTransfer),
    		})
    		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.documentdb.Service;
    import com.pulumi.azurenative.documentdb.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")
                .instanceCount(1)
                .instanceSize("Cosmos.D4s")
                .resourceGroupName("rg1")
                .serviceName("DataTransfer")
                .serviceType("DataTransfer")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.documentdb.Service("service",
        account_name="ddb1",
        instance_count=1,
        instance_size=azure_native.documentdb.ServiceSize.COSMOS_D4S,
        resource_group_name="rg1",
        service_name="DataTransfer",
        service_type=azure_native.documentdb.ServiceType.DATA_TRANSFER)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.documentdb.Service("service", {
        accountName: "ddb1",
        instanceCount: 1,
        instanceSize: azure_native.documentdb.ServiceSize.Cosmos_D4s,
        resourceGroupName: "rg1",
        serviceName: "DataTransfer",
        serviceType: azure_native.documentdb.ServiceType.DataTransfer,
    });
    
    resources:
      service:
        type: azure-native:documentdb:Service
        properties:
          accountName: ddb1
          instanceCount: 1
          instanceSize: Cosmos.D4s
          resourceGroupName: rg1
          serviceName: DataTransfer
          serviceType: DataTransfer
    

    GraphAPIComputeServiceCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.DocumentDB.Service("service", new()
        {
            AccountName = "ddb1",
            InstanceCount = 1,
            InstanceSize = AzureNative.DocumentDB.ServiceSize.Cosmos_D4s,
            ResourceGroupName = "rg1",
            ServiceName = "GraphAPICompute",
            ServiceType = AzureNative.DocumentDB.ServiceType.GraphAPICompute,
        });
    
    });
    
    package main
    
    import (
    	documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := documentdb.NewService(ctx, "service", &documentdb.ServiceArgs{
    			AccountName:       pulumi.String("ddb1"),
    			InstanceCount:     pulumi.Int(1),
    			InstanceSize:      pulumi.String(documentdb.ServiceSize_Cosmos_D4s),
    			ResourceGroupName: pulumi.String("rg1"),
    			ServiceName:       pulumi.String("GraphAPICompute"),
    			ServiceType:       pulumi.String(documentdb.ServiceTypeGraphAPICompute),
    		})
    		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.documentdb.Service;
    import com.pulumi.azurenative.documentdb.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")
                .instanceCount(1)
                .instanceSize("Cosmos.D4s")
                .resourceGroupName("rg1")
                .serviceName("GraphAPICompute")
                .serviceType("GraphAPICompute")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.documentdb.Service("service",
        account_name="ddb1",
        instance_count=1,
        instance_size=azure_native.documentdb.ServiceSize.COSMOS_D4S,
        resource_group_name="rg1",
        service_name="GraphAPICompute",
        service_type=azure_native.documentdb.ServiceType.GRAPH_API_COMPUTE)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.documentdb.Service("service", {
        accountName: "ddb1",
        instanceCount: 1,
        instanceSize: azure_native.documentdb.ServiceSize.Cosmos_D4s,
        resourceGroupName: "rg1",
        serviceName: "GraphAPICompute",
        serviceType: azure_native.documentdb.ServiceType.GraphAPICompute,
    });
    
    resources:
      service:
        type: azure-native:documentdb:Service
        properties:
          accountName: ddb1
          instanceCount: 1
          instanceSize: Cosmos.D4s
          resourceGroupName: rg1
          serviceName: GraphAPICompute
          serviceType: GraphAPICompute
    

    MaterializedViewsBuilderServiceCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.DocumentDB.Service("service", new()
        {
            AccountName = "ddb1",
            InstanceCount = 1,
            InstanceSize = AzureNative.DocumentDB.ServiceSize.Cosmos_D4s,
            ResourceGroupName = "rg1",
            ServiceName = "MaterializedViewsBuilder",
            ServiceType = AzureNative.DocumentDB.ServiceType.MaterializedViewsBuilder,
        });
    
    });
    
    package main
    
    import (
    	documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := documentdb.NewService(ctx, "service", &documentdb.ServiceArgs{
    			AccountName:       pulumi.String("ddb1"),
    			InstanceCount:     pulumi.Int(1),
    			InstanceSize:      pulumi.String(documentdb.ServiceSize_Cosmos_D4s),
    			ResourceGroupName: pulumi.String("rg1"),
    			ServiceName:       pulumi.String("MaterializedViewsBuilder"),
    			ServiceType:       pulumi.String(documentdb.ServiceTypeMaterializedViewsBuilder),
    		})
    		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.documentdb.Service;
    import com.pulumi.azurenative.documentdb.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")
                .instanceCount(1)
                .instanceSize("Cosmos.D4s")
                .resourceGroupName("rg1")
                .serviceName("MaterializedViewsBuilder")
                .serviceType("MaterializedViewsBuilder")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.documentdb.Service("service",
        account_name="ddb1",
        instance_count=1,
        instance_size=azure_native.documentdb.ServiceSize.COSMOS_D4S,
        resource_group_name="rg1",
        service_name="MaterializedViewsBuilder",
        service_type=azure_native.documentdb.ServiceType.MATERIALIZED_VIEWS_BUILDER)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.documentdb.Service("service", {
        accountName: "ddb1",
        instanceCount: 1,
        instanceSize: azure_native.documentdb.ServiceSize.Cosmos_D4s,
        resourceGroupName: "rg1",
        serviceName: "MaterializedViewsBuilder",
        serviceType: azure_native.documentdb.ServiceType.MaterializedViewsBuilder,
    });
    
    resources:
      service:
        type: azure-native:documentdb:Service
        properties:
          accountName: ddb1
          instanceCount: 1
          instanceSize: Cosmos.D4s
          resourceGroupName: rg1
          serviceName: MaterializedViewsBuilder
          serviceType: MaterializedViewsBuilder
    

    SqlDedicatedGatewayServiceCreate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var service = new AzureNative.DocumentDB.Service("service", new()
        {
            AccountName = "ddb1",
            InstanceCount = 1,
            InstanceSize = AzureNative.DocumentDB.ServiceSize.Cosmos_D4s,
            ResourceGroupName = "rg1",
            ServiceName = "SqlDedicatedGateway",
            ServiceType = AzureNative.DocumentDB.ServiceType.SqlDedicatedGateway,
        });
    
    });
    
    package main
    
    import (
    	documentdb "github.com/pulumi/pulumi-azure-native-sdk/documentdb/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := documentdb.NewService(ctx, "service", &documentdb.ServiceArgs{
    			AccountName:       pulumi.String("ddb1"),
    			InstanceCount:     pulumi.Int(1),
    			InstanceSize:      pulumi.String(documentdb.ServiceSize_Cosmos_D4s),
    			ResourceGroupName: pulumi.String("rg1"),
    			ServiceName:       pulumi.String("SqlDedicatedGateway"),
    			ServiceType:       pulumi.String(documentdb.ServiceTypeSqlDedicatedGateway),
    		})
    		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.documentdb.Service;
    import com.pulumi.azurenative.documentdb.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")
                .instanceCount(1)
                .instanceSize("Cosmos.D4s")
                .resourceGroupName("rg1")
                .serviceName("SqlDedicatedGateway")
                .serviceType("SqlDedicatedGateway")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service = azure_native.documentdb.Service("service",
        account_name="ddb1",
        instance_count=1,
        instance_size=azure_native.documentdb.ServiceSize.COSMOS_D4S,
        resource_group_name="rg1",
        service_name="SqlDedicatedGateway",
        service_type=azure_native.documentdb.ServiceType.SQL_DEDICATED_GATEWAY)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const service = new azure_native.documentdb.Service("service", {
        accountName: "ddb1",
        instanceCount: 1,
        instanceSize: azure_native.documentdb.ServiceSize.Cosmos_D4s,
        resourceGroupName: "rg1",
        serviceName: "SqlDedicatedGateway",
        serviceType: azure_native.documentdb.ServiceType.SqlDedicatedGateway,
    });
    
    resources:
      service:
        type: azure-native:documentdb:Service
        properties:
          accountName: ddb1
          instanceCount: 1
          instanceSize: Cosmos.D4s
          resourceGroupName: rg1
          serviceName: SqlDedicatedGateway
          serviceType: 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,
                instance_count: Optional[int] = None,
                instance_size: Optional[Union[str, ServiceSize]] = None,
                service_name: Optional[str] = None,
                service_type: Optional[Union[str, ServiceType]] = 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:documentdb: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 exampleserviceResourceResourceFromDocumentdb = new AzureNative.DocumentDB.Service("exampleserviceResourceResourceFromDocumentdb", new()
    {
        AccountName = "string",
        ResourceGroupName = "string",
        InstanceCount = 0,
        InstanceSize = "string",
        ServiceName = "string",
        ServiceType = "string",
    });
    
    example, err := documentdb.NewService(ctx, "exampleserviceResourceResourceFromDocumentdb", &documentdb.ServiceArgs{
    AccountName: pulumi.String("string"),
    ResourceGroupName: pulumi.String("string"),
    InstanceCount: pulumi.Int(0),
    InstanceSize: pulumi.String("string"),
    ServiceName: pulumi.String("string"),
    ServiceType: pulumi.String("string"),
    })
    
    var exampleserviceResourceResourceFromDocumentdb = new Service("exampleserviceResourceResourceFromDocumentdb", ServiceArgs.builder()
        .accountName("string")
        .resourceGroupName("string")
        .instanceCount(0)
        .instanceSize("string")
        .serviceName("string")
        .serviceType("string")
        .build());
    
    exampleservice_resource_resource_from_documentdb = azure_native.documentdb.Service("exampleserviceResourceResourceFromDocumentdb",
        account_name="string",
        resource_group_name="string",
        instance_count=0,
        instance_size="string",
        service_name="string",
        service_type="string")
    
    const exampleserviceResourceResourceFromDocumentdb = new azure_native.documentdb.Service("exampleserviceResourceResourceFromDocumentdb", {
        accountName: "string",
        resourceGroupName: "string",
        instanceCount: 0,
        instanceSize: "string",
        serviceName: "string",
        serviceType: "string",
    });
    
    type: azure-native:documentdb:Service
    properties:
        accountName: string
        instanceCount: 0
        instanceSize: string
        resourceGroupName: string
        serviceName: string
        serviceType: 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

    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.
    InstanceCount int
    Instance count for the service.
    InstanceSize string | Pulumi.AzureNative.DocumentDB.ServiceSize
    Instance type for the service.
    ServiceName string
    Cosmos DB service name.
    ServiceType string | Pulumi.AzureNative.DocumentDB.ServiceType
    ServiceType for the service.
    AccountName string
    Cosmos DB database account name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    InstanceCount int
    Instance count for the service.
    InstanceSize string | ServiceSize
    Instance type for the service.
    ServiceName string
    Cosmos DB service name.
    ServiceType string | ServiceType
    ServiceType for the service.
    accountName String
    Cosmos DB database account name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    instanceCount Integer
    Instance count for the service.
    instanceSize String | ServiceSize
    Instance type for the service.
    serviceName String
    Cosmos DB service name.
    serviceType String | ServiceType
    ServiceType for the service.
    accountName string
    Cosmos DB database account name.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    instanceCount number
    Instance count for the service.
    instanceSize string | ServiceSize
    Instance type for the service.
    serviceName string
    Cosmos DB service name.
    serviceType string | ServiceType
    ServiceType for the service.
    account_name str
    Cosmos DB database account name.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    instance_count int
    Instance count for the service.
    instance_size str | ServiceSize
    Instance type for the service.
    service_name str
    Cosmos DB service name.
    service_type str | ServiceType
    ServiceType for the service.
    accountName String
    Cosmos DB database account name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    instanceCount Number
    Instance count for the service.
    instanceSize String | "Cosmos.D4s" | "Cosmos.D8s" | "Cosmos.D16s"
    Instance type for the service.
    serviceName String
    Cosmos DB service name.
    serviceType String | "SqlDedicatedGateway" | "DataTransfer" | "GraphAPICompute" | "MaterializedViewsBuilder"
    ServiceType for the service.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the database account.
    Properties DataTransferServiceResourcePropertiesResponse | GraphAPIComputeServiceResourcePropertiesResponse | MaterializedViewsBuilderServiceResourcePropertiesResponse | SqlDedicatedGatewayServiceResourcePropertiesResponse
    Services response resource.
    Type string
    The type of Azure resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the database account.
    properties DataTransferServiceResourcePropertiesResponse | GraphAPIComputeServiceResourcePropertiesResponse | MaterializedViewsBuilderServiceResourcePropertiesResponse | SqlDedicatedGatewayServiceResourcePropertiesResponse
    Services response resource.
    type String
    The type of Azure resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the database account.
    properties DataTransferServiceResourcePropertiesResponse | GraphAPIComputeServiceResourcePropertiesResponse | MaterializedViewsBuilderServiceResourcePropertiesResponse | SqlDedicatedGatewayServiceResourcePropertiesResponse
    Services response resource.
    type string
    The type of Azure resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the database account.
    properties DataTransferServiceResourcePropertiesResponse | GraphAPIComputeServiceResourcePropertiesResponse | MaterializedViewsBuilderServiceResourcePropertiesResponse | SqlDedicatedGatewayServiceResourcePropertiesResponse
    Services response resource.
    type str
    The type of Azure resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the database account.
    properties Property Map | Property Map | Property Map | Property Map
    Services response resource.
    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.

    DataTransferServiceResourcePropertiesResponse, DataTransferServiceResourcePropertiesResponseArgs

    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations List<Pulumi.AzureNative.DocumentDB.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.

    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.

    GraphAPIComputeServiceResourcePropertiesResponse, GraphAPIComputeServiceResourcePropertiesResponseArgs

    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations List<Pulumi.AzureNative.DocumentDB.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.

    MaterializedViewsBuilderServiceResourcePropertiesResponse, MaterializedViewsBuilderServiceResourcePropertiesResponseArgs

    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations List<Pulumi.AzureNative.DocumentDB.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

    ServiceType, ServiceTypeArgs

    SqlDedicatedGateway
    SqlDedicatedGateway
    DataTransfer
    DataTransfer
    GraphAPICompute
    GraphAPICompute
    MaterializedViewsBuilder
    MaterializedViewsBuilder
    ServiceTypeSqlDedicatedGateway
    SqlDedicatedGateway
    ServiceTypeDataTransfer
    DataTransfer
    ServiceTypeGraphAPICompute
    GraphAPICompute
    ServiceTypeMaterializedViewsBuilder
    MaterializedViewsBuilder
    SqlDedicatedGateway
    SqlDedicatedGateway
    DataTransfer
    DataTransfer
    GraphAPICompute
    GraphAPICompute
    MaterializedViewsBuilder
    MaterializedViewsBuilder
    SqlDedicatedGateway
    SqlDedicatedGateway
    DataTransfer
    DataTransfer
    GraphAPICompute
    GraphAPICompute
    MaterializedViewsBuilder
    MaterializedViewsBuilder
    SQL_DEDICATED_GATEWAY
    SqlDedicatedGateway
    DATA_TRANSFER
    DataTransfer
    GRAPH_API_COMPUTE
    GraphAPICompute
    MATERIALIZED_VIEWS_BUILDER
    MaterializedViewsBuilder
    "SqlDedicatedGateway"
    SqlDedicatedGateway
    "DataTransfer"
    DataTransfer
    "GraphAPICompute"
    GraphAPICompute
    "MaterializedViewsBuilder"
    MaterializedViewsBuilder

    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.

    SqlDedicatedGatewayServiceResourcePropertiesResponse, SqlDedicatedGatewayServiceResourcePropertiesResponseArgs

    CreationTime string
    Time of the last state change (ISO-8601 format).
    Locations List<Pulumi.AzureNative.DocumentDB.Inputs.SqlDedicatedGatewayRegionalServiceResourceResponse>
    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.
    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.
    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.
    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.
    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.
    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.
    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:documentdb: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 v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi