CustomJwtAuthenticationManagedIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. CustomJwtAuthenticationManagedIdentity
- com.
Implements
public final class CustomJwtAuthenticationManagedIdentity
implements JsonSerializable<CustomJwtAuthenticationManagedIdentity>
The identity information for retrieving the certificate for custom JWT authentication.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomJwtAuthenticationManagedIdentity() |
Creates an instance of Custom |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Custom |
type()
Get the type property: The type of managed identity used. |
| String |
userAssignedIdentity()
Get the user |
| void |
validate()
Validates the instance. |
|
Custom |
withType(CustomJwtAuthenticationManagedIdentityType type)
Set the type property: The type of managed identity used. |
|
Custom |
withUserAssignedIdentity(String userAssignedIdentity)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
CustomJwtAuthenticationManagedIdentity
public CustomJwtAuthenticationManagedIdentity()
Creates an instance of CustomJwtAuthenticationManagedIdentity class.
Method Details
fromJson
public static CustomJwtAuthenticationManagedIdentity fromJson(JsonReader jsonReader)
Reads an instance of CustomJwtAuthenticationManagedIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public CustomJwtAuthenticationManagedIdentityType type()
Get the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
Returns:
userAssignedIdentity
public String userAssignedIdentity()
Get the userAssignedIdentity property: The user identity associated with the resource.
Returns:
validate
public void validate()
Validates the instance.
withType
public CustomJwtAuthenticationManagedIdentity withType(CustomJwtAuthenticationManagedIdentityType type)
Set the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
Parameters:
Returns:
withUserAssignedIdentity
public CustomJwtAuthenticationManagedIdentity withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The user identity associated with the resource.
Parameters:
Returns: