Interface DevicesClient
public interface DevicesClient
An instance of this class provides access to all the operations defined in DevicesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DataBoxEdgeDeviceInner>,
DataBoxEdgeDeviceInner> beginCreateOrUpdate
(String deviceName, String resourceGroupName, DataBoxEdgeDeviceInner dataBoxEdgeDevice) Creates or updates a Data Box Edge/Data Box Gateway resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DataBoxEdgeDeviceInner>,
DataBoxEdgeDeviceInner> beginCreateOrUpdate
(String deviceName, String resourceGroupName, DataBoxEdgeDeviceInner dataBoxEdgeDevice, com.azure.core.util.Context context) Creates or updates a Data Box Edge/Data Box Gateway resource.beginCreateOrUpdateSecuritySettings
(String deviceName, String resourceGroupName, SecuritySettings securitySettings) Updates the security settings on a Data Box Edge/Data Box Gateway device.beginCreateOrUpdateSecuritySettings
(String deviceName, String resourceGroupName, SecuritySettings securitySettings, com.azure.core.util.Context context) Updates the security settings on a Data Box Edge/Data Box Gateway device.beginDelete
(String resourceGroupName, String deviceName) Deletes the Data Box Edge/Data Box Gateway device.beginDelete
(String resourceGroupName, String deviceName, com.azure.core.util.Context context) Deletes the Data Box Edge/Data Box Gateway device.beginDownloadUpdates
(String deviceName, String resourceGroupName) Downloads the updates on a Data Box Edge/Data Box Gateway device.beginDownloadUpdates
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Downloads the updates on a Data Box Edge/Data Box Gateway device.beginInstallUpdates
(String deviceName, String resourceGroupName) Installs the updates on the Data Box Edge/Data Box Gateway device.beginInstallUpdates
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Installs the updates on the Data Box Edge/Data Box Gateway device.beginScanForUpdates
(String deviceName, String resourceGroupName) Scans for updates on a Data Box Edge/Data Box Gateway device.beginScanForUpdates
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Scans for updates on a Data Box Edge/Data Box Gateway device.createOrUpdate
(String deviceName, String resourceGroupName, DataBoxEdgeDeviceInner dataBoxEdgeDevice) Creates or updates a Data Box Edge/Data Box Gateway resource.createOrUpdate
(String deviceName, String resourceGroupName, DataBoxEdgeDeviceInner dataBoxEdgeDevice, com.azure.core.util.Context context) Creates or updates a Data Box Edge/Data Box Gateway resource.void
createOrUpdateSecuritySettings
(String deviceName, String resourceGroupName, SecuritySettings securitySettings) Updates the security settings on a Data Box Edge/Data Box Gateway device.void
createOrUpdateSecuritySettings
(String deviceName, String resourceGroupName, SecuritySettings securitySettings, com.azure.core.util.Context context) Updates the security settings on a Data Box Edge/Data Box Gateway device.void
Deletes the Data Box Edge/Data Box Gateway device.void
Deletes the Data Box Edge/Data Box Gateway device.void
downloadUpdates
(String deviceName, String resourceGroupName) Downloads the updates on a Data Box Edge/Data Box Gateway device.void
downloadUpdates
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Downloads the updates on a Data Box Edge/Data Box Gateway device.getByResourceGroup
(String resourceGroupName, String deviceName) Gets the properties of the Data Box Edge/Data Box Gateway device.com.azure.core.http.rest.Response<DataBoxEdgeDeviceInner>
getByResourceGroupWithResponse
(String resourceGroupName, String deviceName, com.azure.core.util.Context context) Gets the properties of the Data Box Edge/Data Box Gateway device.getExtendedInformation
(String deviceName, String resourceGroupName) Gets additional information for the specified Data Box Edge/Data Box Gateway device.com.azure.core.http.rest.Response<DataBoxEdgeDeviceExtendedInfoInner>
getExtendedInformationWithResponse
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Gets additional information for the specified Data Box Edge/Data Box Gateway device.getNetworkSettings
(String deviceName, String resourceGroupName) Gets the network settings of the specified Data Box Edge/Data Box Gateway device.com.azure.core.http.rest.Response<NetworkSettingsInner>
getNetworkSettingsWithResponse
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Gets the network settings of the specified Data Box Edge/Data Box Gateway device.getUpdateSummary
(String deviceName, String resourceGroupName) Gets information about the availability of updates based on the last scan of the device.com.azure.core.http.rest.Response<UpdateSummaryInner>
getUpdateSummaryWithResponse
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Gets information about the availability of updates based on the last scan of the device.void
installUpdates
(String deviceName, String resourceGroupName) Installs the updates on the Data Box Edge/Data Box Gateway device.void
installUpdates
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Installs the updates on the Data Box Edge/Data Box Gateway device.com.azure.core.http.rest.PagedIterable<DataBoxEdgeDeviceInner>
list()
Gets all the Data Box Edge/Data Box Gateway devices in a subscription.com.azure.core.http.rest.PagedIterable<DataBoxEdgeDeviceInner>
Gets all the Data Box Edge/Data Box Gateway devices in a subscription.com.azure.core.http.rest.PagedIterable<DataBoxEdgeDeviceInner>
listByResourceGroup
(String resourceGroupName) Gets all the Data Box Edge/Data Box Gateway devices in a resource group.com.azure.core.http.rest.PagedIterable<DataBoxEdgeDeviceInner>
listByResourceGroup
(String resourceGroupName, String expand, com.azure.core.util.Context context) Gets all the Data Box Edge/Data Box Gateway devices in a resource group.void
scanForUpdates
(String deviceName, String resourceGroupName) Scans for updates on a Data Box Edge/Data Box Gateway device.void
scanForUpdates
(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Scans for updates on a Data Box Edge/Data Box Gateway device.update
(String deviceName, String resourceGroupName, DataBoxEdgeDevicePatch parameters) Modifies a Data Box Edge/Data Box Gateway resource.com.azure.core.http.rest.Response<DataBoxEdgeDeviceInner>
updateWithResponse
(String deviceName, String resourceGroupName, DataBoxEdgeDevicePatch parameters, com.azure.core.util.Context context) Modifies a Data Box Edge/Data Box Gateway resource.uploadCertificate
(String deviceName, String resourceGroupName, UploadCertificateRequest parameters) Uploads registration certificate for the device.com.azure.core.http.rest.Response<UploadCertificateResponseInner>
uploadCertificateWithResponse
(String deviceName, String resourceGroupName, UploadCertificateRequest parameters, com.azure.core.util.Context context) Uploads registration certificate for the device.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<DataBoxEdgeDeviceInner> list()Gets all the Data Box Edge/Data Box Gateway devices in a subscription.- Returns:
- all the Data Box Edge/Data Box Gateway devices in a subscription 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<DataBoxEdgeDeviceInner> list(String expand, com.azure.core.util.Context context) Gets all the Data Box Edge/Data Box Gateway devices in a subscription.- Parameters:
expand
- Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list.context
- The context to associate with this operation.- Returns:
- all the Data Box Edge/Data Box Gateway devices in a subscription 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<DataBoxEdgeDeviceInner> listByResourceGroup(String resourceGroupName) Gets all the Data Box Edge/Data Box Gateway devices in a resource group.- Parameters:
resourceGroupName
- The resource group name.- Returns:
- all the Data Box Edge/Data Box Gateway devices in a resource group 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<DataBoxEdgeDeviceInner> listByResourceGroup(String resourceGroupName, String expand, com.azure.core.util.Context context) Gets all the Data Box Edge/Data Box Gateway devices in a resource group.- Parameters:
resourceGroupName
- The resource group name.expand
- Specify $expand=details to populate additional fields related to the resource or Specify $skipToken=<token> to populate the next page in the list.context
- The context to associate with this operation.- Returns:
- all the Data Box Edge/Data Box Gateway devices in a resource group 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<DataBoxEdgeDeviceInner> getByResourceGroupWithResponse(String resourceGroupName, String deviceName, com.azure.core.util.Context context) Gets the properties of the Data Box Edge/Data Box Gateway device.- Parameters:
resourceGroupName
- The resource group name.deviceName
- The device name.context
- The context to associate with this operation.- Returns:
- the properties of the Data Box Edge/Data Box Gateway device 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
Gets the properties of the Data Box Edge/Data Box Gateway device.- Parameters:
resourceGroupName
- The resource group name.deviceName
- The device name.- Returns:
- the properties of the Data Box Edge/Data Box Gateway device.
- 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DataBoxEdgeDeviceInner>,DataBoxEdgeDeviceInner> beginCreateOrUpdate(String deviceName, String resourceGroupName, DataBoxEdgeDeviceInner dataBoxEdgeDevice) Creates or updates a Data Box Edge/Data Box Gateway resource.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.dataBoxEdgeDevice
- The resource object.- Returns:
- the
SyncPoller
for polling of the Data Box Edge/Gateway device. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<DataBoxEdgeDeviceInner>,DataBoxEdgeDeviceInner> beginCreateOrUpdate(String deviceName, String resourceGroupName, DataBoxEdgeDeviceInner dataBoxEdgeDevice, com.azure.core.util.Context context) Creates or updates a Data Box Edge/Data Box Gateway resource.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.dataBoxEdgeDevice
- The resource object.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the Data Box Edge/Gateway device. - 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.
-
createOrUpdate
DataBoxEdgeDeviceInner createOrUpdate(String deviceName, String resourceGroupName, DataBoxEdgeDeviceInner dataBoxEdgeDevice) Creates or updates a Data Box Edge/Data Box Gateway resource.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.dataBoxEdgeDevice
- The resource object.- Returns:
- the Data Box Edge/Gateway device.
- 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.
-
createOrUpdate
DataBoxEdgeDeviceInner createOrUpdate(String deviceName, String resourceGroupName, DataBoxEdgeDeviceInner dataBoxEdgeDevice, com.azure.core.util.Context context) Creates or updates a Data Box Edge/Data Box Gateway resource.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.dataBoxEdgeDevice
- The resource object.context
- The context to associate with this operation.- Returns:
- the Data Box Edge/Gateway device.
- 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 deviceName) Deletes the Data Box Edge/Data Box Gateway device.- Parameters:
resourceGroupName
- The resource group name.deviceName
- The device name.- 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 deviceName, com.azure.core.util.Context context) Deletes the Data Box Edge/Data Box Gateway device.- Parameters:
resourceGroupName
- The resource group name.deviceName
- The device name.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
Deletes the Data Box Edge/Data Box Gateway device.- Parameters:
resourceGroupName
- The resource group name.deviceName
- The device name.- 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
Deletes the Data Box Edge/Data Box Gateway device.- Parameters:
resourceGroupName
- The resource group name.deviceName
- The device name.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.
-
updateWithResponse
com.azure.core.http.rest.Response<DataBoxEdgeDeviceInner> updateWithResponse(String deviceName, String resourceGroupName, DataBoxEdgeDevicePatch parameters, com.azure.core.util.Context context) Modifies a Data Box Edge/Data Box Gateway resource.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.parameters
- The resource parameters.context
- The context to associate with this operation.- Returns:
- the Data Box Edge/Gateway device 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.
-
update
DataBoxEdgeDeviceInner update(String deviceName, String resourceGroupName, DataBoxEdgeDevicePatch parameters) Modifies a Data Box Edge/Data Box Gateway resource.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.parameters
- The resource parameters.- Returns:
- the Data Box Edge/Gateway device.
- 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.
-
beginDownloadUpdates
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDownloadUpdates(String deviceName, String resourceGroupName) Downloads the updates on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- 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.
-
beginDownloadUpdates
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDownloadUpdates(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Downloads the updates on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.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.
-
downloadUpdates
Downloads the updates on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- 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.
-
downloadUpdates
void downloadUpdates(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Downloads the updates on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.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.
-
getExtendedInformationWithResponse
com.azure.core.http.rest.Response<DataBoxEdgeDeviceExtendedInfoInner> getExtendedInformationWithResponse(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Gets additional information for the specified Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.context
- The context to associate with this operation.- Returns:
- additional information for the specified Data Box Edge/Data Box Gateway device 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.
-
getExtendedInformation
DataBoxEdgeDeviceExtendedInfoInner getExtendedInformation(String deviceName, String resourceGroupName) Gets additional information for the specified Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- Returns:
- additional information for the specified Data Box Edge/Data Box Gateway device.
- 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.
-
beginInstallUpdates
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginInstallUpdates(String deviceName, String resourceGroupName) Installs the updates on the Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- 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.
-
beginInstallUpdates
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginInstallUpdates(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Installs the updates on the Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.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.
-
installUpdates
Installs the updates on the Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- 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.
-
installUpdates
void installUpdates(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Installs the updates on the Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.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.
-
getNetworkSettingsWithResponse
com.azure.core.http.rest.Response<NetworkSettingsInner> getNetworkSettingsWithResponse(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Gets the network settings of the specified Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.context
- The context to associate with this operation.- Returns:
- the network settings of the specified Data Box Edge/Data Box Gateway device 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.
-
getNetworkSettings
Gets the network settings of the specified Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- Returns:
- the network settings of the specified Data Box Edge/Data Box Gateway device.
- 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.
-
beginScanForUpdates
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginScanForUpdates(String deviceName, String resourceGroupName) Scans for updates on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- 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.
-
beginScanForUpdates
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginScanForUpdates(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Scans for updates on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.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.
-
scanForUpdates
Scans for updates on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- 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.
-
scanForUpdates
void scanForUpdates(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Scans for updates on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.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.
-
beginCreateOrUpdateSecuritySettings
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCreateOrUpdateSecuritySettings(String deviceName, String resourceGroupName, SecuritySettings securitySettings) Updates the security settings on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.securitySettings
- The security settings.- 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.
-
beginCreateOrUpdateSecuritySettings
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginCreateOrUpdateSecuritySettings(String deviceName, String resourceGroupName, SecuritySettings securitySettings, com.azure.core.util.Context context) Updates the security settings on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.securitySettings
- The security settings.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.
-
createOrUpdateSecuritySettings
void createOrUpdateSecuritySettings(String deviceName, String resourceGroupName, SecuritySettings securitySettings) Updates the security settings on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.securitySettings
- The security settings.- 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.
-
createOrUpdateSecuritySettings
void createOrUpdateSecuritySettings(String deviceName, String resourceGroupName, SecuritySettings securitySettings, com.azure.core.util.Context context) Updates the security settings on a Data Box Edge/Data Box Gateway device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.securitySettings
- The security settings.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.
-
getUpdateSummaryWithResponse
com.azure.core.http.rest.Response<UpdateSummaryInner> getUpdateSummaryWithResponse(String deviceName, String resourceGroupName, com.azure.core.util.Context context) Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.context
- The context to associate with this operation.- Returns:
- information about the availability of updates based on the last scan of the device 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.
-
getUpdateSummary
Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.- Returns:
- information about the availability of updates based on the last scan of the device.
- 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.
-
uploadCertificateWithResponse
com.azure.core.http.rest.Response<UploadCertificateResponseInner> uploadCertificateWithResponse(String deviceName, String resourceGroupName, UploadCertificateRequest parameters, com.azure.core.util.Context context) Uploads registration certificate for the device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.parameters
- The upload certificate request.context
- The context to associate with this operation.- Returns:
- the upload registration certificate response 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.
-
uploadCertificate
UploadCertificateResponseInner uploadCertificate(String deviceName, String resourceGroupName, UploadCertificateRequest parameters) Uploads registration certificate for the device.- Parameters:
deviceName
- The device name.resourceGroupName
- The resource group name.parameters
- The upload certificate request.- Returns:
- the upload registration certificate 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.
-