public interface IscsiTargetsClient
Modifier and Type | Method and Description |
---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IscsiTargetInner>,IscsiTargetInner> |
beginCreateOrUpdate(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
IscsiTargetCreate iscsiTargetCreatePayload)
Create or Update an iSCSI Target.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IscsiTargetInner>,IscsiTargetInner> |
beginCreateOrUpdate(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
IscsiTargetCreate iscsiTargetCreatePayload,
com.azure.core.util.Context context)
Create or Update an iSCSI Target.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String diskPoolName,
String iscsiTargetName)
Delete an iSCSI Target.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
com.azure.core.util.Context context)
Delete an iSCSI Target.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IscsiTargetInner>,IscsiTargetInner> |
beginUpdate(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
IscsiTargetUpdate iscsiTargetUpdatePayload)
Update an iSCSI Target.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IscsiTargetInner>,IscsiTargetInner> |
beginUpdate(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
IscsiTargetUpdate iscsiTargetUpdatePayload,
com.azure.core.util.Context context)
Update an iSCSI Target.
|
IscsiTargetInner |
createOrUpdate(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
IscsiTargetCreate iscsiTargetCreatePayload)
Create or Update an iSCSI Target.
|
IscsiTargetInner |
createOrUpdate(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
IscsiTargetCreate iscsiTargetCreatePayload,
com.azure.core.util.Context context)
Create or Update an iSCSI Target.
|
void |
delete(String resourceGroupName,
String diskPoolName,
String iscsiTargetName)
Delete an iSCSI Target.
|
void |
delete(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
com.azure.core.util.Context context)
Delete an iSCSI Target.
|
IscsiTargetInner |
get(String resourceGroupName,
String diskPoolName,
String iscsiTargetName)
Get an iSCSI Target.
|
com.azure.core.http.rest.Response<IscsiTargetInner> |
getWithResponse(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
com.azure.core.util.Context context)
Get an iSCSI Target.
|
com.azure.core.http.rest.PagedIterable<IscsiTargetInner> |
listByDiskPool(String resourceGroupName,
String diskPoolName)
Get iSCSI Targets in a Disk pool.
|
com.azure.core.http.rest.PagedIterable<IscsiTargetInner> |
listByDiskPool(String resourceGroupName,
String diskPoolName,
com.azure.core.util.Context context)
Get iSCSI Targets in a Disk pool.
|
IscsiTargetInner |
update(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
IscsiTargetUpdate iscsiTargetUpdatePayload)
Update an iSCSI Target.
|
IscsiTargetInner |
update(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
IscsiTargetUpdate iscsiTargetUpdatePayload,
com.azure.core.util.Context context)
Update an iSCSI Target.
|
com.azure.core.http.rest.PagedIterable<IscsiTargetInner> listByDiskPool(String resourceGroupName, String diskPoolName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.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.com.azure.core.http.rest.PagedIterable<IscsiTargetInner> listByDiskPool(String resourceGroupName, String diskPoolName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.context
- The context to associate with this operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IscsiTargetInner>,IscsiTargetInner> beginCreateOrUpdate(String resourceGroupName, String diskPoolName, String iscsiTargetName, IscsiTargetCreate iscsiTargetCreatePayload)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.iscsiTargetCreatePayload
- Request payload for iSCSI Target create operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IscsiTargetInner>,IscsiTargetInner> beginCreateOrUpdate(String resourceGroupName, String diskPoolName, String iscsiTargetName, IscsiTargetCreate iscsiTargetCreatePayload, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.iscsiTargetCreatePayload
- Request payload for iSCSI Target create operation.context
- The context to associate with this operation.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.IscsiTargetInner createOrUpdate(String resourceGroupName, String diskPoolName, String iscsiTargetName, IscsiTargetCreate iscsiTargetCreatePayload)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.iscsiTargetCreatePayload
- Request payload for iSCSI Target create operation.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.IscsiTargetInner createOrUpdate(String resourceGroupName, String diskPoolName, String iscsiTargetName, IscsiTargetCreate iscsiTargetCreatePayload, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.iscsiTargetCreatePayload
- Request payload for iSCSI Target create operation.context
- The context to associate with this operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IscsiTargetInner>,IscsiTargetInner> beginUpdate(String resourceGroupName, String diskPoolName, String iscsiTargetName, IscsiTargetUpdate iscsiTargetUpdatePayload)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.iscsiTargetUpdatePayload
- Request payload for iSCSI Target update operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<IscsiTargetInner>,IscsiTargetInner> beginUpdate(String resourceGroupName, String diskPoolName, String iscsiTargetName, IscsiTargetUpdate iscsiTargetUpdatePayload, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.iscsiTargetUpdatePayload
- Request payload for iSCSI Target update operation.context
- The context to associate with this operation.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.IscsiTargetInner update(String resourceGroupName, String diskPoolName, String iscsiTargetName, IscsiTargetUpdate iscsiTargetUpdatePayload)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.iscsiTargetUpdatePayload
- Request payload for iSCSI Target update operation.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.IscsiTargetInner update(String resourceGroupName, String diskPoolName, String iscsiTargetName, IscsiTargetUpdate iscsiTargetUpdatePayload, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.iscsiTargetUpdatePayload
- Request payload for iSCSI Target update operation.context
- The context to associate with this operation.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String diskPoolName, String iscsiTargetName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String diskPoolName, String iscsiTargetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.context
- The context to associate with this operation.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.void delete(String resourceGroupName, String diskPoolName, String iscsiTargetName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.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.void delete(String resourceGroupName, String diskPoolName, String iscsiTargetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.context
- The context to associate with this operation.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.IscsiTargetInner get(String resourceGroupName, String diskPoolName, String iscsiTargetName)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.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.com.azure.core.http.rest.Response<IscsiTargetInner> getWithResponse(String resourceGroupName, String diskPoolName, String iscsiTargetName, com.azure.core.util.Context context)
resourceGroupName
- The name of the resource group. The name is case insensitive.diskPoolName
- The name of the Disk Pool.iscsiTargetName
- The name of the iSCSI Target.context
- The context to associate with this operation.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.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.