ManagedIdentitySettings Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. ManagedIdentitySettings
- com.
Implements
public final class ManagedIdentitySettings
implements JsonSerializable<ManagedIdentitySettings>
Managed identity settings for upstream.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedIdentitySettings() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
resource()
Get the resource property: The Resource indicating the App ID URI of the target resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withResource(String resource)
Set the resource property: The Resource indicating the App ID URI of the target resource. |
Methods inherited from java.lang.Object
Constructor Details
ManagedIdentitySettings
public ManagedIdentitySettings()
Creates an instance of ManagedIdentitySettings class.
Method Details
fromJson
public static ManagedIdentitySettings fromJson(JsonReader jsonReader)
Reads an instance of ManagedIdentitySettings from the JsonReader.
Parameters:
Returns:
Throws:
resource
public String resource()
Get the resource property: The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
Returns:
toJson
validate
public void validate()
Validates the instance.
withResource
public ManagedIdentitySettings withResource(String resource)
Set the resource property: The Resource indicating the App ID URI of the target resource. It also appears in the aud (audience) claim of the issued token.
Parameters:
Returns: