CloudHsmClusterResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. hardwaresecuritymodules. models. CloudHsmClusterResource
- com.
- com.
- com.
public class CloudHsmClusterResource
extends Resource
Cloud HSM Cluster Resource.
Constructor Summary
| Constructor | Description |
|---|---|
| CloudHsmClusterResource() |
Creates an instance of Cloud |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities). |
| String |
name()
Get the name property: The name of the resource. |
|
Cloud |
sku()
Get the sku property: SKU details. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Cloud |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities). |
|
Cloud |
withLocation(String location) |
|
Cloud |
withSku(CloudHsmClusterSku sku)
Set the sku property: SKU details. |
|
Cloud |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
CloudHsmClusterResource
public CloudHsmClusterResource()
Creates an instance of CloudHsmClusterResource class.
Method Details
fromJson
public static CloudHsmClusterResource fromJson(JsonReader jsonReader)
Reads an instance of CloudHsmClusterResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CloudHsmClusterResource.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities).
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CloudHsmClusterResource.name()Returns:
sku
public CloudHsmClusterSku sku()
Get the sku property: SKU details.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CloudHsmClusterResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CloudHsmClusterResource.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public CloudHsmClusterResource withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities).
Parameters:
Returns:
withLocation
public CloudHsmClusterResource withLocation(String location)
Overrides:
CloudHsmClusterResource.withLocation(String location)Parameters:
withSku
public CloudHsmClusterResource withSku(CloudHsmClusterSku sku)
Set the sku property: SKU details.
Parameters:
Returns:
withTags
public CloudHsmClusterResource withTags(Map<String,String> tags)
Overrides:
CloudHsmClusterResource.withTags(Map<String,String> tags)Parameters: