1. Packages
  2. Azure Native
  3. API Docs
  4. documentdb
  5. getService
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.37.0 published on Monday, Apr 15, 2024 by Pulumi

azure-native.documentdb.getService

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.37.0 published on Monday, Apr 15, 2024 by Pulumi

    Gets the status of service. Azure REST API version: 2023-04-15.

    Other available API versions: 2023-09-15, 2023-09-15-preview, 2023-11-15, 2023-11-15-preview, 2024-02-15-preview.

    Using getService

    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 getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
    function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
    def get_service(account_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    service_name: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetServiceResult
    def get_service_output(account_name: Optional[pulumi.Input[str]] = None,
                    resource_group_name: Optional[pulumi.Input[str]] = None,
                    service_name: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
    func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
    func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput

    > Note: This function is named LookupService in the Go SDK.

    public static class GetService 
    {
        public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:documentdb:getService
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountName string
    Cosmos DB database account name.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    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.
    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.
    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.
    serviceName string
    Cosmos DB service name.
    account_name str
    Cosmos DB database account name.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    service_name str
    Cosmos DB service name.
    accountName String
    Cosmos DB database account name.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    serviceName String
    Cosmos DB service name.

    getService Result

    The following output properties are available:

    Id string
    The unique resource identifier of the database account.
    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 unique resource identifier of the database account.
    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 unique resource identifier of the database account.
    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 unique resource identifier of the database account.
    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 unique resource identifier of the database account.
    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

    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

    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

    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

    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

    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

    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.

    SqlDedicatedGatewayRegionalServiceResourceResponse

    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

    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.

    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.37.0 published on Monday, Apr 15, 2024 by Pulumi