你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedHsmInner Class

public final class ManagedHsmInner
extends ManagedHsmResource

Resource information with extended details.

Constructor Summary

Constructor Description
ManagedHsmInner()

Creates an instance of ManagedHsmInner class.

Method Summary

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

Reads an instance of ManagedHsmInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

ManagedHsmProperties properties()

Get the properties property: Properties of the managed HSM.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the key vault resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ManagedHsmInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

ManagedHsmInner withLocation(String location)
ManagedHsmInner withProperties(ManagedHsmProperties properties)

Set the properties property: Properties of the managed HSM.

ManagedHsmInner withSku(ManagedHsmSku sku)

Set the sku property: SKU details.

ManagedHsmInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ManagedHsmResource

Methods inherited from java.lang.Object

Constructor Details

ManagedHsmInner

public ManagedHsmInner()

Creates an instance of ManagedHsmInner class.

Method Details

fromJson

public static ManagedHsmInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedHsmInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ManagedHsmInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedHsmInner.name()

Returns:

the name value.

properties

public ManagedHsmProperties properties()

Get the properties property: Properties of the managed HSM.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the key vault resource.

Overrides:

ManagedHsmInner.systemData()

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedHsmInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedHsmInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ManagedHsmInner.validate()

withIdentity

public ManagedHsmInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

Overrides:

ManagedHsmInner.withIdentity(ManagedServiceIdentity identity)

Parameters:

identity

withLocation

public ManagedHsmInner withLocation(String location)

Overrides:

ManagedHsmInner.withLocation(String location)

Parameters:

location

withProperties

public ManagedHsmInner withProperties(ManagedHsmProperties properties)

Set the properties property: Properties of the managed HSM.

Parameters:

properties - the properties value to set.

Returns:

the ManagedHsmInner object itself.

withSku

public ManagedHsmInner withSku(ManagedHsmSku sku)

Set the sku property: SKU details.

Overrides:

ManagedHsmInner.withSku(ManagedHsmSku sku)

Parameters:

sku

withTags

public ManagedHsmInner withTags(Map tags)

Overrides:

ManagedHsmInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to