Freigeben über


ArmAppContainersModelFactory.JavaComponentData Method

Definition

Initializes a new instance of JavaComponentData.

public static Azure.ResourceManager.AppContainers.JavaComponentData JavaComponentData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.AppContainers.Models.JavaComponentProperties properties = default);
static member JavaComponentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.ResourceManager.AppContainers.Models.JavaComponentProperties -> Azure.ResourceManager.AppContainers.JavaComponentData
Public Shared Function JavaComponentData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional properties As JavaComponentProperties = Nothing) As JavaComponentData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

properties
JavaComponentProperties

Java Component resource specific properties Please note JavaComponentProperties 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 SpringBootAdminComponent, SpringCloudConfigComponent and SpringCloudEurekaComponent.

Returns

A new JavaComponentData instance for mocking.

Applies to