diff --git a/.pulumi-java-gen.version b/.pulumi-java-gen.version index 2774f85..142464b 100644 --- a/.pulumi-java-gen.version +++ b/.pulumi-java-gen.version @@ -1 +1 @@ -0.10.0 \ No newline at end of file +0.11.0 \ No newline at end of file diff --git a/provider/cmd/pulumi-resource-harbor/schema.json b/provider/cmd/pulumi-resource-harbor/schema.json index 4d70dbd..0c3471d 100644 --- a/provider/cmd/pulumi-resource-harbor/schema.json +++ b/provider/cmd/pulumi-resource-harbor/schema.json @@ -1864,7 +1864,7 @@ } }, "harbor:index/replication:Replication": { - "description": "## Example Usage\n\n```terraform\nresource \"harbor_registry\" \"main\" {\n provider_name = \"docker-hub\"\n name = \"test_docker_harbor\"\n endpoint_url = \"https://hub.docker.com\"\n\n}\n\nresource \"harbor_replication\" \"push\" {\n name = \"test_push\"\n action = \"push\"\n registry_id = harbor_registry.main.registry_id\n}\n\nresource \"harbor_replication\" \"alpine\" {\n name = \"alpine\"\n action = \"pull\"\n registry_id = harbor_registry.main.registry_id\n schedule = \"0 0/15 * * * *\"\n filters {\n name = \"library/alpine\"\n }\n filters {\n tag = \"3.*.*\"\n }\n filters {\n resource = \"artifact\"\n }\n filters {\n labels = [\"qa\"]\n }\n}\n\nresource \"harbor_replication\" \"alpine\" {\n name = \"alpine\"\n action = \"pull\"\n registry_id = harbor_registry.main.registry_id\n schedule = \"event_based\"\n filters {\n name = \"library/alpine\"\n }\n filters {\n tag = \"3.*.*\"\n }\n}\n```\n\n## Import\n\n```sh\n$ pulumi import harbor:index/replication:Replication main /replication/policies/1\n```\n\n", + "description": "## Example Usage\n\n```terraform\nresource \"harbor_registry\" \"main\" {\n provider_name = \"docker-hub\"\n name = \"test_docker_harbor\"\n endpoint_url = \"https://hub.docker.com\"\n\n}\n\nresource \"harbor_replication\" \"push\" {\n name = \"test_push\"\n action = \"push\"\n registry_id = harbor_registry.main.registry_id\n}\n\nresource \"harbor_replication\" \"alpine\" {\n name = \"alpine\"\n action = \"pull\"\n registry_id = harbor_registry.main.registry_id\n schedule = \"0 0/15 * * * *\"\n filters {\n name = \"library/alpine\"\n }\n filters {\n tag = \"3.*.*\"\n }\n filters {\n resource = \"artifact\"\n }\n filters {\n labels = [\"qa\"]\n }\n}\n\nresource \"harbor_replication\" \"alpine\" {\n name = \"alpine\"\n action = \"push\"\n registry_id = harbor_registry.main.registry_id\n schedule = \"event_based\"\n filters {\n name = \"library/alpine\"\n }\n filters {\n tag = \"3.*.*\"\n }\n}\n```\n\n## Import\n\n```sh\n$ pulumi import harbor:index/replication:Replication main /replication/policies/1\n```\n\n", "properties": { "action": { "type": "string" @@ -1901,7 +1901,7 @@ }, "name": { "type": "string", - "description": "Filter on the name of the resource.\n" + "description": "The name of the replication.\n" }, "override": { "type": "boolean", @@ -1966,7 +1966,7 @@ }, "name": { "type": "string", - "description": "Filter on the name of the resource.\n" + "description": "The name of the replication.\n" }, "override": { "type": "boolean", @@ -2028,7 +2028,7 @@ }, "name": { "type": "string", - "description": "Filter on the name of the resource.\n" + "description": "The name of the replication.\n" }, "override": { "type": "boolean", @@ -2119,7 +2119,7 @@ } }, "harbor:index/robotAccount:RobotAccount": { - "description": "## Example Usage\n\n### System Level\nIntroduced in harbor 2.2.0, system level robot accounts can have basically [all available permissions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go) in harbor and are not dependent on a single project.\n\n### Global\n\n```terraform\nresource \"random_password\" \"password\" {\n length = 12\n special = false\n}\n\nresource \"harbor_project\" \"main\" {\n name = \"main\"\n}\n\nresource \"harbor_robot_account\" \"system\" {\n name = \"example-system\"\n description = \"system level robot account\"\n level = \"system\"\n secret = resource.random_password.password.result\n permissions {\n access {\n action = \"create\"\n resource = \"labels\"\n }\n kind = \"system\"\n namespace = \"/\"\n }\n permissions {\n access {\n action = \"push\"\n resource = \"repository\"\n }\n kind = \"project\"\n namespace = harbor_project.main.name\n }\n permissions {\n access {\n action = \"pull\"\n resource = \"repository\"\n }\n kind = \"project\"\n namespace = \"*\"\n }\n}\n```\n\nThe above example, creates a system level robot account with permissions to\n- permission to create labels on system level\n- pull repository across all projects\n- push repository to project \"my-project-name\"\n\n### Project\n\nOther than system level robot accounts, project level robot accounts can interact on project level only.\nThe [available permissions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go) are mostly the same as for system level robots.\n\n```terraform\nresource \"harbor_project\" \"main\" {\n name = \"main\"\n}\n\nresource \"harbor_robot_account\" \"project\" {\n name = \"example-project\"\n description = \"project level robot account\"\n level = \"project\"\n permissions {\n access {\n action = \"pull\"\n resource = \"repository\"\n }\n access {\n action = \"push\"\n resource = \"repository\"\n }\n kind = \"project\"\n namespace = harbor_project.main.name\n }\n}\n```\n\nThe above example creates a project level robot account with permissions to\n- pull repository on project \"main\"\n- push repository on project \"main\"\n\n## Import\n\n```sh\n$ pulumi import harbor:index/robotAccount:RobotAccount system /robots/123\n```\n\n", + "description": "## Example Usage\n\n### System Level\nIntroduced in harbor 2.2.0, system level robot accounts can have basically [all available permissions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go) in harbor and are not dependent on a single project.\n\n### Global\n\n```terraform\nresource \"random_password\" \"password\" {\n length = 12\n special = false\n}\n\nresource \"harbor_project\" \"main\" {\n name = \"main\"\n}\n\nresource \"harbor_robot_account\" \"system\" {\n name = \"example-system\"\n description = \"system level robot account\"\n level = \"system\"\n secret = resource.random_password.password.result\n permissions {\n access {\n action = \"create\"\n resource = \"label\"\n }\n kind = \"system\"\n namespace = \"/\"\n }\n permissions {\n access {\n action = \"push\"\n resource = \"repository\"\n }\n kind = \"project\"\n namespace = harbor_project.main.name\n }\n permissions {\n access {\n action = \"pull\"\n resource = \"repository\"\n }\n kind = \"project\"\n namespace = \"*\"\n }\n}\n```\n\nThe above example, creates a system level robot account with permissions to\n- permission to create labels on system level\n- pull repository across all projects\n- push repository to project \"my-project-name\"\n\n### Project\n\nOther than system level robot accounts, project level robot accounts can interact on project level only.\nThe [available permissions](https://github.com/goharbor/harbor/blob/-/src/common/rbac/const.go) are mostly the same as for system level robots.\n\n```terraform\nresource \"harbor_project\" \"main\" {\n name = \"main\"\n}\n\nresource \"harbor_robot_account\" \"project\" {\n name = \"example-project\"\n description = \"project level robot account\"\n level = \"project\"\n permissions {\n access {\n action = \"pull\"\n resource = \"repository\"\n }\n access {\n action = \"push\"\n resource = \"repository\"\n }\n kind = \"project\"\n namespace = harbor_project.main.name\n }\n}\n```\n\nThe above example creates a project level robot account with permissions to\n- pull repository on project \"main\"\n- push repository on project \"main\"\n\n## Import\n\n```sh\n$ pulumi import harbor:index/robotAccount:RobotAccount system /robots/123\n```\n\n", "properties": { "description": { "type": "string", @@ -2492,16 +2492,20 @@ "description": "A collection of arguments for invoking getProjects.\n", "properties": { "name": { - "type": "string" + "type": "string", + "description": "The name of the project.\n" }, "public": { - "type": "boolean" + "type": "boolean", + "description": "If the project has public accessibility.\n" }, "type": { - "type": "string" + "type": "string", + "description": "The type of the project : Project or ProxyCache.\n" }, "vulnerabilityScanning": { - "type": "boolean" + "type": "boolean", + "description": "If the images will be scanned for vulnerabilities when push to harbor.\n" } }, "type": "object" diff --git a/provider/go.mod b/provider/go.mod index 8f42ac1..c1c8e0f 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -7,7 +7,7 @@ toolchain go1.22.0 replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraform-plugin-sdk/v2 v2.0.0-20240229143312-4f60ee4e2975 require ( - github.com/goharbor/terraform-provider-harbor v1.4.1-0.20240326125823-ac02d18e93f8 + github.com/goharbor/terraform-provider-harbor v1.4.1-0.20240513151338-bcd459a1af8d github.com/pulumi/pulumi-terraform-bridge/v3 v3.82.0 github.com/pulumi/pulumi/sdk/v3 v3.114.0 ) diff --git a/provider/go.sum b/provider/go.sum index af58c4f..3c10098 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1927,8 +1927,8 @@ github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXP github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/goharbor/terraform-provider-harbor v1.4.1-0.20240326125823-ac02d18e93f8 h1:BpVIYzU25nAJXY+it/YeIiPfyNNauAGhsuosEgrJiJY= -github.com/goharbor/terraform-provider-harbor v1.4.1-0.20240326125823-ac02d18e93f8/go.mod h1:a4+xwr2XaukXakZlYZTupEVX+7lGEDVnZPgUdg80T/s= +github.com/goharbor/terraform-provider-harbor v1.4.1-0.20240513151338-bcd459a1af8d h1:u03He1ksj6oh0XI9v/LY+camjS2R2uQQxhevebHVf9I= +github.com/goharbor/terraform-provider-harbor v1.4.1-0.20240513151338-bcd459a1af8d/go.mod h1:ybXcpyl6RXCXBPlKyAHo4hhnSpadhD7gF2xgucpSOWQ= github.com/golang-jwt/jwt v3.2.1+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= github.com/golang-jwt/jwt/v4 v4.2.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg= diff --git a/sdk/dotnet/GetProjects.cs b/sdk/dotnet/GetProjects.cs index 6e40dca..ae4169c 100644 --- a/sdk/dotnet/GetProjects.cs +++ b/sdk/dotnet/GetProjects.cs @@ -48,15 +48,27 @@ public static Output Invoke(GetProjectsInvokeArgs? args = nul public sealed class GetProjectsArgs : global::Pulumi.InvokeArgs { + /// + /// The name of the project. + /// [Input("name")] public string? Name { get; set; } + /// + /// If the project has public accessibility. + /// [Input("public")] public bool? Public { get; set; } + /// + /// The type of the project : Project or ProxyCache. + /// [Input("type")] public string? Type { get; set; } + /// + /// If the images will be scanned for vulnerabilities when push to harbor. + /// [Input("vulnerabilityScanning")] public bool? VulnerabilityScanning { get; set; } @@ -68,15 +80,27 @@ public GetProjectsArgs() public sealed class GetProjectsInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// The name of the project. + /// [Input("name")] public Input? Name { get; set; } + /// + /// If the project has public accessibility. + /// [Input("public")] public Input? Public { get; set; } + /// + /// The type of the project : Project or ProxyCache. + /// [Input("type")] public Input? Type { get; set; } + /// + /// If the images will be scanned for vulnerabilities when push to harbor. + /// [Input("vulnerabilityScanning")] public Input? VulnerabilityScanning { get; set; } diff --git a/sdk/dotnet/Replication.cs b/sdk/dotnet/Replication.cs index b278e52..3aba73a 100644 --- a/sdk/dotnet/Replication.cs +++ b/sdk/dotnet/Replication.cs @@ -65,7 +65,7 @@ public partial class Replication : global::Pulumi.CustomResource public Output> Filters { get; private set; } = null!; /// - /// Filter on the name of the resource. + /// The name of the replication. /// [Output("name")] public Output Name { get; private set; } = null!; @@ -192,7 +192,7 @@ public InputList Filters } /// - /// Filter on the name of the resource. + /// The name of the replication. /// [Input("name")] public Input? Name { get; set; } @@ -277,7 +277,7 @@ public InputList Filters } /// - /// Filter on the name of the resource. + /// The name of the replication. /// [Input("name")] public Input? Name { get; set; } diff --git a/sdk/go/harbor/getProjects.go b/sdk/go/harbor/getProjects.go index 229cc0c..3d8c58c 100644 --- a/sdk/go/harbor/getProjects.go +++ b/sdk/go/harbor/getProjects.go @@ -24,10 +24,14 @@ func GetProjects(ctx *pulumi.Context, args *GetProjectsArgs, opts ...pulumi.Invo // A collection of arguments for invoking getProjects. type GetProjectsArgs struct { - Name *string `pulumi:"name"` - Public *bool `pulumi:"public"` - Type *string `pulumi:"type"` - VulnerabilityScanning *bool `pulumi:"vulnerabilityScanning"` + // The name of the project. + Name *string `pulumi:"name"` + // If the project has public accessibility. + Public *bool `pulumi:"public"` + // The type of the project : Project or ProxyCache. + Type *string `pulumi:"type"` + // If the images will be scanned for vulnerabilities when push to harbor. + VulnerabilityScanning *bool `pulumi:"vulnerabilityScanning"` } // A collection of values returned by getProjects. @@ -60,10 +64,14 @@ func GetProjectsOutput(ctx *pulumi.Context, args GetProjectsOutputArgs, opts ... // A collection of arguments for invoking getProjects. type GetProjectsOutputArgs struct { - Name pulumi.StringPtrInput `pulumi:"name"` - Public pulumi.BoolPtrInput `pulumi:"public"` - Type pulumi.StringPtrInput `pulumi:"type"` - VulnerabilityScanning pulumi.BoolPtrInput `pulumi:"vulnerabilityScanning"` + // The name of the project. + Name pulumi.StringPtrInput `pulumi:"name"` + // If the project has public accessibility. + Public pulumi.BoolPtrInput `pulumi:"public"` + // The type of the project : Project or ProxyCache. + Type pulumi.StringPtrInput `pulumi:"type"` + // If the images will be scanned for vulnerabilities when push to harbor. + VulnerabilityScanning pulumi.BoolPtrInput `pulumi:"vulnerabilityScanning"` } func (GetProjectsOutputArgs) ElementType() reflect.Type { diff --git a/sdk/go/harbor/replication.go b/sdk/go/harbor/replication.go index 4e14d5c..36904d9 100644 --- a/sdk/go/harbor/replication.go +++ b/sdk/go/harbor/replication.go @@ -36,7 +36,7 @@ type Replication struct { // Specify whether to execute the replication rule if new or modified. (Default: `false`) ExecuteOnChanged pulumi.BoolPtrOutput `pulumi:"executeOnChanged"` Filters ReplicationFilterArrayOutput `pulumi:"filters"` - // Filter on the name of the resource. + // The name of the replication. Name pulumi.StringOutput `pulumi:"name"` // Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) Override pulumi.BoolPtrOutput `pulumi:"override"` @@ -99,7 +99,7 @@ type replicationState struct { // Specify whether to execute the replication rule if new or modified. (Default: `false`) ExecuteOnChanged *bool `pulumi:"executeOnChanged"` Filters []ReplicationFilter `pulumi:"filters"` - // Filter on the name of the resource. + // The name of the replication. Name *string `pulumi:"name"` // Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) Override *bool `pulumi:"override"` @@ -127,7 +127,7 @@ type ReplicationState struct { // Specify whether to execute the replication rule if new or modified. (Default: `false`) ExecuteOnChanged pulumi.BoolPtrInput Filters ReplicationFilterArrayInput - // Filter on the name of the resource. + // The name of the replication. Name pulumi.StringPtrInput // Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) Override pulumi.BoolPtrInput @@ -159,7 +159,7 @@ type replicationArgs struct { // Specify whether to execute the replication rule if new or modified. (Default: `false`) ExecuteOnChanged *bool `pulumi:"executeOnChanged"` Filters []ReplicationFilter `pulumi:"filters"` - // Filter on the name of the resource. + // The name of the replication. Name *string `pulumi:"name"` // Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) Override *bool `pulumi:"override"` @@ -187,7 +187,7 @@ type ReplicationArgs struct { // Specify whether to execute the replication rule if new or modified. (Default: `false`) ExecuteOnChanged pulumi.BoolPtrInput Filters ReplicationFilterArrayInput - // Filter on the name of the resource. + // The name of the replication. Name pulumi.StringPtrInput // Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) Override pulumi.BoolPtrInput @@ -324,7 +324,7 @@ func (o ReplicationOutput) Filters() ReplicationFilterArrayOutput { return o.ApplyT(func(v *Replication) ReplicationFilterArrayOutput { return v.Filters }).(ReplicationFilterArrayOutput) } -// Filter on the name of the resource. +// The name of the replication. func (o ReplicationOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Replication) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) } diff --git a/sdk/nodejs/getProjects.ts b/sdk/nodejs/getProjects.ts index 3a5bbe9..6ff4569 100644 --- a/sdk/nodejs/getProjects.ts +++ b/sdk/nodejs/getProjects.ts @@ -25,9 +25,21 @@ export function getProjects(args?: GetProjectsArgs, opts?: pulumi.InvokeOptions) * A collection of arguments for invoking getProjects. */ export interface GetProjectsArgs { + /** + * The name of the project. + */ name?: string; + /** + * If the project has public accessibility. + */ public?: boolean; + /** + * The type of the project : Project or ProxyCache. + */ type?: string; + /** + * If the images will be scanned for vulnerabilities when push to harbor. + */ vulnerabilityScanning?: boolean; } @@ -68,8 +80,20 @@ export function getProjectsOutput(args?: GetProjectsOutputArgs, opts?: pulumi.In * A collection of arguments for invoking getProjects. */ export interface GetProjectsOutputArgs { + /** + * The name of the project. + */ name?: pulumi.Input; + /** + * If the project has public accessibility. + */ public?: pulumi.Input; + /** + * The type of the project : Project or ProxyCache. + */ type?: pulumi.Input; + /** + * If the images will be scanned for vulnerabilities when push to harbor. + */ vulnerabilityScanning?: pulumi.Input; } diff --git a/sdk/nodejs/replication.ts b/sdk/nodejs/replication.ts index 4c0037e..4192af2 100644 --- a/sdk/nodejs/replication.ts +++ b/sdk/nodejs/replication.ts @@ -70,7 +70,7 @@ export class Replication extends pulumi.CustomResource { public readonly executeOnChanged!: pulumi.Output; public readonly filters!: pulumi.Output; /** - * Filter on the name of the resource. + * The name of the replication. */ public readonly name!: pulumi.Output; /** @@ -177,7 +177,7 @@ export interface ReplicationState { executeOnChanged?: pulumi.Input; filters?: pulumi.Input[]>; /** - * Filter on the name of the resource. + * The name of the replication. */ name?: pulumi.Input; /** @@ -230,7 +230,7 @@ export interface ReplicationArgs { executeOnChanged?: pulumi.Input; filters?: pulumi.Input[]>; /** - * Filter on the name of the resource. + * The name of the replication. */ name?: pulumi.Input; /** diff --git a/sdk/python/pulumiverse_harbor/get_projects.py b/sdk/python/pulumiverse_harbor/get_projects.py index 761151c..c7deabb 100644 --- a/sdk/python/pulumiverse_harbor/get_projects.py +++ b/sdk/python/pulumiverse_harbor/get_projects.py @@ -109,6 +109,12 @@ def get_projects(name: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectsResult: """ ## Example Usage + + + :param str name: The name of the project. + :param bool public: If the project has public accessibility. + :param str type: The type of the project : Project or ProxyCache. + :param bool vulnerability_scanning: If the images will be scanned for vulnerabilities when push to harbor. """ __args__ = dict() __args__['name'] = name @@ -135,5 +141,11 @@ def get_projects_output(name: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectsResult]: """ ## Example Usage + + + :param str name: The name of the project. + :param bool public: If the project has public accessibility. + :param str type: The type of the project : Project or ProxyCache. + :param bool vulnerability_scanning: If the images will be scanned for vulnerabilities when push to harbor. """ ... diff --git a/sdk/python/pulumiverse_harbor/replication.py b/sdk/python/pulumiverse_harbor/replication.py index 41c2236..da660f0 100644 --- a/sdk/python/pulumiverse_harbor/replication.py +++ b/sdk/python/pulumiverse_harbor/replication.py @@ -38,7 +38,7 @@ def __init__(__self__, *, :param pulumi.Input[int] dest_namespace_replace: Specify the destination namespace flattening policy. Integers from `-1` to `3` are valid values in the harbor API. A value of `-1` will 'Flatten All Levels', `0` means 'No Flattening', `1` 'Flatten 1 Level', `2` 'Flatten 2 Levels', `3` 'Flatten 3 Levels' (Default: `-1`, see [Replication Rules](https://goharbor.io/docs/latest/administration/configuring-replication/create-replication-rules/) for more details) :param pulumi.Input[bool] enabled: Specify whether the replication is enabled. (Default: `true`) :param pulumi.Input[bool] execute_on_changed: Specify whether to execute the replication rule if new or modified. (Default: `false`) - :param pulumi.Input[str] name: Filter on the name of the resource. + :param pulumi.Input[str] name: The name of the replication. :param pulumi.Input[bool] override: Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) :param pulumi.Input[str] schedule: The scheduled time of when the container register will be push / pull. In cron base format. Hourly `"0 0 * * * *"`, Daily `"0 0 0 * * *"`, Monthly `"0 0 0 * * 0"`. Can be one of the following: `event_based`, `manual`, `cron format` (Default: `manual`) :param pulumi.Input[int] speed: The Maximum network bandwidth in Kbps for each execution. Default is `-1` (unlimited). @@ -174,7 +174,7 @@ def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Replicatio @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Filter on the name of the resource. + The name of the replication. """ return pulumi.get(self, "name") @@ -244,7 +244,7 @@ def __init__(__self__, *, :param pulumi.Input[int] dest_namespace_replace: Specify the destination namespace flattening policy. Integers from `-1` to `3` are valid values in the harbor API. A value of `-1` will 'Flatten All Levels', `0` means 'No Flattening', `1` 'Flatten 1 Level', `2` 'Flatten 2 Levels', `3` 'Flatten 3 Levels' (Default: `-1`, see [Replication Rules](https://goharbor.io/docs/latest/administration/configuring-replication/create-replication-rules/) for more details) :param pulumi.Input[bool] enabled: Specify whether the replication is enabled. (Default: `true`) :param pulumi.Input[bool] execute_on_changed: Specify whether to execute the replication rule if new or modified. (Default: `false`) - :param pulumi.Input[str] name: Filter on the name of the resource. + :param pulumi.Input[str] name: The name of the replication. :param pulumi.Input[bool] override: Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) :param pulumi.Input[int] registry_id: The registry ID of the Registry Endpoint. :param pulumi.Input[str] schedule: The scheduled time of when the container register will be push / pull. In cron base format. Hourly `"0 0 * * * *"`, Daily `"0 0 0 * * *"`, Monthly `"0 0 0 * * 0"`. Can be one of the following: `event_based`, `manual`, `cron format` (Default: `manual`) @@ -373,7 +373,7 @@ def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Replicatio @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: """ - Filter on the name of the resource. + The name of the replication. """ return pulumi.get(self, "name") @@ -475,7 +475,7 @@ def __init__(__self__, :param pulumi.Input[int] dest_namespace_replace: Specify the destination namespace flattening policy. Integers from `-1` to `3` are valid values in the harbor API. A value of `-1` will 'Flatten All Levels', `0` means 'No Flattening', `1` 'Flatten 1 Level', `2` 'Flatten 2 Levels', `3` 'Flatten 3 Levels' (Default: `-1`, see [Replication Rules](https://goharbor.io/docs/latest/administration/configuring-replication/create-replication-rules/) for more details) :param pulumi.Input[bool] enabled: Specify whether the replication is enabled. (Default: `true`) :param pulumi.Input[bool] execute_on_changed: Specify whether to execute the replication rule if new or modified. (Default: `false`) - :param pulumi.Input[str] name: Filter on the name of the resource. + :param pulumi.Input[str] name: The name of the replication. :param pulumi.Input[bool] override: Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) :param pulumi.Input[int] registry_id: The registry ID of the Registry Endpoint. :param pulumi.Input[str] schedule: The scheduled time of when the container register will be push / pull. In cron base format. Hourly `"0 0 * * * *"`, Daily `"0 0 0 * * *"`, Monthly `"0 0 0 * * 0"`. Can be one of the following: `event_based`, `manual`, `cron format` (Default: `manual`) @@ -588,7 +588,7 @@ def get(resource_name: str, :param pulumi.Input[int] dest_namespace_replace: Specify the destination namespace flattening policy. Integers from `-1` to `3` are valid values in the harbor API. A value of `-1` will 'Flatten All Levels', `0` means 'No Flattening', `1` 'Flatten 1 Level', `2` 'Flatten 2 Levels', `3` 'Flatten 3 Levels' (Default: `-1`, see [Replication Rules](https://goharbor.io/docs/latest/administration/configuring-replication/create-replication-rules/) for more details) :param pulumi.Input[bool] enabled: Specify whether the replication is enabled. (Default: `true`) :param pulumi.Input[bool] execute_on_changed: Specify whether to execute the replication rule if new or modified. (Default: `false`) - :param pulumi.Input[str] name: Filter on the name of the resource. + :param pulumi.Input[str] name: The name of the replication. :param pulumi.Input[bool] override: Specify whether to override the resources at the destination if a resources with the same name exist. (Default: `true`) :param pulumi.Input[int] registry_id: The registry ID of the Registry Endpoint. :param pulumi.Input[str] schedule: The scheduled time of when the container register will be push / pull. In cron base format. Hourly `"0 0 * * * *"`, Daily `"0 0 0 * * *"`, Monthly `"0 0 0 * * 0"`. Can be one of the following: `event_based`, `manual`, `cron format` (Default: `manual`) @@ -676,7 +676,7 @@ def filters(self) -> pulumi.Output[Optional[Sequence['outputs.ReplicationFilter' @pulumi.getter def name(self) -> pulumi.Output[str]: """ - Filter on the name of the resource. + The name of the replication. """ return pulumi.get(self, "name")