共用方式為


ArmWorkloadsModelFactory.DiscoveryConfiguration Method

Definition

Initializes a new instance of DiscoveryConfiguration.

public static Azure.ResourceManager.Workloads.Models.DiscoveryConfiguration DiscoveryConfiguration (Azure.Core.ResourceIdentifier centralServerVmId = default, string managedRgStorageAccountName = default, Azure.Core.AzureLocation? appLocation = default);
static member DiscoveryConfiguration : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.Workloads.Models.DiscoveryConfiguration
Public Shared Function DiscoveryConfiguration (Optional centralServerVmId As ResourceIdentifier = Nothing, Optional managedRgStorageAccountName As String = Nothing, Optional appLocation As Nullable(Of AzureLocation) = Nothing) As DiscoveryConfiguration

Parameters

centralServerVmId
ResourceIdentifier

The virtual machine ID of the Central Server.

managedRgStorageAccountName
String

The custom storage account name for the storage account created by the service in the managed resource group created as part of VIS deployment.<br><br>Refer to the storage account naming rules here.<br><br>If not provided, the service will create the storage account with a random name.

appLocation
Nullable<AzureLocation>

The geo-location where the SAP system exists.

Returns

A new DiscoveryConfiguration instance for mocking.

Applies to