azure-native.cosmosdb.getGraphResourceGraph
Explore with Pulumi AI
Gets the Graph resource under an existing Azure Cosmos DB database account with the provided name.
Uses Azure REST API version 2024-12-01-preview.
Other available API versions: 2021-07-01-preview, 2021-10-15-preview, 2021-11-15-preview, 2022-02-15-preview, 2022-05-15-preview, 2022-08-15-preview, 2022-11-15-preview, 2023-03-01-preview, 2023-03-15-preview, 2023-09-15-preview, 2023-11-15-preview, 2024-02-15-preview, 2024-05-15-preview, 2024-09-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cosmosdb [ApiVersion]. See the version guide for details.
Using getGraphResourceGraph
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 getGraphResourceGraph(args: GetGraphResourceGraphArgs, opts?: InvokeOptions): Promise<GetGraphResourceGraphResult>
function getGraphResourceGraphOutput(args: GetGraphResourceGraphOutputArgs, opts?: InvokeOptions): Output<GetGraphResourceGraphResult>def get_graph_resource_graph(account_name: Optional[str] = None,
                             graph_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetGraphResourceGraphResult
def get_graph_resource_graph_output(account_name: Optional[pulumi.Input[str]] = None,
                             graph_name: Optional[pulumi.Input[str]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetGraphResourceGraphResult]func LookupGraphResourceGraph(ctx *Context, args *LookupGraphResourceGraphArgs, opts ...InvokeOption) (*LookupGraphResourceGraphResult, error)
func LookupGraphResourceGraphOutput(ctx *Context, args *LookupGraphResourceGraphOutputArgs, opts ...InvokeOption) LookupGraphResourceGraphResultOutput> Note: This function is named LookupGraphResourceGraph in the Go SDK.
public static class GetGraphResourceGraph 
{
    public static Task<GetGraphResourceGraphResult> InvokeAsync(GetGraphResourceGraphArgs args, InvokeOptions? opts = null)
    public static Output<GetGraphResourceGraphResult> Invoke(GetGraphResourceGraphInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetGraphResourceGraphResult> getGraphResourceGraph(GetGraphResourceGraphArgs args, InvokeOptions options)
public static Output<GetGraphResourceGraphResult> getGraphResourceGraph(GetGraphResourceGraphArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:cosmosdb:getGraphResourceGraph
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Account
Name string - Cosmos DB database account name.
 - Graph
Name string - Cosmos DB graph resource name.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Account
Name string - Cosmos DB database account name.
 - Graph
Name string - Cosmos DB graph resource name.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- account
Name String - Cosmos DB database account name.
 - graph
Name String - Cosmos DB graph resource name.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- account
Name string - Cosmos DB database account name.
 - graph
Name string - Cosmos DB graph resource name.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- account_
name str - Cosmos DB database account name.
 - graph_
name str - Cosmos DB graph resource name.
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- account
Name String - Cosmos DB database account name.
 - graph
Name String - Cosmos DB graph resource name.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
getGraphResourceGraph Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - The unique resource identifier of the ARM resource.
 - Name string
 - The name of the ARM resource.
 - Type string
 - The type of Azure resource.
 - Identity
Pulumi.
Azure Native. Cosmos DB. Outputs. Managed Service Identity Response  - Identity for the resource.
 - Location string
 - The location of the resource group to which the resource belongs.
 - Options
Pulumi.
Azure Native. Cosmos DB. Outputs. Graph Resource Get Properties Response Options  - Resource
Pulumi.
Azure Native. Cosmos DB. Outputs. Graph Resource Get Properties Response Resource  - Dictionary<string, string>
 - Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - The unique resource identifier of the ARM resource.
 - Name string
 - The name of the ARM resource.
 - Type string
 - The type of Azure resource.
 - Identity
Managed
Service Identity Response  - Identity for the resource.
 - Location string
 - The location of the resource group to which the resource belongs.
 - Options
Graph
Resource Get Properties Response Options  - Resource
Graph
Resource Get Properties Response Resource  - map[string]string
 - Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - The unique resource identifier of the ARM resource.
 - name String
 - The name of the ARM resource.
 - type String
 - The type of Azure resource.
 - identity
Managed
Service Identity Response  - Identity for the resource.
 - location String
 - The location of the resource group to which the resource belongs.
 - options
Graph
Resource Get Properties Response Options  - resource
Graph
Resource Get Properties Response Resource  - Map<String,String>
 - Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - The unique resource identifier of the ARM resource.
 - name string
 - The name of the ARM resource.
 - type string
 - The type of Azure resource.
 - identity
Managed
Service Identity Response  - Identity for the resource.
 - location string
 - The location of the resource group to which the resource belongs.
 - options
Graph
Resource Get Properties Response Options  - resource
Graph
Resource Get Properties Response Resource  - {[key: string]: string}
 - Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - The unique resource identifier of the ARM resource.
 - name str
 - The name of the ARM resource.
 - type str
 - The type of Azure resource.
 - identity
Managed
Service Identity Response  - Identity for the resource.
 - location str
 - The location of the resource group to which the resource belongs.
 - options
Graph
Resource Get Properties Response Options  - resource
Graph
Resource Get Properties Response Resource  - Mapping[str, str]
 - Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - The unique resource identifier of the ARM resource.
 - name String
 - The name of the ARM resource.
 - type String
 - The type of Azure resource.
 - identity Property Map
 - Identity for the resource.
 - location String
 - The location of the resource group to which the resource belongs.
 - options Property Map
 - resource Property Map
 - Map<String>
 - Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
 
Supporting Types
AutoscaleSettingsResponse  
- Max
Throughput int - Represents maximum throughput, the resource can scale up to.
 
- Max
Throughput int - Represents maximum throughput, the resource can scale up to.
 
- max
Throughput Integer - Represents maximum throughput, the resource can scale up to.
 
- max
Throughput number - Represents maximum throughput, the resource can scale up to.
 
- max_
throughput int - Represents maximum throughput, the resource can scale up to.
 
- max
Throughput Number - Represents maximum throughput, the resource can scale up to.
 
GraphResourceGetPropertiesResponseOptions     
- Autoscale
Settings Pulumi.Azure Native. Cosmos DB. Inputs. Autoscale Settings Response  - Specifies the Autoscale settings.
 - Throughput int
 - Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
 
- Autoscale
Settings AutoscaleSettings Response  - Specifies the Autoscale settings.
 - Throughput int
 - Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
 
- autoscale
Settings AutoscaleSettings Response  - Specifies the Autoscale settings.
 - throughput Integer
 - Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
 
- autoscale
Settings AutoscaleSettings Response  - Specifies the Autoscale settings.
 - throughput number
 - Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
 
- autoscale_
settings AutoscaleSettings Response  - Specifies the Autoscale settings.
 - throughput int
 - Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
 
- autoscale
Settings Property Map - Specifies the Autoscale settings.
 - throughput Number
 - Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
 
GraphResourceGetPropertiesResponseResource     
- Id string
 - Name of the Cosmos DB Graph
 
- Id string
 - Name of the Cosmos DB Graph
 
- id String
 - Name of the Cosmos DB Graph
 
- id string
 - Name of the Cosmos DB Graph
 
- id str
 - Name of the Cosmos DB Graph
 
- id String
 - Name of the Cosmos DB Graph
 
ManagedServiceIdentityResponse   
- Principal
Id string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
 - Tenant
Id string - The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
 - Type string
 - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
 - User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Cosmos DB. Inputs. Managed Service Identity Response User Assigned Identities>  - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
 
- Principal
Id string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
 - Tenant
Id string - The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
 - Type string
 - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
 - User
Assigned map[string]ManagedIdentities Service Identity Response User Assigned Identities  - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
 
- principal
Id String - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
 - tenant
Id String - The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
 - type String
 - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
 - user
Assigned Map<String,ManagedIdentities Service Identity Response User Assigned Identities>  - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
 
- principal
Id string - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
 - tenant
Id string - The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
 - type string
 - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
 - user
Assigned {[key: string]: ManagedIdentities Service Identity Response User Assigned Identities}  - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
 
- principal_
id str - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
 - tenant_
id str - The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
 - type str
 - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
 - user_
assigned_ Mapping[str, Managedidentities Service Identity Response User Assigned Identities]  - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
 
- principal
Id String - The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
 - tenant
Id String - The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
 - type String
 - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.
 - user
Assigned Map<Property Map>Identities  - The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
 
ManagedServiceIdentityResponseUserAssignedIdentities      
- Client
Id string - The client id of user assigned identity.
 - Principal
Id string - The principal id of user assigned identity.
 
- Client
Id string - The client id of user assigned identity.
 - Principal
Id string - The principal id of user assigned identity.
 
- client
Id String - The client id of user assigned identity.
 - principal
Id String - The principal id of user assigned identity.
 
- client
Id string - The client id of user assigned identity.
 - principal
Id string - The principal id of user assigned identity.
 
- client_
id str - The client id of user assigned identity.
 - principal_
id str - The principal id of user assigned identity.
 
- client
Id String - The client id of user assigned identity.
 - principal
Id String - The principal id of user assigned identity.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0