ArmDatabaseWatcherModelFactory.DatabaseWatcherAlertRuleProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DatabaseWatcherAlertRuleProperties.
public static Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherAlertRuleProperties DatabaseWatcherAlertRuleProperties(Azure.Core.ResourceIdentifier alertRuleResourceId = default, Azure.ResourceManager.DatabaseWatcher.Models.AlertRuleCreationProperty createdWithProperties = default, DateTimeOffset createdOn = default, Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherResourceProvisioningState? provisioningState = default, string alertRuleTemplateId = default, string alertRuleTemplateVersion = default);
static member DatabaseWatcherAlertRuleProperties : Azure.Core.ResourceIdentifier * Azure.ResourceManager.DatabaseWatcher.Models.AlertRuleCreationProperty * DateTimeOffset * Nullable<Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherResourceProvisioningState> * string * string -> Azure.ResourceManager.DatabaseWatcher.Models.DatabaseWatcherAlertRuleProperties
Public Shared Function DatabaseWatcherAlertRuleProperties (Optional alertRuleResourceId As ResourceIdentifier = Nothing, Optional createdWithProperties As AlertRuleCreationProperty = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional provisioningState As Nullable(Of DatabaseWatcherResourceProvisioningState) = Nothing, Optional alertRuleTemplateId As String = Nothing, Optional alertRuleTemplateVersion As String = Nothing) As DatabaseWatcherAlertRuleProperties
Parameters
- alertRuleResourceId
- ResourceIdentifier
The resource ID of the alert rule resource.
- createdWithProperties
- AlertRuleCreationProperty
The properties with which the alert rule resource was created.
- createdOn
- DateTimeOffset
The creation time of the alert rule resource.
- provisioningState
- Nullable<DatabaseWatcherResourceProvisioningState>
The provisioning state of the alert rule resource.
- alertRuleTemplateId
- String
The template ID associated with alert rule resource.
- alertRuleTemplateVersion
- String
The alert rule template version.
Returns
A new DatabaseWatcherAlertRuleProperties instance for mocking.