Interface AssetEndpointProfiles
public interface AssetEndpointProfiles
Resource collection API of AssetEndpointProfiles.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new AssetEndpointProfile resource.void
delete
(String resourceGroupName, String assetEndpointProfileName, com.azure.core.util.Context context) Delete a AssetEndpointProfile.void
deleteById
(String id) Delete a AssetEndpointProfile.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a AssetEndpointProfile.void
deleteByResourceGroup
(String resourceGroupName, String assetEndpointProfileName) Delete a AssetEndpointProfile.Get a AssetEndpointProfile.com.azure.core.http.rest.Response<AssetEndpointProfile>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a AssetEndpointProfile.getByResourceGroup
(String resourceGroupName, String assetEndpointProfileName) Get a AssetEndpointProfile.com.azure.core.http.rest.Response<AssetEndpointProfile>
getByResourceGroupWithResponse
(String resourceGroupName, String assetEndpointProfileName, com.azure.core.util.Context context) Get a AssetEndpointProfile.com.azure.core.http.rest.PagedIterable<AssetEndpointProfile>
list()
List AssetEndpointProfile resources by subscription ID.com.azure.core.http.rest.PagedIterable<AssetEndpointProfile>
list
(com.azure.core.util.Context context) List AssetEndpointProfile resources by subscription ID.com.azure.core.http.rest.PagedIterable<AssetEndpointProfile>
listByResourceGroup
(String resourceGroupName) List AssetEndpointProfile resources by resource group.com.azure.core.http.rest.PagedIterable<AssetEndpointProfile>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List AssetEndpointProfile resources by resource group.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AssetEndpointProfile> getByResourceGroupWithResponse(String resourceGroupName, String assetEndpointProfileName, com.azure.core.util.Context context) Get a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.context
- The context to associate with this operation.- Returns:
- a AssetEndpointProfile 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 a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.- Returns:
- a AssetEndpointProfile.
- 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 a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.- 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
void delete(String resourceGroupName, String assetEndpointProfileName, com.azure.core.util.Context context) Delete a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.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
com.azure.core.http.rest.PagedIterable<AssetEndpointProfile> listByResourceGroup(String resourceGroupName) List AssetEndpointProfile resources by resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the response of a AssetEndpointProfile 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<AssetEndpointProfile> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List AssetEndpointProfile 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 AssetEndpointProfile 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<AssetEndpointProfile> list()List AssetEndpointProfile resources by subscription ID.- Returns:
- the response of a AssetEndpointProfile 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
com.azure.core.http.rest.PagedIterable<AssetEndpointProfile> list(com.azure.core.util.Context context) List AssetEndpointProfile resources by subscription ID.- Parameters:
context
- The context to associate with this operation.- Returns:
- the response of a AssetEndpointProfile 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 a AssetEndpointProfile.- Parameters:
id
- the resource ID.- Returns:
- a AssetEndpointProfile 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<AssetEndpointProfile> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a AssetEndpointProfile.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a AssetEndpointProfile 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 a AssetEndpointProfile.- 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 a AssetEndpointProfile.- 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 AssetEndpointProfile resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new AssetEndpointProfile definition.
-