MhsmPrivateLinkResource Class

public final class MhsmPrivateLinkResource
extends ManagedHsmResource

A private link resource.

Constructor Summary

Constructor Description
MhsmPrivateLinkResource()

Creates an instance of MhsmPrivateLinkResource class.

Method Summary

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

Reads an instance of MhsmPrivateLinkResource from the JsonReader.

String groupId()

Get the groupId property: Group identifier of private link resource.

String id()

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

String name()

Get the name property: The name of the resource.

List<String> requiredMembers()

Get the requiredMembers property: Required member names of private link resource.

List<String> requiredZoneNames()

Get the requiredZoneNames property: Required DNS zone names of the the private link resource.

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.

MhsmPrivateLinkResource withIdentity(ManagedServiceIdentity identity)

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

MhsmPrivateLinkResource withLocation(String location)
MhsmPrivateLinkResource withRequiredZoneNames(List<String> requiredZoneNames)

Set the requiredZoneNames property: Required DNS zone names of the the private link resource.

MhsmPrivateLinkResource withSku(ManagedHsmSku sku)

Set the sku property: SKU details.

MhsmPrivateLinkResource withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from ManagedHsmResource

Methods inherited from java.lang.Object

Constructor Details

MhsmPrivateLinkResource

public MhsmPrivateLinkResource()

Creates an instance of MhsmPrivateLinkResource class.

Method Details

fromJson

public static MhsmPrivateLinkResource fromJson(JsonReader jsonReader)

Reads an instance of MhsmPrivateLinkResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MhsmPrivateLinkResource 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.

groupId

public String groupId()

Get the groupId property: Group identifier of private link resource.

Returns:

the groupId value.

id

public String id()

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

Overrides:

MhsmPrivateLinkResource.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MhsmPrivateLinkResource.name()

Returns:

the name value.

requiredMembers

public List requiredMembers()

Get the requiredMembers property: Required member names of private link resource.

Returns:

the requiredMembers value.

requiredZoneNames

public List requiredZoneNames()

Get the requiredZoneNames property: Required DNS zone names of the the private link resource.

Returns:

the requiredZoneNames value.

systemData

public SystemData systemData()

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

Overrides:

MhsmPrivateLinkResource.systemData()

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MhsmPrivateLinkResource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MhsmPrivateLinkResource.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

MhsmPrivateLinkResource.validate()

withIdentity

public MhsmPrivateLinkResource withIdentity(ManagedServiceIdentity identity)

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

Overrides:

MhsmPrivateLinkResource.withIdentity(ManagedServiceIdentity identity)

Parameters:

identity

withLocation

public MhsmPrivateLinkResource withLocation(String location)

Overrides:

MhsmPrivateLinkResource.withLocation(String location)

Parameters:

location

withRequiredZoneNames

public MhsmPrivateLinkResource withRequiredZoneNames(List requiredZoneNames)

Set the requiredZoneNames property: Required DNS zone names of the the private link resource.

Parameters:

requiredZoneNames - the requiredZoneNames value to set.

Returns:

the MhsmPrivateLinkResource object itself.

withSku

public MhsmPrivateLinkResource withSku(ManagedHsmSku sku)

Set the sku property: SKU details.

Overrides:

MhsmPrivateLinkResource.withSku(ManagedHsmSku sku)

Parameters:

sku

withTags

public MhsmPrivateLinkResource withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to