PrivateLinks Interface

public interface PrivateLinks

Resource collection API of PrivateLinks.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new PrivateLinkResource resource.

abstract void delete(String resourceGroupName, String privateLinkName, Context context)

Delete a private link resource.

abstract void deleteById(String id)

Delete a private link resource.

abstract void deleteByIdWithResponse(String id, Context context)

Delete a private link resource.

abstract void deleteByResourceGroup(String resourceGroupName, String privateLinkName)

Delete a private link resource.

abstract PrivateLinkResource getById(String id)

Get a private link resource.

abstract Response<PrivateLinkResource> getByIdWithResponse(String id, Context context)

Get a private link resource.

abstract PrivateLinkResource getByResourceGroup(String resourceGroupName, String privateLinkName)

Get a private link resource.

abstract Response<PrivateLinkResource> getByResourceGroupWithResponse(String resourceGroupName, String privateLinkName, Context context)

Get a private link resource.

abstract void head(String resourceGroupName, String privateLinkName)

Checks whether private link exists.

abstract Response<Void> headWithResponse(String resourceGroupName, String privateLinkName, Context context)

Checks whether private link exists.

abstract PagedIterable<PrivateLinkResource> list()

Lists all the private links in the specified subscription.

abstract PagedIterable<PrivateLinkResource> list(Context context)

Lists all the private links in the specified subscription.

abstract PagedIterable<PrivateLinkResource> listByResourceGroup(String resourceGroupName)

Lists all the private links in the specified resource group.

abstract PagedIterable<PrivateLinkResource> listByResourceGroup(String resourceGroupName, Context context)

Lists all the private links in the specified resource group.

Method Details

public abstract PrivateLinkResource.DefinitionStages.Blank define(String name)

Begins definition for a new PrivateLinkResource resource.

Parameters:

name - resource name.

Returns:

the first stage of the new PrivateLinkResource definition.

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:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkName - The name of the private link resource. Must be unique within the resource group and follow Azure naming conventions.
context - The context to associate with this operation.

public abstract void deleteById(String id)

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:

id - the resource ID.

public abstract void deleteByIdWithResponse(String id, 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:

id - the resource ID.
context - The context to associate with this operation.

public abstract void deleteByResourceGroup(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:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkName - The name of the private link resource. Must be unique within the resource group and follow Azure naming conventions.

public abstract PrivateLinkResource getById(String id)

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:

id - the resource ID.

Returns:

a private link resource along with Response<T>.

public abstract Response<PrivateLinkResource> getByIdWithResponse(String id, 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:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a private link resource along with Response<T>.

public abstract PrivateLinkResource 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:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkName - The name of the private link resource. Must be unique within the resource group and follow Azure naming conventions.

Returns:

a private link resource.

public abstract Response<PrivateLinkResource> 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:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkName - The name of the private link resource. Must be unique within the resource group and follow Azure naming conventions.
context - The context to associate with this operation.

Returns:

a private link resource along with Response<T>.

public abstract void head(String resourceGroupName, String privateLinkName)

Checks whether private link exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkName - The name of the private link resource. Must be unique within the resource group and follow Azure naming conventions.

public abstract Response<Void> headWithResponse(String resourceGroupName, String privateLinkName, Context context)

Checks whether private link exists.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateLinkName - The name of the private link resource. Must be unique within the resource group and follow Azure naming conventions.
context - The context to associate with this operation.

Returns:

public abstract PagedIterable<PrivateLinkResource> 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:

paginated list of private link resources as paginated response with PagedIterable<T>.

public abstract PagedIterable<PrivateLinkResource> 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:

context - The context to associate with this operation.

Returns:

paginated list of private link resources as paginated response with PagedIterable<T>.

public abstract PagedIterable<PrivateLinkResource> 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:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

paginated list of private link resources as paginated response with PagedIterable<T>.

public abstract PagedIterable<PrivateLinkResource> 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:

resourceGroupName - The name of the resource group. The name is case insensitive.
context - The context to associate with this operation.

Returns:

paginated list of private link resources as paginated response with PagedIterable<T>.

Applies to