SessionRecordingIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. SessionRecordingIdentity
- com.
Implements
public final class SessionRecordingIdentity
implements JsonSerializable<SessionRecordingIdentity>
The identity to use for accessing the blob container where recordings will be stored.
Constructor Summary
| Constructor | Description |
|---|---|
| SessionRecordingIdentity() |
Creates an instance of Session |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Session |
fromJson(JsonReader jsonReader)
Reads an instance of Session |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Session |
type()
Get the type property: The type of identity to use. |
| String |
userAssignedIdentityId()
Get the user |
| void |
validate()
Validates the instance. |
|
Session |
withType(SessionRecordingIdentityType type)
Set the type property: The type of identity to use. |
|
Session |
withUserAssignedIdentityId(String userAssignedIdentityId)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
SessionRecordingIdentity
public SessionRecordingIdentity()
Creates an instance of SessionRecordingIdentity class.
Method Details
fromJson
public static SessionRecordingIdentity fromJson(JsonReader jsonReader)
Reads an instance of SessionRecordingIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public SessionRecordingIdentityType type()
Get the type property: The type of identity to use.
Returns:
userAssignedIdentityId
public String userAssignedIdentityId()
Get the userAssignedIdentityId property: User assigned identity to use for accessing blob container Uri. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identity type systemAssigned.
Returns:
validate
public void validate()
Validates the instance.
withType
public SessionRecordingIdentity withType(SessionRecordingIdentityType type)
Set the type property: The type of identity to use.
Parameters:
Returns:
withUserAssignedIdentityId
public SessionRecordingIdentity withUserAssignedIdentityId(String userAssignedIdentityId)
Set the userAssignedIdentityId property: User assigned identity to use for accessing blob container Uri. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups/<resource group>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identity type systemAssigned.
Parameters:
Returns: