-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade terraform-provider-google-beta to v4.51.0 (#983)
* Upgrade terraform-provider-google-beta to v4.51.0 * .NET SDK * Go SDK * Java SDK * Node SDK * Python SDK
- Loading branch information
1 parent
40dbf2e
commit d8be576
Showing
1,722 changed files
with
47,152 additions
and
70,900 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,94 +32,6 @@ namespace Pulumi.Gcp.AccessContextManager | |
/// `billing_project` you defined. | ||
/// | ||
/// ## Example Usage | ||
/// ### Access Context Manager Access Level Condition Basic | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using Pulumi; | ||
/// using Gcp = Pulumi.Gcp; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var access_policy = new Gcp.AccessContextManager.AccessPolicy("access-policy", new() | ||
/// { | ||
/// Parent = "organizations/123456789", | ||
/// Title = "my policy", | ||
/// }); | ||
/// | ||
/// var access_level_service_account = new Gcp.AccessContextManager.AccessLevel("access-level-service-account", new() | ||
/// { | ||
/// Parent = access_policy.Name.Apply(name => $"accessPolicies/{name}"), | ||
/// Title = "tf_test_chromeos_no_lock", | ||
/// Basic = new Gcp.AccessContextManager.Inputs.AccessLevelBasicArgs | ||
/// { | ||
/// Conditions = new[] | ||
/// { | ||
/// new Gcp.AccessContextManager.Inputs.AccessLevelBasicConditionArgs | ||
/// { | ||
/// DevicePolicy = new Gcp.AccessContextManager.Inputs.AccessLevelBasicConditionDevicePolicyArgs | ||
/// { | ||
/// RequireScreenLock = true, | ||
/// OsConstraints = new[] | ||
/// { | ||
/// new Gcp.AccessContextManager.Inputs.AccessLevelBasicConditionDevicePolicyOsConstraintArgs | ||
/// { | ||
/// OsType = "DESKTOP_CHROME_OS", | ||
/// }, | ||
/// }, | ||
/// }, | ||
/// Regions = new[] | ||
/// { | ||
/// "CH", | ||
/// "IT", | ||
/// "US", | ||
/// }, | ||
/// }, | ||
/// }, | ||
/// }, | ||
/// }); | ||
/// | ||
/// var created_later = new Gcp.ServiceAccount.Account("created-later", new() | ||
/// { | ||
/// AccountId = "tf-test", | ||
/// }); | ||
/// | ||
/// var access_level_conditions = new Gcp.AccessContextManager.AccessLevelCondition("access-level-conditions", new() | ||
/// { | ||
/// AccessLevel = access_level_service_account.Name, | ||
/// IpSubnetworks = new[] | ||
/// { | ||
/// "192.0.4.0/24", | ||
/// }, | ||
/// Members = new[] | ||
/// { | ||
/// "user:[email protected]", | ||
/// "user:[email protected]", | ||
/// created_later.Email.Apply(email => $"serviceAccount:{email}"), | ||
/// }, | ||
/// Negate = false, | ||
/// DevicePolicy = new Gcp.AccessContextManager.Inputs.AccessLevelConditionDevicePolicyArgs | ||
/// { | ||
/// RequireScreenLock = false, | ||
/// RequireAdminApproval = false, | ||
/// RequireCorpOwned = true, | ||
/// OsConstraints = new[] | ||
/// { | ||
/// new Gcp.AccessContextManager.Inputs.AccessLevelConditionDevicePolicyOsConstraintArgs | ||
/// { | ||
/// OsType = "DESKTOP_CHROME_OS", | ||
/// }, | ||
/// }, | ||
/// }, | ||
/// Regions = new[] | ||
/// { | ||
/// "IT", | ||
/// "US", | ||
/// }, | ||
/// }); | ||
/// | ||
/// }); | ||
/// ``` | ||
/// | ||
/// ## Import | ||
/// | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,102 +10,6 @@ | |
namespace Pulumi.Gcp.ApiGateway | ||
{ | ||
/// <summary> | ||
/// Three different resources help you manage your IAM policy for API Gateway ApiConfig. Each of these resources serves a different use case: | ||
/// | ||
/// * `gcp.apigateway.ApiConfigIamPolicy`: Authoritative. Sets the IAM policy for the apiconfig and replaces any existing policy already attached. | ||
/// * `gcp.apigateway.ApiConfigIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the apiconfig are preserved. | ||
/// * `gcp.apigateway.ApiConfigIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the apiconfig are preserved. | ||
/// | ||
/// > **Note:** `gcp.apigateway.ApiConfigIamPolicy` **cannot** be used in conjunction with `gcp.apigateway.ApiConfigIamBinding` and `gcp.apigateway.ApiConfigIamMember` or they will fight over what your policy should be. | ||
/// | ||
/// > **Note:** `gcp.apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `gcp.apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role. | ||
/// | ||
/// ## google\_api\_gateway\_api\_config\_iam\_policy | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using Pulumi; | ||
/// using Gcp = Pulumi.Gcp; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var admin = Gcp.Organizations.GetIAMPolicy.Invoke(new() | ||
/// { | ||
/// Bindings = new[] | ||
/// { | ||
/// new Gcp.Organizations.Inputs.GetIAMPolicyBindingInputArgs | ||
/// { | ||
/// Role = "roles/apigateway.viewer", | ||
/// Members = new[] | ||
/// { | ||
/// "user:[email protected]", | ||
/// }, | ||
/// }, | ||
/// }, | ||
/// }); | ||
/// | ||
/// var policy = new Gcp.ApiGateway.ApiConfigIamPolicy("policy", new() | ||
/// { | ||
/// Api = google_api_gateway_api_config.Api_cfg.Api, | ||
/// ApiConfig = google_api_gateway_api_config.Api_cfg.Api_config_id, | ||
/// PolicyData = admin.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData), | ||
/// }, new CustomResourceOptions | ||
/// { | ||
/// Provider = google_beta, | ||
/// }); | ||
/// | ||
/// }); | ||
/// ``` | ||
/// | ||
/// ## google\_api\_gateway\_api\_config\_iam\_binding | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using Pulumi; | ||
/// using Gcp = Pulumi.Gcp; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var binding = new Gcp.ApiGateway.ApiConfigIamBinding("binding", new() | ||
/// { | ||
/// Api = google_api_gateway_api_config.Api_cfg.Api, | ||
/// ApiConfig = google_api_gateway_api_config.Api_cfg.Api_config_id, | ||
/// Role = "roles/apigateway.viewer", | ||
/// Members = new[] | ||
/// { | ||
/// "user:[email protected]", | ||
/// }, | ||
/// }, new CustomResourceOptions | ||
/// { | ||
/// Provider = google_beta, | ||
/// }); | ||
/// | ||
/// }); | ||
/// ``` | ||
/// | ||
/// ## google\_api\_gateway\_api\_config\_iam\_member | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using Pulumi; | ||
/// using Gcp = Pulumi.Gcp; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var member = new Gcp.ApiGateway.ApiConfigIamMember("member", new() | ||
/// { | ||
/// Api = google_api_gateway_api_config.Api_cfg.Api, | ||
/// ApiConfig = google_api_gateway_api_config.Api_cfg.Api_config_id, | ||
/// Role = "roles/apigateway.viewer", | ||
/// Member = "user:[email protected]", | ||
/// }, new CustomResourceOptions | ||
/// { | ||
/// Provider = google_beta, | ||
/// }); | ||
/// | ||
/// }); | ||
/// ``` | ||
/// | ||
/// ## Import | ||
/// | ||
/// For all import syntaxes, the "resource in question" can take any of the following forms* projects/{{project}}/locations/global/apis/{{api}}/configs/{{api_config}} * {{project}}/{{api}}/{{api_config}} * {{api}}/{{api_config}} * {{api_config}} Any variables not passed in the import command will be taken from the provider configuration. API Gateway apiconfig IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g. | ||
|
Oops, something went wrong.