CustomWebhookAuthenticationManagedIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. CustomWebhookAuthenticationManagedIdentity
- com.
Implements
public final class CustomWebhookAuthenticationManagedIdentity
implements JsonSerializable<CustomWebhookAuthenticationManagedIdentity>
The identity configuration required for authenticating a custom webhook.
Constructor Summary
| Constructor | Description |
|---|---|
| CustomWebhookAuthenticationManagedIdentity() |
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(CustomWebhookAuthenticationManagedIdentityType 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
CustomWebhookAuthenticationManagedIdentity
public CustomWebhookAuthenticationManagedIdentity()
Creates an instance of CustomWebhookAuthenticationManagedIdentity class.
Method Details
fromJson
public static CustomWebhookAuthenticationManagedIdentity fromJson(JsonReader jsonReader)
Reads an instance of CustomWebhookAuthenticationManagedIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public CustomWebhookAuthenticationManagedIdentityType 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 CustomWebhookAuthenticationManagedIdentity withType(CustomWebhookAuthenticationManagedIdentityType type)
Set the type property: The type of managed identity used. Can be either 'SystemAssigned' or 'UserAssigned'.
Parameters:
Returns:
withUserAssignedIdentity
public CustomWebhookAuthenticationManagedIdentity withUserAssignedIdentity(String userAssignedIdentity)
Set the userAssignedIdentity property: The user identity associated with the resource.
Parameters:
Returns: