Partager via


DedicatedHsmProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.hardwaresecuritymodules.models.DedicatedHsmProperties

Implements

public final class DedicatedHsmProperties
implements JsonSerializable<DedicatedHsmProperties>

Properties of the dedicated hsm.

Constructor Summary

Constructor Description
DedicatedHsmProperties()

Creates an instance of DedicatedHsmProperties class.

Method Summary

Modifier and Type Method and Description
static DedicatedHsmProperties fromJson(JsonReader jsonReader)

Reads an instance of DedicatedHsmProperties from the JsonReader.

NetworkProfile managementNetworkProfile()

Get the managementNetworkProfile property: Specifies the management network interfaces of the dedicated hsm.

NetworkProfile networkProfile()

Get the networkProfile property: Specifies the network interfaces of the dedicated hsm.

JsonWebKeyType provisioningState()

Get the provisioningState property: Provisioning state.

String stampId()

Get the stampId property: This field will be used when RP does not support Availability zones.

String statusMessage()

Get the statusMessage property: Resource Status Message.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DedicatedHsmProperties withManagementNetworkProfile(NetworkProfile managementNetworkProfile)

Set the managementNetworkProfile property: Specifies the management network interfaces of the dedicated hsm.

DedicatedHsmProperties withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Specifies the network interfaces of the dedicated hsm.

DedicatedHsmProperties withStampId(String stampId)

Set the stampId property: This field will be used when RP does not support Availability zones.

Methods inherited from java.lang.Object

Constructor Details

DedicatedHsmProperties

public DedicatedHsmProperties()

Creates an instance of DedicatedHsmProperties class.

Method Details

fromJson

public static DedicatedHsmProperties fromJson(JsonReader jsonReader)

Reads an instance of DedicatedHsmProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DedicatedHsmProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DedicatedHsmProperties.

managementNetworkProfile

public NetworkProfile managementNetworkProfile()

Get the managementNetworkProfile property: Specifies the management network interfaces of the dedicated hsm.

Returns:

the managementNetworkProfile value.

networkProfile

public NetworkProfile networkProfile()

Get the networkProfile property: Specifies the network interfaces of the dedicated hsm.

Returns:

the networkProfile value.

provisioningState

public JsonWebKeyType provisioningState()

Get the provisioningState property: Provisioning state.

Returns:

the provisioningState value.

stampId

public String stampId()

Get the stampId property: This field will be used when RP does not support Availability zones.

Returns:

the stampId value.

statusMessage

public String statusMessage()

Get the statusMessage property: Resource Status Message.

Returns:

the statusMessage value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withManagementNetworkProfile

public DedicatedHsmProperties withManagementNetworkProfile(NetworkProfile managementNetworkProfile)

Set the managementNetworkProfile property: Specifies the management network interfaces of the dedicated hsm.

Parameters:

managementNetworkProfile - the managementNetworkProfile value to set.

Returns:

the DedicatedHsmProperties object itself.

withNetworkProfile

public DedicatedHsmProperties withNetworkProfile(NetworkProfile networkProfile)

Set the networkProfile property: Specifies the network interfaces of the dedicated hsm.

Parameters:

networkProfile - the networkProfile value to set.

Returns:

the DedicatedHsmProperties object itself.

withStampId

public DedicatedHsmProperties withStampId(String stampId)

Set the stampId property: This field will be used when RP does not support Availability zones.

Parameters:

stampId - the stampId value to set.

Returns:

the DedicatedHsmProperties object itself.

Applies to