DigitalTwinsEndpointResourceProperties Class
- java.
lang. Object - com.
azure. resourcemanager. digitaltwins. models. DigitalTwinsEndpointResourceProperties
- com.
Implements
public class DigitalTwinsEndpointResourceProperties
implements JsonSerializable<DigitalTwinsEndpointResourceProperties>
Properties related to Digital Twins Endpoint.
Constructor Summary
| Constructor | Description |
|---|---|
| DigitalTwinsEndpointResourceProperties() |
Creates an instance of Digital |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Authentication |
authenticationType()
Get the authentication |
|
Offset |
createdTime()
Get the created |
| String |
deadLetterSecret()
Get the dead |
| String |
deadLetterUri()
Get the dead |
|
Endpoint |
endpointType()
Get the endpoint |
|
static
Digital |
fromJson(JsonReader jsonReader)
Reads an instance of Digital |
|
Managed |
identity()
Get the identity property: Managed identity properties for the endpoint. |
|
Endpoint |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Digital |
withAuthenticationType(AuthenticationType authenticationType)
Set the authentication |
|
Digital |
withDeadLetterSecret(String deadLetterSecret)
Set the dead |
|
Digital |
withDeadLetterUri(String deadLetterUri)
Set the dead |
|
Digital |
withIdentity(ManagedIdentityReference identity)
Set the identity property: Managed identity properties for the endpoint. |
Methods inherited from java.lang.Object
Constructor Details
DigitalTwinsEndpointResourceProperties
public DigitalTwinsEndpointResourceProperties()
Creates an instance of DigitalTwinsEndpointResourceProperties class.
Method Details
authenticationType
public AuthenticationType authenticationType()
Get the authenticationType property: Specifies the authentication type being used for connecting to the endpoint. Defaults to 'KeyBased'. If 'KeyBased' is selected, a connection string must be specified (at least the primary connection string). If 'IdentityBased' is select, the endpointUri and entityPath properties must be specified.
Returns:
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Time when the Endpoint was added to DigitalTwinsInstance.
Returns:
deadLetterSecret
public String deadLetterSecret()
Get the deadLetterSecret property: Dead letter storage secret for key-based authentication. Will be obfuscated during read.
Returns:
deadLetterUri
public String deadLetterUri()
Get the deadLetterUri property: Dead letter storage URL for identity-based authentication.
Returns:
endpointType
public EndpointType endpointType()
Get the endpointType property: The type of Digital Twins endpoint.
Returns:
fromJson
public static DigitalTwinsEndpointResourceProperties fromJson(JsonReader jsonReader)
Reads an instance of DigitalTwinsEndpointResourceProperties from the JsonReader.
Parameters:
Returns:
Throws:
identity
public ManagedIdentityReference identity()
Get the identity property: Managed identity properties for the endpoint.
Returns:
provisioningState
public EndpointProvisioningState provisioningState()
Get the provisioningState property: The provisioning state.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAuthenticationType
public DigitalTwinsEndpointResourceProperties withAuthenticationType(AuthenticationType authenticationType)
Set the authenticationType property: Specifies the authentication type being used for connecting to the endpoint. Defaults to 'KeyBased'. If 'KeyBased' is selected, a connection string must be specified (at least the primary connection string). If 'IdentityBased' is select, the endpointUri and entityPath properties must be specified.
Parameters:
Returns:
withDeadLetterSecret
public DigitalTwinsEndpointResourceProperties withDeadLetterSecret(String deadLetterSecret)
Set the deadLetterSecret property: Dead letter storage secret for key-based authentication. Will be obfuscated during read.
Parameters:
Returns:
withDeadLetterUri
public DigitalTwinsEndpointResourceProperties withDeadLetterUri(String deadLetterUri)
Set the deadLetterUri property: Dead letter storage URL for identity-based authentication.
Parameters:
Returns:
withIdentity
public DigitalTwinsEndpointResourceProperties withIdentity(ManagedIdentityReference identity)
Set the identity property: Managed identity properties for the endpoint.
Parameters:
Returns: