public interface IscsiTargets
Modifier and Type | Method and Description |
---|---|
IscsiTarget.DefinitionStages.Blank |
define(String name)
Begins definition for a new IscsiTarget resource.
|
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.
|
void |
deleteById(String id)
Delete an iSCSI Target.
|
void |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Delete an iSCSI Target.
|
IscsiTarget |
get(String resourceGroupName,
String diskPoolName,
String iscsiTargetName)
Get an iSCSI Target.
|
IscsiTarget |
getById(String id)
Get an iSCSI Target.
|
com.azure.core.http.rest.Response<IscsiTarget> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Get an iSCSI Target.
|
com.azure.core.http.rest.Response<IscsiTarget> |
getWithResponse(String resourceGroupName,
String diskPoolName,
String iscsiTargetName,
com.azure.core.util.Context context)
Get an iSCSI Target.
|
com.azure.core.http.rest.PagedIterable<IscsiTarget> |
listByDiskPool(String resourceGroupName,
String diskPoolName)
Get iSCSI Targets in a Disk pool.
|
com.azure.core.http.rest.PagedIterable<IscsiTarget> |
listByDiskPool(String resourceGroupName,
String diskPoolName,
com.azure.core.util.Context context)
Get iSCSI Targets in a Disk pool.
|
com.azure.core.http.rest.PagedIterable<IscsiTarget> 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<IscsiTarget> 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.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.IscsiTarget 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<IscsiTarget> 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.IscsiTarget getById(String id)
id
- the resource ID.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<IscsiTarget> getByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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 deleteById(String id)
id
- the resource ID.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 deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id
- the resource ID.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.IscsiTarget.DefinitionStages.Blank define(String name)
name
- resource name.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.