Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,18 @@ public ServerUpdateParameters()
/// <param name="sslEnforcement">Enable ssl enforcement or not when
/// connect to server. Possible values include: 'Enabled',
/// 'Disabled'</param>
/// <param name="replicationRole">The replication role of the
/// server.</param>
/// <param name="tags">Application-specific metadata in the form of
/// key-value pairs.</param>
public ServerUpdateParameters(Sku sku = default(Sku), StorageProfile storageProfile = default(StorageProfile), string administratorLoginPassword = default(string), string version = default(string), SslEnforcementEnum? sslEnforcement = default(SslEnforcementEnum?), IDictionary<string, string> tags = default(IDictionary<string, string>))
public ServerUpdateParameters(Sku sku = default(Sku), StorageProfile storageProfile = default(StorageProfile), string administratorLoginPassword = default(string), string version = default(string), SslEnforcementEnum? sslEnforcement = default(SslEnforcementEnum?), string replicationRole = default(string), IDictionary<string, string> tags = default(IDictionary<string, string>))
{
Sku = sku;
StorageProfile = storageProfile;
AdministratorLoginPassword = administratorLoginPassword;
Version = version;
SslEnforcement = sslEnforcement;
ReplicationRole = replicationRole;
Tags = tags;
CustomInit();
}
Expand Down Expand Up @@ -93,6 +96,12 @@ public ServerUpdateParameters()
[JsonProperty(PropertyName = "properties.sslEnforcement")]
public SslEnforcementEnum? SslEnforcement { get; set; }

/// <summary>
/// Gets or sets the replication role of the server.
/// </summary>
[JsonProperty(PropertyName = "properties.replicationRole")]
public string ReplicationRole { get; set; }

/// <summary>
/// Gets or sets application-specific metadata in the form of key-value
/// pairs.
Expand Down