DeviceRegistryNamespaceDescription Class

  • java.lang.Object
    • com.azure.resourcemanager.deviceprovisioningservices.models.DeviceRegistryNamespaceDescription

Implements

public final class DeviceRegistryNamespaceDescription
implements JsonSerializable<DeviceRegistryNamespaceDescription>

Description of the Device Registry namespace that is linked to the provisioning service.

Method Summary

Modifier and Type Method and Description
DeviceRegistryNamespaceAuthenticationType authenticationType()

Get the authenticationType property: Device Registry Namespace MI authentication type: UserAssigned, SystemAssigned.

String dataAddress()

Get the dataAddress property: The data plane address of the linked Azure Device Registry namespace.

static DeviceRegistryNamespaceDescription fromJson(JsonReader jsonReader)

Reads an instance of DeviceRegistryNamespaceDescription from the JsonReader.

LinkingState linkingState()

Get the linkingState property: The linking state of this namespace.

String location()

Get the location property: Azure location of the linked Device Registry namespace.

String namespaceUuid()

Get the namespaceUuid property: Unique identifier of the linked Device Registry namespace.

String resourceId()

Get the resourceId property: The ARM resource ID of the Device Registry namespace.

String selectedUserAssignedIdentityResourceId()

Get the selectedUserAssignedIdentityResourceId property: The selected user-assigned identity resource Id associated with Device Registry namespace.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

authenticationType

public DeviceRegistryNamespaceAuthenticationType authenticationType()

Get the authenticationType property: Device Registry Namespace MI authentication type: UserAssigned, SystemAssigned.

Returns:

the authenticationType value.

dataAddress

public String dataAddress()

Get the dataAddress property: The data plane address of the linked Azure Device Registry namespace.

Returns:

the dataAddress value.

fromJson

public static DeviceRegistryNamespaceDescription fromJson(JsonReader jsonReader)

Reads an instance of DeviceRegistryNamespaceDescription from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeviceRegistryNamespaceDescription if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

linkingState

public LinkingState linkingState()

Get the linkingState property: The linking state of this namespace.

Returns:

the linkingState value.

location

public String location()

Get the location property: Azure location of the linked Device Registry namespace.

Returns:

the location value.

namespaceUuid

public String namespaceUuid()

Get the namespaceUuid property: Unique identifier of the linked Device Registry namespace.

Returns:

the namespaceUuid value.

resourceId

public String resourceId()

Get the resourceId property: The ARM resource ID of the Device Registry namespace.

Returns:

the resourceId value.

selectedUserAssignedIdentityResourceId

public String selectedUserAssignedIdentityResourceId()

Get the selectedUserAssignedIdentityResourceId property: The selected user-assigned identity resource Id associated with Device Registry namespace. This is required when authenticationType is UserAssigned.

Returns:

the selectedUserAssignedIdentityResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to