StorageAppliancesClient Interface

public interface StorageAppliancesClient

An instance of this class provides access to all the operations defined in StorageAppliancesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<StorageApplianceInner>,StorageApplianceInner> beginCreateOrUpdate(String resourceGroupName, String storageApplianceName, StorageApplianceInner storageApplianceParameters)

Create a new storage appliance or update the properties of the existing one.

abstract SyncPoller<PollResult<StorageApplianceInner>,StorageApplianceInner> beginCreateOrUpdate(String resourceGroupName, String storageApplianceName, StorageApplianceInner storageApplianceParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new storage appliance or update the properties of the existing one.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageApplianceName)

Delete the provided storage appliance.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageApplianceName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided storage appliance.

abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginDisableRemoteVendorManagement(String resourceGroupName, String storageApplianceName)

Disable remote vendor management of the provided storage appliance.

abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginDisableRemoteVendorManagement(String resourceGroupName, String storageApplianceName, Context context)

Disable remote vendor management of the provided storage appliance.

abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginEnableRemoteVendorManagement(String resourceGroupName, String storageApplianceName)

Enable remote vendor management of the provided storage appliance.

abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginEnableRemoteVendorManagement(String resourceGroupName, String storageApplianceName, StorageApplianceEnableRemoteVendorManagementParameters storageApplianceEnableRemoteVendorManagementParameters, Context context)

Enable remote vendor management of the provided storage appliance.

abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginRunReadCommands(String resourceGroupName, String storageApplianceName, StorageApplianceRunReadCommandsParameters storageApplianceRunReadCommandsParameters)

Run one or more read-only commands on the provided storage appliance.

abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginRunReadCommands(String resourceGroupName, String storageApplianceName, StorageApplianceRunReadCommandsParameters storageApplianceRunReadCommandsParameters, Context context)

Run one or more read-only commands on the provided storage appliance.

abstract SyncPoller<PollResult<StorageApplianceInner>,StorageApplianceInner> beginUpdate(String resourceGroupName, String storageApplianceName)

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

abstract SyncPoller<PollResult<StorageApplianceInner>,StorageApplianceInner> beginUpdate(String resourceGroupName, String storageApplianceName, String ifMatch, String ifNoneMatch, StorageAppliancePatchParameters storageApplianceUpdateParameters, Context context)

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

abstract StorageApplianceInner createOrUpdate(String resourceGroupName, String storageApplianceName, StorageApplianceInner storageApplianceParameters)

Create a new storage appliance or update the properties of the existing one.

abstract StorageApplianceInner createOrUpdate(String resourceGroupName, String storageApplianceName, StorageApplianceInner storageApplianceParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new storage appliance or update the properties of the existing one.

abstract void delete(String resourceGroupName, String storageApplianceName)

Delete the provided storage appliance.

abstract void delete(String resourceGroupName, String storageApplianceName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided storage appliance.

abstract OperationStatusResult disableRemoteVendorManagement(String resourceGroupName, String storageApplianceName)

Disable remote vendor management of the provided storage appliance.

abstract OperationStatusResult disableRemoteVendorManagement(String resourceGroupName, String storageApplianceName, Context context)

Disable remote vendor management of the provided storage appliance.

abstract OperationStatusResult enableRemoteVendorManagement(String resourceGroupName, String storageApplianceName)

Enable remote vendor management of the provided storage appliance.

abstract OperationStatusResult enableRemoteVendorManagement(String resourceGroupName, String storageApplianceName, StorageApplianceEnableRemoteVendorManagementParameters storageApplianceEnableRemoteVendorManagementParameters, Context context)

Enable remote vendor management of the provided storage appliance.

abstract StorageApplianceInner getByResourceGroup(String resourceGroupName, String storageApplianceName)

Get properties of the provided storage appliance.

abstract Response<StorageApplianceInner> getByResourceGroupWithResponse(String resourceGroupName, String storageApplianceName, Context context)

Get properties of the provided storage appliance.

abstract PagedIterable<StorageApplianceInner> list()

Get a list of storage appliances in the provided subscription.

abstract PagedIterable<StorageApplianceInner> list(Integer top, String skipToken, Context context)

Get a list of storage appliances in the provided subscription.

abstract PagedIterable<StorageApplianceInner> listByResourceGroup(String resourceGroupName)

Get a list of storage appliances in the provided resource group.

abstract PagedIterable<StorageApplianceInner> listByResourceGroup(String resourceGroupName, Integer top, String skipToken, Context context)

Get a list of storage appliances in the provided resource group.

abstract OperationStatusResult runReadCommands(String resourceGroupName, String storageApplianceName, StorageApplianceRunReadCommandsParameters storageApplianceRunReadCommandsParameters)

Run one or more read-only commands on the provided storage appliance.

abstract OperationStatusResult runReadCommands(String resourceGroupName, String storageApplianceName, StorageApplianceRunReadCommandsParameters storageApplianceRunReadCommandsParameters, Context context)

Run one or more read-only commands on the provided storage appliance.

abstract StorageApplianceInner update(String resourceGroupName, String storageApplianceName)

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

abstract StorageApplianceInner update(String resourceGroupName, String storageApplianceName, String ifMatch, String ifNoneMatch, StorageAppliancePatchParameters storageApplianceUpdateParameters, Context context)

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<StorageApplianceInner>,StorageApplianceInner> beginCreateOrUpdate(String resourceGroupName, String storageApplianceName, StorageApplianceInner storageApplianceParameters)

Create a new storage appliance or update the properties of the existing one. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceParameters - The request body.

Returns:

the SyncPoller<T,U> for polling of storageAppliance represents on-premises Network Cloud storage appliance.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<StorageApplianceInner>,StorageApplianceInner> beginCreateOrUpdate(String resourceGroupName, String storageApplianceName, StorageApplianceInner storageApplianceParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new storage appliance or update the properties of the existing one. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceParameters - The request body.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of storageAppliance represents on-premises Network Cloud storage appliance.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageApplianceName)

Delete the provided storage appliance. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String storageApplianceName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided storage appliance. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDisableRemoteVendorManagement

public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginDisableRemoteVendorManagement(String resourceGroupName, String storageApplianceName)

Disable remote vendor management of the provided storage appliance.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDisableRemoteVendorManagement

public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginDisableRemoteVendorManagement(String resourceGroupName, String storageApplianceName, Context context)

Disable remote vendor management of the provided storage appliance.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginEnableRemoteVendorManagement

public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginEnableRemoteVendorManagement(String resourceGroupName, String storageApplianceName)

Enable remote vendor management of the provided storage appliance.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginEnableRemoteVendorManagement

public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginEnableRemoteVendorManagement(String resourceGroupName, String storageApplianceName, StorageApplianceEnableRemoteVendorManagementParameters storageApplianceEnableRemoteVendorManagementParameters, Context context)

Enable remote vendor management of the provided storage appliance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceEnableRemoteVendorManagementParameters - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRunReadCommands

public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginRunReadCommands(String resourceGroupName, String storageApplianceName, StorageApplianceRunReadCommandsParameters storageApplianceRunReadCommandsParameters)

Run one or more read-only commands on the provided storage appliance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceRunReadCommandsParameters - The request body.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginRunReadCommands

public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginRunReadCommands(String resourceGroupName, String storageApplianceName, StorageApplianceRunReadCommandsParameters storageApplianceRunReadCommandsParameters, Context context)

Run one or more read-only commands on the provided storage appliance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceRunReadCommandsParameters - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<StorageApplianceInner>,StorageApplianceInner> beginUpdate(String resourceGroupName, String storageApplianceName)

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of storageAppliance represents on-premises Network Cloud storage appliance.

beginUpdate

public abstract SyncPoller<PollResult<StorageApplianceInner>,StorageApplianceInner> beginUpdate(String resourceGroupName, String storageApplianceName, String ifMatch, String ifNoneMatch, StorageAppliancePatchParameters storageApplianceUpdateParameters, Context context)

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
storageApplianceUpdateParameters - The request body.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of storageAppliance represents on-premises Network Cloud storage appliance.

createOrUpdate

public abstract StorageApplianceInner createOrUpdate(String resourceGroupName, String storageApplianceName, StorageApplianceInner storageApplianceParameters)

Create a new storage appliance or update the properties of the existing one. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceParameters - The request body.

Returns:

storageAppliance represents on-premises Network Cloud storage appliance.

createOrUpdate

public abstract StorageApplianceInner createOrUpdate(String resourceGroupName, String storageApplianceName, StorageApplianceInner storageApplianceParameters, String ifMatch, String ifNoneMatch, Context context)

Create a new storage appliance or update the properties of the existing one. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceParameters - The request body.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

Returns:

storageAppliance represents on-premises Network Cloud storage appliance.

delete

public abstract void delete(String resourceGroupName, String storageApplianceName)

Delete the provided storage appliance. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

Parameters:

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

delete

public abstract void delete(String resourceGroupName, String storageApplianceName, String ifMatch, String ifNoneMatch, Context context)

Delete the provided storage appliance. All customer initiated requests will be rejected as the life cycle of this resource is managed by the system.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
context - The context to associate with this operation.

disableRemoteVendorManagement

public abstract OperationStatusResult disableRemoteVendorManagement(String resourceGroupName, String storageApplianceName)

Disable remote vendor management of the provided storage appliance.

Parameters:

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

Returns:

the response.

disableRemoteVendorManagement

public abstract OperationStatusResult disableRemoteVendorManagement(String resourceGroupName, String storageApplianceName, Context context)

Disable remote vendor management of the provided storage appliance.

Parameters:

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

Returns:

the response.

enableRemoteVendorManagement

public abstract OperationStatusResult enableRemoteVendorManagement(String resourceGroupName, String storageApplianceName)

Enable remote vendor management of the provided storage appliance.

Parameters:

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

Returns:

the response.

enableRemoteVendorManagement

public abstract OperationStatusResult enableRemoteVendorManagement(String resourceGroupName, String storageApplianceName, StorageApplianceEnableRemoteVendorManagementParameters storageApplianceEnableRemoteVendorManagementParameters, Context context)

Enable remote vendor management of the provided storage appliance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceEnableRemoteVendorManagementParameters - The request body.
context - The context to associate with this operation.

Returns:

the response.

getByResourceGroup

public abstract StorageApplianceInner getByResourceGroup(String resourceGroupName, String storageApplianceName)

Get properties of the provided storage appliance.

Parameters:

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

Returns:

properties of the provided storage appliance.

getByResourceGroupWithResponse

public abstract Response<StorageApplianceInner> getByResourceGroupWithResponse(String resourceGroupName, String storageApplianceName, Context context)

Get properties of the provided storage appliance.

Parameters:

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

Returns:

properties of the provided storage appliance along with Response<T>.

list

public abstract PagedIterable<StorageApplianceInner> list()

Get a list of storage appliances in the provided subscription.

Returns:

a list of storage appliances in the provided subscription as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<StorageApplianceInner> list(Integer top, String skipToken, Context context)

Get a list of storage appliances in the provided subscription.

Parameters:

top - The maximum number of resources to return from the operation. Example: '$top=10'.
skipToken - The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
context - The context to associate with this operation.

Returns:

a list of storage appliances in the provided subscription as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<StorageApplianceInner> listByResourceGroup(String resourceGroupName)

Get a list of storage appliances in the provided resource group.

Parameters:

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

Returns:

a list of storage appliances in the provided resource group as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<StorageApplianceInner> listByResourceGroup(String resourceGroupName, Integer top, String skipToken, Context context)

Get a list of storage appliances in the provided resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
skipToken - The opaque token that the server returns to indicate where to continue listing resources from. This is used for paging through large result sets.
context - The context to associate with this operation.

Returns:

a list of storage appliances in the provided resource group as paginated response with PagedIterable<T>.

runReadCommands

public abstract OperationStatusResult runReadCommands(String resourceGroupName, String storageApplianceName, StorageApplianceRunReadCommandsParameters storageApplianceRunReadCommandsParameters)

Run one or more read-only commands on the provided storage appliance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceRunReadCommandsParameters - The request body.

Returns:

the response.

runReadCommands

public abstract OperationStatusResult runReadCommands(String resourceGroupName, String storageApplianceName, StorageApplianceRunReadCommandsParameters storageApplianceRunReadCommandsParameters, Context context)

Run one or more read-only commands on the provided storage appliance.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
storageApplianceRunReadCommandsParameters - The request body.
context - The context to associate with this operation.

Returns:

the response.

update

public abstract StorageApplianceInner update(String resourceGroupName, String storageApplianceName)

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

Parameters:

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

Returns:

storageAppliance represents on-premises Network Cloud storage appliance.

update

public abstract StorageApplianceInner update(String resourceGroupName, String storageApplianceName, String ifMatch, String ifNoneMatch, StorageAppliancePatchParameters storageApplianceUpdateParameters, Context context)

Update properties of the provided storage appliance, or update tags associated with the storage appliance Properties and tag updates can be done independently.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
storageApplianceName - The name of the storage appliance.
ifMatch - The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
ifNoneMatch - Set to '*' to allow a new record set to be created, but to prevent updating an existing resource. Other values will result in error from server as they are not supported.
storageApplianceUpdateParameters - The request body.
context - The context to associate with this operation.

Returns:

storageAppliance represents on-premises Network Cloud storage appliance.

Applies to