AuthenticationPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. AuthenticationPolicyInner
- com.
- com.
- com.
public final class AuthenticationPolicyInner
extends Resource
Authentication policy resource for identity integration.
Constructor Summary
| Constructor | Description |
|---|---|
| AuthenticationPolicyInner() |
Creates an instance of Authentication |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
|
static
Authentication |
fromJson(JsonReader jsonReader)
Reads an instance of Authentication |
| String |
id()
Get the id property: Resource ID. |
|
Managed |
identity()
Get the identity property: The user-assigned identity used by a user sign-in policy to access its Key Vault client secret. |
| String |
name()
Get the name property: The name of the resource. |
|
Authentication |
properties()
Get the properties property: Properties of the authentication policy. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Authentication |
withId(String id)
Set the id property: Resource ID. |
|
Authentication |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: The user-assigned identity used by a user sign-in policy to access its Key Vault client secret. |
|
Authentication |
withLocation(String location) |
|
Authentication |
withProperties(AuthenticationPolicyPropertiesFormat properties)
Set the properties property: Properties of the authentication policy. |
|
Authentication |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
AuthenticationPolicyInner
public AuthenticationPolicyInner()
Creates an instance of AuthenticationPolicyInner class.
Method Details
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static AuthenticationPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of AuthenticationPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
AuthenticationPolicyInner.id()Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: The user-assigned identity used by a user sign-in policy to access its Key Vault client secret.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AuthenticationPolicyInner.name()Returns:
properties
public AuthenticationPolicyPropertiesFormat properties()
Get the properties property: Properties of the authentication policy.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system metadata related to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AuthenticationPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AuthenticationPolicyInner.type()Returns:
validate
public void validate()
Validates the instance.
withId
public AuthenticationPolicyInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withIdentity
public AuthenticationPolicyInner withIdentity(ManagedServiceIdentity identity)
Set the identity property: The user-assigned identity used by a user sign-in policy to access its Key Vault client secret.
Parameters:
Returns:
withLocation
public AuthenticationPolicyInner withLocation(String location)
Overrides:
AuthenticationPolicyInner.withLocation(String location)Parameters:
withProperties
public AuthenticationPolicyInner withProperties(AuthenticationPolicyPropertiesFormat properties)
Set the properties property: Properties of the authentication policy.
Parameters:
Returns:
withTags
public AuthenticationPolicyInner withTags(Map<String,String> tags)
Overrides:
AuthenticationPolicyInner.withTags(Map<String,String> tags)Parameters: