-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
GcpParentOrganizationalInfo.cs
43 lines (37 loc) · 2.53 KB
/
GcpParentOrganizationalInfo.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
// 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.SecurityCenter.Models
{
/// <summary> The gcpOrganization data for the parent account. </summary>
public partial class GcpParentOrganizationalInfo : GcpOrganizationalInfo
{
/// <summary> Initializes a new instance of GcpParentOrganizationalInfo. </summary>
public GcpParentOrganizationalInfo()
{
ExcludedProjectNumbers = new ChangeTrackingList<string>();
OrganizationMembershipType = OrganizationMembershipType.Organization;
}
/// <summary> Initializes a new instance of GcpParentOrganizationalInfo. </summary>
/// <param name="organizationMembershipType"> The multi cloud account's membership type in the organization. </param>
/// <param name="excludedProjectNumbers"> If the multi cloud account is of membership type organization, list of accounts excluded from offering. </param>
/// <param name="serviceAccountEmailAddress"> The service account email address which represents the organization level permissions container. </param>
/// <param name="workloadIdentityProviderId"> The GCP workload identity provider id which represents the permissions required to auto provision security connectors. </param>
internal GcpParentOrganizationalInfo(OrganizationMembershipType organizationMembershipType, IList<string> excludedProjectNumbers, string serviceAccountEmailAddress, string workloadIdentityProviderId) : base(organizationMembershipType)
{
ExcludedProjectNumbers = excludedProjectNumbers;
ServiceAccountEmailAddress = serviceAccountEmailAddress;
WorkloadIdentityProviderId = workloadIdentityProviderId;
OrganizationMembershipType = organizationMembershipType;
}
/// <summary> If the multi cloud account is of membership type organization, list of accounts excluded from offering. </summary>
public IList<string> ExcludedProjectNumbers { get; }
/// <summary> The service account email address which represents the organization level permissions container. </summary>
public string ServiceAccountEmailAddress { get; set; }
/// <summary> The GCP workload identity provider id which represents the permissions required to auto provision security connectors. </summary>
public string WorkloadIdentityProviderId { get; set; }
}
}