RedisCacheAccessPolicyInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. redis. fluent. models. RedisCacheAccessPolicyInner
- com.
- com.
public final class RedisCacheAccessPolicyInner
extends ProxyResource
Response to get/put access policy.
Constructor Summary
Constructor | Description |
---|---|
RedisCacheAccessPolicyInner() |
Creates an instance of Redis |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Redis |
fromJson(JsonReader jsonReader)
Reads an instance of Redis |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
permissions()
Get the permissions property: Permissions for the access policy. |
Access |
provisioningState()
Get the provisioning |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
Access |
typePropertiesType()
Get the type property: Built-In or Custom access policy. |
void |
validate()
Validates the instance. |
Redis |
withPermissions(String permissions)
Set the permissions property: Permissions for the access policy. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
RedisCacheAccessPolicyInner
public RedisCacheAccessPolicyInner()
Creates an instance of RedisCacheAccessPolicyInner class.
Method Details
fromJson
public static RedisCacheAccessPolicyInner fromJson(JsonReader jsonReader)
Reads an instance of RedisCacheAccessPolicyInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RedisCacheAccessPolicyInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RedisCacheAccessPolicyInner.name()Returns:
permissions
public String permissions()
Get the permissions property: Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites.
Returns:
provisioningState
public AccessPolicyProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of access policy.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RedisCacheAccessPolicyInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RedisCacheAccessPolicyInner.type()Returns:
typePropertiesType
public AccessPolicyType typePropertiesType()
Get the type property: Built-In or Custom access policy.
Returns:
validate
public void validate()
Validates the instance.
withPermissions
public RedisCacheAccessPolicyInner withPermissions(String permissions)
Set the permissions property: Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites.
Parameters:
Returns:
Applies to
Azure SDK for Java