-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
ApiManagementUserCreateOrUpdateContent.cs
41 lines (36 loc) · 1.96 KB
/
ApiManagementUserCreateOrUpdateContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.ApiManagement.Models
{
/// <summary> User create details. </summary>
public partial class ApiManagementUserCreateOrUpdateContent
{
/// <summary> Initializes a new instance of ApiManagementUserCreateOrUpdateContent. </summary>
public ApiManagementUserCreateOrUpdateContent()
{
Identities = new ChangeTrackingList<UserIdentityContract>();
}
/// <summary> Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active. </summary>
public ApiManagementUserState? State { get; set; }
/// <summary> Optional note about a user set by the administrator. </summary>
public string Note { get; set; }
/// <summary> Collection of user identities. </summary>
public IList<UserIdentityContract> Identities { get; }
/// <summary> Email address. Must not be empty and must be unique within the service instance. </summary>
public string Email { get; set; }
/// <summary> First name. </summary>
public string FirstName { get; set; }
/// <summary> Last name. </summary>
public string LastName { get; set; }
/// <summary> User Password. If no value is provided, a default password is generated. </summary>
public string Password { get; set; }
/// <summary> Determines the type of application which send the create user request. Default is legacy portal. </summary>
public AppType? AppType { get; set; }
/// <summary> Determines the type of confirmation e-mail that will be sent to the newly created user. </summary>
public ConfirmationEmailType? Confirmation { get; set; }
}
}