Interface AppLinks
public interface AppLinks
Resource collection API of AppLinks.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AppLink resource.voidDelete an AppLink.voiddeleteById(String id) Delete an AppLink.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete an AppLink.voiddeleteByResourceGroup(String resourceGroupName, String appLinkName) Delete an AppLink.Get an AppLink.com.azure.core.http.rest.Response<AppLink> getByIdWithResponse(String id, com.azure.core.util.Context context) Get an AppLink.getByResourceGroup(String resourceGroupName, String appLinkName) Get an AppLink.com.azure.core.http.rest.Response<AppLink> getByResourceGroupWithResponse(String resourceGroupName, String appLinkName, com.azure.core.util.Context context) Get an AppLink.com.azure.core.http.rest.PagedIterable<AppLink> list()List AppLink resources by subscription.com.azure.core.http.rest.PagedIterable<AppLink> list(com.azure.core.util.Context context) List AppLink resources by subscription.com.azure.core.http.rest.PagedIterable<AppLink> listByResourceGroup(String resourceGroupName) List AppLink resources by resource group.com.azure.core.http.rest.PagedIterable<AppLink> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List AppLink resources by resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AppLink> getByResourceGroupWithResponse(String resourceGroupName, String appLinkName, com.azure.core.util.Context context) Get an AppLink.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.appLinkName- The name of the AppLink.context- The context to associate with this operation.- Returns:
- an AppLink along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Get an AppLink.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.appLinkName- The name of the AppLink.- Returns:
- an AppLink.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByResourceGroup
Delete an AppLink.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.appLinkName- The name of the AppLink.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete an AppLink.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.appLinkName- The name of the AppLink.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
List AppLink resources by resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- the response of a AppLink list operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<AppLink> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List AppLink resources by resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- the response of a AppLink list operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<AppLink> list()List AppLink resources by subscription.- Returns:
- the response of a AppLink list operation as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
List AppLink resources by subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- the response of a AppLink list operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Get an AppLink.- Parameters:
id- the resource ID.- Returns:
- an AppLink along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdWithResponse
com.azure.core.http.rest.Response<AppLink> getByIdWithResponse(String id, com.azure.core.util.Context context) Get an AppLink.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- an AppLink along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Delete an AppLink.- Parameters:
id- the resource ID.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
Delete an AppLink.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
define
Begins definition for a new AppLink resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new AppLink definition.
-