azure-native.operationalinsights.getCluster
Explore with Pulumi AI
Gets a Log Analytics cluster instance.
Uses Azure REST API version 2023-09-01.
Other available API versions: 2019-08-01-preview, 2020-03-01-preview, 2020-08-01, 2020-10-01, 2021-06-01, 2022-10-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native operationalinsights [ApiVersion]
. See the version guide for details.
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 dictionary
The following arguments are supported:
- Cluster
Name string - Name of the Log Analytics Cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Cluster
Name string - Name of the Log Analytics Cluster.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- cluster
Name String - Name of the Log Analytics Cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- cluster
Name string - Name of the Log Analytics Cluster.
- resource
Group 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.
- cluster
Name String - Name of the Log Analytics Cluster.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getCluster Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Cluster
Id string - The ID associated with the cluster.
- Created
Date string - The cluster creation time
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Modified stringDate - The last time the cluster was updated.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the cluster.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Associated
Workspaces List<Pulumi.Azure Native. Operational Insights. Outputs. Associated Workspace Response> - The list of Log Analytics workspaces associated with the cluster
- Billing
Type string - The cluster's billing type.
- Capacity
Reservation Pulumi.Properties Azure Native. Operational Insights. Outputs. Capacity Reservation Properties Response - Additional properties for capacity reservation
- Identity
Pulumi.
Azure Native. Operational Insights. Outputs. Managed Service Identity Response - Resource's identity.
- 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 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.
- Azure
Api stringVersion - The Azure API version of the resource.
- Cluster
Id string - The ID associated with the cluster.
- Created
Date string - The cluster creation time
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Modified stringDate - The last time the cluster was updated.
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the cluster.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Associated
Workspaces []AssociatedWorkspace Response - The list of Log Analytics workspaces associated with the cluster
- Billing
Type string - The cluster's billing type.
- Capacity
Reservation CapacityProperties Reservation Properties Response - Additional properties for capacity reservation
- Identity
Managed
Service Identity Response - Resource's identity.
- 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
Cluster
Sku Response - The sku properties.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- cluster
Id String - The ID associated with the cluster.
- created
Date String - The cluster creation time
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified StringDate - The last time the cluster was updated.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the cluster.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- associated
Workspaces List<AssociatedWorkspace Response> - The list of Log Analytics workspaces associated with the cluster
- billing
Type String - The cluster's billing type.
- capacity
Reservation CapacityProperties Reservation Properties Response - Additional properties for capacity reservation
- identity
Managed
Service Identity Response - Resource's identity.
- is
Availability 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.
- is
Double BooleanEncryption 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
Cluster
Sku Response - The sku properties.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- cluster
Id string - The ID associated with the cluster.
- created
Date string - The cluster creation time
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified stringDate - The last time the cluster was updated.
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the cluster.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- associated
Workspaces AssociatedWorkspace Response[] - The list of Log Analytics workspaces associated with the cluster
- billing
Type string - The cluster's billing type.
- capacity
Reservation CapacityProperties Reservation Properties Response - Additional properties for capacity reservation
- identity
Managed
Service Identity Response - Resource's identity.
- is
Availability 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.
- is
Double booleanEncryption 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
Cluster
Sku Response - The sku properties.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- 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
Managed
Service Identity Response - Resource's identity.
- 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
Cluster
Sku Response - The sku properties.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- cluster
Id String - The ID associated with the cluster.
- created
Date String - The cluster creation time
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified StringDate - The last time the cluster was updated.
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the cluster.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- associated
Workspaces List<Property Map> - The list of Log Analytics workspaces associated with the cluster
- billing
Type String - The cluster's billing type.
- capacity
Reservation Property MapProperties - Additional properties for capacity reservation
- identity Property Map
- Resource's identity.
- is
Availability 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.
- is
Double BooleanEncryption Enabled - Configures whether cluster will use double encryption. This Property can not be modified after cluster creation. Default value is 'true'
- key
Vault Property MapProperties - The associated key properties.
- sku Property Map
- The sku properties.
- Map<String>
- Resource tags.
Supporting Types
AssociatedWorkspaceResponse
- Associate
Date string - The time of workspace association.
- Resource
Id string - Associated workspace arm resource id, in the form of: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.
- Workspace
Id string - Associated workspace immutable id.
- Workspace
Name string - Associated workspace resource name.
- Associate
Date string - The time of workspace association.
- Resource
Id string - Associated workspace arm resource id, in the form of: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.
- Workspace
Id string - Associated workspace immutable id.
- Workspace
Name string - Associated workspace resource name.
- associate
Date String - The time of workspace association.
- resource
Id String - Associated workspace arm resource id, in the form of: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.
- workspace
Id String - Associated workspace immutable id.
- workspace
Name String - Associated workspace resource name.
- associate
Date string - The time of workspace association.
- resource
Id string - Associated workspace arm resource id, in the form of: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.
- workspace
Id string - Associated workspace immutable id.
- workspace
Name string - Associated workspace resource name.
- associate_
date str - The time of workspace association.
- resource_
id str - Associated workspace arm resource id, in the form of: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.
- workspace_
id str - Associated workspace immutable id.
- workspace_
name str - Associated workspace resource name.
- associate
Date String - The time of workspace association.
- resource
Id String - Associated workspace arm resource id, in the form of: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}.
- workspace
Id String - Associated workspace immutable id.
- workspace
Name String - Associated workspace resource name.
CapacityReservationPropertiesResponse
- Last
Sku stringUpdate - The last time Sku was updated.
- Min
Capacity double - Minimum CapacityReservation value in Gigabytes.
- Last
Sku stringUpdate - The last time Sku was updated.
- Min
Capacity float64 - Minimum CapacityReservation value in Gigabytes.
- last
Sku StringUpdate - The last time Sku was updated.
- min
Capacity Double - Minimum CapacityReservation value in Gigabytes.
- last
Sku stringUpdate - The last time Sku was updated.
- min
Capacity number - Minimum CapacityReservation value in Gigabytes.
- last_
sku_ strupdate - The last time Sku was updated.
- min_
capacity float - Minimum CapacityReservation value in Gigabytes.
- last
Sku StringUpdate - The last time Sku was updated.
- min
Capacity Number - Minimum CapacityReservation value in Gigabytes.
ClusterSkuResponse
KeyVaultPropertiesResponse
- Key
Name string - The name of the key associated with the Log Analytics cluster.
- Key
Rsa intSize - Selected key minimum required size.
- Key
Vault stringUri - The Key Vault uri which holds they key associated with the Log Analytics cluster.
- Key
Version string - The version of the key associated with the Log Analytics cluster.
- Key
Name string - The name of the key associated with the Log Analytics cluster.
- Key
Rsa intSize - Selected key minimum required size.
- Key
Vault stringUri - The Key Vault uri which holds they key associated with the Log Analytics cluster.
- Key
Version string - The version of the key associated with the Log Analytics cluster.
- key
Name String - The name of the key associated with the Log Analytics cluster.
- key
Rsa IntegerSize - Selected key minimum required size.
- key
Vault StringUri - The Key Vault uri which holds they key associated with the Log Analytics cluster.
- key
Version String - The version of the key associated with the Log Analytics cluster.
- key
Name string - The name of the key associated with the Log Analytics cluster.
- key
Rsa numberSize - Selected key minimum required size.
- key
Vault stringUri - The Key Vault uri which holds they key associated with the Log Analytics cluster.
- key
Version 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.
- key
Name String - The name of the key associated with the Log Analytics cluster.
- key
Rsa NumberSize - Selected key minimum required size.
- key
Vault StringUri - The Key Vault uri which holds they key associated with the Log Analytics cluster.
- key
Version String - The version of the key associated with the Log Analytics cluster.
ManagedServiceIdentityResponse
- Principal
Id string - The service 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
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Operational Insights. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service 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
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service 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
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service 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
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service 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
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service 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
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
UserAssignedIdentityResponse
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0