PrivateLinkResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. security. fluent. models. PrivateLinkResourceInner
- com.
- com.
- com.
public final class PrivateLinkResourceInner
extends Resource
A private link resource that enables secure, private connectivity to Microsoft Defender for Cloud services. This resource manages the lifecycle of private endpoint connections and provides the necessary infrastructure for private connectivity.
Constructor Summary
| Constructor | Description |
|---|---|
| PrivateLinkResourceInner() |
Creates an instance of Private |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Private |
fromJson(JsonReader jsonReader)
Reads an instance of Private |
| 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<Private |
privateEndpointConnections()
Get the private |
|
List<Private |
privateLinkResources()
Get the private |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Public |
publicNetworkAccess()
Get the public |
|
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. |
|
Private |
withLocation(String location) |
|
Private |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
|
Private |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
PrivateLinkResourceInner
public PrivateLinkResourceInner()
Creates an instance of PrivateLinkResourceInner class.
Method Details
fromJson
public static PrivateLinkResourceInner fromJson(JsonReader jsonReader)
Reads an instance of PrivateLinkResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PrivateLinkResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PrivateLinkResourceInner.name()Returns:
privateEndpointConnections
public List<PrivateEndpointConnectionInner> privateEndpointConnections()
Get the privateEndpointConnections property: List of private endpoint connections associated with this private link. Each connection represents a private endpoint from a customer's virtual network.
Returns:
privateLinkResources
public List<PrivateLinkGroupResourceInner> privateLinkResources()
Get the privateLinkResources property: List of private link resources available for connection. For Defender services, this typically includes the 'containers' group with 'api' and regional data endpoints.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The current provisioning state of the private link resource. Indicates whether the resource is being created, updated, deleted, or has completed successfully.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is disabled.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PrivateLinkResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PrivateLinkResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public PrivateLinkResourceInner withLocation(String location)
Overrides:
PrivateLinkResourceInner.withLocation(String location)Parameters:
withPublicNetworkAccess
public PrivateLinkResourceInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is disabled.
Parameters:
Returns:
withTags
public PrivateLinkResourceInner withTags(Map<String,String> tags)
Overrides:
PrivateLinkResourceInner.withTags(Map<String,String> tags)Parameters: