Documentation ¶
Index ¶
- type Repository
- type RepositoryArgs
- type RepositoryIamBinding
- type RepositoryIamBindingArgs
- type RepositoryIamBindingCondition
- type RepositoryIamBindingConditionArgs
- func (RepositoryIamBindingConditionArgs) ElementType() reflect.Type
- func (i RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionOutput() RepositoryIamBindingConditionOutput
- func (i RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionOutputWithContext(ctx context.Context) RepositoryIamBindingConditionOutput
- func (i RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionPtrOutput() RepositoryIamBindingConditionPtrOutput
- func (i RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionPtrOutputWithContext(ctx context.Context) RepositoryIamBindingConditionPtrOutput
- type RepositoryIamBindingConditionInput
- type RepositoryIamBindingConditionOutput
- func (o RepositoryIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (RepositoryIamBindingConditionOutput) ElementType() reflect.Type
- func (o RepositoryIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o RepositoryIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionOutput() RepositoryIamBindingConditionOutput
- func (o RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionOutputWithContext(ctx context.Context) RepositoryIamBindingConditionOutput
- func (o RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionPtrOutput() RepositoryIamBindingConditionPtrOutput
- func (o RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionPtrOutputWithContext(ctx context.Context) RepositoryIamBindingConditionPtrOutput
- type RepositoryIamBindingConditionPtrInput
- type RepositoryIamBindingConditionPtrOutput
- func (o RepositoryIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RepositoryIamBindingConditionPtrOutput) Elem() RepositoryIamBindingConditionOutput
- func (RepositoryIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o RepositoryIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RepositoryIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RepositoryIamBindingConditionPtrOutput) ToRepositoryIamBindingConditionPtrOutput() RepositoryIamBindingConditionPtrOutput
- func (o RepositoryIamBindingConditionPtrOutput) ToRepositoryIamBindingConditionPtrOutputWithContext(ctx context.Context) RepositoryIamBindingConditionPtrOutput
- type RepositoryIamBindingState
- type RepositoryIamMember
- type RepositoryIamMemberArgs
- type RepositoryIamMemberCondition
- type RepositoryIamMemberConditionArgs
- func (RepositoryIamMemberConditionArgs) ElementType() reflect.Type
- func (i RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionOutput() RepositoryIamMemberConditionOutput
- func (i RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionOutputWithContext(ctx context.Context) RepositoryIamMemberConditionOutput
- func (i RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionPtrOutput() RepositoryIamMemberConditionPtrOutput
- func (i RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionPtrOutputWithContext(ctx context.Context) RepositoryIamMemberConditionPtrOutput
- type RepositoryIamMemberConditionInput
- type RepositoryIamMemberConditionOutput
- func (o RepositoryIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (RepositoryIamMemberConditionOutput) ElementType() reflect.Type
- func (o RepositoryIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o RepositoryIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionOutput() RepositoryIamMemberConditionOutput
- func (o RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionOutputWithContext(ctx context.Context) RepositoryIamMemberConditionOutput
- func (o RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionPtrOutput() RepositoryIamMemberConditionPtrOutput
- func (o RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionPtrOutputWithContext(ctx context.Context) RepositoryIamMemberConditionPtrOutput
- type RepositoryIamMemberConditionPtrInput
- type RepositoryIamMemberConditionPtrOutput
- func (o RepositoryIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RepositoryIamMemberConditionPtrOutput) Elem() RepositoryIamMemberConditionOutput
- func (RepositoryIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o RepositoryIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RepositoryIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RepositoryIamMemberConditionPtrOutput) ToRepositoryIamMemberConditionPtrOutput() RepositoryIamMemberConditionPtrOutput
- func (o RepositoryIamMemberConditionPtrOutput) ToRepositoryIamMemberConditionPtrOutputWithContext(ctx context.Context) RepositoryIamMemberConditionPtrOutput
- type RepositoryIamMemberState
- type RepositoryIamPolicy
- type RepositoryIamPolicyArgs
- type RepositoryIamPolicyState
- type RepositoryState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct { pulumi.CustomResourceState // The time when the repository was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The user-provided description of the repository. Description pulumi.StringPtrOutput `pulumi:"description"` // The format of packages that are stored in the repoitory. Format pulumi.StringOutput `pulumi:"format"` // The Cloud KMS resource name of the customer managed encryption key that’s // used to encrypt the contents of the Repository. Has the form: // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. // This value may not be changed after the Repository has been created. KmsKeyName pulumi.StringPtrOutput `pulumi:"kmsKeyName"` // Labels with user-defined metadata. // This field may contain up to 64 entries. Label keys and values may be no // longer than 63 characters. Label keys must begin with a lowercase letter // and may only contain lowercase letters, numeric characters, underscores, // and dashes. Labels pulumi.StringMapOutput `pulumi:"labels"` // The name of the location this repository is located in. Location pulumi.StringOutput `pulumi:"location"` // The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1" Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The last part of the repository name, for example: // "repo1" RepositoryId pulumi.StringOutput `pulumi:"repositoryId"` // The time when the repository was last updated. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
A repository for storing artifacts
To get more information about Repository, see:
* [API documentation](https://cloud.google.com/artifact-registry/docs/reference/rest/) * How-to Guides
- [Official Documentation](https://cloud.google.com/artifact-registry/docs/overview)
## Example Usage
func GetRepository ¶
func GetRepository(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryState, opts ...pulumi.ResourceOption) (*Repository, error)
GetRepository gets an existing Repository resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepository ¶
func NewRepository(ctx *pulumi.Context, name string, args *RepositoryArgs, opts ...pulumi.ResourceOption) (*Repository, error)
NewRepository registers a new resource with the given unique name, arguments, and options.
type RepositoryArgs ¶
type RepositoryArgs struct { // The user-provided description of the repository. Description pulumi.StringPtrInput // The format of packages that are stored in the repoitory. Format pulumi.StringInput // The Cloud KMS resource name of the customer managed encryption key that’s // used to encrypt the contents of the Repository. Has the form: // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. // This value may not be changed after the Repository has been created. KmsKeyName pulumi.StringPtrInput // Labels with user-defined metadata. // This field may contain up to 64 entries. Label keys and values may be no // longer than 63 characters. Label keys must begin with a lowercase letter // and may only contain lowercase letters, numeric characters, underscores, // and dashes. Labels pulumi.StringMapInput // The name of the location this repository is located in. Location pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The last part of the repository name, for example: // "repo1" RepositoryId pulumi.StringInput }
The set of arguments for constructing a Repository resource.
func (RepositoryArgs) ElementType ¶
func (RepositoryArgs) ElementType() reflect.Type
type RepositoryIamBinding ¶
type RepositoryIamBinding struct { pulumi.CustomResourceState Condition RepositoryIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringOutput `pulumi:"repository"` // The role that should be applied. Only one // `artifactregistry.RepositoryIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for Artifact Registry Repository. Each of these resources serves a different use case:
* `artifactregistry.RepositoryIamPolicy`: Authoritative. Sets the IAM policy for the repository and replaces any existing policy already attached. * `artifactregistry.RepositoryIamBinding`: 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 repository are preserved. * `artifactregistry.RepositoryIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the repository are preserved.
> **Note:** `artifactregistry.RepositoryIamPolicy` **cannot** be used in conjunction with `artifactregistry.RepositoryIamBinding` and `artifactregistry.RepositoryIamMember` or they will fight over what your policy should be.
> **Note:** `artifactregistry.RepositoryIamBinding` resources **can be** used in conjunction with `artifactregistry.RepositoryIamMember` resources **only if** they do not grant privilege to the same role.
func GetRepositoryIamBinding ¶
func GetRepositoryIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryIamBindingState, opts ...pulumi.ResourceOption) (*RepositoryIamBinding, error)
GetRepositoryIamBinding gets an existing RepositoryIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryIamBinding ¶
func NewRepositoryIamBinding(ctx *pulumi.Context, name string, args *RepositoryIamBindingArgs, opts ...pulumi.ResourceOption) (*RepositoryIamBinding, error)
NewRepositoryIamBinding registers a new resource with the given unique name, arguments, and options.
type RepositoryIamBindingArgs ¶
type RepositoryIamBindingArgs struct { Condition RepositoryIamBindingConditionPtrInput // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringInput // The role that should be applied. Only one // `artifactregistry.RepositoryIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a RepositoryIamBinding resource.
func (RepositoryIamBindingArgs) ElementType ¶
func (RepositoryIamBindingArgs) ElementType() reflect.Type
type RepositoryIamBindingConditionArgs ¶
type RepositoryIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RepositoryIamBindingConditionArgs) ElementType ¶
func (RepositoryIamBindingConditionArgs) ElementType() reflect.Type
func (RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionOutput ¶
func (i RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionOutput() RepositoryIamBindingConditionOutput
func (RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionOutputWithContext ¶
func (i RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionOutputWithContext(ctx context.Context) RepositoryIamBindingConditionOutput
func (RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionPtrOutput ¶
func (i RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionPtrOutput() RepositoryIamBindingConditionPtrOutput
func (RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionPtrOutputWithContext ¶
func (i RepositoryIamBindingConditionArgs) ToRepositoryIamBindingConditionPtrOutputWithContext(ctx context.Context) RepositoryIamBindingConditionPtrOutput
type RepositoryIamBindingConditionInput ¶
type RepositoryIamBindingConditionInput interface { pulumi.Input ToRepositoryIamBindingConditionOutput() RepositoryIamBindingConditionOutput ToRepositoryIamBindingConditionOutputWithContext(context.Context) RepositoryIamBindingConditionOutput }
RepositoryIamBindingConditionInput is an input type that accepts RepositoryIamBindingConditionArgs and RepositoryIamBindingConditionOutput values. You can construct a concrete instance of `RepositoryIamBindingConditionInput` via:
RepositoryIamBindingConditionArgs{...}
type RepositoryIamBindingConditionOutput ¶
type RepositoryIamBindingConditionOutput struct{ *pulumi.OutputState }
func (RepositoryIamBindingConditionOutput) Description ¶
func (o RepositoryIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (RepositoryIamBindingConditionOutput) ElementType ¶
func (RepositoryIamBindingConditionOutput) ElementType() reflect.Type
func (RepositoryIamBindingConditionOutput) Expression ¶
func (o RepositoryIamBindingConditionOutput) Expression() pulumi.StringOutput
func (RepositoryIamBindingConditionOutput) Title ¶
func (o RepositoryIamBindingConditionOutput) Title() pulumi.StringOutput
func (RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionOutput ¶
func (o RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionOutput() RepositoryIamBindingConditionOutput
func (RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionOutputWithContext ¶
func (o RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionOutputWithContext(ctx context.Context) RepositoryIamBindingConditionOutput
func (RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionPtrOutput ¶
func (o RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionPtrOutput() RepositoryIamBindingConditionPtrOutput
func (RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionPtrOutputWithContext ¶
func (o RepositoryIamBindingConditionOutput) ToRepositoryIamBindingConditionPtrOutputWithContext(ctx context.Context) RepositoryIamBindingConditionPtrOutput
type RepositoryIamBindingConditionPtrInput ¶
type RepositoryIamBindingConditionPtrInput interface { pulumi.Input ToRepositoryIamBindingConditionPtrOutput() RepositoryIamBindingConditionPtrOutput ToRepositoryIamBindingConditionPtrOutputWithContext(context.Context) RepositoryIamBindingConditionPtrOutput }
RepositoryIamBindingConditionPtrInput is an input type that accepts RepositoryIamBindingConditionArgs, RepositoryIamBindingConditionPtr and RepositoryIamBindingConditionPtrOutput values. You can construct a concrete instance of `RepositoryIamBindingConditionPtrInput` via:
RepositoryIamBindingConditionArgs{...} or: nil
func RepositoryIamBindingConditionPtr ¶
func RepositoryIamBindingConditionPtr(v *RepositoryIamBindingConditionArgs) RepositoryIamBindingConditionPtrInput
type RepositoryIamBindingConditionPtrOutput ¶
type RepositoryIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (RepositoryIamBindingConditionPtrOutput) Description ¶
func (o RepositoryIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RepositoryIamBindingConditionPtrOutput) ElementType ¶
func (RepositoryIamBindingConditionPtrOutput) ElementType() reflect.Type
func (RepositoryIamBindingConditionPtrOutput) Expression ¶
func (o RepositoryIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RepositoryIamBindingConditionPtrOutput) Title ¶
func (o RepositoryIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RepositoryIamBindingConditionPtrOutput) ToRepositoryIamBindingConditionPtrOutput ¶
func (o RepositoryIamBindingConditionPtrOutput) ToRepositoryIamBindingConditionPtrOutput() RepositoryIamBindingConditionPtrOutput
func (RepositoryIamBindingConditionPtrOutput) ToRepositoryIamBindingConditionPtrOutputWithContext ¶
func (o RepositoryIamBindingConditionPtrOutput) ToRepositoryIamBindingConditionPtrOutputWithContext(ctx context.Context) RepositoryIamBindingConditionPtrOutput
type RepositoryIamBindingState ¶
type RepositoryIamBindingState struct { Condition RepositoryIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringPtrInput // The role that should be applied. Only one // `artifactregistry.RepositoryIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (RepositoryIamBindingState) ElementType ¶
func (RepositoryIamBindingState) ElementType() reflect.Type
type RepositoryIamMember ¶
type RepositoryIamMember struct { pulumi.CustomResourceState Condition RepositoryIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringOutput `pulumi:"repository"` // The role that should be applied. Only one // `artifactregistry.RepositoryIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for Artifact Registry Repository. Each of these resources serves a different use case:
* `artifactregistry.RepositoryIamPolicy`: Authoritative. Sets the IAM policy for the repository and replaces any existing policy already attached. * `artifactregistry.RepositoryIamBinding`: 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 repository are preserved. * `artifactregistry.RepositoryIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the repository are preserved.
> **Note:** `artifactregistry.RepositoryIamPolicy` **cannot** be used in conjunction with `artifactregistry.RepositoryIamBinding` and `artifactregistry.RepositoryIamMember` or they will fight over what your policy should be.
> **Note:** `artifactregistry.RepositoryIamBinding` resources **can be** used in conjunction with `artifactregistry.RepositoryIamMember` resources **only if** they do not grant privilege to the same role.
func GetRepositoryIamMember ¶
func GetRepositoryIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryIamMemberState, opts ...pulumi.ResourceOption) (*RepositoryIamMember, error)
GetRepositoryIamMember gets an existing RepositoryIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryIamMember ¶
func NewRepositoryIamMember(ctx *pulumi.Context, name string, args *RepositoryIamMemberArgs, opts ...pulumi.ResourceOption) (*RepositoryIamMember, error)
NewRepositoryIamMember registers a new resource with the given unique name, arguments, and options.
type RepositoryIamMemberArgs ¶
type RepositoryIamMemberArgs struct { Condition RepositoryIamMemberConditionPtrInput // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringInput // The role that should be applied. Only one // `artifactregistry.RepositoryIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a RepositoryIamMember resource.
func (RepositoryIamMemberArgs) ElementType ¶
func (RepositoryIamMemberArgs) ElementType() reflect.Type
type RepositoryIamMemberConditionArgs ¶
type RepositoryIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RepositoryIamMemberConditionArgs) ElementType ¶
func (RepositoryIamMemberConditionArgs) ElementType() reflect.Type
func (RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionOutput ¶
func (i RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionOutput() RepositoryIamMemberConditionOutput
func (RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionOutputWithContext ¶
func (i RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionOutputWithContext(ctx context.Context) RepositoryIamMemberConditionOutput
func (RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionPtrOutput ¶
func (i RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionPtrOutput() RepositoryIamMemberConditionPtrOutput
func (RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionPtrOutputWithContext ¶
func (i RepositoryIamMemberConditionArgs) ToRepositoryIamMemberConditionPtrOutputWithContext(ctx context.Context) RepositoryIamMemberConditionPtrOutput
type RepositoryIamMemberConditionInput ¶
type RepositoryIamMemberConditionInput interface { pulumi.Input ToRepositoryIamMemberConditionOutput() RepositoryIamMemberConditionOutput ToRepositoryIamMemberConditionOutputWithContext(context.Context) RepositoryIamMemberConditionOutput }
RepositoryIamMemberConditionInput is an input type that accepts RepositoryIamMemberConditionArgs and RepositoryIamMemberConditionOutput values. You can construct a concrete instance of `RepositoryIamMemberConditionInput` via:
RepositoryIamMemberConditionArgs{...}
type RepositoryIamMemberConditionOutput ¶
type RepositoryIamMemberConditionOutput struct{ *pulumi.OutputState }
func (RepositoryIamMemberConditionOutput) Description ¶
func (o RepositoryIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (RepositoryIamMemberConditionOutput) ElementType ¶
func (RepositoryIamMemberConditionOutput) ElementType() reflect.Type
func (RepositoryIamMemberConditionOutput) Expression ¶
func (o RepositoryIamMemberConditionOutput) Expression() pulumi.StringOutput
func (RepositoryIamMemberConditionOutput) Title ¶
func (o RepositoryIamMemberConditionOutput) Title() pulumi.StringOutput
func (RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionOutput ¶
func (o RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionOutput() RepositoryIamMemberConditionOutput
func (RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionOutputWithContext ¶
func (o RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionOutputWithContext(ctx context.Context) RepositoryIamMemberConditionOutput
func (RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionPtrOutput ¶
func (o RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionPtrOutput() RepositoryIamMemberConditionPtrOutput
func (RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionPtrOutputWithContext ¶
func (o RepositoryIamMemberConditionOutput) ToRepositoryIamMemberConditionPtrOutputWithContext(ctx context.Context) RepositoryIamMemberConditionPtrOutput
type RepositoryIamMemberConditionPtrInput ¶
type RepositoryIamMemberConditionPtrInput interface { pulumi.Input ToRepositoryIamMemberConditionPtrOutput() RepositoryIamMemberConditionPtrOutput ToRepositoryIamMemberConditionPtrOutputWithContext(context.Context) RepositoryIamMemberConditionPtrOutput }
RepositoryIamMemberConditionPtrInput is an input type that accepts RepositoryIamMemberConditionArgs, RepositoryIamMemberConditionPtr and RepositoryIamMemberConditionPtrOutput values. You can construct a concrete instance of `RepositoryIamMemberConditionPtrInput` via:
RepositoryIamMemberConditionArgs{...} or: nil
func RepositoryIamMemberConditionPtr ¶
func RepositoryIamMemberConditionPtr(v *RepositoryIamMemberConditionArgs) RepositoryIamMemberConditionPtrInput
type RepositoryIamMemberConditionPtrOutput ¶
type RepositoryIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (RepositoryIamMemberConditionPtrOutput) Description ¶
func (o RepositoryIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RepositoryIamMemberConditionPtrOutput) ElementType ¶
func (RepositoryIamMemberConditionPtrOutput) ElementType() reflect.Type
func (RepositoryIamMemberConditionPtrOutput) Expression ¶
func (o RepositoryIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RepositoryIamMemberConditionPtrOutput) Title ¶
func (o RepositoryIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RepositoryIamMemberConditionPtrOutput) ToRepositoryIamMemberConditionPtrOutput ¶
func (o RepositoryIamMemberConditionPtrOutput) ToRepositoryIamMemberConditionPtrOutput() RepositoryIamMemberConditionPtrOutput
func (RepositoryIamMemberConditionPtrOutput) ToRepositoryIamMemberConditionPtrOutputWithContext ¶
func (o RepositoryIamMemberConditionPtrOutput) ToRepositoryIamMemberConditionPtrOutputWithContext(ctx context.Context) RepositoryIamMemberConditionPtrOutput
type RepositoryIamMemberState ¶
type RepositoryIamMemberState struct { Condition RepositoryIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringPtrInput // The role that should be applied. Only one // `artifactregistry.RepositoryIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (RepositoryIamMemberState) ElementType ¶
func (RepositoryIamMemberState) ElementType() reflect.Type
type RepositoryIamPolicy ¶
type RepositoryIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringOutput `pulumi:"repository"` }
Three different resources help you manage your IAM policy for Artifact Registry Repository. Each of these resources serves a different use case:
* `artifactregistry.RepositoryIamPolicy`: Authoritative. Sets the IAM policy for the repository and replaces any existing policy already attached. * `artifactregistry.RepositoryIamBinding`: 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 repository are preserved. * `artifactregistry.RepositoryIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the repository are preserved.
> **Note:** `artifactregistry.RepositoryIamPolicy` **cannot** be used in conjunction with `artifactregistry.RepositoryIamBinding` and `artifactregistry.RepositoryIamMember` or they will fight over what your policy should be.
> **Note:** `artifactregistry.RepositoryIamBinding` resources **can be** used in conjunction with `artifactregistry.RepositoryIamMember` resources **only if** they do not grant privilege to the same role.
func GetRepositoryIamPolicy ¶
func GetRepositoryIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RepositoryIamPolicyState, opts ...pulumi.ResourceOption) (*RepositoryIamPolicy, error)
GetRepositoryIamPolicy gets an existing RepositoryIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewRepositoryIamPolicy ¶
func NewRepositoryIamPolicy(ctx *pulumi.Context, name string, args *RepositoryIamPolicyArgs, opts ...pulumi.ResourceOption) (*RepositoryIamPolicy, error)
NewRepositoryIamPolicy registers a new resource with the given unique name, arguments, and options.
type RepositoryIamPolicyArgs ¶
type RepositoryIamPolicyArgs struct { // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringInput }
The set of arguments for constructing a RepositoryIamPolicy resource.
func (RepositoryIamPolicyArgs) ElementType ¶
func (RepositoryIamPolicyArgs) ElementType() reflect.Type
type RepositoryIamPolicyState ¶
type RepositoryIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The name of the location this repository is located in. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Repository pulumi.StringPtrInput }
func (RepositoryIamPolicyState) ElementType ¶
func (RepositoryIamPolicyState) ElementType() reflect.Type
type RepositoryState ¶
type RepositoryState struct { // The time when the repository was created. CreateTime pulumi.StringPtrInput // The user-provided description of the repository. Description pulumi.StringPtrInput // The format of packages that are stored in the repoitory. Format pulumi.StringPtrInput // The Cloud KMS resource name of the customer managed encryption key that’s // used to encrypt the contents of the Repository. Has the form: // `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. // This value may not be changed after the Repository has been created. KmsKeyName pulumi.StringPtrInput // Labels with user-defined metadata. // This field may contain up to 64 entries. Label keys and values may be no // longer than 63 characters. Label keys must begin with a lowercase letter // and may only contain lowercase letters, numeric characters, underscores, // and dashes. Labels pulumi.StringMapInput // The name of the location this repository is located in. Location pulumi.StringPtrInput // The name of the repository, for example: "projects/p1/locations/us-central1/repositories/repo1" Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The last part of the repository name, for example: // "repo1" RepositoryId pulumi.StringPtrInput // The time when the repository was last updated. UpdateTime pulumi.StringPtrInput }
func (RepositoryState) ElementType ¶
func (RepositoryState) ElementType() reflect.Type