HybridComputePrivateLinkScopeInner Class

public final class HybridComputePrivateLinkScopeInner
extends PrivateLinkScopesResource

An Azure Arc PrivateLinkScope definition.

Constructor Summary

Constructor Description
HybridComputePrivateLinkScopeInner()

Creates an instance of HybridComputePrivateLinkScopeInner class.

Method Summary

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

Reads an instance of HybridComputePrivateLinkScopeInner 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.

HybridComputePrivateLinkScopeProperties properties()

Get the properties property: Properties that define a Azure Arc PrivateLinkScope resource.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

HybridComputePrivateLinkScopeInner withLocation(String location)
HybridComputePrivateLinkScopeInner withProperties(HybridComputePrivateLinkScopeProperties properties)

Set the properties property: Properties that define a Azure Arc PrivateLinkScope resource.

HybridComputePrivateLinkScopeInner withTags(Map<String,String> tags)

Methods inherited from Resource

Methods inherited from PrivateLinkScopesResource

Methods inherited from java.lang.Object

Constructor Details

HybridComputePrivateLinkScopeInner

public HybridComputePrivateLinkScopeInner()

Creates an instance of HybridComputePrivateLinkScopeInner class.

Method Details

fromJson

public static HybridComputePrivateLinkScopeInner fromJson(JsonReader jsonReader)

Reads an instance of HybridComputePrivateLinkScopeInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of HybridComputePrivateLinkScopeInner 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:

HybridComputePrivateLinkScopeInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

HybridComputePrivateLinkScopeInner.name()

Returns:

the name value.

properties

public HybridComputePrivateLinkScopeProperties properties()

Get the properties property: Properties that define a Azure Arc PrivateLinkScope resource.

Returns:

the properties value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

HybridComputePrivateLinkScopeInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

HybridComputePrivateLinkScopeInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

HybridComputePrivateLinkScopeInner.validate()

withLocation

public HybridComputePrivateLinkScopeInner withLocation(String location)

Overrides:

HybridComputePrivateLinkScopeInner.withLocation(String location)

Parameters:

location

withProperties

public HybridComputePrivateLinkScopeInner withProperties(HybridComputePrivateLinkScopeProperties properties)

Set the properties property: Properties that define a Azure Arc PrivateLinkScope resource.

Parameters:

properties - the properties value to set.

Returns:

the HybridComputePrivateLinkScopeInner object itself.

withTags

public HybridComputePrivateLinkScopeInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to

Azure SDK for Java

Preview