Share via


ArmWorkloadsSapVirtualInstanceModelFactory.SapVirtualInstanceData Method

Definition

Initializes a new instance of SapVirtualInstanceData.

public static Azure.ResourceManager.WorkloadsSapVirtualInstance.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.WorkloadsSapVirtualInstance.Models.SapEnvironmentType? environment = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapProductType? sapProduct = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.ManagedResourcesNetworkAccessType? managedResourcesNetworkAccessType = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapConfiguration configuration = default, string managedResourceGroupName = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceStatus? status = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapHealthState? health = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceState? state = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceProvisioningState? provisioningState = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceErrorDetail errorsProperties = default, Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceIdentity identity = default);
static member SapVirtualInstanceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapEnvironmentType> * Nullable<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapProductType> * Nullable<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.ManagedResourcesNetworkAccessType> * Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapConfiguration * string * Nullable<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceStatus> * Nullable<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapHealthState> * Nullable<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceState> * Nullable<Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceProvisioningState> * Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceErrorDetail * Azure.ResourceManager.WorkloadsSapVirtualInstance.Models.SapVirtualInstanceIdentity -> Azure.ResourceManager.WorkloadsSapVirtualInstance.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 environment As Nullable(Of SapEnvironmentType) = Nothing, Optional sapProduct As Nullable(Of SapProductType) = Nothing, Optional managedResourcesNetworkAccessType As Nullable(Of ManagedResourcesNetworkAccessType) = 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, Optional identity As SapVirtualInstanceIdentity = 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.

environment
Nullable<SapEnvironmentType>

Defines the environment type - Production/Non Production.

sapProduct
Nullable<SapProductType>

Defines the SAP Product type.

managedResourcesNetworkAccessType
Nullable<ManagedResourcesNetworkAccessType>

Specifies the network access configuration for the resources that will be deployed in the Managed Resource Group. The options to choose from are Public and Private. If 'Private' is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. This is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account. Learn more here https://go.microsoft.com/fwlink/?linkid=2247228.

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.

identity
SapVirtualInstanceIdentity

The managed service identities assigned to this resource.

Returns

A new SapVirtualInstanceData instance for mocking.

Applies to