共用方式為


ArmWorkloadsModelFactory.SapMonitorData Method

Definition

Initializes a new instance of SapMonitorData.

public static Azure.ResourceManager.Workloads.SapMonitorData SapMonitorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Workloads.Models.UserAssignedServiceIdentity identity = default, Azure.ResourceManager.Workloads.Models.WorkloadMonitorProvisioningState? provisioningState = default, Azure.ResponseError errors = default, Azure.Core.AzureLocation? appLocation = default, Azure.ResourceManager.Workloads.Models.SapRoutingPreference? routingPreference = default, string zoneRedundancyPreference = default, string managedResourceGroupName = default, Azure.Core.ResourceIdentifier logAnalyticsWorkspaceArmId = default, Azure.Core.ResourceIdentifier monitorSubnetId = default, Azure.Core.ResourceIdentifier msiArmId = default, Azure.Core.ResourceIdentifier storageAccountArmId = default);
static member SapMonitorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Workloads.Models.UserAssignedServiceIdentity * Nullable<Azure.ResourceManager.Workloads.Models.WorkloadMonitorProvisioningState> * Azure.ResponseError * Nullable<Azure.Core.AzureLocation> * Nullable<Azure.ResourceManager.Workloads.Models.SapRoutingPreference> * string * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Workloads.SapMonitorData
Public Shared Function SapMonitorData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As UserAssignedServiceIdentity = Nothing, Optional provisioningState As Nullable(Of WorkloadMonitorProvisioningState) = Nothing, Optional errors As ResponseError = Nothing, Optional appLocation As Nullable(Of AzureLocation) = Nothing, Optional routingPreference As Nullable(Of SapRoutingPreference) = Nothing, Optional zoneRedundancyPreference As String = Nothing, Optional managedResourceGroupName As String = Nothing, Optional logAnalyticsWorkspaceArmId As ResourceIdentifier = Nothing, Optional monitorSubnetId As ResourceIdentifier = Nothing, Optional msiArmId As ResourceIdentifier = Nothing, Optional storageAccountArmId As ResourceIdentifier = Nothing) As SapMonitorData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
UserAssignedServiceIdentity

[currently not in use] Managed service identity(user assigned identities).

provisioningState
Nullable<WorkloadMonitorProvisioningState>

State of provisioning of the SAP monitor.

errors
ResponseError

Defines the SAP monitor errors.

appLocation
Nullable<AzureLocation>

The SAP monitor resources will be deployed in the SAP monitoring region. The subnet region should be same as the SAP monitoring region.

routingPreference
Nullable<SapRoutingPreference>

Sets the routing preference of the SAP monitor. By default only RFC1918 traffic is routed to the customer VNET.

zoneRedundancyPreference
String

Sets the preference for zone redundancy on resources created for the SAP monitor. By default resources will be created which do not support zone redundancy.

managedResourceGroupName
String

Managed resource group configuration.

logAnalyticsWorkspaceArmId
ResourceIdentifier

The ARM ID of the Log Analytics Workspace that is used for SAP monitoring.

monitorSubnetId
ResourceIdentifier

The subnet which the SAP monitor will be deployed in.

msiArmId
ResourceIdentifier

The ARM ID of the MSI used for SAP monitoring.

storageAccountArmId
ResourceIdentifier

The ARM ID of the Storage account used for SAP monitoring.

Returns

A new SapMonitorData instance for mocking.

Applies to