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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.databasewatcher.getAlertRuleResource
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Get a AlertRuleResource Azure REST API version: 2024-07-19-preview.
Using getAlertRuleResource
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 getAlertRuleResource(args: GetAlertRuleResourceArgs, opts?: InvokeOptions): Promise<GetAlertRuleResourceResult>
function getAlertRuleResourceOutput(args: GetAlertRuleResourceOutputArgs, opts?: InvokeOptions): Output<GetAlertRuleResourceResult>
def get_alert_rule_resource(alert_rule_resource_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
watcher_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAlertRuleResourceResult
def get_alert_rule_resource_output(alert_rule_resource_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
watcher_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAlertRuleResourceResult]
func LookupAlertRuleResource(ctx *Context, args *LookupAlertRuleResourceArgs, opts ...InvokeOption) (*LookupAlertRuleResourceResult, error)
func LookupAlertRuleResourceOutput(ctx *Context, args *LookupAlertRuleResourceOutputArgs, opts ...InvokeOption) LookupAlertRuleResourceResultOutput
> Note: This function is named LookupAlertRuleResource
in the Go SDK.
public static class GetAlertRuleResource
{
public static Task<GetAlertRuleResourceResult> InvokeAsync(GetAlertRuleResourceArgs args, InvokeOptions? opts = null)
public static Output<GetAlertRuleResourceResult> Invoke(GetAlertRuleResourceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAlertRuleResourceResult> getAlertRuleResource(GetAlertRuleResourceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:databasewatcher:getAlertRuleResource
arguments:
# arguments dictionary
The following arguments are supported:
- Alert
Rule stringResource Name - The alert rule proxy resource name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Watcher
Name string - The database watcher name.
- Alert
Rule stringResource Name - The alert rule proxy resource name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Watcher
Name string - The database watcher name.
- alert
Rule StringResource Name - The alert rule proxy resource name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- watcher
Name String - The database watcher name.
- alert
Rule stringResource Name - The alert rule proxy resource name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- watcher
Name string - The database watcher name.
- alert_
rule_ strresource_ name - The alert rule proxy resource name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- watcher_
name str - The database watcher name.
- alert
Rule StringResource Name - The alert rule proxy resource name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- watcher
Name String - The database watcher name.
getAlertRuleResource Result
The following output properties are available:
- Alert
Rule stringResource Id - The resource ID of the alert rule resource.
- Alert
Rule stringTemplate Id - The template ID associated with alert rule resource.
- Alert
Rule stringTemplate Version - The alert rule template version.
- Created
With stringProperties - The properties with which the alert rule resource was created.
- Creation
Time string - The creation time of the alert rule resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the alert rule resource.
- System
Data Pulumi.Azure Native. Database Watcher. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Alert
Rule stringResource Id - The resource ID of the alert rule resource.
- Alert
Rule stringTemplate Id - The template ID associated with alert rule resource.
- Alert
Rule stringTemplate Version - The alert rule template version.
- Created
With stringProperties - The properties with which the alert rule resource was created.
- Creation
Time string - The creation time of the alert rule resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Provisioning
State string - The provisioning state of the alert rule resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alert
Rule StringResource Id - The resource ID of the alert rule resource.
- alert
Rule StringTemplate Id - The template ID associated with alert rule resource.
- alert
Rule StringTemplate Version - The alert rule template version.
- created
With StringProperties - The properties with which the alert rule resource was created.
- creation
Time String - The creation time of the alert rule resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the alert rule resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alert
Rule stringResource Id - The resource ID of the alert rule resource.
- alert
Rule stringTemplate Id - The template ID associated with alert rule resource.
- alert
Rule stringTemplate Version - The alert rule template version.
- created
With stringProperties - The properties with which the alert rule resource was created.
- creation
Time string - The creation time of the alert rule resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- provisioning
State string - The provisioning state of the alert rule resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alert_
rule_ strresource_ id - The resource ID of the alert rule resource.
- alert_
rule_ strtemplate_ id - The template ID associated with alert rule resource.
- alert_
rule_ strtemplate_ version - The alert rule template version.
- created_
with_ strproperties - The properties with which the alert rule resource was created.
- creation_
time str - The creation time of the alert rule resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- provisioning_
state str - The provisioning state of the alert rule resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alert
Rule StringResource Id - The resource ID of the alert rule resource.
- alert
Rule StringTemplate Id - The template ID associated with alert rule resource.
- alert
Rule StringTemplate Version - The alert rule template version.
- created
With StringProperties - The properties with which the alert rule resource was created.
- creation
Time String - The creation time of the alert rule resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- provisioning
State String - The provisioning state of the alert rule resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi