Class DedicatedHsmInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.hardwaresecuritymodules.fluent.models.DedicatedHsmInner
-
public final class DedicatedHsmInner extends com.azure.core.management.Resource
Resource information with extended details.
-
-
Constructor Summary
Constructors Constructor Description DedicatedHsmInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.Sku
sku()
Get the sku property: SKU details.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.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.DedicatedHsmInner
withLocation(String location)
DedicatedHsmInner
withManagementNetworkProfile(NetworkProfile managementNetworkProfile)
Set the managementNetworkProfile property: Specifies the management network interfaces of the dedicated hsm.DedicatedHsmInner
withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Specifies the network interfaces of the dedicated hsm.DedicatedHsmInner
withSku(Sku sku)
Set the sku property: SKU details.DedicatedHsmInner
withStampId(String stampId)
Set the stampId property: This field will be used when RP does not support Availability zones.DedicatedHsmInner
withTags(Map<String,String> tags)
DedicatedHsmInner
withZones(List<String> zones)
Set the zones property: The Dedicated Hsm zones.List<String>
zones()
Get the zones property: The Dedicated Hsm zones.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
sku
public Sku sku()
Get the sku property: SKU details.- Returns:
- the sku value.
-
withSku
public DedicatedHsmInner withSku(Sku sku)
Set the sku property: SKU details.- Parameters:
sku
- the sku value to set.- Returns:
- the DedicatedHsmInner object itself.
-
zones
public List<String> zones()
Get the zones property: The Dedicated Hsm zones.- Returns:
- the zones value.
-
withZones
public DedicatedHsmInner withZones(List<String> zones)
Set the zones property: The Dedicated Hsm zones.- Parameters:
zones
- the zones value to set.- Returns:
- the DedicatedHsmInner object itself.
-
withLocation
public DedicatedHsmInner withLocation(String location)
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
public DedicatedHsmInner withTags(Map<String,String> tags)
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
networkProfile
public NetworkProfile networkProfile()
Get the networkProfile property: Specifies the network interfaces of the dedicated hsm.- Returns:
- the networkProfile value.
-
withNetworkProfile
public DedicatedHsmInner withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: Specifies the network interfaces of the dedicated hsm.- Parameters:
networkProfile
- the networkProfile value to set.- Returns:
- the DedicatedHsmInner object itself.
-
managementNetworkProfile
public NetworkProfile managementNetworkProfile()
Get the managementNetworkProfile property: Specifies the management network interfaces of the dedicated hsm.- Returns:
- the managementNetworkProfile value.
-
withManagementNetworkProfile
public DedicatedHsmInner 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 DedicatedHsmInner object itself.
-
stampId
public String stampId()
Get the stampId property: This field will be used when RP does not support Availability zones.- Returns:
- the stampId value.
-
withStampId
public DedicatedHsmInner 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 DedicatedHsmInner object itself.
-
statusMessage
public String statusMessage()
Get the statusMessage property: Resource Status Message.- Returns:
- the statusMessage value.
-
provisioningState
public JsonWebKeyType provisioningState()
Get the provisioningState property: Provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-