-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
CosmosDBForPostgreSqlRoleData.cs
49 lines (42 loc) · 2.06 KB
/
CosmosDBForPostgreSqlRoleData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
using Azure.ResourceManager.CosmosDBForPostgreSql.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.CosmosDBForPostgreSql
{
/// <summary>
/// A class representing the CosmosDBForPostgreSqlRole data model.
/// Represents a cluster role.
/// </summary>
public partial class CosmosDBForPostgreSqlRoleData : ResourceData
{
/// <summary> Initializes a new instance of CosmosDBForPostgreSqlRoleData. </summary>
/// <param name="password"> The password of the cluster role. </param>
/// <exception cref="ArgumentNullException"> <paramref name="password"/> is null. </exception>
public CosmosDBForPostgreSqlRoleData(string password)
{
Argument.AssertNotNull(password, nameof(password));
Password = password;
}
/// <summary> Initializes a new instance of CosmosDBForPostgreSqlRoleData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="password"> The password of the cluster role. </param>
/// <param name="provisioningState"> Provisioning state of the role. </param>
internal CosmosDBForPostgreSqlRoleData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string password, CosmosDBForPostgreSqlProvisioningState? provisioningState) : base(id, name, resourceType, systemData)
{
Password = password;
ProvisioningState = provisioningState;
}
/// <summary> The password of the cluster role. </summary>
public string Password { get; set; }
/// <summary> Provisioning state of the role. </summary>
public CosmosDBForPostgreSqlProvisioningState? ProvisioningState { get; }
}
}