99
1010namespace Pulumi . Github
1111{
12+ /// <summary>
13+ /// ## Example Usage
14+ ///
15+ /// ```csharp
16+ /// using System.Collections.Generic;
17+ /// using Pulumi;
18+ /// using Github = Pulumi.Github;
19+ ///
20+ /// return await Deployment.RunAsync(() =>
21+ /// {
22+ /// var org = new Github.EnterpriseOrganization("org", new()
23+ /// {
24+ /// EnterpriseId = data.Github_enterprise.Enterprise.Id,
25+ /// Description = "Organization created with terraform",
26+ /// BillingEmail = "[email protected] ", 27+ /// AdminLogins = new[]
28+ /// {
29+ /// "jon-snow",
30+ /// },
31+ /// });
32+ ///
33+ /// });
34+ /// ```
35+ ///
36+ /// ## Import
37+ ///
38+ /// Support for importing organizations is not currently supported.
39+ /// </summary>
1240 [ GithubResourceType ( "github:index/enterpriseOrganization:EnterpriseOrganization" ) ]
1341 public partial class EnterpriseOrganization : global ::Pulumi . CustomResource
1442 {
43+ /// <summary>
44+ /// List of organization owner usernames.
45+ /// </summary>
1546 [ Output ( "adminLogins" ) ]
1647 public Output < ImmutableArray < string > > AdminLogins { get ; private set ; } = null ! ;
1748
49+ /// <summary>
50+ /// The billing email address.
51+ /// </summary>
1852 [ Output ( "billingEmail" ) ]
1953 public Output < string > BillingEmail { get ; private set ; } = null ! ;
2054
55+ /// <summary>
56+ /// The description of the organization.
57+ /// </summary>
2158 [ Output ( "description" ) ]
2259 public Output < string ? > Description { get ; private set ; } = null ! ;
2360
61+ /// <summary>
62+ /// The ID of the enterprise.
63+ /// </summary>
2464 [ Output ( "enterpriseId" ) ]
2565 public Output < string > EnterpriseId { get ; private set ; } = null ! ;
2666
67+ /// <summary>
68+ /// The name of the organization.
69+ /// </summary>
2770 [ Output ( "name" ) ]
2871 public Output < string > Name { get ; private set ; } = null ! ;
2972
@@ -75,21 +118,37 @@ public sealed class EnterpriseOrganizationArgs : global::Pulumi.ResourceArgs
75118 {
76119 [ Input ( "adminLogins" , required : true ) ]
77120 private InputList < string > ? _adminLogins ;
121+
122+ /// <summary>
123+ /// List of organization owner usernames.
124+ /// </summary>
78125 public InputList < string > AdminLogins
79126 {
80127 get => _adminLogins ?? ( _adminLogins = new InputList < string > ( ) ) ;
81128 set => _adminLogins = value ;
82129 }
83130
131+ /// <summary>
132+ /// The billing email address.
133+ /// </summary>
84134 [ Input ( "billingEmail" , required : true ) ]
85135 public Input < string > BillingEmail { get ; set ; } = null ! ;
86136
137+ /// <summary>
138+ /// The description of the organization.
139+ /// </summary>
87140 [ Input ( "description" ) ]
88141 public Input < string > ? Description { get ; set ; }
89142
143+ /// <summary>
144+ /// The ID of the enterprise.
145+ /// </summary>
90146 [ Input ( "enterpriseId" , required : true ) ]
91147 public Input < string > EnterpriseId { get ; set ; } = null ! ;
92148
149+ /// <summary>
150+ /// The name of the organization.
151+ /// </summary>
93152 [ Input ( "name" ) ]
94153 public Input < string > ? Name { get ; set ; }
95154
@@ -103,21 +162,37 @@ public sealed class EnterpriseOrganizationState : global::Pulumi.ResourceArgs
103162 {
104163 [ Input ( "adminLogins" ) ]
105164 private InputList < string > ? _adminLogins ;
165+
166+ /// <summary>
167+ /// List of organization owner usernames.
168+ /// </summary>
106169 public InputList < string > AdminLogins
107170 {
108171 get => _adminLogins ?? ( _adminLogins = new InputList < string > ( ) ) ;
109172 set => _adminLogins = value ;
110173 }
111174
175+ /// <summary>
176+ /// The billing email address.
177+ /// </summary>
112178 [ Input ( "billingEmail" ) ]
113179 public Input < string > ? BillingEmail { get ; set ; }
114180
181+ /// <summary>
182+ /// The description of the organization.
183+ /// </summary>
115184 [ Input ( "description" ) ]
116185 public Input < string > ? Description { get ; set ; }
117186
187+ /// <summary>
188+ /// The ID of the enterprise.
189+ /// </summary>
118190 [ Input ( "enterpriseId" ) ]
119191 public Input < string > ? EnterpriseId { get ; set ; }
120192
193+ /// <summary>
194+ /// The name of the organization.
195+ /// </summary>
121196 [ Input ( "name" ) ]
122197 public Input < string > ? Name { get ; set ; }
123198
0 commit comments