Skip to content

Commit

Permalink
.NET SDK Resource Provider:'PostgreSQL' (#5633)
Browse files Browse the repository at this point in the history
REST Spec PR 'Azure/azure-rest-api-specs#5511'
REST Spec PR Author 'grigusev'
REST Spec PR Last commit
  • Loading branch information
adxsdknet authored and dsgouda committed Apr 3, 2019
1 parent 84b4ff5 commit 9453e36
Showing 1 changed file with 10 additions and 1 deletion.
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

0 comments on commit 9453e36

Please sign in to comment.