共用方式為


ArmWorkloadsModelFactory.SapVirtualInstanceData Method

Definition

Initializes a new instance of SapVirtualInstanceData.

public static Azure.ResourceManager.Workloads.SapVirtualInstanceData SapVirtualInstanceData (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.SapEnvironmentType environment = default, Azure.ResourceManager.Workloads.Models.SapProductType sapProduct = default, Azure.ResourceManager.Workloads.Models.SapConfiguration configuration = default, string managedResourceGroupName = default, Azure.ResourceManager.Workloads.Models.SapVirtualInstanceStatus? status = default, Azure.ResourceManager.Workloads.Models.SapHealthState? health = default, Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState? state = default, Azure.ResourceManager.Workloads.Models.SapVirtualInstanceProvisioningState? provisioningState = default, Azure.ResourceManager.Workloads.Models.SapVirtualInstanceErrorDetail errorsProperties = default);
static member SapVirtualInstanceData : 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 * Azure.ResourceManager.Workloads.Models.SapEnvironmentType * Azure.ResourceManager.Workloads.Models.SapProductType * Azure.ResourceManager.Workloads.Models.SapConfiguration * string * Nullable<Azure.ResourceManager.Workloads.Models.SapVirtualInstanceStatus> * Nullable<Azure.ResourceManager.Workloads.Models.SapHealthState> * Nullable<Azure.ResourceManager.Workloads.Models.SapVirtualInstanceState> * Nullable<Azure.ResourceManager.Workloads.Models.SapVirtualInstanceProvisioningState> * Azure.ResourceManager.Workloads.Models.SapVirtualInstanceErrorDetail -> Azure.ResourceManager.Workloads.SapVirtualInstanceData
Public Shared Function SapVirtualInstanceData (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 environment As SapEnvironmentType = Nothing, Optional sapProduct As SapProductType = Nothing, Optional configuration As SapConfiguration = Nothing, Optional managedResourceGroupName As String = Nothing, Optional status As Nullable(Of SapVirtualInstanceStatus) = Nothing, Optional health As Nullable(Of SapHealthState) = Nothing, Optional state As Nullable(Of SapVirtualInstanceState) = Nothing, Optional provisioningState As Nullable(Of SapVirtualInstanceProvisioningState) = Nothing, Optional errorsProperties As SapVirtualInstanceErrorDetail = Nothing) As SapVirtualInstanceData

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

A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide.

environment
SapEnvironmentType

Defines the environment type - Production/Non Production.

sapProduct
SapProductType

Defines the SAP Product type.

configuration
SapConfiguration

Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS Please note SapConfiguration is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include DeploymentConfiguration, DeploymentWithOSConfiguration and DiscoveryConfiguration.

managedResourceGroupName
String

Managed resource group configuration.

status
Nullable<SapVirtualInstanceStatus>

Defines the SAP Instance status.

health
Nullable<SapHealthState>

Defines the health of SAP Instances.

state
Nullable<SapVirtualInstanceState>

Defines the Virtual Instance for SAP state.

provisioningState
Nullable<SapVirtualInstanceProvisioningState>

Defines the provisioning states.

errorsProperties
SapVirtualInstanceErrorDetail

Indicates any errors on the Virtual Instance for SAP solutions resource.

Returns

A new SapVirtualInstanceData instance for mocking.

Applies to