Interface AssetEndpointProfilesClient
public interface AssetEndpointProfilesClient
An instance of this class provides access to all the operations defined in AssetEndpointProfilesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetEndpointProfileInner>,
AssetEndpointProfileInner> beginCreateOrReplace
(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileInner resource) Create a AssetEndpointProfile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetEndpointProfileInner>,
AssetEndpointProfileInner> beginCreateOrReplace
(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileInner resource, com.azure.core.util.Context context) Create a AssetEndpointProfile.beginDelete
(String resourceGroupName, String assetEndpointProfileName) Delete a AssetEndpointProfile.beginDelete
(String resourceGroupName, String assetEndpointProfileName, com.azure.core.util.Context context) Delete a AssetEndpointProfile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetEndpointProfileInner>,
AssetEndpointProfileInner> beginUpdate
(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileUpdate properties) Update a AssetEndpointProfile.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetEndpointProfileInner>,
AssetEndpointProfileInner> beginUpdate
(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileUpdate properties, com.azure.core.util.Context context) Update a AssetEndpointProfile.createOrReplace
(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileInner resource) Create a AssetEndpointProfile.createOrReplace
(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileInner resource, com.azure.core.util.Context context) Create a AssetEndpointProfile.void
Delete a AssetEndpointProfile.void
delete
(String resourceGroupName, String assetEndpointProfileName, com.azure.core.util.Context context) Delete a AssetEndpointProfile.getByResourceGroup
(String resourceGroupName, String assetEndpointProfileName) Get a AssetEndpointProfile.com.azure.core.http.rest.Response<AssetEndpointProfileInner>
getByResourceGroupWithResponse
(String resourceGroupName, String assetEndpointProfileName, com.azure.core.util.Context context) Get a AssetEndpointProfile.com.azure.core.http.rest.PagedIterable<AssetEndpointProfileInner>
list()
List AssetEndpointProfile resources by subscription ID.com.azure.core.http.rest.PagedIterable<AssetEndpointProfileInner>
list
(com.azure.core.util.Context context) List AssetEndpointProfile resources by subscription ID.com.azure.core.http.rest.PagedIterable<AssetEndpointProfileInner>
listByResourceGroup
(String resourceGroupName) List AssetEndpointProfile resources by resource group.com.azure.core.http.rest.PagedIterable<AssetEndpointProfileInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List AssetEndpointProfile resources by resource group.update
(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileUpdate properties) Update a AssetEndpointProfile.update
(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileUpdate properties, com.azure.core.util.Context context) Update a AssetEndpointProfile.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<AssetEndpointProfileInner> 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
AssetEndpointProfileInner getByResourceGroup(String resourceGroupName, String assetEndpointProfileName) 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.
-
beginCreateOrReplace
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetEndpointProfileInner>,AssetEndpointProfileInner> beginCreateOrReplace(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileInner resource) Create a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.resource
- Resource create parameters.- Returns:
- the
SyncPoller
for polling of asset Endpoint Profile definition. - 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.
-
beginCreateOrReplace
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetEndpointProfileInner>,AssetEndpointProfileInner> beginCreateOrReplace(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileInner resource, com.azure.core.util.Context context) Create a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of asset Endpoint Profile definition. - 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.
-
createOrReplace
AssetEndpointProfileInner createOrReplace(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileInner resource) Create a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.resource
- Resource create parameters.- Returns:
- asset Endpoint Profile definition.
- 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.
-
createOrReplace
AssetEndpointProfileInner createOrReplace(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileInner resource, com.azure.core.util.Context context) Create a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.resource
- Resource create parameters.context
- The context to associate with this operation.- Returns:
- asset Endpoint Profile definition.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetEndpointProfileInner>,AssetEndpointProfileInner> beginUpdate(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileUpdate properties) Update a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.properties
- The resource properties to be updated.- Returns:
- the
SyncPoller
for polling of asset Endpoint Profile definition. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetEndpointProfileInner>,AssetEndpointProfileInner> beginUpdate(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileUpdate properties, com.azure.core.util.Context context) Update a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.properties
- The resource properties to be updated.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of asset Endpoint Profile definition. - 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.
-
update
AssetEndpointProfileInner update(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileUpdate properties) Update a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.properties
- The resource properties to be updated.- Returns:
- asset Endpoint Profile definition.
- 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.
-
update
AssetEndpointProfileInner update(String resourceGroupName, String assetEndpointProfileName, AssetEndpointProfileUpdate properties, com.azure.core.util.Context context) Update a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.properties
- The resource properties to be updated.context
- The context to associate with this operation.- Returns:
- asset Endpoint Profile definition.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String assetEndpointProfileName) Delete a AssetEndpointProfile.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.assetEndpointProfileName
- Asset Endpoint Profile name parameter.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
delete
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<AssetEndpointProfileInner> 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<AssetEndpointProfileInner> 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<AssetEndpointProfileInner> 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<AssetEndpointProfileInner> 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.
-