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.operationalinsights.getCluster
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 a Log Analytics cluster instance. Azure REST API version: 2021-06-01.
Other available API versions: 2019-08-01-preview, 2020-08-01, 2022-10-01, 2023-09-01.
Using getCluster
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 getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>def get_cluster(cluster_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput> Note: This function is named LookupCluster in the Go SDK.
public static class GetCluster 
{
    public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
    public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
public static Output<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:operationalinsights:getCluster
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ClusterName string
- Name of the Log Analytics Cluster.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ClusterName string
- Name of the Log Analytics Cluster.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- clusterName String
- Name of the Log Analytics Cluster.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- clusterName string
- Name of the Log Analytics Cluster.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- cluster_name str
- Name of the Log Analytics Cluster.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- clusterName String
- Name of the Log Analytics Cluster.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getCluster Result
The following output properties are available:
- ClusterId string
- The ID associated with the cluster.
- CreatedDate string
- The cluster creation time
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LastModified stringDate 
- The last time the cluster was updated.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- ProvisioningState string
- The provisioning state of the cluster.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AssociatedWorkspaces List<Pulumi.Azure Native. Operational Insights. Outputs. Associated Workspace Response> 
- The list of Log Analytics workspaces associated with the cluster
- BillingType string
- The cluster's billing type.
- CapacityReservation Pulumi.Properties Azure Native. Operational Insights. Outputs. Capacity Reservation Properties Response 
- Additional properties for capacity reservation
- Identity
Pulumi.Azure Native. Operational Insights. Outputs. Identity Response 
- The identity of the resource.
- IsAvailability boolZones Enabled 
- Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.
- IsDouble boolEncryption Enabled 
- Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'
- KeyVault Pulumi.Properties Azure Native. Operational Insights. Outputs. Key Vault Properties Response 
- The associated key properties.
- Sku
Pulumi.Azure Native. Operational Insights. Outputs. Cluster Sku Response 
- The sku properties.
- Dictionary<string, string>
- Resource tags.
- ClusterId string
- The ID associated with the cluster.
- CreatedDate string
- The cluster creation time
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- LastModified stringDate 
- The last time the cluster was updated.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- ProvisioningState string
- The provisioning state of the cluster.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- AssociatedWorkspaces []AssociatedWorkspace Response 
- The list of Log Analytics workspaces associated with the cluster
- BillingType string
- The cluster's billing type.
- CapacityReservation CapacityProperties Reservation Properties Response 
- Additional properties for capacity reservation
- Identity
IdentityResponse 
- The identity of the resource.
- IsAvailability boolZones Enabled 
- Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.
- IsDouble boolEncryption Enabled 
- Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'
- KeyVault KeyProperties Vault Properties Response 
- The associated key properties.
- Sku
ClusterSku Response 
- The sku properties.
- map[string]string
- Resource tags.
- clusterId String
- The ID associated with the cluster.
- createdDate String
- The cluster creation time
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastModified StringDate 
- The last time the cluster was updated.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioningState String
- The provisioning state of the cluster.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- associatedWorkspaces List<AssociatedWorkspace Response> 
- The list of Log Analytics workspaces associated with the cluster
- billingType String
- The cluster's billing type.
- capacityReservation CapacityProperties Reservation Properties Response 
- Additional properties for capacity reservation
- identity
IdentityResponse 
- The identity of the resource.
- isAvailability BooleanZones Enabled 
- Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.
- isDouble BooleanEncryption Enabled 
- Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'
- keyVault KeyProperties Vault Properties Response 
- The associated key properties.
- sku
ClusterSku Response 
- The sku properties.
- Map<String,String>
- Resource tags.
- clusterId string
- The ID associated with the cluster.
- createdDate string
- The cluster creation time
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastModified stringDate 
- The last time the cluster was updated.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioningState string
- The provisioning state of the cluster.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- associatedWorkspaces AssociatedWorkspace Response[] 
- The list of Log Analytics workspaces associated with the cluster
- billingType string
- The cluster's billing type.
- capacityReservation CapacityProperties Reservation Properties Response 
- Additional properties for capacity reservation
- identity
IdentityResponse 
- The identity of the resource.
- isAvailability booleanZones Enabled 
- Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.
- isDouble booleanEncryption Enabled 
- Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'
- keyVault KeyProperties Vault Properties Response 
- The associated key properties.
- sku
ClusterSku Response 
- The sku properties.
- {[key: string]: string}
- Resource tags.
- cluster_id str
- The ID associated with the cluster.
- created_date str
- The cluster creation time
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last_modified_ strdate 
- The last time the cluster was updated.
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- provisioning_state str
- The provisioning state of the cluster.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- associated_workspaces Sequence[AssociatedWorkspace Response] 
- The list of Log Analytics workspaces associated with the cluster
- billing_type str
- The cluster's billing type.
- capacity_reservation_ Capacityproperties Reservation Properties Response 
- Additional properties for capacity reservation
- identity
IdentityResponse 
- The identity of the resource.
- is_availability_ boolzones_ enabled 
- Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.
- is_double_ boolencryption_ enabled 
- Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'
- key_vault_ Keyproperties Vault Properties Response 
- The associated key properties.
- sku
ClusterSku Response 
- The sku properties.
- Mapping[str, str]
- Resource tags.
- clusterId String
- The ID associated with the cluster.
- createdDate String
- The cluster creation time
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- lastModified StringDate 
- The last time the cluster was updated.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioningState String
- The provisioning state of the cluster.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- associatedWorkspaces List<Property Map>
- The list of Log Analytics workspaces associated with the cluster
- billingType String
- The cluster's billing type.
- capacityReservation Property MapProperties 
- Additional properties for capacity reservation
- identity Property Map
- The identity of the resource.
- isAvailability BooleanZones Enabled 
- Sets whether the cluster will support availability zones. This can be set as true only in regions where Azure Data Explorer support Availability Zones. This Property can not be modified after cluster creation. Default value is 'true' if region supports Availability Zones.
- isDouble BooleanEncryption Enabled 
- Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'
- keyVault Property MapProperties 
- The associated key properties.
- sku Property Map
- The sku properties.
- Map<String>
- Resource tags.
Supporting Types
AssociatedWorkspaceResponse  
- AssociateDate string
- The time of workspace association.
- ResourceId string
- The ResourceId id the assigned workspace.
- WorkspaceId string
- The id of the assigned workspace.
- WorkspaceName string
- The name id the assigned workspace.
- AssociateDate string
- The time of workspace association.
- ResourceId string
- The ResourceId id the assigned workspace.
- WorkspaceId string
- The id of the assigned workspace.
- WorkspaceName string
- The name id the assigned workspace.
- associateDate String
- The time of workspace association.
- resourceId String
- The ResourceId id the assigned workspace.
- workspaceId String
- The id of the assigned workspace.
- workspaceName String
- The name id the assigned workspace.
- associateDate string
- The time of workspace association.
- resourceId string
- The ResourceId id the assigned workspace.
- workspaceId string
- The id of the assigned workspace.
- workspaceName string
- The name id the assigned workspace.
- associate_date str
- The time of workspace association.
- resource_id str
- The ResourceId id the assigned workspace.
- workspace_id str
- The id of the assigned workspace.
- workspace_name str
- The name id the assigned workspace.
- associateDate String
- The time of workspace association.
- resourceId String
- The ResourceId id the assigned workspace.
- workspaceId String
- The id of the assigned workspace.
- workspaceName String
- The name id the assigned workspace.
CapacityReservationPropertiesResponse   
- LastSku stringUpdate 
- The last time Sku was updated.
- MinCapacity double
- Minimum CapacityReservation value in GB.
- LastSku stringUpdate 
- The last time Sku was updated.
- MinCapacity float64
- Minimum CapacityReservation value in GB.
- lastSku StringUpdate 
- The last time Sku was updated.
- minCapacity Double
- Minimum CapacityReservation value in GB.
- lastSku stringUpdate 
- The last time Sku was updated.
- minCapacity number
- Minimum CapacityReservation value in GB.
- last_sku_ strupdate 
- The last time Sku was updated.
- min_capacity float
- Minimum CapacityReservation value in GB.
- lastSku StringUpdate 
- The last time Sku was updated.
- minCapacity Number
- Minimum CapacityReservation value in GB.
ClusterSkuResponse  
IdentityResponse 
- PrincipalId string
- The principal ID of resource identity.
- TenantId string
- The tenant ID of resource.
- Type string
- Type of managed service identity.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Operational Insights. Inputs. User Identity Properties Response> 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- PrincipalId string
- The principal ID of resource identity.
- TenantId string
- The tenant ID of resource.
- Type string
- Type of managed service identity.
- UserAssigned map[string]UserIdentities Identity Properties Response 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId String
- The principal ID of resource identity.
- tenantId String
- The tenant ID of resource.
- type String
- Type of managed service identity.
- userAssigned Map<String,UserIdentities Identity Properties Response> 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId string
- The principal ID of resource identity.
- tenantId string
- The tenant ID of resource.
- type string
- Type of managed service identity.
- userAssigned {[key: string]: UserIdentities Identity Properties Response} 
- The list of user identities associated with the 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 resource identity.
- tenant_id str
- The tenant ID of resource.
- type str
- Type of managed service identity.
- user_assigned_ Mapping[str, Useridentities Identity Properties Response] 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
- principalId String
- The principal ID of resource identity.
- tenantId String
- The tenant ID of resource.
- type String
- Type of managed service identity.
- userAssigned Map<Property Map>Identities 
- The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
KeyVaultPropertiesResponse   
- KeyName string
- The name of the key associated with the Log Analytics cluster.
- KeyRsa intSize 
- Selected key minimum required size.
- KeyVault stringUri 
- The Key Vault uri which holds they key associated with the Log Analytics cluster.
- KeyVersion string
- The version of the key associated with the Log Analytics cluster.
- KeyName string
- The name of the key associated with the Log Analytics cluster.
- KeyRsa intSize 
- Selected key minimum required size.
- KeyVault stringUri 
- The Key Vault uri which holds they key associated with the Log Analytics cluster.
- KeyVersion string
- The version of the key associated with the Log Analytics cluster.
- keyName String
- The name of the key associated with the Log Analytics cluster.
- keyRsa IntegerSize 
- Selected key minimum required size.
- keyVault StringUri 
- The Key Vault uri which holds they key associated with the Log Analytics cluster.
- keyVersion String
- The version of the key associated with the Log Analytics cluster.
- keyName string
- The name of the key associated with the Log Analytics cluster.
- keyRsa numberSize 
- Selected key minimum required size.
- keyVault stringUri 
- The Key Vault uri which holds they key associated with the Log Analytics cluster.
- keyVersion string
- The version of the key associated with the Log Analytics cluster.
- key_name str
- The name of the key associated with the Log Analytics cluster.
- key_rsa_ intsize 
- Selected key minimum required size.
- key_vault_ struri 
- The Key Vault uri which holds they key associated with the Log Analytics cluster.
- key_version str
- The version of the key associated with the Log Analytics cluster.
- keyName String
- The name of the key associated with the Log Analytics cluster.
- keyRsa NumberSize 
- Selected key minimum required size.
- keyVault StringUri 
- The Key Vault uri which holds they key associated with the Log Analytics cluster.
- keyVersion String
- The version of the key associated with the Log Analytics cluster.
UserIdentityPropertiesResponse   
- ClientId string
- The client id of user assigned identity.
- PrincipalId string
- The principal id of user assigned identity.
- ClientId string
- The client id of user assigned identity.
- PrincipalId string
- The principal id of user assigned identity.
- clientId String
- The client id of user assigned identity.
- principalId String
- The principal id of user assigned identity.
- clientId string
- The client id of user assigned identity.
- principalId 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.
- clientId String
- The client id of user assigned identity.
- principalId String
- The principal id of user assigned identity.
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