PrivateLinksClient Interface
public interface PrivateLinksClient
An instance of this class provides access to all the operations defined in PrivateLinksClient.
Method Summary
Method Details
beginCreate
public abstract SyncPoller<PollResult<PrivateLinkResourceInner>,PrivateLinkResourceInner> beginCreate(String resourceGroupName, String privateLinkName, PrivateLinkResourceInner privateLink)
Create a private link resource. This operation creates the necessary infrastructure to enable private endpoint connections to Microsoft Defender for Cloud services. For updates to existing resources, use the PATCH operation. The operation is asynchronous and may take several minutes to complete.
Parameters:
Returns:
beginCreate
public abstract SyncPoller<PollResult<PrivateLinkResourceInner>,PrivateLinkResourceInner> beginCreate(String resourceGroupName, String privateLinkName, PrivateLinkResourceInner privateLink, Context context)
Create a private link resource. This operation creates the necessary infrastructure to enable private endpoint connections to Microsoft Defender for Cloud services. For updates to existing resources, use the PATCH operation. The operation is asynchronous and may take several minutes to complete.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateLinkName)
Delete a private link resource. This operation will remove the private link infrastructure and disconnect all associated private endpoints. This operation is asynchronous and may take several minutes to complete.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateLinkName, Context context)
Delete a private link resource. This operation will remove the private link infrastructure and disconnect all associated private endpoints. This operation is asynchronous and may take several minutes to complete.
Parameters:
Returns:
create
public abstract PrivateLinkResourceInner create(String resourceGroupName, String privateLinkName, PrivateLinkResourceInner privateLink)
Create a private link resource. This operation creates the necessary infrastructure to enable private endpoint connections to Microsoft Defender for Cloud services. For updates to existing resources, use the PATCH operation. The operation is asynchronous and may take several minutes to complete.
Parameters:
Returns:
create
public abstract PrivateLinkResourceInner create(String resourceGroupName, String privateLinkName, PrivateLinkResourceInner privateLink, Context context)
Create a private link resource. This operation creates the necessary infrastructure to enable private endpoint connections to Microsoft Defender for Cloud services. For updates to existing resources, use the PATCH operation. The operation is asynchronous and may take several minutes to complete.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String privateLinkName)
Delete a private link resource. This operation will remove the private link infrastructure and disconnect all associated private endpoints. This operation is asynchronous and may take several minutes to complete.
Parameters:
delete
public abstract void delete(String resourceGroupName, String privateLinkName, Context context)
Delete a private link resource. This operation will remove the private link infrastructure and disconnect all associated private endpoints. This operation is asynchronous and may take several minutes to complete.
Parameters:
getByResourceGroup
public abstract PrivateLinkResourceInner getByResourceGroup(String resourceGroupName, String privateLinkName)
Get a private link resource. Returns the configuration and status of private endpoint connectivity for Microsoft Defender for Cloud services in the specified region.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<PrivateLinkResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String privateLinkName, Context context)
Get a private link resource. Returns the configuration and status of private endpoint connectivity for Microsoft Defender for Cloud services in the specified region.
Parameters:
Returns:
head
public abstract void head(String resourceGroupName, String privateLinkName)
Checks whether private link exists.
Parameters:
headWithResponse
public abstract Response<Void> headWithResponse(String resourceGroupName, String privateLinkName, Context context)
Checks whether private link exists.
Parameters:
Returns:
list
public abstract PagedIterable<PrivateLinkResourceInner> list()
Lists all the private links in the specified subscription. private links enable secure, private connectivity to Microsoft Defender for Cloud services without exposing traffic to the public internet. Use the 'nextLink' property in the response to get the next page of private links for the specified subscription.
Returns:
list
public abstract PagedIterable<PrivateLinkResourceInner> list(Context context)
Lists all the private links in the specified subscription. private links enable secure, private connectivity to Microsoft Defender for Cloud services without exposing traffic to the public internet. Use the 'nextLink' property in the response to get the next page of private links for the specified subscription.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<PrivateLinkResourceInner> listByResourceGroup(String resourceGroupName)
Lists all the private links in the specified resource group. private links enable secure, private connectivity to Microsoft Defender for Cloud services without exposing traffic to the public internet. Use the 'nextLink' property in the response to get the next page of private links for the specified resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<PrivateLinkResourceInner> listByResourceGroup(String resourceGroupName, Context context)
Lists all the private links in the specified resource group. private links enable secure, private connectivity to Microsoft Defender for Cloud services without exposing traffic to the public internet. Use the 'nextLink' property in the response to get the next page of private links for the specified resource group.
Parameters:
Returns:
update
public abstract PrivateLinkResourceInner update(String resourceGroupName, String privateLinkName, PrivateLinkUpdate privateLink)
Update specific properties of a private link resource. Use this operation to update mutable properties like tags without affecting the entire resource configuration.
Parameters:
Returns:
updateWithResponse
public abstract Response<PrivateLinkResourceInner> updateWithResponse(String resourceGroupName, String privateLinkName, PrivateLinkUpdate privateLink, Context context)
Update specific properties of a private link resource. Use this operation to update mutable properties like tags without affecting the entire resource configuration.
Parameters:
Returns: