Class RedisLinkedServerWithProperties
Response to put/get linked server (with properties) for Redis cache.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Redis.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class RedisLinkedServerWithProperties : Microsoft.Azure.Management.Redis.Models.ProxyResource
Constructors
RedisLinkedServerWithProperties()
Initializes a new instance of the RedisLinkedServerWithProperties class.
Declaration
public RedisLinkedServerWithProperties ();
RedisLinkedServerWithProperties(String, String, ReplicationRole, String, String, String, String)
Initializes a new instance of the RedisLinkedServerWithProperties class.
Declaration
public RedisLinkedServerWithProperties (string linkedRedisCacheId, string linkedRedisCacheLocation, Microsoft.Azure.Management.Redis.Models.ReplicationRole serverRole, string id = null, string name = null, string type = null, string provisioningState = null);
Parameters
|
String
linkedRedisCacheId
Fully qualified resourceId of the linked redis cache. |
|
String
linkedRedisCacheLocation
Location of the linked redis cache. |
|
ReplicationRole
serverRole
Role of the linked server. Possible values include: 'Primary', 'Secondary' |
|
String
id
Resource ID. |
|
String
name
Resource name. |
|
String
type
Resource type. |
|
String
provisioningState
Terminal state of the link between primary and secondary redis cache. |
Properties
LinkedRedisCacheId
Gets or sets fully qualified resourceId of the linked redis cache.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.linkedRedisCacheId")]
public string LinkedRedisCacheId { get; set; }
Property Value
|
String
|
LinkedRedisCacheLocation
Gets or sets location of the linked redis cache.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.linkedRedisCacheLocation")]
public string LinkedRedisCacheLocation { get; set; }
Property Value
|
String
|
ProvisioningState
Gets terminal state of the link between primary and secondary redis cache.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.provisioningState")]
public string ProvisioningState { get; }
Property Value
|
String
|
ServerRole
Gets or sets role of the linked server. Possible values include: 'Primary', 'Secondary'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.serverRole")]
public Microsoft.Azure.Management.Redis.Models.ReplicationRole ServerRole { get; set; }
Property Value
|
ReplicationRole
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |