ManagedHsmResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. keyvault. models. ManagedHsmResource
- com.
- com.
- com.
public class ManagedHsmResource
extends Resource
Managed HSM resource.
Constructor Summary
Constructor | Description |
---|---|
ManagedHsmResource() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
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. |
Managed |
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. |
Managed |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities). |
Managed |
withLocation(String location) |
Managed |
withSku(ManagedHsmSku sku)
Set the sku property: SKU details. |
Managed |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ManagedHsmResource
public ManagedHsmResource()
Creates an instance of ManagedHsmResource class.
Method Details
fromJson
public static ManagedHsmResource fromJson(JsonReader jsonReader)
Reads an instance of ManagedHsmResource from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ManagedHsmResource.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:
ManagedHsmResource.name()Returns:
sku
public ManagedHsmSku sku()
Get the sku property: SKU details.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the key vault resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ManagedHsmResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ManagedHsmResource.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public ManagedHsmResource withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities).
Parameters:
Returns:
withLocation
public ManagedHsmResource withLocation(String location)
Overrides:
ManagedHsmResource.withLocation(String location)Parameters:
withSku
public ManagedHsmResource withSku(ManagedHsmSku sku)
Set the sku property: SKU details.
Parameters:
Returns:
withTags
public ManagedHsmResource withTags(Map
Overrides:
ManagedHsmResource.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java