PrivateLinkResource Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. machinelearning. models. PrivateLinkResource
- com.
- com.
public final class PrivateLinkResource
extends ProxyResource
A private link resource.
Constructor Summary
| Constructor | Description |
|---|---|
| PrivateLinkResource() |
Creates an instance of Private |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
| String |
groupId()
Get the group |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
Managed |
identity()
Get the identity property: The identity of the resource. |
| String |
location()
Get the location property: Specifies the location of the resource. |
| String |
name()
Get the name property: The name of the resource. |
| List<String> |
requiredMembers()
Get the required |
| List<String> |
requiredZoneNames()
Get the required |
| Sku |
sku()
Get the sku property: The sku of the workspace. |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Contains resource tags defined as key/value pairs. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Private |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of the resource. |
|
Private |
withLocation(String location)
Set the location property: Specifies the location of the resource. |
|
Private |
withRequiredZoneNames(List<String> requiredZoneNames)
Set the required |
|
Private |
withSku(Sku sku)
Set the sku property: The sku of the workspace. |
|
Private |
withTags(Map<String,String> tags)
Set the tags property: Contains resource tags defined as key/value pairs. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkResource
public PrivateLinkResource()
Creates an instance of PrivateLinkResource class.
Method Details
fromJson
public static PrivateLinkResource fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkResource from the JsonReader.
Parameters:
Returns:
Throws:
groupId
public String groupId()
Get the groupId property: The private link resource group id.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PrivateLinkResource.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: The identity of the resource.
Returns:
location
public String location()
Get the location property: Specifies the location of the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PrivateLinkResource.name()Returns:
requiredMembers
public List<String> requiredMembers()
Get the requiredMembers property: The private link resource required member names.
Returns:
requiredZoneNames
public List<String> requiredZoneNames()
Get the requiredZoneNames property: The private link resource Private link DNS zone name.
Returns:
sku
public Sku sku()
Get the sku property: The sku of the workspace.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Contains resource tags defined as key/value pairs.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PrivateLinkResource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PrivateLinkResource.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public PrivateLinkResource withIdentity(ManagedServiceIdentity identity)
Set the identity property: The identity of the resource.
Parameters:
Returns:
withLocation
public PrivateLinkResource withLocation(String location)
Set the location property: Specifies the location of the resource.
Parameters:
Returns:
withRequiredZoneNames
public PrivateLinkResource withRequiredZoneNames(List<String> requiredZoneNames)
Set the requiredZoneNames property: The private link resource Private link DNS zone name.
Parameters:
Returns:
withSku
public PrivateLinkResource withSku(Sku sku)
Set the sku property: The sku of the workspace.
Parameters:
Returns:
withTags
public PrivateLinkResource withTags(Map<String,String> tags)
Set the tags property: Contains resource tags defined as key/value pairs.
Parameters:
Returns: