Interface IotHubDescription
-
public interface IotHubDescription
An immutable client-side representation of IotHubDescription.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
IotHubDescription.Definition
The entirety of the IotHubDescription definition.static interface
IotHubDescription.DefinitionStages
The IotHubDescription definition stages.static interface
IotHubDescription.Update
The template for IotHubDescription update.static interface
IotHubDescription.UpdateStages
The IotHubDescription update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
etag()
Gets the etag property: The Etag field is *not* required.JobResponse
exportDevices(ExportDevicesRequest exportDevicesParameters)
Exports all the device identities in the IoT hub identity registry to an Azure Storage blob container.com.azure.core.http.rest.Response<JobResponse>
exportDevicesWithResponse(ExportDevicesRequest exportDevicesParameters, com.azure.core.util.Context context)
Exports all the device identities in the IoT hub identity registry to an Azure Storage blob container.String
id()
Gets the id property: Fully qualified resource Id for the resource.ArmIdentity
identity()
Gets the identity property: The managed identities for the IotHub.JobResponse
importDevices(ImportDevicesRequest importDevicesParameters)
Import, update, or delete device identities in the IoT hub identity registry from a blob.com.azure.core.http.rest.Response<JobResponse>
importDevicesWithResponse(ImportDevicesRequest importDevicesParameters, com.azure.core.util.Context context)
Import, update, or delete device identities in the IoT hub identity registry from a blob.IotHubDescriptionInner
innerModel()
Gets the inner com.azure.resourcemanager.iothub.fluent.models.IotHubDescriptionInner object.com.azure.core.http.rest.PagedIterable<SharedAccessSignatureAuthorizationRule>
listKeys()
Get the security metadata for an IoT hub.com.azure.core.http.rest.PagedIterable<SharedAccessSignatureAuthorizationRule>
listKeys(com.azure.core.util.Context context)
Get the security metadata for an IoT hub.String
location()
Gets the location property: The geo-location where the resource lives.String
name()
Gets the name property: The name of the resource.IotHubProperties
properties()
Gets the properties property: IotHub properties.IotHubDescription
refresh()
Refreshes the resource to sync with Azure.IotHubDescription
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.String
regionName()
Gets the name of the resource region.IotHubSkuInfo
sku()
Gets the sku property: IotHub SKU info.com.azure.core.management.SystemData
systemData()
Gets the systemData property: The system meta data relating to this resource.Map<String,String>
tags()
Gets the tags property: Resource tags.String
type()
Gets the type property: The type of the resource.IotHubDescription.Update
update()
Begins update for the IotHubDescription resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()
Gets the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
etag
String etag()
Gets the etag property: The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.- Returns:
- the etag value.
-
properties
IotHubProperties properties()
Gets the properties property: IotHub properties.- Returns:
- the properties value.
-
sku
IotHubSkuInfo sku()
Gets the sku property: IotHub SKU info.- Returns:
- the sku value.
-
identity
ArmIdentity identity()
Gets the identity property: The managed identities for the IotHub.- Returns:
- the identity value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: The system meta data relating to this resource.- Returns:
- the systemData value.
-
region
com.azure.core.management.Region region()
Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()
Gets the name of the resource region.- Returns:
- the name of the resource region.
-
innerModel
IotHubDescriptionInner innerModel()
Gets the inner com.azure.resourcemanager.iothub.fluent.models.IotHubDescriptionInner object.- Returns:
- the inner object.
-
update
IotHubDescription.Update update()
Begins update for the IotHubDescription resource.- Returns:
- the stage of resource update.
-
refresh
IotHubDescription refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
IotHubDescription refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
listKeys
com.azure.core.http.rest.PagedIterable<SharedAccessSignatureAuthorizationRule> listKeys()
Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.- Returns:
- the security metadata for an IoT hub.
- Throws:
ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeys
com.azure.core.http.rest.PagedIterable<SharedAccessSignatureAuthorizationRule> listKeys(com.azure.core.util.Context context)
Get the security metadata for an IoT hub. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-security.- Parameters:
context
- The context to associate with this operation.- Returns:
- the security metadata for an IoT hub.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
exportDevices
JobResponse exportDevices(ExportDevicesRequest exportDevicesParameters)
Exports all the device identities in the IoT hub identity registry to an Azure Storage blob container. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.- Parameters:
exportDevicesParameters
- The parameters that specify the export devices operation.- Returns:
- the properties of the Job Response object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
exportDevicesWithResponse
com.azure.core.http.rest.Response<JobResponse> exportDevicesWithResponse(ExportDevicesRequest exportDevicesParameters, com.azure.core.util.Context context)
Exports all the device identities in the IoT hub identity registry to an Azure Storage blob container. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.- Parameters:
exportDevicesParameters
- The parameters that specify the export devices operation.context
- The context to associate with this operation.- Returns:
- the properties of the Job Response object along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
importDevices
JobResponse importDevices(ImportDevicesRequest importDevicesParameters)
Import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.- Parameters:
importDevicesParameters
- The parameters that specify the import devices operation.- Returns:
- the properties of the Job Response object.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
importDevicesWithResponse
com.azure.core.http.rest.Response<JobResponse> importDevicesWithResponse(ImportDevicesRequest importDevicesParameters, com.azure.core.util.Context context)
Import, update, or delete device identities in the IoT hub identity registry from a blob. For more information, see: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-identity-registry#import-and-export-device-identities.- Parameters:
importDevicesParameters
- The parameters that specify the import devices operation.context
- The context to associate with this operation.- Returns:
- the properties of the Job Response object along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-