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.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.documentdb.getService
Explore with Pulumi AI
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.89.1 published on Sunday, Mar 2, 2025 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, 2024-05-15, 2024-05-15-preview, 2024-08-15, 2024-09-01-preview, 2024-11-15, 2024-12-01-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)
public static Output<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:documentdb:getService
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccountName string
- Cosmos DB database account name.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServiceName string
- Cosmos DB service name.
- AccountName string
- Cosmos DB database account name.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServiceName string
- Cosmos DB service name.
- accountName String
- Cosmos DB database account name.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serviceName String
- Cosmos DB service name.
- accountName string
- Cosmos DB database account name.
- resourceGroup stringName 
- 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_ strname 
- 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.
- resourceGroup StringName 
- 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
Pulumi.Azure | Pulumi.Native. Document DB. Outputs. Data Transfer Service Resource Properties Response Azure | Pulumi.Native. Document DB. Outputs. Graph APICompute Service Resource Properties Response Azure | Pulumi.Native. Document DB. Outputs. Materialized Views Builder Service Resource Properties Response Azure Native. Document DB. Outputs. Sql Dedicated Gateway Service Resource Properties Response 
- 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
DataTransfer | GraphService Resource Properties Response APICompute | MaterializedService Resource Properties Response Views | SqlBuilder Service Resource Properties Response Dedicated Gateway Service Resource Properties Response 
- 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
DataTransfer | GraphService Resource Properties Response APICompute | MaterializedService Resource Properties Response Views | SqlBuilder Service Resource Properties Response Dedicated Gateway Service Resource Properties Response 
- 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
DataTransfer | GraphService Resource Properties Response APICompute | MaterializedService Resource Properties Response Views | SqlBuilder Service Resource Properties Response Dedicated Gateway Service Resource Properties Response 
- 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
DataTransfer | GraphService Resource Properties Response APICompute | MaterializedService Resource Properties Response Views | SqlBuilder Service Resource Properties Response Dedicated Gateway Service Resource Properties Response 
- 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     
DataTransferServiceResourcePropertiesResponse     
- CreationTime string
- Time of the last state change (ISO-8601 format).
- Locations
List<Pulumi.Azure Native. Document DB. Inputs. Data Transfer Regional Service Resource Response> 
- 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
[]DataTransfer Regional Service Resource Response 
- 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<DataTransfer Regional Service Resource Response> 
- 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
DataTransfer Regional Service Resource Response[] 
- 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[DataTransfer Regional Service Resource Response] 
- 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     
- GraphApi stringCompute Endpoint 
- The regional endpoint for GraphAPICompute.
- Location string
- The location name.
- Name string
- The regional service name.
- Status string
- Describes the status of a service.
- GraphApi stringCompute Endpoint 
- The regional endpoint for GraphAPICompute.
- Location string
- The location name.
- Name string
- The regional service name.
- Status string
- Describes the status of a service.
- graphApi StringCompute Endpoint 
- The regional endpoint for GraphAPICompute.
- location String
- The location name.
- name String
- The regional service name.
- status String
- Describes the status of a service.
- graphApi stringCompute Endpoint 
- 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_ strcompute_ endpoint 
- The regional endpoint for GraphAPICompute.
- location str
- The location name.
- name str
- The regional service name.
- status str
- Describes the status of a service.
- graphApi StringCompute Endpoint 
- 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.Azure Native. Document DB. Inputs. Graph APICompute Regional Service Resource Response> 
- An array that contains all of the locations for the service.
- Status string
- Describes the status of a service.
- GraphApi stringCompute Endpoint 
- 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
[]GraphAPICompute Regional Service Resource Response 
- An array that contains all of the locations for the service.
- Status string
- Describes the status of a service.
- GraphApi stringCompute Endpoint 
- 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<GraphAPICompute Regional Service Resource Response> 
- An array that contains all of the locations for the service.
- status String
- Describes the status of a service.
- graphApi StringCompute Endpoint 
- 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
GraphAPICompute Regional Service Resource Response[] 
- An array that contains all of the locations for the service.
- status string
- Describes the status of a service.
- graphApi stringCompute Endpoint 
- 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[GraphAPICompute Regional Service Resource Response] 
- An array that contains all of the locations for the service.
- status str
- Describes the status of a service.
- graph_api_ strcompute_ endpoint 
- 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.
- graphApi StringCompute Endpoint 
- GraphAPICompute endpoint for the service.
- instanceCount Number
- Instance count for the service.
- instanceSize String
- Instance type for the service.
MaterializedViewsBuilderRegionalServiceResourceResponse      
MaterializedViewsBuilderServiceResourcePropertiesResponse      
- CreationTime string
- Time of the last state change (ISO-8601 format).
- Locations
List<Pulumi.Azure Native. Document DB. Inputs. Materialized Views Builder Regional Service Resource Response> 
- 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
[]MaterializedViews Builder Regional Service Resource Response 
- 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<MaterializedViews Builder Regional Service Resource Response> 
- 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
MaterializedViews Builder Regional Service Resource Response[] 
- 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[MaterializedViews Builder Regional Service Resource Response] 
- 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.
- SqlDedicated stringGateway Endpoint 
- The regional endpoint for SqlDedicatedGateway.
- Status string
- Describes the status of a service.
- Location string
- The location name.
- Name string
- The regional service name.
- SqlDedicated stringGateway Endpoint 
- The regional endpoint for SqlDedicatedGateway.
- Status string
- Describes the status of a service.
- location String
- The location name.
- name String
- The regional service name.
- sqlDedicated StringGateway Endpoint 
- The regional endpoint for SqlDedicatedGateway.
- status String
- Describes the status of a service.
- location string
- The location name.
- name string
- The regional service name.
- sqlDedicated stringGateway Endpoint 
- 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_ strgateway_ endpoint 
- The regional endpoint for SqlDedicatedGateway.
- status str
- Describes the status of a service.
- location String
- The location name.
- name String
- The regional service name.
- sqlDedicated StringGateway Endpoint 
- 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.Azure Native. Document DB. Inputs. Sql Dedicated Gateway Regional Service Resource Response> 
- 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.
- SqlDedicated stringGateway Endpoint 
- SqlDedicatedGateway endpoint for the service.
- CreationTime string
- Time of the last state change (ISO-8601 format).
- Locations
[]SqlDedicated Gateway Regional Service Resource Response 
- 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.
- SqlDedicated stringGateway Endpoint 
- SqlDedicatedGateway endpoint for the service.
- creationTime String
- Time of the last state change (ISO-8601 format).
- locations
List<SqlDedicated Gateway Regional Service Resource Response> 
- 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.
- sqlDedicated StringGateway Endpoint 
- SqlDedicatedGateway endpoint for the service.
- creationTime string
- Time of the last state change (ISO-8601 format).
- locations
SqlDedicated Gateway Regional Service Resource Response[] 
- 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.
- sqlDedicated stringGateway Endpoint 
- SqlDedicatedGateway endpoint for the service.
- creation_time str
- Time of the last state change (ISO-8601 format).
- locations
Sequence[SqlDedicated Gateway Regional Service Resource Response] 
- 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_ strgateway_ endpoint 
- 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.
- sqlDedicated StringGateway Endpoint 
- SqlDedicatedGateway endpoint for the service.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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.89.1 published on Sunday, Mar 2, 2025 by Pulumi