diff --git a/sdk/dotnet/LocalBowerRepository.cs b/sdk/dotnet/LocalBowerRepository.cs index d8df5b20..28e90b9e 100644 --- a/sdk/dotnet/LocalBowerRepository.cs +++ b/sdk/dotnet/LocalBowerRepository.cs @@ -47,47 +47,47 @@ public partial class LocalBowerRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalBowerRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalBowerRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalBowerRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalBowerRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalBowerRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalBowerRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalChefRepository.cs b/sdk/dotnet/LocalChefRepository.cs index 6fd93ec0..a06c7bf0 100644 --- a/sdk/dotnet/LocalChefRepository.cs +++ b/sdk/dotnet/LocalChefRepository.cs @@ -47,47 +47,47 @@ public partial class LocalChefRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalChefRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalChefRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalChefRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalChefRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalChefRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalChefRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalCocoapodsRepository.cs b/sdk/dotnet/LocalCocoapodsRepository.cs index 2c007820..97881bb8 100644 --- a/sdk/dotnet/LocalCocoapodsRepository.cs +++ b/sdk/dotnet/LocalCocoapodsRepository.cs @@ -47,47 +47,47 @@ public partial class LocalCocoapodsRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalCocoapodsRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalCocoapodsRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalCocoapodsRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalCocoapodsRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalCocoapodsRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalCocoapodsRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalComposerRepository.cs b/sdk/dotnet/LocalComposerRepository.cs index e71dc284..aabcb550 100644 --- a/sdk/dotnet/LocalComposerRepository.cs +++ b/sdk/dotnet/LocalComposerRepository.cs @@ -47,47 +47,47 @@ public partial class LocalComposerRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalComposerRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalComposerRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalComposerRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalComposerRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalComposerRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalComposerRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalCondaRepository.cs b/sdk/dotnet/LocalCondaRepository.cs index 9b3023e2..8ae1b8ba 100644 --- a/sdk/dotnet/LocalCondaRepository.cs +++ b/sdk/dotnet/LocalCondaRepository.cs @@ -47,47 +47,47 @@ public partial class LocalCondaRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalCondaRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalCondaRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalCondaRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalCondaRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalCondaRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalCondaRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalCranRepository.cs b/sdk/dotnet/LocalCranRepository.cs index 177817fd..a448341c 100644 --- a/sdk/dotnet/LocalCranRepository.cs +++ b/sdk/dotnet/LocalCranRepository.cs @@ -47,47 +47,47 @@ public partial class LocalCranRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalCranRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalCranRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalCranRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalCranRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalCranRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalCranRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalGemsRepository.cs b/sdk/dotnet/LocalGemsRepository.cs index 00fddb02..10ee11b3 100644 --- a/sdk/dotnet/LocalGemsRepository.cs +++ b/sdk/dotnet/LocalGemsRepository.cs @@ -47,47 +47,47 @@ public partial class LocalGemsRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalGemsRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalGemsRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalGemsRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalGemsRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalGemsRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalGemsRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalGenericRepository.cs b/sdk/dotnet/LocalGenericRepository.cs index 8fd9cd97..13030143 100644 --- a/sdk/dotnet/LocalGenericRepository.cs +++ b/sdk/dotnet/LocalGenericRepository.cs @@ -47,47 +47,47 @@ public partial class LocalGenericRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// A mandatory identifier for the repository that must be unique. @@ -100,16 +100,13 @@ public partial class LocalGenericRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -119,7 +116,7 @@ public partial class LocalGenericRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -128,17 +125,18 @@ public partial class LocalGenericRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -202,7 +200,7 @@ public sealed class LocalGenericRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -281,7 +279,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -317,7 +316,7 @@ public sealed class LocalGenericRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -362,9 +361,6 @@ public sealed class LocalGenericRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -399,7 +395,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalGitltfsRepository.cs b/sdk/dotnet/LocalGitltfsRepository.cs index aef0f6b5..27d5c34d 100644 --- a/sdk/dotnet/LocalGitltfsRepository.cs +++ b/sdk/dotnet/LocalGitltfsRepository.cs @@ -47,47 +47,47 @@ public partial class LocalGitltfsRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalGitltfsRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalGitltfsRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalGitltfsRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalGitltfsRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalGitltfsRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalGitltfsRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalGoRepository.cs b/sdk/dotnet/LocalGoRepository.cs index 1ee260e3..382b9a16 100644 --- a/sdk/dotnet/LocalGoRepository.cs +++ b/sdk/dotnet/LocalGoRepository.cs @@ -47,47 +47,47 @@ public partial class LocalGoRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalGoRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalGoRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalGoRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalGoRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalGoRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalGoRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalHelmRepository.cs b/sdk/dotnet/LocalHelmRepository.cs index f8cdd389..6e0d4df4 100644 --- a/sdk/dotnet/LocalHelmRepository.cs +++ b/sdk/dotnet/LocalHelmRepository.cs @@ -47,47 +47,47 @@ public partial class LocalHelmRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalHelmRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalHelmRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalHelmRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalHelmRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalHelmRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalHelmRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalHuggingfacemlRepository.cs b/sdk/dotnet/LocalHuggingfacemlRepository.cs index 2a4976a7..7a6c6f8c 100644 --- a/sdk/dotnet/LocalHuggingfacemlRepository.cs +++ b/sdk/dotnet/LocalHuggingfacemlRepository.cs @@ -49,47 +49,47 @@ public partial class LocalHuggingfacemlRepository : global::Pulumi.CustomResourc /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -101,16 +101,13 @@ public partial class LocalHuggingfacemlRepository : global::Pulumi.CustomResourc /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -120,7 +117,7 @@ public partial class LocalHuggingfacemlRepository : global::Pulumi.CustomResourc /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -129,17 +126,18 @@ public partial class LocalHuggingfacemlRepository : global::Pulumi.CustomResourc public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -203,7 +201,7 @@ public sealed class LocalHuggingfacemlRepositoryArgs : global::Pulumi.ResourceAr /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -281,7 +279,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -317,7 +316,7 @@ public sealed class LocalHuggingfacemlRepositoryState : global::Pulumi.ResourceA /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -361,9 +360,6 @@ public sealed class LocalHuggingfacemlRepositoryState : global::Pulumi.ResourceA [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -398,7 +394,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalMachinelearningRepository.cs b/sdk/dotnet/LocalMachinelearningRepository.cs new file mode 100644 index 00000000..900f0c65 --- /dev/null +++ b/sdk/dotnet/LocalMachinelearningRepository.cs @@ -0,0 +1,353 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Artifactory +{ + /// + /// Provides a resource to creates a local Machine Learning repository. + /// + /// Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/machine-learning-repositories). + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Artifactory = Pulumi.Artifactory; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var my_machinelearning_local = new Artifactory.LocalMachinelearningRepository("my-machinelearning-local", new() + /// { + /// Key = "my-machinelearning-local", + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// ```sh + /// $ pulumi import artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository my-machinelearning-local my-machinelearning-local + /// ``` + /// + [ArtifactoryResourceType("artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository")] + public partial class LocalMachinelearningRepository : global::Pulumi.CustomResource + { + /// + /// When set, you may view content such as HTML or Javadoc files directly from Artifactory. + /// This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + /// + [Output("archiveBrowsingEnabled")] + public Output ArchiveBrowsingEnabled { get; private set; } = null!; + + /// + /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + /// + [Output("blackedOut")] + public Output BlackedOut { get; private set; } = null!; + + /// + /// Public description. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + /// + [Output("downloadDirect")] + public Output DownloadDirect { get; private set; } = null!; + + /// + /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + /// + [Output("excludesPattern")] + public Output ExcludesPattern { get; private set; } = null!; + + /// + /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + /// + [Output("includesPattern")] + public Output IncludesPattern { get; private set; } = null!; + + /// + /// A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + /// + [Output("key")] + public Output Key { get; private set; } = null!; + + /// + /// Internal description. + /// + [Output("notes")] + public Output Notes { get; private set; } = null!; + + /// + /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field + /// + [Output("priorityResolution")] + public Output PriorityResolution { get; private set; } = null!; + + [Output("projectEnvironments")] + public Output> ProjectEnvironments { get; private set; } = null!; + + /// + /// Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + /// + [Output("projectKey")] + public Output ProjectKey { get; private set; } = null!; + + /// + /// List of property set name + /// + [Output("propertySets")] + public Output> PropertySets { get; private set; } = null!; + + /// + /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + /// + [Output("xrayIndex")] + public Output XrayIndex { get; private set; } = null!; + + + /// + /// Create a LocalMachinelearningRepository resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public LocalMachinelearningRepository(string name, LocalMachinelearningRepositoryArgs args, CustomResourceOptions? options = null) + : base("artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository", name, args ?? new LocalMachinelearningRepositoryArgs(), MakeResourceOptions(options, "")) + { + } + + private LocalMachinelearningRepository(string name, Input id, LocalMachinelearningRepositoryState? state = null, CustomResourceOptions? options = null) + : base("artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing LocalMachinelearningRepository resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static LocalMachinelearningRepository Get(string name, Input id, LocalMachinelearningRepositoryState? state = null, CustomResourceOptions? options = null) + { + return new LocalMachinelearningRepository(name, id, state, options); + } + } + + public sealed class LocalMachinelearningRepositoryArgs : global::Pulumi.ResourceArgs + { + /// + /// When set, you may view content such as HTML or Javadoc files directly from Artifactory. + /// This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + /// + [Input("archiveBrowsingEnabled")] + public Input? ArchiveBrowsingEnabled { get; set; } + + /// + /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + /// + [Input("blackedOut")] + public Input? BlackedOut { get; set; } + + /// + /// Public description. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + /// + [Input("downloadDirect")] + public Input? DownloadDirect { get; set; } + + /// + /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + /// + [Input("excludesPattern")] + public Input? ExcludesPattern { get; set; } + + /// + /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + /// + [Input("includesPattern")] + public Input? IncludesPattern { get; set; } + + /// + /// A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + /// + [Input("key", required: true)] + public Input Key { get; set; } = null!; + + /// + /// Internal description. + /// + [Input("notes")] + public Input? Notes { get; set; } + + /// + /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field + /// + [Input("priorityResolution")] + public Input? PriorityResolution { get; set; } + + [Input("projectEnvironments")] + private InputList? _projectEnvironments; + public InputList ProjectEnvironments + { + get => _projectEnvironments ?? (_projectEnvironments = new InputList()); + set => _projectEnvironments = value; + } + + /// + /// Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + /// + [Input("projectKey")] + public Input? ProjectKey { get; set; } + + [Input("propertySets")] + private InputList? _propertySets; + + /// + /// List of property set name + /// + public InputList PropertySets + { + get => _propertySets ?? (_propertySets = new InputList()); + set => _propertySets = value; + } + + /// + /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + /// + [Input("xrayIndex")] + public Input? XrayIndex { get; set; } + + public LocalMachinelearningRepositoryArgs() + { + } + public static new LocalMachinelearningRepositoryArgs Empty => new LocalMachinelearningRepositoryArgs(); + } + + public sealed class LocalMachinelearningRepositoryState : global::Pulumi.ResourceArgs + { + /// + /// When set, you may view content such as HTML or Javadoc files directly from Artifactory. + /// This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + /// + [Input("archiveBrowsingEnabled")] + public Input? ArchiveBrowsingEnabled { get; set; } + + /// + /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + /// + [Input("blackedOut")] + public Input? BlackedOut { get; set; } + + /// + /// Public description. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + /// + [Input("downloadDirect")] + public Input? DownloadDirect { get; set; } + + /// + /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + /// + [Input("excludesPattern")] + public Input? ExcludesPattern { get; set; } + + /// + /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + /// + [Input("includesPattern")] + public Input? IncludesPattern { get; set; } + + /// + /// A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + /// + [Input("key")] + public Input? Key { get; set; } + + /// + /// Internal description. + /// + [Input("notes")] + public Input? Notes { get; set; } + + /// + /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field + /// + [Input("priorityResolution")] + public Input? PriorityResolution { get; set; } + + [Input("projectEnvironments")] + private InputList? _projectEnvironments; + public InputList ProjectEnvironments + { + get => _projectEnvironments ?? (_projectEnvironments = new InputList()); + set => _projectEnvironments = value; + } + + /// + /// Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + /// + [Input("projectKey")] + public Input? ProjectKey { get; set; } + + [Input("propertySets")] + private InputList? _propertySets; + + /// + /// List of property set name + /// + public InputList PropertySets + { + get => _propertySets ?? (_propertySets = new InputList()); + set => _propertySets = value; + } + + /// + /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + /// + [Input("xrayIndex")] + public Input? XrayIndex { get; set; } + + public LocalMachinelearningRepositoryState() + { + } + public static new LocalMachinelearningRepositoryState Empty => new LocalMachinelearningRepositoryState(); + } +} diff --git a/sdk/dotnet/LocalNpmRepository.cs b/sdk/dotnet/LocalNpmRepository.cs index 5bf23f84..edf31383 100644 --- a/sdk/dotnet/LocalNpmRepository.cs +++ b/sdk/dotnet/LocalNpmRepository.cs @@ -47,47 +47,47 @@ public partial class LocalNpmRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalNpmRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalNpmRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalNpmRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalNpmRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalNpmRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalNpmRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalOpkgRepository.cs b/sdk/dotnet/LocalOpkgRepository.cs index 9e6b738c..dfa6c8db 100644 --- a/sdk/dotnet/LocalOpkgRepository.cs +++ b/sdk/dotnet/LocalOpkgRepository.cs @@ -47,47 +47,47 @@ public partial class LocalOpkgRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalOpkgRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalOpkgRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalOpkgRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalOpkgRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalOpkgRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalOpkgRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalPubRepository.cs b/sdk/dotnet/LocalPubRepository.cs index d4de54a0..259923e5 100644 --- a/sdk/dotnet/LocalPubRepository.cs +++ b/sdk/dotnet/LocalPubRepository.cs @@ -47,47 +47,47 @@ public partial class LocalPubRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalPubRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalPubRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalPubRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalPubRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalPubRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalPubRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalPuppetRepository.cs b/sdk/dotnet/LocalPuppetRepository.cs index 17f53a27..06f150fd 100644 --- a/sdk/dotnet/LocalPuppetRepository.cs +++ b/sdk/dotnet/LocalPuppetRepository.cs @@ -47,47 +47,47 @@ public partial class LocalPuppetRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalPuppetRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalPuppetRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalPuppetRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalPuppetRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalPuppetRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalPuppetRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalPypiRepository.cs b/sdk/dotnet/LocalPypiRepository.cs index 10bbc506..e22fa451 100644 --- a/sdk/dotnet/LocalPypiRepository.cs +++ b/sdk/dotnet/LocalPypiRepository.cs @@ -47,47 +47,47 @@ public partial class LocalPypiRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalPypiRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalPypiRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalPypiRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalPypiRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalPypiRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalPypiRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalSwiftRepository.cs b/sdk/dotnet/LocalSwiftRepository.cs index 0e2b03ae..f3762d69 100644 --- a/sdk/dotnet/LocalSwiftRepository.cs +++ b/sdk/dotnet/LocalSwiftRepository.cs @@ -47,47 +47,47 @@ public partial class LocalSwiftRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalSwiftRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalSwiftRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalSwiftRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalSwiftRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalSwiftRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalSwiftRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalTerraformBackendRepository.cs b/sdk/dotnet/LocalTerraformBackendRepository.cs index 114c4ac3..79859e00 100644 --- a/sdk/dotnet/LocalTerraformBackendRepository.cs +++ b/sdk/dotnet/LocalTerraformBackendRepository.cs @@ -45,47 +45,47 @@ public partial class LocalTerraformBackendRepository : global::Pulumi.CustomReso /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -97,16 +97,13 @@ public partial class LocalTerraformBackendRepository : global::Pulumi.CustomReso /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -116,7 +113,7 @@ public partial class LocalTerraformBackendRepository : global::Pulumi.CustomReso /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -125,17 +122,18 @@ public partial class LocalTerraformBackendRepository : global::Pulumi.CustomReso public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -199,7 +197,7 @@ public sealed class LocalTerraformBackendRepositoryArgs : global::Pulumi.Resourc /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -277,7 +275,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -313,7 +312,7 @@ public sealed class LocalTerraformBackendRepositoryState : global::Pulumi.Resour /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -357,9 +356,6 @@ public sealed class LocalTerraformBackendRepositoryState : global::Pulumi.Resour [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -394,7 +390,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/dotnet/LocalVagrantRepository.cs b/sdk/dotnet/LocalVagrantRepository.cs index 7edb5882..faba85e3 100644 --- a/sdk/dotnet/LocalVagrantRepository.cs +++ b/sdk/dotnet/LocalVagrantRepository.cs @@ -47,47 +47,47 @@ public partial class LocalVagrantRepository : global::Pulumi.CustomResource /// security (e.g., cross-site scripting attacks). /// [Output("archiveBrowsingEnabled")] - public Output ArchiveBrowsingEnabled { get; private set; } = null!; + public Output ArchiveBrowsingEnabled { get; private set; } = null!; /// /// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. /// [Output("blackedOut")] - public Output BlackedOut { get; private set; } = null!; + public Output BlackedOut { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Output("cdnRedirect")] - public Output CdnRedirect { get; private set; } = null!; + public Output CdnRedirect { get; private set; } = null!; /// /// Public description. /// [Output("description")] - public Output Description { get; private set; } = null!; + public Output Description { get; private set; } = null!; /// /// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud /// storage provider. Available in Enterprise+ and Edge licenses only. /// [Output("downloadDirect")] - public Output DownloadDirect { get; private set; } = null!; + public Output DownloadDirect { get; private set; } = null!; /// /// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no /// artifacts are excluded. /// [Output("excludesPattern")] - public Output ExcludesPattern { get; private set; } = null!; + public Output ExcludesPattern { get; private set; } = null!; /// /// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When /// used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). /// [Output("includesPattern")] - public Output IncludesPattern { get; private set; } = null!; + public Output IncludesPattern { get; private set; } = null!; /// /// the identity key of the repo. @@ -99,16 +99,13 @@ public partial class LocalVagrantRepository : global::Pulumi.CustomResource /// Internal description. /// [Output("notes")] - public Output Notes { get; private set; } = null!; - - [Output("packageType")] - public Output PackageType { get; private set; } = null!; + public Output Notes { get; private set; } = null!; /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// [Output("priorityResolution")] - public Output PriorityResolution { get; private set; } = null!; + public Output PriorityResolution { get; private set; } = null!; [Output("projectEnvironments")] public Output> ProjectEnvironments { get; private set; } = null!; @@ -118,7 +115,7 @@ public partial class LocalVagrantRepository : global::Pulumi.CustomResource /// assigning repository to a project, repository key must be prefixed with project key, separated by a dash. /// [Output("projectKey")] - public Output ProjectKey { get; private set; } = null!; + public Output ProjectKey { get; private set; } = null!; /// /// List of property set name @@ -127,17 +124,18 @@ public partial class LocalVagrantRepository : global::Pulumi.CustomResource public Output> PropertySets { get; private set; } = null!; /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Output("repoLayoutRef")] - public Output RepoLayoutRef { get; private set; } = null!; + public Output RepoLayoutRef { get; private set; } = null!; /// /// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via /// Xray settings. /// [Output("xrayIndex")] - public Output XrayIndex { get; private set; } = null!; + public Output XrayIndex { get; private set; } = null!; /// @@ -201,7 +199,7 @@ public sealed class LocalVagrantRepositoryArgs : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -279,7 +277,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } @@ -315,7 +314,7 @@ public sealed class LocalVagrantRepositoryState : global::Pulumi.ResourceArgs /// /// When set, download requests to this repository will redirect the client to download the artifact directly from AWS - /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + /// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` /// [Input("cdnRedirect")] public Input? CdnRedirect { get; set; } @@ -359,9 +358,6 @@ public sealed class LocalVagrantRepositoryState : global::Pulumi.ResourceArgs [Input("notes")] public Input? Notes { get; set; } - [Input("packageType")] - public Input? PackageType { get; set; } - /// /// Setting repositories with priority will cause metadata to be merged only from repositories set with this field /// @@ -396,7 +392,8 @@ public InputList PropertySets } /// - /// Repository layout key for the local repository + /// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + /// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. /// [Input("repoLayoutRef")] public Input? RepoLayoutRef { get; set; } diff --git a/sdk/go/artifactory/init.go b/sdk/go/artifactory/init.go index b6953d00..a57ae4a8 100644 --- a/sdk/go/artifactory/init.go +++ b/sdk/go/artifactory/init.go @@ -201,6 +201,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &LocalHuggingfacemlRepository{} case "artifactory:index/localIvyRepository:LocalIvyRepository": r = &LocalIvyRepository{} + case "artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository": + r = &LocalMachinelearningRepository{} case "artifactory:index/localMavenRepository:LocalMavenRepository": r = &LocalMavenRepository{} case "artifactory:index/localNpmRepository:LocalNpmRepository": @@ -902,6 +904,11 @@ func init() { "index/localIvyRepository", &module{version}, ) + pulumi.RegisterResourceModule( + "artifactory", + "index/localMachinelearningRepository", + &module{version}, + ) pulumi.RegisterResourceModule( "artifactory", "index/localMavenRepository", diff --git a/sdk/go/artifactory/localBowerRepository.go b/sdk/go/artifactory/localBowerRepository.go index 219bbcae..f016b306 100644 --- a/sdk/go/artifactory/localBowerRepository.go +++ b/sdk/go/artifactory/localBowerRepository.go @@ -53,41 +53,41 @@ type LocalBowerRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalBowerRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localBowerRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localBowerRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localBowerRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalBowerRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalBowerRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalBowerRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localBowerRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localBowerRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalBowerRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalBowerRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalBowerRepositoryOutput) ToLocalBowerRepositoryOutputWithContext(ctx // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalBowerRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalBowerRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalBowerRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalBowerRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalBowerRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalBowerRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalBowerRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalBowerRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalBowerRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalBowerRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalBowerRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalBowerRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalBowerRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalBowerRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalBowerRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalBowerRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalBowerRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalBowerRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalBowerRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalBowerRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalBowerRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalBowerRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutp // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalBowerRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalBowerRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalBowerRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalBowerRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalBowerRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalBowerRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalBowerRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalBowerRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalBowerRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localChefRepository.go b/sdk/go/artifactory/localChefRepository.go index 0735acd8..819de1e9 100644 --- a/sdk/go/artifactory/localChefRepository.go +++ b/sdk/go/artifactory/localChefRepository.go @@ -53,41 +53,41 @@ type LocalChefRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalChefRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localChefRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localChefRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localChefRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalChefRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalChefRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalChefRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localChefRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localChefRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalChefRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalChefRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalChefRepositoryOutput) ToLocalChefRepositoryOutputWithContext(ctx co // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalChefRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalChefRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalChefRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalChefRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalChefRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalChefRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalChefRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalChefRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalChefRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalChefRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalChefRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalChefRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalChefRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalChefRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalChefRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalChefRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalChefRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalChefRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalChefRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalChefRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalChefRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalChefRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutpu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalChefRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalChefRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalChefRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalChefRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalChefRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalChefRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalChefRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalChefRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalChefRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalChefRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localCocoapodsRepository.go b/sdk/go/artifactory/localCocoapodsRepository.go index d310784e..81074909 100644 --- a/sdk/go/artifactory/localCocoapodsRepository.go +++ b/sdk/go/artifactory/localCocoapodsRepository.go @@ -53,41 +53,41 @@ type LocalCocoapodsRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalCocoapodsRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localCocoapodsRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localCocoapodsRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localCocoapodsRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalCocoapodsRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalCocoapodsRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalCocoapodsRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localCocoapodsRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localCocoapodsRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalCocoapodsRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalCocoapodsRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalCocoapodsRepositoryOutput) ToLocalCocoapodsRepositoryOutputWithCont // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalCocoapodsRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalCocoapodsRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalCocoapodsRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalCocoapodsRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalCocoapodsRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalCocoapodsRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalCocoapodsRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalCocoapodsRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalCocoapodsRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalCocoapodsRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalCocoapodsRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalCocoapodsRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalCocoapodsRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalCocoapodsRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalCocoapodsRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalCocoapodsRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalCocoapodsRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalCocoapodsRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalCocoapodsRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalCocoapodsRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalCocoapodsRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalCocoapodsRepositoryOutput) ProjectEnvironments() pulumi.StringArray // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalCocoapodsRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalCocoapodsRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalCocoapodsRepositoryOutput) PropertySets() pulumi.StringArrayOutput return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalCocoapodsRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalCocoapodsRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalCocoapodsRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalCocoapodsRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCocoapodsRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalCocoapodsRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localComposerRepository.go b/sdk/go/artifactory/localComposerRepository.go index 651f6336..a6511f74 100644 --- a/sdk/go/artifactory/localComposerRepository.go +++ b/sdk/go/artifactory/localComposerRepository.go @@ -53,41 +53,41 @@ type LocalComposerRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalComposerRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localComposerRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localComposerRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localComposerRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalComposerRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalComposerRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalComposerRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localComposerRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localComposerRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalComposerRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalComposerRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalComposerRepositoryOutput) ToLocalComposerRepositoryOutputWithContex // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalComposerRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalComposerRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalComposerRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalComposerRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalComposerRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalComposerRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalComposerRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalComposerRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalComposerRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalComposerRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalComposerRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalComposerRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalComposerRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalComposerRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalComposerRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalComposerRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalComposerRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalComposerRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalComposerRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalComposerRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalComposerRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalComposerRepositoryOutput) ProjectEnvironments() pulumi.StringArrayO // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalComposerRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalComposerRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalComposerRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalComposerRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalComposerRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalComposerRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalComposerRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalComposerRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalComposerRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localCondaRepository.go b/sdk/go/artifactory/localCondaRepository.go index b7c88a30..3c6d1ebe 100644 --- a/sdk/go/artifactory/localCondaRepository.go +++ b/sdk/go/artifactory/localCondaRepository.go @@ -53,41 +53,41 @@ type LocalCondaRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalCondaRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localCondaRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localCondaRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localCondaRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalCondaRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalCondaRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalCondaRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localCondaRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localCondaRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalCondaRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalCondaRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalCondaRepositoryOutput) ToLocalCondaRepositoryOutputWithContext(ctx // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalCondaRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalCondaRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalCondaRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalCondaRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalCondaRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalCondaRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalCondaRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalCondaRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalCondaRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalCondaRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalCondaRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalCondaRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalCondaRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalCondaRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalCondaRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalCondaRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalCondaRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalCondaRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalCondaRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalCondaRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalCondaRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalCondaRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutp // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalCondaRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalCondaRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalCondaRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalCondaRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalCondaRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalCondaRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalCondaRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCondaRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalCondaRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localCranRepository.go b/sdk/go/artifactory/localCranRepository.go index 09373c9a..cd69181b 100644 --- a/sdk/go/artifactory/localCranRepository.go +++ b/sdk/go/artifactory/localCranRepository.go @@ -53,41 +53,41 @@ type LocalCranRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalCranRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localCranRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localCranRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localCranRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalCranRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalCranRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalCranRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localCranRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localCranRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalCranRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalCranRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalCranRepositoryOutput) ToLocalCranRepositoryOutputWithContext(ctx co // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalCranRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalCranRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalCranRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalCranRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalCranRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalCranRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalCranRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalCranRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalCranRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalCranRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalCranRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalCranRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalCranRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalCranRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalCranRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalCranRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalCranRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalCranRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalCranRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalCranRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalCranRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalCranRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutpu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalCranRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalCranRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalCranRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalCranRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalCranRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalCranRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalCranRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalCranRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalCranRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalCranRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localGemsRepository.go b/sdk/go/artifactory/localGemsRepository.go index 1d90adc1..24a17bee 100644 --- a/sdk/go/artifactory/localGemsRepository.go +++ b/sdk/go/artifactory/localGemsRepository.go @@ -53,41 +53,41 @@ type LocalGemsRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalGemsRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localGemsRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localGemsRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localGemsRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalGemsRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalGemsRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalGemsRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localGemsRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localGemsRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalGemsRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalGemsRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalGemsRepositoryOutput) ToLocalGemsRepositoryOutputWithContext(ctx co // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalGemsRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalGemsRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalGemsRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalGemsRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalGemsRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalGemsRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalGemsRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalGemsRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalGemsRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalGemsRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalGemsRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalGemsRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalGemsRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalGemsRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalGemsRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalGemsRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalGemsRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalGemsRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalGemsRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalGemsRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalGemsRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalGemsRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutpu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalGemsRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalGemsRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalGemsRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalGemsRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalGemsRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalGemsRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalGemsRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGemsRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalGemsRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localGenericRepository.go b/sdk/go/artifactory/localGenericRepository.go index b54d539a..8dd82cbc 100644 --- a/sdk/go/artifactory/localGenericRepository.go +++ b/sdk/go/artifactory/localGenericRepository.go @@ -53,42 +53,42 @@ type LocalGenericRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // A mandatory identifier for the repository that must be unique. // It cannot begin with a number or contain spaces or special characters. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalGenericRepository registers a new resource with the given unique name, arguments, and options. @@ -131,7 +131,7 @@ type localGenericRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -148,8 +148,7 @@ type localGenericRepositoryState struct { // It cannot begin with a number or contain spaces or special characters. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -158,7 +157,8 @@ type localGenericRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -173,7 +173,7 @@ type LocalGenericRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -190,8 +190,7 @@ type LocalGenericRepositoryState struct { // It cannot begin with a number or contain spaces or special characters. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -200,7 +199,8 @@ type LocalGenericRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -219,7 +219,7 @@ type localGenericRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -245,7 +245,8 @@ type localGenericRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -261,7 +262,7 @@ type LocalGenericRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -287,7 +288,8 @@ type LocalGenericRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -384,42 +386,42 @@ func (o LocalGenericRepositoryOutput) ToLocalGenericRepositoryOutputWithContext( // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalGenericRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalGenericRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalGenericRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalGenericRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalGenericRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalGenericRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalGenericRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalGenericRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalGenericRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalGenericRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalGenericRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalGenericRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalGenericRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalGenericRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // A mandatory identifier for the repository that must be unique. @@ -429,17 +431,13 @@ func (o LocalGenericRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalGenericRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalGenericRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalGenericRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalGenericRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalGenericRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalGenericRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -448,8 +446,8 @@ func (o LocalGenericRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalGenericRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalGenericRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -457,15 +455,16 @@ func (o LocalGenericRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalGenericRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalGenericRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalGenericRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalGenericRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGenericRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalGenericRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localGitltfsRepository.go b/sdk/go/artifactory/localGitltfsRepository.go index 47c84acb..42949a85 100644 --- a/sdk/go/artifactory/localGitltfsRepository.go +++ b/sdk/go/artifactory/localGitltfsRepository.go @@ -53,41 +53,41 @@ type LocalGitltfsRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalGitltfsRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localGitltfsRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localGitltfsRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localGitltfsRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalGitltfsRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalGitltfsRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalGitltfsRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localGitltfsRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localGitltfsRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalGitltfsRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalGitltfsRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalGitltfsRepositoryOutput) ToLocalGitltfsRepositoryOutputWithContext( // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalGitltfsRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalGitltfsRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalGitltfsRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalGitltfsRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalGitltfsRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalGitltfsRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalGitltfsRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalGitltfsRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalGitltfsRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalGitltfsRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalGitltfsRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalGitltfsRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalGitltfsRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalGitltfsRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalGitltfsRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalGitltfsRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalGitltfsRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalGitltfsRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalGitltfsRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalGitltfsRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalGitltfsRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalGitltfsRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalGitltfsRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalGitltfsRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalGitltfsRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalGitltfsRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalGitltfsRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalGitltfsRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalGitltfsRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGitltfsRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalGitltfsRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localGoRepository.go b/sdk/go/artifactory/localGoRepository.go index b9f9692d..ecda4dda 100644 --- a/sdk/go/artifactory/localGoRepository.go +++ b/sdk/go/artifactory/localGoRepository.go @@ -53,41 +53,41 @@ type LocalGoRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalGoRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localGoRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localGoRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localGoRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalGoRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalGoRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalGoRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localGoRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localGoRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalGoRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalGoRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalGoRepositoryOutput) ToLocalGoRepositoryOutputWithContext(ctx contex // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalGoRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalGoRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalGoRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalGoRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalGoRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalGoRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalGoRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalGoRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalGoRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalGoRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalGoRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalGoRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalGoRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalGoRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalGoRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalGoRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalGoRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalGoRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalGoRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalGoRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalGoRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalGoRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalGoRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalGoRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalGoRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalGoRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalGoRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalGoRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalGoRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalGoRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalGoRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalGoRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localHelmRepository.go b/sdk/go/artifactory/localHelmRepository.go index 8d699870..22b6ceaa 100644 --- a/sdk/go/artifactory/localHelmRepository.go +++ b/sdk/go/artifactory/localHelmRepository.go @@ -53,41 +53,41 @@ type LocalHelmRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalHelmRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localHelmRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localHelmRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localHelmRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalHelmRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalHelmRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalHelmRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localHelmRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localHelmRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalHelmRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalHelmRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalHelmRepositoryOutput) ToLocalHelmRepositoryOutputWithContext(ctx co // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalHelmRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalHelmRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalHelmRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalHelmRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalHelmRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalHelmRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalHelmRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalHelmRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalHelmRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalHelmRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalHelmRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalHelmRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalHelmRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalHelmRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalHelmRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalHelmRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalHelmRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalHelmRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalHelmRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalHelmRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalHelmRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalHelmRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutpu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalHelmRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalHelmRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalHelmRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalHelmRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalHelmRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalHelmRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalHelmRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHelmRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalHelmRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localHuggingfacemlRepository.go b/sdk/go/artifactory/localHuggingfacemlRepository.go index 3b367bae..9b722af8 100644 --- a/sdk/go/artifactory/localHuggingfacemlRepository.go +++ b/sdk/go/artifactory/localHuggingfacemlRepository.go @@ -55,41 +55,41 @@ type LocalHuggingfacemlRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalHuggingfacemlRepository registers a new resource with the given unique name, arguments, and options. @@ -132,7 +132,7 @@ type localHuggingfacemlRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -148,8 +148,7 @@ type localHuggingfacemlRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -158,7 +157,8 @@ type localHuggingfacemlRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -173,7 +173,7 @@ type LocalHuggingfacemlRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -189,8 +189,7 @@ type LocalHuggingfacemlRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -199,7 +198,8 @@ type LocalHuggingfacemlRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -218,7 +218,7 @@ type localHuggingfacemlRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -243,7 +243,8 @@ type localHuggingfacemlRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -259,7 +260,7 @@ type LocalHuggingfacemlRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -284,7 +285,8 @@ type LocalHuggingfacemlRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -381,42 +383,42 @@ func (o LocalHuggingfacemlRepositoryOutput) ToLocalHuggingfacemlRepositoryOutput // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalHuggingfacemlRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalHuggingfacemlRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalHuggingfacemlRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalHuggingfacemlRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalHuggingfacemlRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalHuggingfacemlRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalHuggingfacemlRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalHuggingfacemlRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -425,17 +427,13 @@ func (o LocalHuggingfacemlRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalHuggingfacemlRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalHuggingfacemlRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalHuggingfacemlRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalHuggingfacemlRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalHuggingfacemlRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -444,8 +442,8 @@ func (o LocalHuggingfacemlRepositoryOutput) ProjectEnvironments() pulumi.StringA // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalHuggingfacemlRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -453,15 +451,16 @@ func (o LocalHuggingfacemlRepositoryOutput) PropertySets() pulumi.StringArrayOut return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalHuggingfacemlRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalHuggingfacemlRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalHuggingfacemlRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalHuggingfacemlRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalHuggingfacemlRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalHuggingfacemlRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localMachinelearningRepository.go b/sdk/go/artifactory/localMachinelearningRepository.go new file mode 100644 index 00000000..df2a912b --- /dev/null +++ b/sdk/go/artifactory/localMachinelearningRepository.go @@ -0,0 +1,433 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package artifactory + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-artifactory/sdk/v8/go/artifactory/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Provides a resource to creates a local Machine Learning repository. +// +// Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/machine-learning-repositories). +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-artifactory/sdk/v8/go/artifactory" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := artifactory.NewLocalMachinelearningRepository(ctx, "my-machinelearning-local", &artifactory.LocalMachinelearningRepositoryArgs{ +// Key: pulumi.String("my-machinelearning-local"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// ```sh +// $ pulumi import artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository my-machinelearning-local my-machinelearning-local +// ``` +type LocalMachinelearningRepository struct { + pulumi.CustomResourceState + + // When set, you may view content such as HTML or Javadoc files directly from Artifactory. + // This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` + // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` + // Public description. + Description pulumi.StringOutput `pulumi:"description"` + // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` + // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` + // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` + // A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + Key pulumi.StringOutput `pulumi:"key"` + // Internal description. + Notes pulumi.StringOutput `pulumi:"notes"` + // Setting repositories with priority will cause metadata to be merged only from repositories set with this field + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` + ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` + // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` + // List of property set name + PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` + // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` +} + +// NewLocalMachinelearningRepository registers a new resource with the given unique name, arguments, and options. +func NewLocalMachinelearningRepository(ctx *pulumi.Context, + name string, args *LocalMachinelearningRepositoryArgs, opts ...pulumi.ResourceOption) (*LocalMachinelearningRepository, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Key == nil { + return nil, errors.New("invalid value for required argument 'Key'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource LocalMachinelearningRepository + err := ctx.RegisterResource("artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetLocalMachinelearningRepository gets an existing LocalMachinelearningRepository 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 GetLocalMachinelearningRepository(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *LocalMachinelearningRepositoryState, opts ...pulumi.ResourceOption) (*LocalMachinelearningRepository, error) { + var resource LocalMachinelearningRepository + err := ctx.ReadResource("artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering LocalMachinelearningRepository resources. +type localMachinelearningRepositoryState struct { + // When set, you may view content such as HTML or Javadoc files directly from Artifactory. + // This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + ArchiveBrowsingEnabled *bool `pulumi:"archiveBrowsingEnabled"` + // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + BlackedOut *bool `pulumi:"blackedOut"` + // Public description. + Description *string `pulumi:"description"` + // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + DownloadDirect *bool `pulumi:"downloadDirect"` + // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + ExcludesPattern *string `pulumi:"excludesPattern"` + // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + IncludesPattern *string `pulumi:"includesPattern"` + // A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + Key *string `pulumi:"key"` + // Internal description. + Notes *string `pulumi:"notes"` + // Setting repositories with priority will cause metadata to be merged only from repositories set with this field + PriorityResolution *bool `pulumi:"priorityResolution"` + ProjectEnvironments []string `pulumi:"projectEnvironments"` + // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + ProjectKey *string `pulumi:"projectKey"` + // List of property set name + PropertySets []string `pulumi:"propertySets"` + // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + XrayIndex *bool `pulumi:"xrayIndex"` +} + +type LocalMachinelearningRepositoryState struct { + // When set, you may view content such as HTML or Javadoc files directly from Artifactory. + // This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + ArchiveBrowsingEnabled pulumi.BoolPtrInput + // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + BlackedOut pulumi.BoolPtrInput + // Public description. + Description pulumi.StringPtrInput + // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + DownloadDirect pulumi.BoolPtrInput + // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + ExcludesPattern pulumi.StringPtrInput + // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + IncludesPattern pulumi.StringPtrInput + // A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + Key pulumi.StringPtrInput + // Internal description. + Notes pulumi.StringPtrInput + // Setting repositories with priority will cause metadata to be merged only from repositories set with this field + PriorityResolution pulumi.BoolPtrInput + ProjectEnvironments pulumi.StringArrayInput + // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + ProjectKey pulumi.StringPtrInput + // List of property set name + PropertySets pulumi.StringArrayInput + // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + XrayIndex pulumi.BoolPtrInput +} + +func (LocalMachinelearningRepositoryState) ElementType() reflect.Type { + return reflect.TypeOf((*localMachinelearningRepositoryState)(nil)).Elem() +} + +type localMachinelearningRepositoryArgs struct { + // When set, you may view content such as HTML or Javadoc files directly from Artifactory. + // This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + ArchiveBrowsingEnabled *bool `pulumi:"archiveBrowsingEnabled"` + // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + BlackedOut *bool `pulumi:"blackedOut"` + // Public description. + Description *string `pulumi:"description"` + // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + DownloadDirect *bool `pulumi:"downloadDirect"` + // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + ExcludesPattern *string `pulumi:"excludesPattern"` + // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + IncludesPattern *string `pulumi:"includesPattern"` + // A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + Key string `pulumi:"key"` + // Internal description. + Notes *string `pulumi:"notes"` + // Setting repositories with priority will cause metadata to be merged only from repositories set with this field + PriorityResolution *bool `pulumi:"priorityResolution"` + ProjectEnvironments []string `pulumi:"projectEnvironments"` + // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + ProjectKey *string `pulumi:"projectKey"` + // List of property set name + PropertySets []string `pulumi:"propertySets"` + // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + XrayIndex *bool `pulumi:"xrayIndex"` +} + +// The set of arguments for constructing a LocalMachinelearningRepository resource. +type LocalMachinelearningRepositoryArgs struct { + // When set, you may view content such as HTML or Javadoc files directly from Artifactory. + // This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + ArchiveBrowsingEnabled pulumi.BoolPtrInput + // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + BlackedOut pulumi.BoolPtrInput + // Public description. + Description pulumi.StringPtrInput + // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + DownloadDirect pulumi.BoolPtrInput + // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + ExcludesPattern pulumi.StringPtrInput + // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + IncludesPattern pulumi.StringPtrInput + // A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + Key pulumi.StringInput + // Internal description. + Notes pulumi.StringPtrInput + // Setting repositories with priority will cause metadata to be merged only from repositories set with this field + PriorityResolution pulumi.BoolPtrInput + ProjectEnvironments pulumi.StringArrayInput + // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + ProjectKey pulumi.StringPtrInput + // List of property set name + PropertySets pulumi.StringArrayInput + // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + XrayIndex pulumi.BoolPtrInput +} + +func (LocalMachinelearningRepositoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*localMachinelearningRepositoryArgs)(nil)).Elem() +} + +type LocalMachinelearningRepositoryInput interface { + pulumi.Input + + ToLocalMachinelearningRepositoryOutput() LocalMachinelearningRepositoryOutput + ToLocalMachinelearningRepositoryOutputWithContext(ctx context.Context) LocalMachinelearningRepositoryOutput +} + +func (*LocalMachinelearningRepository) ElementType() reflect.Type { + return reflect.TypeOf((**LocalMachinelearningRepository)(nil)).Elem() +} + +func (i *LocalMachinelearningRepository) ToLocalMachinelearningRepositoryOutput() LocalMachinelearningRepositoryOutput { + return i.ToLocalMachinelearningRepositoryOutputWithContext(context.Background()) +} + +func (i *LocalMachinelearningRepository) ToLocalMachinelearningRepositoryOutputWithContext(ctx context.Context) LocalMachinelearningRepositoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(LocalMachinelearningRepositoryOutput) +} + +// LocalMachinelearningRepositoryArrayInput is an input type that accepts LocalMachinelearningRepositoryArray and LocalMachinelearningRepositoryArrayOutput values. +// You can construct a concrete instance of `LocalMachinelearningRepositoryArrayInput` via: +// +// LocalMachinelearningRepositoryArray{ LocalMachinelearningRepositoryArgs{...} } +type LocalMachinelearningRepositoryArrayInput interface { + pulumi.Input + + ToLocalMachinelearningRepositoryArrayOutput() LocalMachinelearningRepositoryArrayOutput + ToLocalMachinelearningRepositoryArrayOutputWithContext(context.Context) LocalMachinelearningRepositoryArrayOutput +} + +type LocalMachinelearningRepositoryArray []LocalMachinelearningRepositoryInput + +func (LocalMachinelearningRepositoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*LocalMachinelearningRepository)(nil)).Elem() +} + +func (i LocalMachinelearningRepositoryArray) ToLocalMachinelearningRepositoryArrayOutput() LocalMachinelearningRepositoryArrayOutput { + return i.ToLocalMachinelearningRepositoryArrayOutputWithContext(context.Background()) +} + +func (i LocalMachinelearningRepositoryArray) ToLocalMachinelearningRepositoryArrayOutputWithContext(ctx context.Context) LocalMachinelearningRepositoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(LocalMachinelearningRepositoryArrayOutput) +} + +// LocalMachinelearningRepositoryMapInput is an input type that accepts LocalMachinelearningRepositoryMap and LocalMachinelearningRepositoryMapOutput values. +// You can construct a concrete instance of `LocalMachinelearningRepositoryMapInput` via: +// +// LocalMachinelearningRepositoryMap{ "key": LocalMachinelearningRepositoryArgs{...} } +type LocalMachinelearningRepositoryMapInput interface { + pulumi.Input + + ToLocalMachinelearningRepositoryMapOutput() LocalMachinelearningRepositoryMapOutput + ToLocalMachinelearningRepositoryMapOutputWithContext(context.Context) LocalMachinelearningRepositoryMapOutput +} + +type LocalMachinelearningRepositoryMap map[string]LocalMachinelearningRepositoryInput + +func (LocalMachinelearningRepositoryMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*LocalMachinelearningRepository)(nil)).Elem() +} + +func (i LocalMachinelearningRepositoryMap) ToLocalMachinelearningRepositoryMapOutput() LocalMachinelearningRepositoryMapOutput { + return i.ToLocalMachinelearningRepositoryMapOutputWithContext(context.Background()) +} + +func (i LocalMachinelearningRepositoryMap) ToLocalMachinelearningRepositoryMapOutputWithContext(ctx context.Context) LocalMachinelearningRepositoryMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(LocalMachinelearningRepositoryMapOutput) +} + +type LocalMachinelearningRepositoryOutput struct{ *pulumi.OutputState } + +func (LocalMachinelearningRepositoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LocalMachinelearningRepository)(nil)).Elem() +} + +func (o LocalMachinelearningRepositoryOutput) ToLocalMachinelearningRepositoryOutput() LocalMachinelearningRepositoryOutput { + return o +} + +func (o LocalMachinelearningRepositoryOutput) ToLocalMachinelearningRepositoryOutputWithContext(ctx context.Context) LocalMachinelearningRepositoryOutput { + return o +} + +// When set, you may view content such as HTML or Javadoc files directly from Artifactory. +// This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). +func (o LocalMachinelearningRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) +} + +// When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. +func (o LocalMachinelearningRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) +} + +// Public description. +func (o LocalMachinelearningRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. +func (o LocalMachinelearningRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) +} + +// List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. +func (o LocalMachinelearningRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) +} + +// List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). +func (o LocalMachinelearningRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) +} + +// A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. +func (o LocalMachinelearningRepositoryOutput) Key() pulumi.StringOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) +} + +// Internal description. +func (o LocalMachinelearningRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) +} + +// Setting repositories with priority will cause metadata to be merged only from repositories set with this field +func (o LocalMachinelearningRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) +} + +func (o LocalMachinelearningRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.StringArrayOutput { return v.ProjectEnvironments }).(pulumi.StringArrayOutput) +} + +// Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. +func (o LocalMachinelearningRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) +} + +// List of property set name +func (o LocalMachinelearningRepositoryOutput) PropertySets() pulumi.StringArrayOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) +} + +// Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. +func (o LocalMachinelearningRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalMachinelearningRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) +} + +type LocalMachinelearningRepositoryArrayOutput struct{ *pulumi.OutputState } + +func (LocalMachinelearningRepositoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*LocalMachinelearningRepository)(nil)).Elem() +} + +func (o LocalMachinelearningRepositoryArrayOutput) ToLocalMachinelearningRepositoryArrayOutput() LocalMachinelearningRepositoryArrayOutput { + return o +} + +func (o LocalMachinelearningRepositoryArrayOutput) ToLocalMachinelearningRepositoryArrayOutputWithContext(ctx context.Context) LocalMachinelearningRepositoryArrayOutput { + return o +} + +func (o LocalMachinelearningRepositoryArrayOutput) Index(i pulumi.IntInput) LocalMachinelearningRepositoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *LocalMachinelearningRepository { + return vs[0].([]*LocalMachinelearningRepository)[vs[1].(int)] + }).(LocalMachinelearningRepositoryOutput) +} + +type LocalMachinelearningRepositoryMapOutput struct{ *pulumi.OutputState } + +func (LocalMachinelearningRepositoryMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*LocalMachinelearningRepository)(nil)).Elem() +} + +func (o LocalMachinelearningRepositoryMapOutput) ToLocalMachinelearningRepositoryMapOutput() LocalMachinelearningRepositoryMapOutput { + return o +} + +func (o LocalMachinelearningRepositoryMapOutput) ToLocalMachinelearningRepositoryMapOutputWithContext(ctx context.Context) LocalMachinelearningRepositoryMapOutput { + return o +} + +func (o LocalMachinelearningRepositoryMapOutput) MapIndex(k pulumi.StringInput) LocalMachinelearningRepositoryOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *LocalMachinelearningRepository { + return vs[0].(map[string]*LocalMachinelearningRepository)[vs[1].(string)] + }).(LocalMachinelearningRepositoryOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*LocalMachinelearningRepositoryInput)(nil)).Elem(), &LocalMachinelearningRepository{}) + pulumi.RegisterInputType(reflect.TypeOf((*LocalMachinelearningRepositoryArrayInput)(nil)).Elem(), LocalMachinelearningRepositoryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*LocalMachinelearningRepositoryMapInput)(nil)).Elem(), LocalMachinelearningRepositoryMap{}) + pulumi.RegisterOutputType(LocalMachinelearningRepositoryOutput{}) + pulumi.RegisterOutputType(LocalMachinelearningRepositoryArrayOutput{}) + pulumi.RegisterOutputType(LocalMachinelearningRepositoryMapOutput{}) +} diff --git a/sdk/go/artifactory/localNpmRepository.go b/sdk/go/artifactory/localNpmRepository.go index e0e028d7..b10e567e 100644 --- a/sdk/go/artifactory/localNpmRepository.go +++ b/sdk/go/artifactory/localNpmRepository.go @@ -53,41 +53,41 @@ type LocalNpmRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalNpmRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localNpmRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localNpmRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localNpmRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalNpmRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalNpmRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalNpmRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localNpmRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localNpmRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalNpmRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalNpmRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalNpmRepositoryOutput) ToLocalNpmRepositoryOutputWithContext(ctx cont // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalNpmRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalNpmRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalNpmRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalNpmRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalNpmRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalNpmRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalNpmRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalNpmRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalNpmRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalNpmRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalNpmRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalNpmRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalNpmRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalNpmRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalNpmRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalNpmRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalNpmRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalNpmRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalNpmRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalNpmRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalNpmRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalNpmRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalNpmRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalNpmRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalNpmRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalNpmRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalNpmRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalNpmRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalNpmRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalNpmRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalNpmRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localOpkgRepository.go b/sdk/go/artifactory/localOpkgRepository.go index 9696a21e..03cf897c 100644 --- a/sdk/go/artifactory/localOpkgRepository.go +++ b/sdk/go/artifactory/localOpkgRepository.go @@ -53,41 +53,41 @@ type LocalOpkgRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalOpkgRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localOpkgRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localOpkgRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localOpkgRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalOpkgRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalOpkgRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalOpkgRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localOpkgRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localOpkgRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalOpkgRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalOpkgRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalOpkgRepositoryOutput) ToLocalOpkgRepositoryOutputWithContext(ctx co // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalOpkgRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalOpkgRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalOpkgRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalOpkgRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalOpkgRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalOpkgRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalOpkgRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalOpkgRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalOpkgRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalOpkgRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalOpkgRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalOpkgRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalOpkgRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalOpkgRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalOpkgRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalOpkgRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalOpkgRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalOpkgRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalOpkgRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalOpkgRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalOpkgRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalOpkgRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutpu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalOpkgRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalOpkgRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalOpkgRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalOpkgRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalOpkgRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalOpkgRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalOpkgRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalOpkgRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalOpkgRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localPubRepository.go b/sdk/go/artifactory/localPubRepository.go index 1645be1f..1228e505 100644 --- a/sdk/go/artifactory/localPubRepository.go +++ b/sdk/go/artifactory/localPubRepository.go @@ -53,41 +53,41 @@ type LocalPubRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalPubRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localPubRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localPubRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localPubRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalPubRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalPubRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalPubRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localPubRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localPubRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalPubRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalPubRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalPubRepositoryOutput) ToLocalPubRepositoryOutputWithContext(ctx cont // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalPubRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalPubRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalPubRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalPubRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalPubRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalPubRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalPubRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalPubRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalPubRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalPubRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalPubRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalPubRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalPubRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalPubRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalPubRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalPubRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalPubRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalPubRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalPubRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalPubRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalPubRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalPubRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalPubRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalPubRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalPubRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalPubRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalPubRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalPubRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalPubRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalPubRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPubRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalPubRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localPuppetRepository.go b/sdk/go/artifactory/localPuppetRepository.go index 63f7a2a8..2db59e7d 100644 --- a/sdk/go/artifactory/localPuppetRepository.go +++ b/sdk/go/artifactory/localPuppetRepository.go @@ -53,41 +53,41 @@ type LocalPuppetRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalPuppetRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localPuppetRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localPuppetRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localPuppetRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalPuppetRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalPuppetRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalPuppetRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localPuppetRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localPuppetRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalPuppetRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalPuppetRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalPuppetRepositoryOutput) ToLocalPuppetRepositoryOutputWithContext(ct // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalPuppetRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalPuppetRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalPuppetRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalPuppetRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalPuppetRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalPuppetRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalPuppetRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalPuppetRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalPuppetRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalPuppetRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalPuppetRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalPuppetRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalPuppetRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalPuppetRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalPuppetRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalPuppetRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalPuppetRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalPuppetRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalPuppetRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalPuppetRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalPuppetRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalPuppetRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOut // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalPuppetRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalPuppetRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalPuppetRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalPuppetRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalPuppetRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalPuppetRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalPuppetRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPuppetRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalPuppetRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localPypiRepository.go b/sdk/go/artifactory/localPypiRepository.go index ae745ad6..31499d0b 100644 --- a/sdk/go/artifactory/localPypiRepository.go +++ b/sdk/go/artifactory/localPypiRepository.go @@ -53,41 +53,41 @@ type LocalPypiRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalPypiRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localPypiRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localPypiRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localPypiRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalPypiRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalPypiRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalPypiRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localPypiRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localPypiRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalPypiRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalPypiRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalPypiRepositoryOutput) ToLocalPypiRepositoryOutputWithContext(ctx co // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalPypiRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalPypiRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalPypiRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalPypiRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalPypiRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalPypiRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalPypiRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalPypiRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalPypiRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalPypiRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalPypiRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalPypiRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalPypiRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalPypiRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalPypiRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalPypiRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalPypiRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalPypiRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalPypiRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalPypiRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalPypiRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalPypiRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutpu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalPypiRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalPypiRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalPypiRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalPypiRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalPypiRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalPypiRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalPypiRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalPypiRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalPypiRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localSwiftRepository.go b/sdk/go/artifactory/localSwiftRepository.go index ba55bdb5..209fd823 100644 --- a/sdk/go/artifactory/localSwiftRepository.go +++ b/sdk/go/artifactory/localSwiftRepository.go @@ -53,41 +53,41 @@ type LocalSwiftRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalSwiftRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localSwiftRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localSwiftRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localSwiftRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalSwiftRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalSwiftRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalSwiftRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localSwiftRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localSwiftRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalSwiftRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalSwiftRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalSwiftRepositoryOutput) ToLocalSwiftRepositoryOutputWithContext(ctx // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalSwiftRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalSwiftRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalSwiftRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalSwiftRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalSwiftRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalSwiftRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalSwiftRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalSwiftRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalSwiftRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalSwiftRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalSwiftRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalSwiftRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalSwiftRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalSwiftRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalSwiftRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalSwiftRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalSwiftRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalSwiftRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalSwiftRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalSwiftRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalSwiftRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalSwiftRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutp // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalSwiftRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalSwiftRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalSwiftRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalSwiftRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalSwiftRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalSwiftRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalSwiftRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalSwiftRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalSwiftRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localTerraformBackendRepository.go b/sdk/go/artifactory/localTerraformBackendRepository.go index b82bbfcc..7dba43f8 100644 --- a/sdk/go/artifactory/localTerraformBackendRepository.go +++ b/sdk/go/artifactory/localTerraformBackendRepository.go @@ -51,41 +51,41 @@ type LocalTerraformBackendRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalTerraformBackendRepository registers a new resource with the given unique name, arguments, and options. @@ -128,7 +128,7 @@ type localTerraformBackendRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -144,8 +144,7 @@ type localTerraformBackendRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -154,7 +153,8 @@ type localTerraformBackendRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -169,7 +169,7 @@ type LocalTerraformBackendRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -185,8 +185,7 @@ type LocalTerraformBackendRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -195,7 +194,8 @@ type LocalTerraformBackendRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -214,7 +214,7 @@ type localTerraformBackendRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -239,7 +239,8 @@ type localTerraformBackendRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -255,7 +256,7 @@ type LocalTerraformBackendRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -280,7 +281,8 @@ type LocalTerraformBackendRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -377,42 +379,42 @@ func (o LocalTerraformBackendRepositoryOutput) ToLocalTerraformBackendRepository // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalTerraformBackendRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalTerraformBackendRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalTerraformBackendRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalTerraformBackendRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalTerraformBackendRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalTerraformBackendRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalTerraformBackendRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalTerraformBackendRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -421,17 +423,13 @@ func (o LocalTerraformBackendRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalTerraformBackendRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalTerraformBackendRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalTerraformBackendRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalTerraformBackendRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalTerraformBackendRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -440,8 +438,8 @@ func (o LocalTerraformBackendRepositoryOutput) ProjectEnvironments() pulumi.Stri // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalTerraformBackendRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -449,15 +447,16 @@ func (o LocalTerraformBackendRepositoryOutput) PropertySets() pulumi.StringArray return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalTerraformBackendRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalTerraformBackendRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalTerraformBackendRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalTerraformBackendRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalTerraformBackendRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalTerraformBackendRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/go/artifactory/localVagrantRepository.go b/sdk/go/artifactory/localVagrantRepository.go index c015fb39..2519b8b9 100644 --- a/sdk/go/artifactory/localVagrantRepository.go +++ b/sdk/go/artifactory/localVagrantRepository.go @@ -53,41 +53,41 @@ type LocalVagrantRepository struct { // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). - ArchiveBrowsingEnabled pulumi.BoolPtrOutput `pulumi:"archiveBrowsingEnabled"` + ArchiveBrowsingEnabled pulumi.BoolOutput `pulumi:"archiveBrowsingEnabled"` // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. - BlackedOut pulumi.BoolPtrOutput `pulumi:"blackedOut"` + BlackedOut pulumi.BoolOutput `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' - CdnRedirect pulumi.BoolPtrOutput `pulumi:"cdnRedirect"` + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` + CdnRedirect pulumi.BoolOutput `pulumi:"cdnRedirect"` // Public description. - Description pulumi.StringPtrOutput `pulumi:"description"` + Description pulumi.StringOutput `pulumi:"description"` // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. - DownloadDirect pulumi.BoolPtrOutput `pulumi:"downloadDirect"` + DownloadDirect pulumi.BoolOutput `pulumi:"downloadDirect"` // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. - ExcludesPattern pulumi.StringPtrOutput `pulumi:"excludesPattern"` + ExcludesPattern pulumi.StringOutput `pulumi:"excludesPattern"` // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). - IncludesPattern pulumi.StringPtrOutput `pulumi:"includesPattern"` + IncludesPattern pulumi.StringOutput `pulumi:"includesPattern"` // the identity key of the repo. Key pulumi.StringOutput `pulumi:"key"` // Internal description. - Notes pulumi.StringPtrOutput `pulumi:"notes"` - PackageType pulumi.StringOutput `pulumi:"packageType"` + Notes pulumi.StringOutput `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field - PriorityResolution pulumi.BoolPtrOutput `pulumi:"priorityResolution"` + PriorityResolution pulumi.BoolOutput `pulumi:"priorityResolution"` ProjectEnvironments pulumi.StringArrayOutput `pulumi:"projectEnvironments"` // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. - ProjectKey pulumi.StringPtrOutput `pulumi:"projectKey"` + ProjectKey pulumi.StringOutput `pulumi:"projectKey"` // List of property set name PropertySets pulumi.StringArrayOutput `pulumi:"propertySets"` - // Repository layout key for the local repository - RepoLayoutRef pulumi.StringPtrOutput `pulumi:"repoLayoutRef"` + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. + RepoLayoutRef pulumi.StringOutput `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. - XrayIndex pulumi.BoolPtrOutput `pulumi:"xrayIndex"` + XrayIndex pulumi.BoolOutput `pulumi:"xrayIndex"` } // NewLocalVagrantRepository registers a new resource with the given unique name, arguments, and options. @@ -130,7 +130,7 @@ type localVagrantRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -146,8 +146,7 @@ type localVagrantRepositoryState struct { // the identity key of the repo. Key *string `pulumi:"key"` // Internal description. - Notes *string `pulumi:"notes"` - PackageType *string `pulumi:"packageType"` + Notes *string `pulumi:"notes"` // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution *bool `pulumi:"priorityResolution"` ProjectEnvironments []string `pulumi:"projectEnvironments"` @@ -156,7 +155,8 @@ type localVagrantRepositoryState struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -171,7 +171,7 @@ type LocalVagrantRepositoryState struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -187,8 +187,7 @@ type LocalVagrantRepositoryState struct { // the identity key of the repo. Key pulumi.StringPtrInput // Internal description. - Notes pulumi.StringPtrInput - PackageType pulumi.StringPtrInput + Notes pulumi.StringPtrInput // Setting repositories with priority will cause metadata to be merged only from repositories set with this field PriorityResolution pulumi.BoolPtrInput ProjectEnvironments pulumi.StringArrayInput @@ -197,7 +196,8 @@ type LocalVagrantRepositoryState struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -216,7 +216,7 @@ type localVagrantRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut *bool `pulumi:"blackedOut"` // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect *bool `pulumi:"cdnRedirect"` // Public description. Description *string `pulumi:"description"` @@ -241,7 +241,8 @@ type localVagrantRepositoryArgs struct { ProjectKey *string `pulumi:"projectKey"` // List of property set name PropertySets []string `pulumi:"propertySets"` - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef *string `pulumi:"repoLayoutRef"` // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -257,7 +258,7 @@ type LocalVagrantRepositoryArgs struct { // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. BlackedOut pulumi.BoolPtrInput // When set, download requests to this repository will redirect the client to download the artifact directly from AWS - // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + // CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` CdnRedirect pulumi.BoolPtrInput // Public description. Description pulumi.StringPtrInput @@ -282,7 +283,8 @@ type LocalVagrantRepositoryArgs struct { ProjectKey pulumi.StringPtrInput // List of property set name PropertySets pulumi.StringArrayInput - // Repository layout key for the local repository + // Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + // corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. RepoLayoutRef pulumi.StringPtrInput // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. @@ -379,42 +381,42 @@ func (o LocalVagrantRepositoryOutput) ToLocalVagrantRepositoryOutputWithContext( // When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and // therefore requires strict content moderation to prevent malicious users from uploading content that may compromise // security (e.g., cross-site scripting attacks). -func (o LocalVagrantRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolPtrOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolPtrOutput) +func (o LocalVagrantRepositoryOutput) ArchiveBrowsingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolOutput { return v.ArchiveBrowsingEnabled }).(pulumi.BoolOutput) } // When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. -func (o LocalVagrantRepositoryOutput) BlackedOut() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolPtrOutput { return v.BlackedOut }).(pulumi.BoolPtrOutput) +func (o LocalVagrantRepositoryOutput) BlackedOut() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolOutput { return v.BlackedOut }).(pulumi.BoolOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from AWS -// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' -func (o LocalVagrantRepositoryOutput) CdnRedirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolPtrOutput { return v.CdnRedirect }).(pulumi.BoolPtrOutput) +// CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` +func (o LocalVagrantRepositoryOutput) CdnRedirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolOutput { return v.CdnRedirect }).(pulumi.BoolOutput) } // Public description. -func (o LocalVagrantRepositoryOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) +func (o LocalVagrantRepositoryOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } // When set, download requests to this repository will redirect the client to download the artifact directly from the cloud // storage provider. Available in Enterprise+ and Edge licenses only. -func (o LocalVagrantRepositoryOutput) DownloadDirect() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolPtrOutput { return v.DownloadDirect }).(pulumi.BoolPtrOutput) +func (o LocalVagrantRepositoryOutput) DownloadDirect() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolOutput { return v.DownloadDirect }).(pulumi.BoolOutput) } // List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no // artifacts are excluded. -func (o LocalVagrantRepositoryOutput) ExcludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringPtrOutput { return v.ExcludesPattern }).(pulumi.StringPtrOutput) +func (o LocalVagrantRepositoryOutput) ExcludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringOutput { return v.ExcludesPattern }).(pulumi.StringOutput) } // List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When // used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). -func (o LocalVagrantRepositoryOutput) IncludesPattern() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringPtrOutput { return v.IncludesPattern }).(pulumi.StringPtrOutput) +func (o LocalVagrantRepositoryOutput) IncludesPattern() pulumi.StringOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringOutput { return v.IncludesPattern }).(pulumi.StringOutput) } // the identity key of the repo. @@ -423,17 +425,13 @@ func (o LocalVagrantRepositoryOutput) Key() pulumi.StringOutput { } // Internal description. -func (o LocalVagrantRepositoryOutput) Notes() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringPtrOutput { return v.Notes }).(pulumi.StringPtrOutput) -} - -func (o LocalVagrantRepositoryOutput) PackageType() pulumi.StringOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringOutput { return v.PackageType }).(pulumi.StringOutput) +func (o LocalVagrantRepositoryOutput) Notes() pulumi.StringOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringOutput { return v.Notes }).(pulumi.StringOutput) } // Setting repositories with priority will cause metadata to be merged only from repositories set with this field -func (o LocalVagrantRepositoryOutput) PriorityResolution() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolPtrOutput { return v.PriorityResolution }).(pulumi.BoolPtrOutput) +func (o LocalVagrantRepositoryOutput) PriorityResolution() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolOutput { return v.PriorityResolution }).(pulumi.BoolOutput) } func (o LocalVagrantRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOutput { @@ -442,8 +440,8 @@ func (o LocalVagrantRepositoryOutput) ProjectEnvironments() pulumi.StringArrayOu // Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When // assigning repository to a project, repository key must be prefixed with project key, separated by a dash. -func (o LocalVagrantRepositoryOutput) ProjectKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringPtrOutput { return v.ProjectKey }).(pulumi.StringPtrOutput) +func (o LocalVagrantRepositoryOutput) ProjectKey() pulumi.StringOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringOutput { return v.ProjectKey }).(pulumi.StringOutput) } // List of property set name @@ -451,15 +449,16 @@ func (o LocalVagrantRepositoryOutput) PropertySets() pulumi.StringArrayOutput { return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringArrayOutput { return v.PropertySets }).(pulumi.StringArrayOutput) } -// Repository layout key for the local repository -func (o LocalVagrantRepositoryOutput) RepoLayoutRef() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringPtrOutput { return v.RepoLayoutRef }).(pulumi.StringPtrOutput) +// Sets the layout that the repository should use for storing and identifying modules. A recommended layout that +// corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. +func (o LocalVagrantRepositoryOutput) RepoLayoutRef() pulumi.StringOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.StringOutput { return v.RepoLayoutRef }).(pulumi.StringOutput) } // Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via // Xray settings. -func (o LocalVagrantRepositoryOutput) XrayIndex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolPtrOutput { return v.XrayIndex }).(pulumi.BoolPtrOutput) +func (o LocalVagrantRepositoryOutput) XrayIndex() pulumi.BoolOutput { + return o.ApplyT(func(v *LocalVagrantRepository) pulumi.BoolOutput { return v.XrayIndex }).(pulumi.BoolOutput) } type LocalVagrantRepositoryArrayOutput struct{ *pulumi.OutputState } diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalBowerRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalBowerRepository.java index 22b27a31..4040c0d4 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalBowerRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalBowerRepository.java @@ -72,7 +72,7 @@ public class LocalBowerRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalBowerRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalBowerRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalBowerRepositoryArgs.java index 9f736c75..7fb277bc 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalBowerRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalBowerRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalChefRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalChefRepository.java index d35a65d6..21762efa 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalChefRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalChefRepository.java @@ -72,7 +72,7 @@ public class LocalChefRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalChefRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalChefRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalChefRepositoryArgs.java index 39306eb5..45b27d20 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalChefRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalChefRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCocoapodsRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCocoapodsRepository.java index 11a27b0c..0cfaddc3 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCocoapodsRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCocoapodsRepository.java @@ -72,7 +72,7 @@ public class LocalCocoapodsRepository extends com.pulumi.resources.CustomResourc * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalCocoapodsRepository extends com.pulumi.resources.CustomResourc * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCocoapodsRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCocoapodsRepositoryArgs.java index de70c3fb..51666d01 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCocoapodsRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCocoapodsRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalComposerRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalComposerRepository.java index 9277503c..fd49dd51 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalComposerRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalComposerRepository.java @@ -72,7 +72,7 @@ public class LocalComposerRepository extends com.pulumi.resources.CustomResource * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalComposerRepository extends com.pulumi.resources.CustomResource * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalComposerRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalComposerRepositoryArgs.java index fb123d0e..1db84307 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalComposerRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalComposerRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCondaRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCondaRepository.java index a5addbbf..c26c056a 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCondaRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCondaRepository.java @@ -72,7 +72,7 @@ public class LocalCondaRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalCondaRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCondaRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCondaRepositoryArgs.java index fb902d45..f932cb0f 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCondaRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCondaRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCranRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCranRepository.java index 20b0b913..4eec9f48 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCranRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCranRepository.java @@ -72,7 +72,7 @@ public class LocalCranRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalCranRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCranRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCranRepositoryArgs.java index 832474c8..5c27c412 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalCranRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalCranRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGemsRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGemsRepository.java index 4c9b4da0..fa4274c7 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGemsRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGemsRepository.java @@ -72,7 +72,7 @@ public class LocalGemsRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalGemsRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGemsRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGemsRepositoryArgs.java index a2558077..6b52970d 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGemsRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGemsRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGenericRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGenericRepository.java index 1e3bd2c6..ad420b2a 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGenericRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGenericRepository.java @@ -72,7 +72,7 @@ public class LocalGenericRepository extends com.pulumi.resources.CustomResource * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalGenericRepository extends com.pulumi.resources.CustomResource * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * A mandatory identifier for the repository that must be unique. @@ -196,34 +196,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -237,15 +231,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -262,18 +256,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -281,15 +277,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGenericRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGenericRepositoryArgs.java index ea4c94c3..6e66fec1 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGenericRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGenericRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -222,14 +222,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -339,7 +341,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -351,7 +353,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -583,7 +585,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -594,7 +597,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGitltfsRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGitltfsRepository.java index 32ff87ae..ba6f21f1 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGitltfsRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGitltfsRepository.java @@ -72,7 +72,7 @@ public class LocalGitltfsRepository extends com.pulumi.resources.CustomResource * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalGitltfsRepository extends com.pulumi.resources.CustomResource * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGitltfsRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGitltfsRepositoryArgs.java index ed345a46..b50bdfdd 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGitltfsRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGitltfsRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGoRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGoRepository.java index 009f6a41..cabae8c8 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGoRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGoRepository.java @@ -72,7 +72,7 @@ public class LocalGoRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalGoRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGoRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGoRepositoryArgs.java index b2019c44..2b8d86ba 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalGoRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalGoRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalHelmRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalHelmRepository.java index 2412af8d..b88cd003 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalHelmRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalHelmRepository.java @@ -72,7 +72,7 @@ public class LocalHelmRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalHelmRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalHelmRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalHelmRepositoryArgs.java index 1fa784bd..64e23fea 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalHelmRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalHelmRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalHuggingfacemlRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalHuggingfacemlRepository.java index 6a81d9cd..98d0cd79 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalHuggingfacemlRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalHuggingfacemlRepository.java @@ -74,7 +74,7 @@ public class LocalHuggingfacemlRepository extends com.pulumi.resources.CustomRes * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -82,52 +82,52 @@ public class LocalHuggingfacemlRepository extends com.pulumi.resources.CustomRes * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -135,15 +135,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -151,15 +151,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -167,15 +167,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -196,34 +196,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -237,15 +231,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -262,18 +256,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -281,15 +277,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalHuggingfacemlRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalHuggingfacemlRepositoryArgs.java index b60260b6..f68d4a8a 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalHuggingfacemlRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalHuggingfacemlRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalMachinelearningRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalMachinelearningRepository.java new file mode 100644 index 00000000..bb6afb3d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalMachinelearningRepository.java @@ -0,0 +1,300 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.artifactory; + +import com.pulumi.artifactory.LocalMachinelearningRepositoryArgs; +import com.pulumi.artifactory.Utilities; +import com.pulumi.artifactory.inputs.LocalMachinelearningRepositoryState; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Provides a resource to creates a local Machine Learning repository. + * + * Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/machine-learning-repositories). + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.artifactory.LocalMachinelearningRepository;
+ * import com.pulumi.artifactory.LocalMachinelearningRepositoryArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var my_machinelearning_local = new LocalMachinelearningRepository("my-machinelearning-local", LocalMachinelearningRepositoryArgs.builder()
+ *             .key("my-machinelearning-local")
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * ```sh + * $ pulumi import artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository my-machinelearning-local my-machinelearning-local + * ``` + * + */ +@ResourceType(type="artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository") +public class LocalMachinelearningRepository extends com.pulumi.resources.CustomResource { + /** + * When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + */ + @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") + private Output archiveBrowsingEnabled; + + /** + * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + */ + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; + } + /** + * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + */ + @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") + private Output blackedOut; + + /** + * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + */ + public Output blackedOut() { + return this.blackedOut; + } + /** + * Public description. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Public description. + * + */ + public Output description() { + return this.description; + } + /** + * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + */ + @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") + private Output downloadDirect; + + /** + * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + */ + public Output downloadDirect() { + return this.downloadDirect; + } + /** + * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + */ + @Export(name="excludesPattern", refs={String.class}, tree="[0]") + private Output excludesPattern; + + /** + * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + */ + public Output excludesPattern() { + return this.excludesPattern; + } + /** + * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + */ + @Export(name="includesPattern", refs={String.class}, tree="[0]") + private Output includesPattern; + + /** + * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + */ + public Output includesPattern() { + return this.includesPattern; + } + /** + * A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + */ + @Export(name="key", refs={String.class}, tree="[0]") + private Output key; + + /** + * @return A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + */ + public Output key() { + return this.key; + } + /** + * Internal description. + * + */ + @Export(name="notes", refs={String.class}, tree="[0]") + private Output notes; + + /** + * @return Internal description. + * + */ + public Output notes() { + return this.notes; + } + /** + * Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + */ + @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") + private Output priorityResolution; + + /** + * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + */ + public Output priorityResolution() { + return this.priorityResolution; + } + @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") + private Output> projectEnvironments; + + public Output> projectEnvironments() { + return this.projectEnvironments; + } + /** + * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + */ + @Export(name="projectKey", refs={String.class}, tree="[0]") + private Output projectKey; + + /** + * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + */ + public Output projectKey() { + return this.projectKey; + } + /** + * List of property set name + * + */ + @Export(name="propertySets", refs={List.class,String.class}, tree="[0,1]") + private Output> propertySets; + + /** + * @return List of property set name + * + */ + public Output>> propertySets() { + return Codegen.optional(this.propertySets); + } + /** + * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + */ + @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") + private Output xrayIndex; + + /** + * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + */ + public Output xrayIndex() { + return this.xrayIndex; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public LocalMachinelearningRepository(java.lang.String name) { + this(name, LocalMachinelearningRepositoryArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public LocalMachinelearningRepository(java.lang.String name, LocalMachinelearningRepositoryArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public LocalMachinelearningRepository(java.lang.String name, LocalMachinelearningRepositoryArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private LocalMachinelearningRepository(java.lang.String name, Output id, @Nullable LocalMachinelearningRepositoryState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository", name, state, makeResourceOptions(options, id), false); + } + + private static LocalMachinelearningRepositoryArgs makeArgs(LocalMachinelearningRepositoryArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? LocalMachinelearningRepositoryArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static LocalMachinelearningRepository get(java.lang.String name, Output id, @Nullable LocalMachinelearningRepositoryState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new LocalMachinelearningRepository(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalMachinelearningRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalMachinelearningRepositoryArgs.java new file mode 100644 index 00000000..90117757 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalMachinelearningRepositoryArgs.java @@ -0,0 +1,531 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.artifactory; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class LocalMachinelearningRepositoryArgs extends com.pulumi.resources.ResourceArgs { + + public static final LocalMachinelearningRepositoryArgs Empty = new LocalMachinelearningRepositoryArgs(); + + /** + * When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + */ + @Import(name="archiveBrowsingEnabled") + private @Nullable Output archiveBrowsingEnabled; + + /** + * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + */ + public Optional> archiveBrowsingEnabled() { + return Optional.ofNullable(this.archiveBrowsingEnabled); + } + + /** + * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + */ + @Import(name="blackedOut") + private @Nullable Output blackedOut; + + /** + * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + */ + public Optional> blackedOut() { + return Optional.ofNullable(this.blackedOut); + } + + /** + * Public description. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Public description. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + */ + @Import(name="downloadDirect") + private @Nullable Output downloadDirect; + + /** + * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + */ + public Optional> downloadDirect() { + return Optional.ofNullable(this.downloadDirect); + } + + /** + * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + */ + @Import(name="excludesPattern") + private @Nullable Output excludesPattern; + + /** + * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + */ + public Optional> excludesPattern() { + return Optional.ofNullable(this.excludesPattern); + } + + /** + * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + */ + @Import(name="includesPattern") + private @Nullable Output includesPattern; + + /** + * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + */ + public Optional> includesPattern() { + return Optional.ofNullable(this.includesPattern); + } + + /** + * A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + */ + @Import(name="key", required=true) + private Output key; + + /** + * @return A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + */ + public Output key() { + return this.key; + } + + /** + * Internal description. + * + */ + @Import(name="notes") + private @Nullable Output notes; + + /** + * @return Internal description. + * + */ + public Optional> notes() { + return Optional.ofNullable(this.notes); + } + + /** + * Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + */ + @Import(name="priorityResolution") + private @Nullable Output priorityResolution; + + /** + * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + */ + public Optional> priorityResolution() { + return Optional.ofNullable(this.priorityResolution); + } + + @Import(name="projectEnvironments") + private @Nullable Output> projectEnvironments; + + public Optional>> projectEnvironments() { + return Optional.ofNullable(this.projectEnvironments); + } + + /** + * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + */ + @Import(name="projectKey") + private @Nullable Output projectKey; + + /** + * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + */ + public Optional> projectKey() { + return Optional.ofNullable(this.projectKey); + } + + /** + * List of property set name + * + */ + @Import(name="propertySets") + private @Nullable Output> propertySets; + + /** + * @return List of property set name + * + */ + public Optional>> propertySets() { + return Optional.ofNullable(this.propertySets); + } + + /** + * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + */ + @Import(name="xrayIndex") + private @Nullable Output xrayIndex; + + /** + * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + */ + public Optional> xrayIndex() { + return Optional.ofNullable(this.xrayIndex); + } + + private LocalMachinelearningRepositoryArgs() {} + + private LocalMachinelearningRepositoryArgs(LocalMachinelearningRepositoryArgs $) { + this.archiveBrowsingEnabled = $.archiveBrowsingEnabled; + this.blackedOut = $.blackedOut; + this.description = $.description; + this.downloadDirect = $.downloadDirect; + this.excludesPattern = $.excludesPattern; + this.includesPattern = $.includesPattern; + this.key = $.key; + this.notes = $.notes; + this.priorityResolution = $.priorityResolution; + this.projectEnvironments = $.projectEnvironments; + this.projectKey = $.projectKey; + this.propertySets = $.propertySets; + this.xrayIndex = $.xrayIndex; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LocalMachinelearningRepositoryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LocalMachinelearningRepositoryArgs $; + + public Builder() { + $ = new LocalMachinelearningRepositoryArgs(); + } + + public Builder(LocalMachinelearningRepositoryArgs defaults) { + $ = new LocalMachinelearningRepositoryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param archiveBrowsingEnabled When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + * @return builder + * + */ + public Builder archiveBrowsingEnabled(@Nullable Output archiveBrowsingEnabled) { + $.archiveBrowsingEnabled = archiveBrowsingEnabled; + return this; + } + + /** + * @param archiveBrowsingEnabled When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + * @return builder + * + */ + public Builder archiveBrowsingEnabled(Boolean archiveBrowsingEnabled) { + return archiveBrowsingEnabled(Output.of(archiveBrowsingEnabled)); + } + + /** + * @param blackedOut When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + * @return builder + * + */ + public Builder blackedOut(@Nullable Output blackedOut) { + $.blackedOut = blackedOut; + return this; + } + + /** + * @param blackedOut When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + * @return builder + * + */ + public Builder blackedOut(Boolean blackedOut) { + return blackedOut(Output.of(blackedOut)); + } + + /** + * @param description Public description. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Public description. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param downloadDirect When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + * @return builder + * + */ + public Builder downloadDirect(@Nullable Output downloadDirect) { + $.downloadDirect = downloadDirect; + return this; + } + + /** + * @param downloadDirect When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + * @return builder + * + */ + public Builder downloadDirect(Boolean downloadDirect) { + return downloadDirect(Output.of(downloadDirect)); + } + + /** + * @param excludesPattern List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + * @return builder + * + */ + public Builder excludesPattern(@Nullable Output excludesPattern) { + $.excludesPattern = excludesPattern; + return this; + } + + /** + * @param excludesPattern List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + * @return builder + * + */ + public Builder excludesPattern(String excludesPattern) { + return excludesPattern(Output.of(excludesPattern)); + } + + /** + * @param includesPattern List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + * @return builder + * + */ + public Builder includesPattern(@Nullable Output includesPattern) { + $.includesPattern = includesPattern; + return this; + } + + /** + * @param includesPattern List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + * @return builder + * + */ + public Builder includesPattern(String includesPattern) { + return includesPattern(Output.of(includesPattern)); + } + + /** + * @param key A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + * @return builder + * + */ + public Builder key(Output key) { + $.key = key; + return this; + } + + /** + * @param key A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param notes Internal description. + * + * @return builder + * + */ + public Builder notes(@Nullable Output notes) { + $.notes = notes; + return this; + } + + /** + * @param notes Internal description. + * + * @return builder + * + */ + public Builder notes(String notes) { + return notes(Output.of(notes)); + } + + /** + * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + * @return builder + * + */ + public Builder priorityResolution(@Nullable Output priorityResolution) { + $.priorityResolution = priorityResolution; + return this; + } + + /** + * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + * @return builder + * + */ + public Builder priorityResolution(Boolean priorityResolution) { + return priorityResolution(Output.of(priorityResolution)); + } + + public Builder projectEnvironments(@Nullable Output> projectEnvironments) { + $.projectEnvironments = projectEnvironments; + return this; + } + + public Builder projectEnvironments(List projectEnvironments) { + return projectEnvironments(Output.of(projectEnvironments)); + } + + public Builder projectEnvironments(String... projectEnvironments) { + return projectEnvironments(List.of(projectEnvironments)); + } + + /** + * @param projectKey Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + * @return builder + * + */ + public Builder projectKey(@Nullable Output projectKey) { + $.projectKey = projectKey; + return this; + } + + /** + * @param projectKey Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + * @return builder + * + */ + public Builder projectKey(String projectKey) { + return projectKey(Output.of(projectKey)); + } + + /** + * @param propertySets List of property set name + * + * @return builder + * + */ + public Builder propertySets(@Nullable Output> propertySets) { + $.propertySets = propertySets; + return this; + } + + /** + * @param propertySets List of property set name + * + * @return builder + * + */ + public Builder propertySets(List propertySets) { + return propertySets(Output.of(propertySets)); + } + + /** + * @param propertySets List of property set name + * + * @return builder + * + */ + public Builder propertySets(String... propertySets) { + return propertySets(List.of(propertySets)); + } + + /** + * @param xrayIndex Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + * @return builder + * + */ + public Builder xrayIndex(@Nullable Output xrayIndex) { + $.xrayIndex = xrayIndex; + return this; + } + + /** + * @param xrayIndex Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + * @return builder + * + */ + public Builder xrayIndex(Boolean xrayIndex) { + return xrayIndex(Output.of(xrayIndex)); + } + + public LocalMachinelearningRepositoryArgs build() { + if ($.key == null) { + throw new MissingRequiredPropertyException("LocalMachinelearningRepositoryArgs", "key"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalNpmRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalNpmRepository.java index 11cb3fa3..651e84c5 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalNpmRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalNpmRepository.java @@ -72,7 +72,7 @@ public class LocalNpmRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalNpmRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalNpmRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalNpmRepositoryArgs.java index 62f4b206..1ad69f47 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalNpmRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalNpmRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalOpkgRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalOpkgRepository.java index ba04ba42..71b03592 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalOpkgRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalOpkgRepository.java @@ -72,7 +72,7 @@ public class LocalOpkgRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalOpkgRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalOpkgRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalOpkgRepositoryArgs.java index 3abb8611..dd95061e 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalOpkgRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalOpkgRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPubRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPubRepository.java index 0d3432ea..76544326 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPubRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPubRepository.java @@ -72,7 +72,7 @@ public class LocalPubRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalPubRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPubRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPubRepositoryArgs.java index 4878b77a..c219dca5 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPubRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPubRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPuppetRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPuppetRepository.java index b4274382..a70461ed 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPuppetRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPuppetRepository.java @@ -72,7 +72,7 @@ public class LocalPuppetRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalPuppetRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPuppetRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPuppetRepositoryArgs.java index 86fed0ab..c14814ca 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPuppetRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPuppetRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPypiRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPypiRepository.java index ff3b8517..972dd40f 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPypiRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPypiRepository.java @@ -72,7 +72,7 @@ public class LocalPypiRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalPypiRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPypiRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPypiRepositoryArgs.java index 2c133601..0607ca0e 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalPypiRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalPypiRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalSwiftRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalSwiftRepository.java index 4b5a49bc..c0adb38c 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalSwiftRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalSwiftRepository.java @@ -72,7 +72,7 @@ public class LocalSwiftRepository extends com.pulumi.resources.CustomResource { * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalSwiftRepository extends com.pulumi.resources.CustomResource { * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalSwiftRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalSwiftRepositoryArgs.java index e9283df5..4a0de061 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalSwiftRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalSwiftRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalTerraformBackendRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalTerraformBackendRepository.java index 647ff013..429a6cb7 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalTerraformBackendRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalTerraformBackendRepository.java @@ -70,7 +70,7 @@ public class LocalTerraformBackendRepository extends com.pulumi.resources.Custom * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -78,52 +78,52 @@ public class LocalTerraformBackendRepository extends com.pulumi.resources.Custom * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -131,15 +131,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -147,15 +147,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -163,15 +163,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -192,34 +192,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -233,15 +227,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -258,18 +252,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -277,15 +273,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalTerraformBackendRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalTerraformBackendRepositoryArgs.java index b6104377..f0b86a08 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalTerraformBackendRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalTerraformBackendRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalVagrantRepository.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalVagrantRepository.java index 76c240af..1ef43bb7 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalVagrantRepository.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalVagrantRepository.java @@ -72,7 +72,7 @@ public class LocalVagrantRepository extends com.pulumi.resources.CustomResource * */ @Export(name="archiveBrowsingEnabled", refs={Boolean.class}, tree="[0]") - private Output archiveBrowsingEnabled; + private Output archiveBrowsingEnabled; /** * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and @@ -80,52 +80,52 @@ public class LocalVagrantRepository extends com.pulumi.resources.CustomResource * security (e.g., cross-site scripting attacks). * */ - public Output> archiveBrowsingEnabled() { - return Codegen.optional(this.archiveBrowsingEnabled); + public Output archiveBrowsingEnabled() { + return this.archiveBrowsingEnabled; } /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ @Export(name="blackedOut", refs={Boolean.class}, tree="[0]") - private Output blackedOut; + private Output blackedOut; /** * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. * */ - public Output> blackedOut() { - return Codegen.optional(this.blackedOut); + public Output blackedOut() { + return this.blackedOut; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Export(name="cdnRedirect", refs={Boolean.class}, tree="[0]") - private Output cdnRedirect; + private Output cdnRedirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ - public Output> cdnRedirect() { - return Codegen.optional(this.cdnRedirect); + public Output cdnRedirect() { + return this.cdnRedirect; } /** * Public description. * */ @Export(name="description", refs={String.class}, tree="[0]") - private Output description; + private Output description; /** * @return Public description. * */ - public Output> description() { - return Codegen.optional(this.description); + public Output description() { + return this.description; } /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud @@ -133,15 +133,15 @@ public Output> description() { * */ @Export(name="downloadDirect", refs={Boolean.class}, tree="[0]") - private Output downloadDirect; + private Output downloadDirect; /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. * */ - public Output> downloadDirect() { - return Codegen.optional(this.downloadDirect); + public Output downloadDirect() { + return this.downloadDirect; } /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no @@ -149,15 +149,15 @@ public Output> downloadDirect() { * */ @Export(name="excludesPattern", refs={String.class}, tree="[0]") - private Output excludesPattern; + private Output excludesPattern; /** * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. * */ - public Output> excludesPattern() { - return Codegen.optional(this.excludesPattern); + public Output excludesPattern() { + return this.excludesPattern; } /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When @@ -165,15 +165,15 @@ public Output> excludesPattern() { * */ @Export(name="includesPattern", refs={String.class}, tree="[0]") - private Output includesPattern; + private Output includesPattern; /** * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). * */ - public Output> includesPattern() { - return Codegen.optional(this.includesPattern); + public Output includesPattern() { + return this.includesPattern; } /** * the identity key of the repo. @@ -194,34 +194,28 @@ public Output key() { * */ @Export(name="notes", refs={String.class}, tree="[0]") - private Output notes; + private Output notes; /** * @return Internal description. * */ - public Output> notes() { - return Codegen.optional(this.notes); - } - @Export(name="packageType", refs={String.class}, tree="[0]") - private Output packageType; - - public Output packageType() { - return this.packageType; + public Output notes() { + return this.notes; } /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ @Export(name="priorityResolution", refs={Boolean.class}, tree="[0]") - private Output priorityResolution; + private Output priorityResolution; /** * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field * */ - public Output> priorityResolution() { - return Codegen.optional(this.priorityResolution); + public Output priorityResolution() { + return this.priorityResolution; } @Export(name="projectEnvironments", refs={List.class,String.class}, tree="[0,1]") private Output> projectEnvironments; @@ -235,15 +229,15 @@ public Output> projectEnvironments() { * */ @Export(name="projectKey", refs={String.class}, tree="[0]") - private Output projectKey; + private Output projectKey; /** * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. * */ - public Output> projectKey() { - return Codegen.optional(this.projectKey); + public Output projectKey() { + return this.projectKey; } /** * List of property set name @@ -260,18 +254,20 @@ public Output>> propertySets() { return Codegen.optional(this.propertySets); } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Export(name="repoLayoutRef", refs={String.class}, tree="[0]") - private Output repoLayoutRef; + private Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ - public Output> repoLayoutRef() { - return Codegen.optional(this.repoLayoutRef); + public Output repoLayoutRef() { + return this.repoLayoutRef; } /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via @@ -279,15 +275,15 @@ public Output> repoLayoutRef() { * */ @Export(name="xrayIndex", refs={Boolean.class}, tree="[0]") - private Output xrayIndex; + private Output xrayIndex; /** * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. * */ - public Output> xrayIndex() { - return Codegen.optional(this.xrayIndex); + public Output xrayIndex() { + return this.xrayIndex; } /** diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/LocalVagrantRepositoryArgs.java b/sdk/java/src/main/java/com/pulumi/artifactory/LocalVagrantRepositoryArgs.java index 8137cb45..773d425b 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/LocalVagrantRepositoryArgs.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/LocalVagrantRepositoryArgs.java @@ -54,7 +54,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -62,7 +62,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -220,14 +220,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -337,7 +339,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -349,7 +351,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -579,7 +581,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -590,7 +593,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalBowerRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalBowerRepositoryState.java index 73f48bf1..c2435661 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalBowerRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalBowerRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalBowerRepositoryState(LocalBowerRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalChefRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalChefRepositoryState.java index 06b35b00..0a8331f0 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalChefRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalChefRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalChefRepositoryState(LocalChefRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCocoapodsRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCocoapodsRepositoryState.java index 97b96597..ef6ee7b0 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCocoapodsRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCocoapodsRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalCocoapodsRepositoryState(LocalCocoapodsRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalComposerRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalComposerRepositoryState.java index 55734a1a..0041cfcf 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalComposerRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalComposerRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalComposerRepositoryState(LocalComposerRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCondaRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCondaRepositoryState.java index 1c560a72..eb00d4be 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCondaRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCondaRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalCondaRepositoryState(LocalCondaRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCranRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCranRepositoryState.java index 09b8751e..7981828c 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCranRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalCranRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalCranRepositoryState(LocalCranRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGemsRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGemsRepositoryState.java index 9f304471..b2001c72 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGemsRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGemsRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalGemsRepositoryState(LocalGemsRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGenericRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGenericRepositoryState.java index 00cb2441..68dd0040 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGenericRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGenericRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -166,13 +166,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -228,14 +221,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -271,7 +266,6 @@ private LocalGenericRepositoryState(LocalGenericRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -346,7 +340,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -358,7 +352,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -501,15 +495,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -599,7 +584,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -610,7 +596,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGitltfsRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGitltfsRepositoryState.java index 53c4d376..2edd6a6c 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGitltfsRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGitltfsRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalGitltfsRepositoryState(LocalGitltfsRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGoRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGoRepositoryState.java index 8b26aa15..0f65df35 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGoRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalGoRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalGoRepositoryState(LocalGoRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalHelmRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalHelmRepositoryState.java index 0d8e6200..a9d2f7b4 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalHelmRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalHelmRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalHelmRepositoryState(LocalHelmRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalHuggingfacemlRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalHuggingfacemlRepositoryState.java index 8f40aff2..84bb4800 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalHuggingfacemlRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalHuggingfacemlRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalHuggingfacemlRepositoryState(LocalHuggingfacemlRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalMachinelearningRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalMachinelearningRepositoryState.java new file mode 100644 index 00000000..8a0c052e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalMachinelearningRepositoryState.java @@ -0,0 +1,527 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.artifactory.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class LocalMachinelearningRepositoryState extends com.pulumi.resources.ResourceArgs { + + public static final LocalMachinelearningRepositoryState Empty = new LocalMachinelearningRepositoryState(); + + /** + * When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + */ + @Import(name="archiveBrowsingEnabled") + private @Nullable Output archiveBrowsingEnabled; + + /** + * @return When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + */ + public Optional> archiveBrowsingEnabled() { + return Optional.ofNullable(this.archiveBrowsingEnabled); + } + + /** + * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + */ + @Import(name="blackedOut") + private @Nullable Output blackedOut; + + /** + * @return When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + */ + public Optional> blackedOut() { + return Optional.ofNullable(this.blackedOut); + } + + /** + * Public description. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Public description. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + */ + @Import(name="downloadDirect") + private @Nullable Output downloadDirect; + + /** + * @return When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + */ + public Optional> downloadDirect() { + return Optional.ofNullable(this.downloadDirect); + } + + /** + * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + */ + @Import(name="excludesPattern") + private @Nullable Output excludesPattern; + + /** + * @return List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + */ + public Optional> excludesPattern() { + return Optional.ofNullable(this.excludesPattern); + } + + /** + * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + */ + @Import(name="includesPattern") + private @Nullable Output includesPattern; + + /** + * @return List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + */ + public Optional> includesPattern() { + return Optional.ofNullable(this.includesPattern); + } + + /** + * A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + */ + @Import(name="key") + private @Nullable Output key; + + /** + * @return A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + */ + public Optional> key() { + return Optional.ofNullable(this.key); + } + + /** + * Internal description. + * + */ + @Import(name="notes") + private @Nullable Output notes; + + /** + * @return Internal description. + * + */ + public Optional> notes() { + return Optional.ofNullable(this.notes); + } + + /** + * Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + */ + @Import(name="priorityResolution") + private @Nullable Output priorityResolution; + + /** + * @return Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + */ + public Optional> priorityResolution() { + return Optional.ofNullable(this.priorityResolution); + } + + @Import(name="projectEnvironments") + private @Nullable Output> projectEnvironments; + + public Optional>> projectEnvironments() { + return Optional.ofNullable(this.projectEnvironments); + } + + /** + * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + */ + @Import(name="projectKey") + private @Nullable Output projectKey; + + /** + * @return Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + */ + public Optional> projectKey() { + return Optional.ofNullable(this.projectKey); + } + + /** + * List of property set name + * + */ + @Import(name="propertySets") + private @Nullable Output> propertySets; + + /** + * @return List of property set name + * + */ + public Optional>> propertySets() { + return Optional.ofNullable(this.propertySets); + } + + /** + * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + */ + @Import(name="xrayIndex") + private @Nullable Output xrayIndex; + + /** + * @return Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + */ + public Optional> xrayIndex() { + return Optional.ofNullable(this.xrayIndex); + } + + private LocalMachinelearningRepositoryState() {} + + private LocalMachinelearningRepositoryState(LocalMachinelearningRepositoryState $) { + this.archiveBrowsingEnabled = $.archiveBrowsingEnabled; + this.blackedOut = $.blackedOut; + this.description = $.description; + this.downloadDirect = $.downloadDirect; + this.excludesPattern = $.excludesPattern; + this.includesPattern = $.includesPattern; + this.key = $.key; + this.notes = $.notes; + this.priorityResolution = $.priorityResolution; + this.projectEnvironments = $.projectEnvironments; + this.projectKey = $.projectKey; + this.propertySets = $.propertySets; + this.xrayIndex = $.xrayIndex; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(LocalMachinelearningRepositoryState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private LocalMachinelearningRepositoryState $; + + public Builder() { + $ = new LocalMachinelearningRepositoryState(); + } + + public Builder(LocalMachinelearningRepositoryState defaults) { + $ = new LocalMachinelearningRepositoryState(Objects.requireNonNull(defaults)); + } + + /** + * @param archiveBrowsingEnabled When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + * @return builder + * + */ + public Builder archiveBrowsingEnabled(@Nullable Output archiveBrowsingEnabled) { + $.archiveBrowsingEnabled = archiveBrowsingEnabled; + return this; + } + + /** + * @param archiveBrowsingEnabled When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + * + * @return builder + * + */ + public Builder archiveBrowsingEnabled(Boolean archiveBrowsingEnabled) { + return archiveBrowsingEnabled(Output.of(archiveBrowsingEnabled)); + } + + /** + * @param blackedOut When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + * @return builder + * + */ + public Builder blackedOut(@Nullable Output blackedOut) { + $.blackedOut = blackedOut; + return this; + } + + /** + * @param blackedOut When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + * + * @return builder + * + */ + public Builder blackedOut(Boolean blackedOut) { + return blackedOut(Output.of(blackedOut)); + } + + /** + * @param description Public description. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Public description. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param downloadDirect When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + * @return builder + * + */ + public Builder downloadDirect(@Nullable Output downloadDirect) { + $.downloadDirect = downloadDirect; + return this; + } + + /** + * @param downloadDirect When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + * + * @return builder + * + */ + public Builder downloadDirect(Boolean downloadDirect) { + return downloadDirect(Output.of(downloadDirect)); + } + + /** + * @param excludesPattern List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + * @return builder + * + */ + public Builder excludesPattern(@Nullable Output excludesPattern) { + $.excludesPattern = excludesPattern; + return this; + } + + /** + * @param excludesPattern List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + * + * @return builder + * + */ + public Builder excludesPattern(String excludesPattern) { + return excludesPattern(Output.of(excludesPattern)); + } + + /** + * @param includesPattern List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + * @return builder + * + */ + public Builder includesPattern(@Nullable Output includesPattern) { + $.includesPattern = includesPattern; + return this; + } + + /** + * @param includesPattern List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + * + * @return builder + * + */ + public Builder includesPattern(String includesPattern) { + return includesPattern(Output.of(includesPattern)); + } + + /** + * @param key A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + * @return builder + * + */ + public Builder key(@Nullable Output key) { + $.key = key; + return this; + } + + /** + * @param key A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + * + * @return builder + * + */ + public Builder key(String key) { + return key(Output.of(key)); + } + + /** + * @param notes Internal description. + * + * @return builder + * + */ + public Builder notes(@Nullable Output notes) { + $.notes = notes; + return this; + } + + /** + * @param notes Internal description. + * + * @return builder + * + */ + public Builder notes(String notes) { + return notes(Output.of(notes)); + } + + /** + * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + * @return builder + * + */ + public Builder priorityResolution(@Nullable Output priorityResolution) { + $.priorityResolution = priorityResolution; + return this; + } + + /** + * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field + * + * @return builder + * + */ + public Builder priorityResolution(Boolean priorityResolution) { + return priorityResolution(Output.of(priorityResolution)); + } + + public Builder projectEnvironments(@Nullable Output> projectEnvironments) { + $.projectEnvironments = projectEnvironments; + return this; + } + + public Builder projectEnvironments(List projectEnvironments) { + return projectEnvironments(Output.of(projectEnvironments)); + } + + public Builder projectEnvironments(String... projectEnvironments) { + return projectEnvironments(List.of(projectEnvironments)); + } + + /** + * @param projectKey Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + * @return builder + * + */ + public Builder projectKey(@Nullable Output projectKey) { + $.projectKey = projectKey; + return this; + } + + /** + * @param projectKey Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + * + * @return builder + * + */ + public Builder projectKey(String projectKey) { + return projectKey(Output.of(projectKey)); + } + + /** + * @param propertySets List of property set name + * + * @return builder + * + */ + public Builder propertySets(@Nullable Output> propertySets) { + $.propertySets = propertySets; + return this; + } + + /** + * @param propertySets List of property set name + * + * @return builder + * + */ + public Builder propertySets(List propertySets) { + return propertySets(Output.of(propertySets)); + } + + /** + * @param propertySets List of property set name + * + * @return builder + * + */ + public Builder propertySets(String... propertySets) { + return propertySets(List.of(propertySets)); + } + + /** + * @param xrayIndex Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + * @return builder + * + */ + public Builder xrayIndex(@Nullable Output xrayIndex) { + $.xrayIndex = xrayIndex; + return this; + } + + /** + * @param xrayIndex Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + * + * @return builder + * + */ + public Builder xrayIndex(Boolean xrayIndex) { + return xrayIndex(Output.of(xrayIndex)); + } + + public LocalMachinelearningRepositoryState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalNpmRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalNpmRepositoryState.java index 1aa87254..75cc1c59 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalNpmRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalNpmRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalNpmRepositoryState(LocalNpmRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalOpkgRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalOpkgRepositoryState.java index 8eda9b53..cb9368d7 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalOpkgRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalOpkgRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalOpkgRepositoryState(LocalOpkgRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPubRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPubRepositoryState.java index 3e9fcb6c..e6c2898d 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPubRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPubRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalPubRepositoryState(LocalPubRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPuppetRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPuppetRepositoryState.java index 50628eb0..ca218175 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPuppetRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPuppetRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalPuppetRepositoryState(LocalPuppetRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPypiRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPypiRepositoryState.java index 8eea18b0..5de3c683 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPypiRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalPypiRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalPypiRepositoryState(LocalPypiRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalSwiftRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalSwiftRepositoryState.java index 7090ef91..e0b3865a 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalSwiftRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalSwiftRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalSwiftRepositoryState(LocalSwiftRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalTerraformBackendRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalTerraformBackendRepositoryState.java index e757eb16..80ac977d 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalTerraformBackendRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalTerraformBackendRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalTerraformBackendRepositoryState(LocalTerraformBackendRepositoryStat this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalVagrantRepositoryState.java b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalVagrantRepositoryState.java index 685f329a..5d1f2cb0 100644 --- a/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalVagrantRepositoryState.java +++ b/sdk/java/src/main/java/com/pulumi/artifactory/inputs/LocalVagrantRepositoryState.java @@ -53,7 +53,7 @@ public Optional> blackedOut() { /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ @Import(name="cdnRedirect") @@ -61,7 +61,7 @@ public Optional> blackedOut() { /** * @return When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * */ public Optional> cdnRedirect() { @@ -164,13 +164,6 @@ public Optional> notes() { return Optional.ofNullable(this.notes); } - @Import(name="packageType") - private @Nullable Output packageType; - - public Optional> packageType() { - return Optional.ofNullable(this.packageType); - } - /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -226,14 +219,16 @@ public Optional>> propertySets() { } /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ @Import(name="repoLayoutRef") private @Nullable Output repoLayoutRef; /** - * @return Repository layout key for the local repository + * @return Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * */ public Optional> repoLayoutRef() { @@ -269,7 +264,6 @@ private LocalVagrantRepositoryState(LocalVagrantRepositoryState $) { this.includesPattern = $.includesPattern; this.key = $.key; this.notes = $.notes; - this.packageType = $.packageType; this.priorityResolution = $.priorityResolution; this.projectEnvironments = $.projectEnvironments; this.projectKey = $.projectKey; @@ -344,7 +338,7 @@ public Builder blackedOut(Boolean blackedOut) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -356,7 +350,7 @@ public Builder cdnRedirect(@Nullable Output cdnRedirect) { /** * @param cdnRedirect When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` * * @return builder * @@ -497,15 +491,6 @@ public Builder notes(String notes) { return notes(Output.of(notes)); } - public Builder packageType(@Nullable Output packageType) { - $.packageType = packageType; - return this; - } - - public Builder packageType(String packageType) { - return packageType(Output.of(packageType)); - } - /** * @param priorityResolution Setting repositories with priority will cause metadata to be merged only from repositories set with this field * @@ -595,7 +580,8 @@ public Builder propertySets(String... propertySets) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * @@ -606,7 +592,8 @@ public Builder repoLayoutRef(@Nullable Output repoLayoutRef) { } /** - * @param repoLayoutRef Repository layout key for the local repository + * @param repoLayoutRef Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. * * @return builder * diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 5fc71d94..a045a517 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -1170,6 +1170,11 @@ export type LocalIvyRepository = import("./localIvyRepository").LocalIvyReposito export const LocalIvyRepository: typeof import("./localIvyRepository").LocalIvyRepository = null as any; utilities.lazyLoad(exports, ["LocalIvyRepository"], () => require("./localIvyRepository")); +export { LocalMachinelearningRepositoryArgs, LocalMachinelearningRepositoryState } from "./localMachinelearningRepository"; +export type LocalMachinelearningRepository = import("./localMachinelearningRepository").LocalMachinelearningRepository; +export const LocalMachinelearningRepository: typeof import("./localMachinelearningRepository").LocalMachinelearningRepository = null as any; +utilities.lazyLoad(exports, ["LocalMachinelearningRepository"], () => require("./localMachinelearningRepository")); + export { LocalMavenRepositoryArgs, LocalMavenRepositoryState } from "./localMavenRepository"; export type LocalMavenRepository = import("./localMavenRepository").LocalMavenRepository; export const LocalMavenRepository: typeof import("./localMavenRepository").LocalMavenRepository = null as any; @@ -1919,6 +1924,8 @@ const _module = { return new LocalHuggingfacemlRepository(name, undefined, { urn }) case "artifactory:index/localIvyRepository:LocalIvyRepository": return new LocalIvyRepository(name, undefined, { urn }) + case "artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository": + return new LocalMachinelearningRepository(name, undefined, { urn }) case "artifactory:index/localMavenRepository:LocalMavenRepository": return new LocalMavenRepository(name, undefined, { urn }) case "artifactory:index/localNpmRepository:LocalNpmRepository": @@ -2234,6 +2241,7 @@ pulumi.runtime.registerResourceModule("artifactory", "index/localHelmRepository" pulumi.runtime.registerResourceModule("artifactory", "index/localHelmociRepository", _module) pulumi.runtime.registerResourceModule("artifactory", "index/localHuggingfacemlRepository", _module) pulumi.runtime.registerResourceModule("artifactory", "index/localIvyRepository", _module) +pulumi.runtime.registerResourceModule("artifactory", "index/localMachinelearningRepository", _module) pulumi.runtime.registerResourceModule("artifactory", "index/localMavenRepository", _module) pulumi.runtime.registerResourceModule("artifactory", "index/localNpmRepository", _module) pulumi.runtime.registerResourceModule("artifactory", "index/localNugetRepository", _module) diff --git a/sdk/nodejs/localBowerRepository.ts b/sdk/nodejs/localBowerRepository.ts index bd3be649..977ceb79 100644 --- a/sdk/nodejs/localBowerRepository.ts +++ b/sdk/nodejs/localBowerRepository.ts @@ -57,35 +57,35 @@ export class LocalBowerRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalBowerRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalBowerRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalBowerRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalBowerRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalBowerRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalBowerRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalBowerRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalBowerRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalBowerRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalBowerRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localChefRepository.ts b/sdk/nodejs/localChefRepository.ts index e7754322..b8932e5c 100644 --- a/sdk/nodejs/localChefRepository.ts +++ b/sdk/nodejs/localChefRepository.ts @@ -57,35 +57,35 @@ export class LocalChefRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalChefRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalChefRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalChefRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalChefRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalChefRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalChefRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalChefRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalChefRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalChefRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalChefRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localCocoapodsRepository.ts b/sdk/nodejs/localCocoapodsRepository.ts index 41a539ce..2065c6aa 100644 --- a/sdk/nodejs/localCocoapodsRepository.ts +++ b/sdk/nodejs/localCocoapodsRepository.ts @@ -57,35 +57,35 @@ export class LocalCocoapodsRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalCocoapodsRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalCocoapodsRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalCocoapodsRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalCocoapodsRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalCocoapodsRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalCocoapodsRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalCocoapodsRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalCocoapodsRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalCocoapodsRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalCocoapodsRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localComposerRepository.ts b/sdk/nodejs/localComposerRepository.ts index 79a00b6c..8f6426fa 100644 --- a/sdk/nodejs/localComposerRepository.ts +++ b/sdk/nodejs/localComposerRepository.ts @@ -57,35 +57,35 @@ export class LocalComposerRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalComposerRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalComposerRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalComposerRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalComposerRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalComposerRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalComposerRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalComposerRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalComposerRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalComposerRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalComposerRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localCondaRepository.ts b/sdk/nodejs/localCondaRepository.ts index 4dde4d7d..241a4d3a 100644 --- a/sdk/nodejs/localCondaRepository.ts +++ b/sdk/nodejs/localCondaRepository.ts @@ -57,35 +57,35 @@ export class LocalCondaRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalCondaRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalCondaRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalCondaRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalCondaRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalCondaRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalCondaRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalCondaRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalCondaRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalCondaRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalCondaRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localCranRepository.ts b/sdk/nodejs/localCranRepository.ts index 484a9729..1084c450 100644 --- a/sdk/nodejs/localCranRepository.ts +++ b/sdk/nodejs/localCranRepository.ts @@ -57,35 +57,35 @@ export class LocalCranRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalCranRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalCranRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalCranRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalCranRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalCranRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalCranRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalCranRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalCranRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalCranRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalCranRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localGemsRepository.ts b/sdk/nodejs/localGemsRepository.ts index 2ab65bd0..fef761ad 100644 --- a/sdk/nodejs/localGemsRepository.ts +++ b/sdk/nodejs/localGemsRepository.ts @@ -57,35 +57,35 @@ export class LocalGemsRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalGemsRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalGemsRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalGemsRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalGemsRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalGemsRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalGemsRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalGemsRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalGemsRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalGemsRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalGemsRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localGenericRepository.ts b/sdk/nodejs/localGenericRepository.ts index ecd61579..ddbb9c65 100644 --- a/sdk/nodejs/localGenericRepository.ts +++ b/sdk/nodejs/localGenericRepository.ts @@ -57,35 +57,35 @@ export class LocalGenericRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * A mandatory identifier for the repository that must be unique. * It cannot begin with a number or contain spaces or special characters. @@ -94,31 +94,31 @@ export class LocalGenericRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalGenericRepository resource with the given unique name, arguments, and options. @@ -142,7 +142,6 @@ export class LocalGenericRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -169,7 +168,6 @@ export class LocalGenericRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalGenericRepository.__pulumiType, name, resourceInputs, opts); @@ -192,7 +190,7 @@ export interface LocalGenericRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -223,7 +221,6 @@ export interface LocalGenericRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -239,7 +236,8 @@ export interface LocalGenericRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -265,7 +263,7 @@ export interface LocalGenericRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -311,7 +309,8 @@ export interface LocalGenericRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localGitltfsRepository.ts b/sdk/nodejs/localGitltfsRepository.ts index 6691c450..38b85608 100644 --- a/sdk/nodejs/localGitltfsRepository.ts +++ b/sdk/nodejs/localGitltfsRepository.ts @@ -57,35 +57,35 @@ export class LocalGitltfsRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalGitltfsRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalGitltfsRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalGitltfsRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalGitltfsRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalGitltfsRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalGitltfsRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalGitltfsRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalGitltfsRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalGitltfsRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalGitltfsRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localGoRepository.ts b/sdk/nodejs/localGoRepository.ts index 26893013..0b4f5298 100644 --- a/sdk/nodejs/localGoRepository.ts +++ b/sdk/nodejs/localGoRepository.ts @@ -57,35 +57,35 @@ export class LocalGoRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalGoRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalGoRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalGoRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalGoRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalGoRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalGoRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalGoRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalGoRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalGoRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalGoRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localHelmRepository.ts b/sdk/nodejs/localHelmRepository.ts index 53715c16..1faf53bb 100644 --- a/sdk/nodejs/localHelmRepository.ts +++ b/sdk/nodejs/localHelmRepository.ts @@ -57,35 +57,35 @@ export class LocalHelmRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalHelmRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalHelmRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalHelmRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalHelmRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalHelmRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalHelmRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalHelmRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalHelmRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalHelmRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalHelmRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localHuggingfacemlRepository.ts b/sdk/nodejs/localHuggingfacemlRepository.ts index e9efb335..c1a88ca6 100644 --- a/sdk/nodejs/localHuggingfacemlRepository.ts +++ b/sdk/nodejs/localHuggingfacemlRepository.ts @@ -59,35 +59,35 @@ export class LocalHuggingfacemlRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -95,31 +95,31 @@ export class LocalHuggingfacemlRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalHuggingfacemlRepository resource with the given unique name, arguments, and options. @@ -143,7 +143,6 @@ export class LocalHuggingfacemlRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -170,7 +169,6 @@ export class LocalHuggingfacemlRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalHuggingfacemlRepository.__pulumiType, name, resourceInputs, opts); @@ -193,7 +191,7 @@ export interface LocalHuggingfacemlRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -223,7 +221,6 @@ export interface LocalHuggingfacemlRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -239,7 +236,8 @@ export interface LocalHuggingfacemlRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -265,7 +263,7 @@ export interface LocalHuggingfacemlRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -310,7 +308,8 @@ export interface LocalHuggingfacemlRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localMachinelearningRepository.ts b/sdk/nodejs/localMachinelearningRepository.ts new file mode 100644 index 00000000..b859215e --- /dev/null +++ b/sdk/nodejs/localMachinelearningRepository.ts @@ -0,0 +1,266 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Provides a resource to creates a local Machine Learning repository. + * + * Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/machine-learning-repositories). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as artifactory from "@pulumi/artifactory"; + * + * const my_machinelearning_local = new artifactory.LocalMachinelearningRepository("my-machinelearning-local", {key: "my-machinelearning-local"}); + * ``` + * + * ## Import + * + * ```sh + * $ pulumi import artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository my-machinelearning-local my-machinelearning-local + * ``` + */ +export class LocalMachinelearningRepository extends pulumi.CustomResource { + /** + * Get an existing LocalMachinelearningRepository resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: LocalMachinelearningRepositoryState, opts?: pulumi.CustomResourceOptions): LocalMachinelearningRepository { + return new LocalMachinelearningRepository(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository'; + + /** + * Returns true if the given object is an instance of LocalMachinelearningRepository. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is LocalMachinelearningRepository { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === LocalMachinelearningRepository.__pulumiType; + } + + /** + * When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + */ + public readonly archiveBrowsingEnabled!: pulumi.Output; + /** + * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + */ + public readonly blackedOut!: pulumi.Output; + /** + * Public description. + */ + public readonly description!: pulumi.Output; + /** + * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + */ + public readonly downloadDirect!: pulumi.Output; + /** + * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + */ + public readonly excludesPattern!: pulumi.Output; + /** + * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + */ + public readonly includesPattern!: pulumi.Output; + /** + * A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + */ + public readonly key!: pulumi.Output; + /** + * Internal description. + */ + public readonly notes!: pulumi.Output; + /** + * Setting repositories with priority will cause metadata to be merged only from repositories set with this field + */ + public readonly priorityResolution!: pulumi.Output; + public readonly projectEnvironments!: pulumi.Output; + /** + * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + */ + public readonly projectKey!: pulumi.Output; + /** + * List of property set name + */ + public readonly propertySets!: pulumi.Output; + /** + * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + */ + public readonly xrayIndex!: pulumi.Output; + + /** + * Create a LocalMachinelearningRepository resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: LocalMachinelearningRepositoryArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: LocalMachinelearningRepositoryArgs | LocalMachinelearningRepositoryState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as LocalMachinelearningRepositoryState | undefined; + resourceInputs["archiveBrowsingEnabled"] = state ? state.archiveBrowsingEnabled : undefined; + resourceInputs["blackedOut"] = state ? state.blackedOut : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["downloadDirect"] = state ? state.downloadDirect : undefined; + resourceInputs["excludesPattern"] = state ? state.excludesPattern : undefined; + resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; + resourceInputs["key"] = state ? state.key : undefined; + resourceInputs["notes"] = state ? state.notes : undefined; + resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; + resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; + resourceInputs["projectKey"] = state ? state.projectKey : undefined; + resourceInputs["propertySets"] = state ? state.propertySets : undefined; + resourceInputs["xrayIndex"] = state ? state.xrayIndex : undefined; + } else { + const args = argsOrState as LocalMachinelearningRepositoryArgs | undefined; + if ((!args || args.key === undefined) && !opts.urn) { + throw new Error("Missing required property 'key'"); + } + resourceInputs["archiveBrowsingEnabled"] = args ? args.archiveBrowsingEnabled : undefined; + resourceInputs["blackedOut"] = args ? args.blackedOut : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["downloadDirect"] = args ? args.downloadDirect : undefined; + resourceInputs["excludesPattern"] = args ? args.excludesPattern : undefined; + resourceInputs["includesPattern"] = args ? args.includesPattern : undefined; + resourceInputs["key"] = args ? args.key : undefined; + resourceInputs["notes"] = args ? args.notes : undefined; + resourceInputs["priorityResolution"] = args ? args.priorityResolution : undefined; + resourceInputs["projectEnvironments"] = args ? args.projectEnvironments : undefined; + resourceInputs["projectKey"] = args ? args.projectKey : undefined; + resourceInputs["propertySets"] = args ? args.propertySets : undefined; + resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(LocalMachinelearningRepository.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering LocalMachinelearningRepository resources. + */ +export interface LocalMachinelearningRepositoryState { + /** + * When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + */ + archiveBrowsingEnabled?: pulumi.Input; + /** + * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + */ + blackedOut?: pulumi.Input; + /** + * Public description. + */ + description?: pulumi.Input; + /** + * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + */ + downloadDirect?: pulumi.Input; + /** + * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + */ + excludesPattern?: pulumi.Input; + /** + * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + */ + includesPattern?: pulumi.Input; + /** + * A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + */ + key?: pulumi.Input; + /** + * Internal description. + */ + notes?: pulumi.Input; + /** + * Setting repositories with priority will cause metadata to be merged only from repositories set with this field + */ + priorityResolution?: pulumi.Input; + projectEnvironments?: pulumi.Input[]>; + /** + * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + */ + projectKey?: pulumi.Input; + /** + * List of property set name + */ + propertySets?: pulumi.Input[]>; + /** + * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + */ + xrayIndex?: pulumi.Input; +} + +/** + * The set of arguments for constructing a LocalMachinelearningRepository resource. + */ +export interface LocalMachinelearningRepositoryArgs { + /** + * When set, you may view content such as HTML or Javadoc files directly from Artifactory. + * This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + */ + archiveBrowsingEnabled?: pulumi.Input; + /** + * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + */ + blackedOut?: pulumi.Input; + /** + * Public description. + */ + description?: pulumi.Input; + /** + * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + */ + downloadDirect?: pulumi.Input; + /** + * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + */ + excludesPattern?: pulumi.Input; + /** + * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + */ + includesPattern?: pulumi.Input; + /** + * A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + */ + key: pulumi.Input; + /** + * Internal description. + */ + notes?: pulumi.Input; + /** + * Setting repositories with priority will cause metadata to be merged only from repositories set with this field + */ + priorityResolution?: pulumi.Input; + projectEnvironments?: pulumi.Input[]>; + /** + * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + */ + projectKey?: pulumi.Input; + /** + * List of property set name + */ + propertySets?: pulumi.Input[]>; + /** + * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + */ + xrayIndex?: pulumi.Input; +} diff --git a/sdk/nodejs/localNpmRepository.ts b/sdk/nodejs/localNpmRepository.ts index 405aa3c8..e812c8f1 100644 --- a/sdk/nodejs/localNpmRepository.ts +++ b/sdk/nodejs/localNpmRepository.ts @@ -57,35 +57,35 @@ export class LocalNpmRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalNpmRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalNpmRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalNpmRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalNpmRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalNpmRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalNpmRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalNpmRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalNpmRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalNpmRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalNpmRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localOpkgRepository.ts b/sdk/nodejs/localOpkgRepository.ts index b53b446c..6c691af8 100644 --- a/sdk/nodejs/localOpkgRepository.ts +++ b/sdk/nodejs/localOpkgRepository.ts @@ -57,35 +57,35 @@ export class LocalOpkgRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalOpkgRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalOpkgRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalOpkgRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalOpkgRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalOpkgRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalOpkgRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalOpkgRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalOpkgRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalOpkgRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalOpkgRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localPubRepository.ts b/sdk/nodejs/localPubRepository.ts index 59c377f6..29153621 100644 --- a/sdk/nodejs/localPubRepository.ts +++ b/sdk/nodejs/localPubRepository.ts @@ -57,35 +57,35 @@ export class LocalPubRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalPubRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalPubRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalPubRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalPubRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalPubRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalPubRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalPubRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalPubRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalPubRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalPubRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localPuppetRepository.ts b/sdk/nodejs/localPuppetRepository.ts index 404ecc76..a5e6e0c8 100644 --- a/sdk/nodejs/localPuppetRepository.ts +++ b/sdk/nodejs/localPuppetRepository.ts @@ -57,35 +57,35 @@ export class LocalPuppetRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalPuppetRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalPuppetRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalPuppetRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalPuppetRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalPuppetRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalPuppetRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalPuppetRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalPuppetRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalPuppetRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalPuppetRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localPypiRepository.ts b/sdk/nodejs/localPypiRepository.ts index 2e313e7e..918e5b9c 100644 --- a/sdk/nodejs/localPypiRepository.ts +++ b/sdk/nodejs/localPypiRepository.ts @@ -57,35 +57,35 @@ export class LocalPypiRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalPypiRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalPypiRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalPypiRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalPypiRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalPypiRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalPypiRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalPypiRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalPypiRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalPypiRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalPypiRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localSwiftRepository.ts b/sdk/nodejs/localSwiftRepository.ts index 0ab0db42..cbe2c700 100644 --- a/sdk/nodejs/localSwiftRepository.ts +++ b/sdk/nodejs/localSwiftRepository.ts @@ -57,35 +57,35 @@ export class LocalSwiftRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalSwiftRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalSwiftRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalSwiftRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalSwiftRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalSwiftRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalSwiftRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalSwiftRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalSwiftRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalSwiftRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalSwiftRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localTerraformBackendRepository.ts b/sdk/nodejs/localTerraformBackendRepository.ts index 6424f72f..d714e4e9 100644 --- a/sdk/nodejs/localTerraformBackendRepository.ts +++ b/sdk/nodejs/localTerraformBackendRepository.ts @@ -55,35 +55,35 @@ export class LocalTerraformBackendRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -91,31 +91,31 @@ export class LocalTerraformBackendRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalTerraformBackendRepository resource with the given unique name, arguments, and options. @@ -139,7 +139,6 @@ export class LocalTerraformBackendRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -166,7 +165,6 @@ export class LocalTerraformBackendRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalTerraformBackendRepository.__pulumiType, name, resourceInputs, opts); @@ -189,7 +187,7 @@ export interface LocalTerraformBackendRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -219,7 +217,6 @@ export interface LocalTerraformBackendRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -235,7 +232,8 @@ export interface LocalTerraformBackendRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -261,7 +259,7 @@ export interface LocalTerraformBackendRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -306,7 +304,8 @@ export interface LocalTerraformBackendRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/localVagrantRepository.ts b/sdk/nodejs/localVagrantRepository.ts index e8830b09..47179623 100644 --- a/sdk/nodejs/localVagrantRepository.ts +++ b/sdk/nodejs/localVagrantRepository.ts @@ -57,35 +57,35 @@ export class LocalVagrantRepository extends pulumi.CustomResource { * therefore requires strict content moderation to prevent malicious users from uploading content that may compromise * security (e.g., cross-site scripting attacks). */ - public readonly archiveBrowsingEnabled!: pulumi.Output; + public readonly archiveBrowsingEnabled!: pulumi.Output; /** * When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. */ - public readonly blackedOut!: pulumi.Output; + public readonly blackedOut!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ - public readonly cdnRedirect!: pulumi.Output; + public readonly cdnRedirect!: pulumi.Output; /** * Public description. */ - public readonly description!: pulumi.Output; + public readonly description!: pulumi.Output; /** * When set, download requests to this repository will redirect the client to download the artifact directly from the cloud * storage provider. Available in Enterprise+ and Edge licenses only. */ - public readonly downloadDirect!: pulumi.Output; + public readonly downloadDirect!: pulumi.Output; /** * List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no * artifacts are excluded. */ - public readonly excludesPattern!: pulumi.Output; + public readonly excludesPattern!: pulumi.Output; /** * List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When * used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). */ - public readonly includesPattern!: pulumi.Output; + public readonly includesPattern!: pulumi.Output; /** * the identity key of the repo. */ @@ -93,31 +93,31 @@ export class LocalVagrantRepository extends pulumi.CustomResource { /** * Internal description. */ - public readonly notes!: pulumi.Output; - public /*out*/ readonly packageType!: pulumi.Output; + public readonly notes!: pulumi.Output; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ - public readonly priorityResolution!: pulumi.Output; + public readonly priorityResolution!: pulumi.Output; public readonly projectEnvironments!: pulumi.Output; /** * Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When * assigning repository to a project, repository key must be prefixed with project key, separated by a dash. */ - public readonly projectKey!: pulumi.Output; + public readonly projectKey!: pulumi.Output; /** * List of property set name */ public readonly propertySets!: pulumi.Output; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ - public readonly repoLayoutRef!: pulumi.Output; + public readonly repoLayoutRef!: pulumi.Output; /** * Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via * Xray settings. */ - public readonly xrayIndex!: pulumi.Output; + public readonly xrayIndex!: pulumi.Output; /** * Create a LocalVagrantRepository resource with the given unique name, arguments, and options. @@ -141,7 +141,6 @@ export class LocalVagrantRepository extends pulumi.CustomResource { resourceInputs["includesPattern"] = state ? state.includesPattern : undefined; resourceInputs["key"] = state ? state.key : undefined; resourceInputs["notes"] = state ? state.notes : undefined; - resourceInputs["packageType"] = state ? state.packageType : undefined; resourceInputs["priorityResolution"] = state ? state.priorityResolution : undefined; resourceInputs["projectEnvironments"] = state ? state.projectEnvironments : undefined; resourceInputs["projectKey"] = state ? state.projectKey : undefined; @@ -168,7 +167,6 @@ export class LocalVagrantRepository extends pulumi.CustomResource { resourceInputs["propertySets"] = args ? args.propertySets : undefined; resourceInputs["repoLayoutRef"] = args ? args.repoLayoutRef : undefined; resourceInputs["xrayIndex"] = args ? args.xrayIndex : undefined; - resourceInputs["packageType"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(LocalVagrantRepository.__pulumiType, name, resourceInputs, opts); @@ -191,7 +189,7 @@ export interface LocalVagrantRepositoryState { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -221,7 +219,6 @@ export interface LocalVagrantRepositoryState { * Internal description. */ notes?: pulumi.Input; - packageType?: pulumi.Input; /** * Setting repositories with priority will cause metadata to be merged only from repositories set with this field */ @@ -237,7 +234,8 @@ export interface LocalVagrantRepositoryState { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** @@ -263,7 +261,7 @@ export interface LocalVagrantRepositoryArgs { blackedOut?: pulumi.Input; /** * When set, download requests to this repository will redirect the client to download the artifact directly from AWS - * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + * CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` */ cdnRedirect?: pulumi.Input; /** @@ -308,7 +306,8 @@ export interface LocalVagrantRepositoryArgs { */ propertySets?: pulumi.Input[]>; /** - * Repository layout key for the local repository + * Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + * corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. */ repoLayoutRef?: pulumi.Input; /** diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 2db95f06..2948e53d 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -249,6 +249,7 @@ "localHelmociRepository.ts", "localHuggingfacemlRepository.ts", "localIvyRepository.ts", + "localMachinelearningRepository.ts", "localMavenRepository.ts", "localNpmRepository.ts", "localNugetRepository.ts", diff --git a/sdk/python/pulumi_artifactory/__init__.py b/sdk/python/pulumi_artifactory/__init__.py index 5a81f6d7..1e630142 100644 --- a/sdk/python/pulumi_artifactory/__init__.py +++ b/sdk/python/pulumi_artifactory/__init__.py @@ -238,6 +238,7 @@ from .local_helmoci_repository import * from .local_huggingfaceml_repository import * from .local_ivy_repository import * +from .local_machinelearning_repository import * from .local_maven_repository import * from .local_npm_repository import * from .local_nuget_repository import * @@ -1082,6 +1083,14 @@ "artifactory:index/localIvyRepository:LocalIvyRepository": "LocalIvyRepository" } }, + { + "pkg": "artifactory", + "mod": "index/localMachinelearningRepository", + "fqn": "pulumi_artifactory", + "classes": { + "artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository": "LocalMachinelearningRepository" + } + }, { "pkg": "artifactory", "mod": "index/localMavenRepository", diff --git a/sdk/python/pulumi_artifactory/local_bower_repository.py b/sdk/python/pulumi_artifactory/local_bower_repository.py index 4ed291de..59f238c9 100644 --- a/sdk/python/pulumi_artifactory/local_bower_repository.py +++ b/sdk/python/pulumi_artifactory/local_bower_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalBowerRepository, __self__).__init__( 'artifactory:index/localBowerRepository:LocalBowerRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_chef_repository.py b/sdk/python/pulumi_artifactory/local_chef_repository.py index 65eb7e11..4df4e71a 100644 --- a/sdk/python/pulumi_artifactory/local_chef_repository.py +++ b/sdk/python/pulumi_artifactory/local_chef_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalChefRepository, __self__).__init__( 'artifactory:index/localChefRepository:LocalChefRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_cocoapods_repository.py b/sdk/python/pulumi_artifactory/local_cocoapods_repository.py index 38f11916..785a636a 100644 --- a/sdk/python/pulumi_artifactory/local_cocoapods_repository.py +++ b/sdk/python/pulumi_artifactory/local_cocoapods_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalCocoapodsRepository, __self__).__init__( 'artifactory:index/localCocoapodsRepository:LocalCocoapodsRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_composer_repository.py b/sdk/python/pulumi_artifactory/local_composer_repository.py index 4b95ee88..05bbaf44 100644 --- a/sdk/python/pulumi_artifactory/local_composer_repository.py +++ b/sdk/python/pulumi_artifactory/local_composer_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalComposerRepository, __self__).__init__( 'artifactory:index/localComposerRepository:LocalComposerRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_conda_repository.py b/sdk/python/pulumi_artifactory/local_conda_repository.py index f38a95c1..b8f84e70 100644 --- a/sdk/python/pulumi_artifactory/local_conda_repository.py +++ b/sdk/python/pulumi_artifactory/local_conda_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalCondaRepository, __self__).__init__( 'artifactory:index/localCondaRepository:LocalCondaRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_cran_repository.py b/sdk/python/pulumi_artifactory/local_cran_repository.py index 4ebac0ef..2715f4fc 100644 --- a/sdk/python/pulumi_artifactory/local_cran_repository.py +++ b/sdk/python/pulumi_artifactory/local_cran_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalCranRepository, __self__).__init__( 'artifactory:index/localCranRepository:LocalCranRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_gems_repository.py b/sdk/python/pulumi_artifactory/local_gems_repository.py index 8ee9e009..9eea98f7 100644 --- a/sdk/python/pulumi_artifactory/local_gems_repository.py +++ b/sdk/python/pulumi_artifactory/local_gems_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalGemsRepository, __self__).__init__( 'artifactory:index/localGemsRepository:LocalGemsRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_generic_repository.py b/sdk/python/pulumi_artifactory/local_generic_repository.py index 5c34f612..8a160f08 100644 --- a/sdk/python/pulumi_artifactory/local_generic_repository.py +++ b/sdk/python/pulumi_artifactory/local_generic_repository.py @@ -43,7 +43,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -56,7 +56,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -134,7 +135,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -255,7 +256,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -289,7 +291,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -303,7 +304,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -318,7 +319,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -340,8 +342,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -386,7 +386,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -470,15 +470,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -529,7 +520,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -599,7 +591,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -614,7 +606,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -700,7 +693,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalGenericRepository, __self__).__init__( 'artifactory:index/localGenericRepository:LocalGenericRepository', resource_name, @@ -720,7 +712,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -739,7 +730,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -754,7 +745,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -771,7 +763,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -782,7 +773,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -792,7 +783,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -800,16 +791,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -817,7 +808,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -826,7 +817,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -835,7 +826,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -853,20 +844,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -879,7 +865,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -896,15 +882,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_gitltfs_repository.py b/sdk/python/pulumi_artifactory/local_gitltfs_repository.py index c67fa236..34be9912 100644 --- a/sdk/python/pulumi_artifactory/local_gitltfs_repository.py +++ b/sdk/python/pulumi_artifactory/local_gitltfs_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalGitltfsRepository, __self__).__init__( 'artifactory:index/localGitltfsRepository:LocalGitltfsRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_go_repository.py b/sdk/python/pulumi_artifactory/local_go_repository.py index 99897c05..e51d64c6 100644 --- a/sdk/python/pulumi_artifactory/local_go_repository.py +++ b/sdk/python/pulumi_artifactory/local_go_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalGoRepository, __self__).__init__( 'artifactory:index/localGoRepository:LocalGoRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_helm_repository.py b/sdk/python/pulumi_artifactory/local_helm_repository.py index 7a0f50b2..b29dc40d 100644 --- a/sdk/python/pulumi_artifactory/local_helm_repository.py +++ b/sdk/python/pulumi_artifactory/local_helm_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalHelmRepository, __self__).__init__( 'artifactory:index/localHelmRepository:LocalHelmRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_huggingfaceml_repository.py b/sdk/python/pulumi_artifactory/local_huggingfaceml_repository.py index 1c71227d..6843e7e5 100644 --- a/sdk/python/pulumi_artifactory/local_huggingfaceml_repository.py +++ b/sdk/python/pulumi_artifactory/local_huggingfaceml_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -597,7 +589,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -611,7 +603,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -699,7 +692,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalHuggingfacemlRepository, __self__).__init__( 'artifactory:index/localHuggingfacemlRepository:LocalHuggingfacemlRepository', resource_name, @@ -719,7 +711,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -738,7 +729,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -752,7 +743,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -769,7 +761,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -780,7 +771,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -790,7 +781,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -798,16 +789,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -815,7 +806,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -824,7 +815,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -833,7 +824,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -850,20 +841,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -876,7 +862,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -893,15 +879,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_machinelearning_repository.py b/sdk/python/pulumi_artifactory/local_machinelearning_repository.py new file mode 100644 index 00000000..a8caf93a --- /dev/null +++ b/sdk/python/pulumi_artifactory/local_machinelearning_repository.py @@ -0,0 +1,743 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['LocalMachinelearningRepositoryArgs', 'LocalMachinelearningRepository'] + +@pulumi.input_type +class LocalMachinelearningRepositoryArgs: + def __init__(__self__, *, + key: pulumi.Input[str], + archive_browsing_enabled: Optional[pulumi.Input[bool]] = None, + blacked_out: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + download_direct: Optional[pulumi.Input[bool]] = None, + excludes_pattern: Optional[pulumi.Input[str]] = None, + includes_pattern: Optional[pulumi.Input[str]] = None, + notes: Optional[pulumi.Input[str]] = None, + priority_resolution: Optional[pulumi.Input[bool]] = None, + project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + project_key: Optional[pulumi.Input[str]] = None, + property_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + xray_index: Optional[pulumi.Input[bool]] = None): + """ + The set of arguments for constructing a LocalMachinelearningRepository resource. + :param pulumi.Input[str] key: A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + :param pulumi.Input[bool] archive_browsing_enabled: When set, you may view content such as HTML or Javadoc files directly from Artifactory. + This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + :param pulumi.Input[str] description: Public description. + :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + :param pulumi.Input[str] excludes_pattern: List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + :param pulumi.Input[str] includes_pattern: List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + :param pulumi.Input[str] notes: Internal description. + :param pulumi.Input[bool] priority_resolution: Setting repositories with priority will cause metadata to be merged only from repositories set with this field + :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name + :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + """ + pulumi.set(__self__, "key", key) + if archive_browsing_enabled is not None: + pulumi.set(__self__, "archive_browsing_enabled", archive_browsing_enabled) + if blacked_out is not None: + pulumi.set(__self__, "blacked_out", blacked_out) + if description is not None: + pulumi.set(__self__, "description", description) + if download_direct is not None: + pulumi.set(__self__, "download_direct", download_direct) + if excludes_pattern is not None: + pulumi.set(__self__, "excludes_pattern", excludes_pattern) + if includes_pattern is not None: + pulumi.set(__self__, "includes_pattern", includes_pattern) + if notes is not None: + pulumi.set(__self__, "notes", notes) + if priority_resolution is not None: + pulumi.set(__self__, "priority_resolution", priority_resolution) + if project_environments is not None: + pulumi.set(__self__, "project_environments", project_environments) + if project_key is not None: + pulumi.set(__self__, "project_key", project_key) + if property_sets is not None: + pulumi.set(__self__, "property_sets", property_sets) + if xray_index is not None: + pulumi.set(__self__, "xray_index", xray_index) + + @property + @pulumi.getter + def key(self) -> pulumi.Input[str]: + """ + A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: pulumi.Input[str]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter(name="archiveBrowsingEnabled") + def archive_browsing_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + When set, you may view content such as HTML or Javadoc files directly from Artifactory. + This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + """ + return pulumi.get(self, "archive_browsing_enabled") + + @archive_browsing_enabled.setter + def archive_browsing_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "archive_browsing_enabled", value) + + @property + @pulumi.getter(name="blackedOut") + def blacked_out(self) -> Optional[pulumi.Input[bool]]: + """ + When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + """ + return pulumi.get(self, "blacked_out") + + @blacked_out.setter + def blacked_out(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "blacked_out", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Public description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="downloadDirect") + def download_direct(self) -> Optional[pulumi.Input[bool]]: + """ + When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + """ + return pulumi.get(self, "download_direct") + + @download_direct.setter + def download_direct(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "download_direct", value) + + @property + @pulumi.getter(name="excludesPattern") + def excludes_pattern(self) -> Optional[pulumi.Input[str]]: + """ + List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + """ + return pulumi.get(self, "excludes_pattern") + + @excludes_pattern.setter + def excludes_pattern(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "excludes_pattern", value) + + @property + @pulumi.getter(name="includesPattern") + def includes_pattern(self) -> Optional[pulumi.Input[str]]: + """ + List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + """ + return pulumi.get(self, "includes_pattern") + + @includes_pattern.setter + def includes_pattern(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "includes_pattern", value) + + @property + @pulumi.getter + def notes(self) -> Optional[pulumi.Input[str]]: + """ + Internal description. + """ + return pulumi.get(self, "notes") + + @notes.setter + def notes(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notes", value) + + @property + @pulumi.getter(name="priorityResolution") + def priority_resolution(self) -> Optional[pulumi.Input[bool]]: + """ + Setting repositories with priority will cause metadata to be merged only from repositories set with this field + """ + return pulumi.get(self, "priority_resolution") + + @priority_resolution.setter + def priority_resolution(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "priority_resolution", value) + + @property + @pulumi.getter(name="projectEnvironments") + def project_environments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "project_environments") + + @project_environments.setter + def project_environments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "project_environments", value) + + @property + @pulumi.getter(name="projectKey") + def project_key(self) -> Optional[pulumi.Input[str]]: + """ + Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + """ + return pulumi.get(self, "project_key") + + @project_key.setter + def project_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_key", value) + + @property + @pulumi.getter(name="propertySets") + def property_sets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of property set name + """ + return pulumi.get(self, "property_sets") + + @property_sets.setter + def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "property_sets", value) + + @property + @pulumi.getter(name="xrayIndex") + def xray_index(self) -> Optional[pulumi.Input[bool]]: + """ + Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + """ + return pulumi.get(self, "xray_index") + + @xray_index.setter + def xray_index(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "xray_index", value) + + +@pulumi.input_type +class _LocalMachinelearningRepositoryState: + def __init__(__self__, *, + archive_browsing_enabled: Optional[pulumi.Input[bool]] = None, + blacked_out: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + download_direct: Optional[pulumi.Input[bool]] = None, + excludes_pattern: Optional[pulumi.Input[str]] = None, + includes_pattern: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + notes: Optional[pulumi.Input[str]] = None, + priority_resolution: Optional[pulumi.Input[bool]] = None, + project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + project_key: Optional[pulumi.Input[str]] = None, + property_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + xray_index: Optional[pulumi.Input[bool]] = None): + """ + Input properties used for looking up and filtering LocalMachinelearningRepository resources. + :param pulumi.Input[bool] archive_browsing_enabled: When set, you may view content such as HTML or Javadoc files directly from Artifactory. + This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + :param pulumi.Input[str] description: Public description. + :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + :param pulumi.Input[str] excludes_pattern: List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + :param pulumi.Input[str] includes_pattern: List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + :param pulumi.Input[str] key: A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + :param pulumi.Input[str] notes: Internal description. + :param pulumi.Input[bool] priority_resolution: Setting repositories with priority will cause metadata to be merged only from repositories set with this field + :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name + :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + """ + if archive_browsing_enabled is not None: + pulumi.set(__self__, "archive_browsing_enabled", archive_browsing_enabled) + if blacked_out is not None: + pulumi.set(__self__, "blacked_out", blacked_out) + if description is not None: + pulumi.set(__self__, "description", description) + if download_direct is not None: + pulumi.set(__self__, "download_direct", download_direct) + if excludes_pattern is not None: + pulumi.set(__self__, "excludes_pattern", excludes_pattern) + if includes_pattern is not None: + pulumi.set(__self__, "includes_pattern", includes_pattern) + if key is not None: + pulumi.set(__self__, "key", key) + if notes is not None: + pulumi.set(__self__, "notes", notes) + if priority_resolution is not None: + pulumi.set(__self__, "priority_resolution", priority_resolution) + if project_environments is not None: + pulumi.set(__self__, "project_environments", project_environments) + if project_key is not None: + pulumi.set(__self__, "project_key", project_key) + if property_sets is not None: + pulumi.set(__self__, "property_sets", property_sets) + if xray_index is not None: + pulumi.set(__self__, "xray_index", xray_index) + + @property + @pulumi.getter(name="archiveBrowsingEnabled") + def archive_browsing_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + When set, you may view content such as HTML or Javadoc files directly from Artifactory. + This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + """ + return pulumi.get(self, "archive_browsing_enabled") + + @archive_browsing_enabled.setter + def archive_browsing_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "archive_browsing_enabled", value) + + @property + @pulumi.getter(name="blackedOut") + def blacked_out(self) -> Optional[pulumi.Input[bool]]: + """ + When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + """ + return pulumi.get(self, "blacked_out") + + @blacked_out.setter + def blacked_out(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "blacked_out", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Public description. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="downloadDirect") + def download_direct(self) -> Optional[pulumi.Input[bool]]: + """ + When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + """ + return pulumi.get(self, "download_direct") + + @download_direct.setter + def download_direct(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "download_direct", value) + + @property + @pulumi.getter(name="excludesPattern") + def excludes_pattern(self) -> Optional[pulumi.Input[str]]: + """ + List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + """ + return pulumi.get(self, "excludes_pattern") + + @excludes_pattern.setter + def excludes_pattern(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "excludes_pattern", value) + + @property + @pulumi.getter(name="includesPattern") + def includes_pattern(self) -> Optional[pulumi.Input[str]]: + """ + List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + """ + return pulumi.get(self, "includes_pattern") + + @includes_pattern.setter + def includes_pattern(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "includes_pattern", value) + + @property + @pulumi.getter + def key(self) -> Optional[pulumi.Input[str]]: + """ + A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + """ + return pulumi.get(self, "key") + + @key.setter + def key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "key", value) + + @property + @pulumi.getter + def notes(self) -> Optional[pulumi.Input[str]]: + """ + Internal description. + """ + return pulumi.get(self, "notes") + + @notes.setter + def notes(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notes", value) + + @property + @pulumi.getter(name="priorityResolution") + def priority_resolution(self) -> Optional[pulumi.Input[bool]]: + """ + Setting repositories with priority will cause metadata to be merged only from repositories set with this field + """ + return pulumi.get(self, "priority_resolution") + + @priority_resolution.setter + def priority_resolution(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "priority_resolution", value) + + @property + @pulumi.getter(name="projectEnvironments") + def project_environments(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "project_environments") + + @project_environments.setter + def project_environments(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "project_environments", value) + + @property + @pulumi.getter(name="projectKey") + def project_key(self) -> Optional[pulumi.Input[str]]: + """ + Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + """ + return pulumi.get(self, "project_key") + + @project_key.setter + def project_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "project_key", value) + + @property + @pulumi.getter(name="propertySets") + def property_sets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of property set name + """ + return pulumi.get(self, "property_sets") + + @property_sets.setter + def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "property_sets", value) + + @property + @pulumi.getter(name="xrayIndex") + def xray_index(self) -> Optional[pulumi.Input[bool]]: + """ + Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + """ + return pulumi.get(self, "xray_index") + + @xray_index.setter + def xray_index(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "xray_index", value) + + +class LocalMachinelearningRepository(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + archive_browsing_enabled: Optional[pulumi.Input[bool]] = None, + blacked_out: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + download_direct: Optional[pulumi.Input[bool]] = None, + excludes_pattern: Optional[pulumi.Input[str]] = None, + includes_pattern: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + notes: Optional[pulumi.Input[str]] = None, + priority_resolution: Optional[pulumi.Input[bool]] = None, + project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + project_key: Optional[pulumi.Input[str]] = None, + property_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + xray_index: Optional[pulumi.Input[bool]] = None, + __props__=None): + """ + Provides a resource to creates a local Machine Learning repository. + + Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/machine-learning-repositories). + + ## Example Usage + + ```python + import pulumi + import pulumi_artifactory as artifactory + + my_machinelearning_local = artifactory.LocalMachinelearningRepository("my-machinelearning-local", key="my-machinelearning-local") + ``` + + ## Import + + ```sh + $ pulumi import artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository my-machinelearning-local my-machinelearning-local + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] archive_browsing_enabled: When set, you may view content such as HTML or Javadoc files directly from Artifactory. + This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + :param pulumi.Input[str] description: Public description. + :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + :param pulumi.Input[str] excludes_pattern: List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + :param pulumi.Input[str] includes_pattern: List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + :param pulumi.Input[str] key: A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + :param pulumi.Input[str] notes: Internal description. + :param pulumi.Input[bool] priority_resolution: Setting repositories with priority will cause metadata to be merged only from repositories set with this field + :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name + :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: LocalMachinelearningRepositoryArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Provides a resource to creates a local Machine Learning repository. + + Official documentation can be found [here](https://jfrog.com/help/r/jfrog-artifactory-documentation/machine-learning-repositories). + + ## Example Usage + + ```python + import pulumi + import pulumi_artifactory as artifactory + + my_machinelearning_local = artifactory.LocalMachinelearningRepository("my-machinelearning-local", key="my-machinelearning-local") + ``` + + ## Import + + ```sh + $ pulumi import artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository my-machinelearning-local my-machinelearning-local + ``` + + :param str resource_name: The name of the resource. + :param LocalMachinelearningRepositoryArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(LocalMachinelearningRepositoryArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + archive_browsing_enabled: Optional[pulumi.Input[bool]] = None, + blacked_out: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + download_direct: Optional[pulumi.Input[bool]] = None, + excludes_pattern: Optional[pulumi.Input[str]] = None, + includes_pattern: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + notes: Optional[pulumi.Input[str]] = None, + priority_resolution: Optional[pulumi.Input[bool]] = None, + project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + project_key: Optional[pulumi.Input[str]] = None, + property_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + xray_index: Optional[pulumi.Input[bool]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = LocalMachinelearningRepositoryArgs.__new__(LocalMachinelearningRepositoryArgs) + + __props__.__dict__["archive_browsing_enabled"] = archive_browsing_enabled + __props__.__dict__["blacked_out"] = blacked_out + __props__.__dict__["description"] = description + __props__.__dict__["download_direct"] = download_direct + __props__.__dict__["excludes_pattern"] = excludes_pattern + __props__.__dict__["includes_pattern"] = includes_pattern + if key is None and not opts.urn: + raise TypeError("Missing required property 'key'") + __props__.__dict__["key"] = key + __props__.__dict__["notes"] = notes + __props__.__dict__["priority_resolution"] = priority_resolution + __props__.__dict__["project_environments"] = project_environments + __props__.__dict__["project_key"] = project_key + __props__.__dict__["property_sets"] = property_sets + __props__.__dict__["xray_index"] = xray_index + super(LocalMachinelearningRepository, __self__).__init__( + 'artifactory:index/localMachinelearningRepository:LocalMachinelearningRepository', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + archive_browsing_enabled: Optional[pulumi.Input[bool]] = None, + blacked_out: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + download_direct: Optional[pulumi.Input[bool]] = None, + excludes_pattern: Optional[pulumi.Input[str]] = None, + includes_pattern: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + notes: Optional[pulumi.Input[str]] = None, + priority_resolution: Optional[pulumi.Input[bool]] = None, + project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + project_key: Optional[pulumi.Input[str]] = None, + property_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + xray_index: Optional[pulumi.Input[bool]] = None) -> 'LocalMachinelearningRepository': + """ + Get an existing LocalMachinelearningRepository resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] archive_browsing_enabled: When set, you may view content such as HTML or Javadoc files directly from Artifactory. + This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + :param pulumi.Input[str] description: Public description. + :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + :param pulumi.Input[str] excludes_pattern: List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + :param pulumi.Input[str] includes_pattern: List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + :param pulumi.Input[str] key: A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + :param pulumi.Input[str] notes: Internal description. + :param pulumi.Input[bool] priority_resolution: Setting repositories with priority will cause metadata to be merged only from repositories set with this field + :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name + :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _LocalMachinelearningRepositoryState.__new__(_LocalMachinelearningRepositoryState) + + __props__.__dict__["archive_browsing_enabled"] = archive_browsing_enabled + __props__.__dict__["blacked_out"] = blacked_out + __props__.__dict__["description"] = description + __props__.__dict__["download_direct"] = download_direct + __props__.__dict__["excludes_pattern"] = excludes_pattern + __props__.__dict__["includes_pattern"] = includes_pattern + __props__.__dict__["key"] = key + __props__.__dict__["notes"] = notes + __props__.__dict__["priority_resolution"] = priority_resolution + __props__.__dict__["project_environments"] = project_environments + __props__.__dict__["project_key"] = project_key + __props__.__dict__["property_sets"] = property_sets + __props__.__dict__["xray_index"] = xray_index + return LocalMachinelearningRepository(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="archiveBrowsingEnabled") + def archive_browsing_enabled(self) -> pulumi.Output[bool]: + """ + When set, you may view content such as HTML or Javadoc files directly from Artifactory. + This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise security (e.g., cross-site scripting attacks). + """ + return pulumi.get(self, "archive_browsing_enabled") + + @property + @pulumi.getter(name="blackedOut") + def blacked_out(self) -> pulumi.Output[bool]: + """ + When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. + """ + return pulumi.get(self, "blacked_out") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + Public description. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="downloadDirect") + def download_direct(self) -> pulumi.Output[bool]: + """ + When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. + """ + return pulumi.get(self, "download_direct") + + @property + @pulumi.getter(name="excludesPattern") + def excludes_pattern(self) -> pulumi.Output[str]: + """ + List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. + """ + return pulumi.get(self, "excludes_pattern") + + @property + @pulumi.getter(name="includesPattern") + def includes_pattern(self) -> pulumi.Output[str]: + """ + List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). + """ + return pulumi.get(self, "includes_pattern") + + @property + @pulumi.getter + def key(self) -> pulumi.Output[str]: + """ + A mandatory identifier for the repository that must be unique. Must be 1 - 64 alphanumeric and hyphen characters. It cannot contain spaces or special characters. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def notes(self) -> pulumi.Output[str]: + """ + Internal description. + """ + return pulumi.get(self, "notes") + + @property + @pulumi.getter(name="priorityResolution") + def priority_resolution(self) -> pulumi.Output[bool]: + """ + Setting repositories with priority will cause metadata to be merged only from repositories set with this field + """ + return pulumi.get(self, "priority_resolution") + + @property + @pulumi.getter(name="projectEnvironments") + def project_environments(self) -> pulumi.Output[Sequence[str]]: + return pulumi.get(self, "project_environments") + + @property + @pulumi.getter(name="projectKey") + def project_key(self) -> pulumi.Output[str]: + """ + Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. + """ + return pulumi.get(self, "project_key") + + @property + @pulumi.getter(name="propertySets") + def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + List of property set name + """ + return pulumi.get(self, "property_sets") + + @property + @pulumi.getter(name="xrayIndex") + def xray_index(self) -> pulumi.Output[bool]: + """ + Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. + """ + return pulumi.get(self, "xray_index") + diff --git a/sdk/python/pulumi_artifactory/local_npm_repository.py b/sdk/python/pulumi_artifactory/local_npm_repository.py index 3d845b00..7372d6e6 100644 --- a/sdk/python/pulumi_artifactory/local_npm_repository.py +++ b/sdk/python/pulumi_artifactory/local_npm_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalNpmRepository, __self__).__init__( 'artifactory:index/localNpmRepository:LocalNpmRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_opkg_repository.py b/sdk/python/pulumi_artifactory/local_opkg_repository.py index fa13da57..b95dd0e6 100644 --- a/sdk/python/pulumi_artifactory/local_opkg_repository.py +++ b/sdk/python/pulumi_artifactory/local_opkg_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalOpkgRepository, __self__).__init__( 'artifactory:index/localOpkgRepository:LocalOpkgRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_pub_repository.py b/sdk/python/pulumi_artifactory/local_pub_repository.py index e482bb8f..af337264 100644 --- a/sdk/python/pulumi_artifactory/local_pub_repository.py +++ b/sdk/python/pulumi_artifactory/local_pub_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalPubRepository, __self__).__init__( 'artifactory:index/localPubRepository:LocalPubRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_puppet_repository.py b/sdk/python/pulumi_artifactory/local_puppet_repository.py index d0e7fea6..42c494bd 100644 --- a/sdk/python/pulumi_artifactory/local_puppet_repository.py +++ b/sdk/python/pulumi_artifactory/local_puppet_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalPuppetRepository, __self__).__init__( 'artifactory:index/localPuppetRepository:LocalPuppetRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_pypi_repository.py b/sdk/python/pulumi_artifactory/local_pypi_repository.py index dd8f9065..dfa44020 100644 --- a/sdk/python/pulumi_artifactory/local_pypi_repository.py +++ b/sdk/python/pulumi_artifactory/local_pypi_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalPypiRepository, __self__).__init__( 'artifactory:index/localPypiRepository:LocalPypiRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_swift_repository.py b/sdk/python/pulumi_artifactory/local_swift_repository.py index 7e75e215..dc03f3b5 100644 --- a/sdk/python/pulumi_artifactory/local_swift_repository.py +++ b/sdk/python/pulumi_artifactory/local_swift_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalSwiftRepository, __self__).__init__( 'artifactory:index/localSwiftRepository:LocalSwiftRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_terraform_backend_repository.py b/sdk/python/pulumi_artifactory/local_terraform_backend_repository.py index 66e89484..974fec62 100644 --- a/sdk/python/pulumi_artifactory/local_terraform_backend_repository.py +++ b/sdk/python/pulumi_artifactory/local_terraform_backend_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -593,7 +585,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -607,7 +599,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -691,7 +684,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalTerraformBackendRepository, __self__).__init__( 'artifactory:index/localTerraformBackendRepository:LocalTerraformBackendRepository', resource_name, @@ -711,7 +703,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -730,7 +721,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -744,7 +735,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -761,7 +753,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -772,7 +763,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -782,7 +773,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -790,16 +781,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -807,7 +798,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -816,7 +807,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -825,7 +816,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -842,20 +833,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -868,7 +854,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -885,15 +871,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. diff --git a/sdk/python/pulumi_artifactory/local_vagrant_repository.py b/sdk/python/pulumi_artifactory/local_vagrant_repository.py index 78de90b6..0ad79def 100644 --- a/sdk/python/pulumi_artifactory/local_vagrant_repository.py +++ b/sdk/python/pulumi_artifactory/local_vagrant_repository.py @@ -42,7 +42,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -55,7 +55,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -132,7 +133,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -253,7 +254,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -287,7 +289,6 @@ def __init__(__self__, *, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -301,7 +302,7 @@ def __init__(__self__, *, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -315,7 +316,8 @@ def __init__(__self__, *, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -337,8 +339,6 @@ def __init__(__self__, *, pulumi.set(__self__, "key", key) if notes is not None: pulumi.set(__self__, "notes", notes) - if package_type is not None: - pulumi.set(__self__, "package_type", package_type) if priority_resolution is not None: pulumi.set(__self__, "priority_resolution", priority_resolution) if project_environments is not None: @@ -383,7 +383,7 @@ def blacked_out(self, value: Optional[pulumi.Input[bool]]): def cdn_redirect(self) -> Optional[pulumi.Input[bool]]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @@ -466,15 +466,6 @@ def notes(self) -> Optional[pulumi.Input[str]]: def notes(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "notes", value) - @property - @pulumi.getter(name="packageType") - def package_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "package_type") - - @package_type.setter - def package_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "package_type", value) - @property @pulumi.getter(name="priorityResolution") def priority_resolution(self) -> Optional[pulumi.Input[bool]]: @@ -525,7 +516,8 @@ def property_sets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]] @pulumi.getter(name="repoLayoutRef") def repo_layout_ref(self) -> Optional[pulumi.Input[str]]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @@ -595,7 +587,7 @@ def __init__(__self__, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -609,7 +601,8 @@ def __init__(__self__, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -695,7 +688,6 @@ def _internal_init(__self__, __props__.__dict__["property_sets"] = property_sets __props__.__dict__["repo_layout_ref"] = repo_layout_ref __props__.__dict__["xray_index"] = xray_index - __props__.__dict__["package_type"] = None super(LocalVagrantRepository, __self__).__init__( 'artifactory:index/localVagrantRepository:LocalVagrantRepository', resource_name, @@ -715,7 +707,6 @@ def get(resource_name: str, includes_pattern: Optional[pulumi.Input[str]] = None, key: Optional[pulumi.Input[str]] = None, notes: Optional[pulumi.Input[str]] = None, - package_type: Optional[pulumi.Input[str]] = None, priority_resolution: Optional[pulumi.Input[bool]] = None, project_environments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, project_key: Optional[pulumi.Input[str]] = None, @@ -734,7 +725,7 @@ def get(resource_name: str, security (e.g., cross-site scripting attacks). :param pulumi.Input[bool] blacked_out: When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. :param pulumi.Input[bool] cdn_redirect: When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` :param pulumi.Input[str] description: Public description. :param pulumi.Input[bool] download_direct: When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -748,7 +739,8 @@ def get(resource_name: str, :param pulumi.Input[str] project_key: Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. :param pulumi.Input[Sequence[pulumi.Input[str]]] property_sets: List of property set name - :param pulumi.Input[str] repo_layout_ref: Repository layout key for the local repository + :param pulumi.Input[str] repo_layout_ref: Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. :param pulumi.Input[bool] xray_index: Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings. """ @@ -765,7 +757,6 @@ def get(resource_name: str, __props__.__dict__["includes_pattern"] = includes_pattern __props__.__dict__["key"] = key __props__.__dict__["notes"] = notes - __props__.__dict__["package_type"] = package_type __props__.__dict__["priority_resolution"] = priority_resolution __props__.__dict__["project_environments"] = project_environments __props__.__dict__["project_key"] = project_key @@ -776,7 +767,7 @@ def get(resource_name: str, @property @pulumi.getter(name="archiveBrowsingEnabled") - def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: + def archive_browsing_enabled(self) -> pulumi.Output[bool]: """ When set, you may view content such as HTML or Javadoc files directly from Artifactory. This may not be safe and therefore requires strict content moderation to prevent malicious users from uploading content that may compromise @@ -786,7 +777,7 @@ def archive_browsing_enabled(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="blackedOut") - def blacked_out(self) -> pulumi.Output[Optional[bool]]: + def blacked_out(self) -> pulumi.Output[bool]: """ When set, the repository does not participate in artifact resolution and new artifacts cannot be deployed. """ @@ -794,16 +785,16 @@ def blacked_out(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="cdnRedirect") - def cdn_redirect(self) -> pulumi.Output[Optional[bool]]: + def cdn_redirect(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from AWS - CloudFront. Available in Enterprise+ and Edge licenses only. Default value is 'false' + CloudFront. Available in Enterprise+ and Edge licenses only. Default value is `false` """ return pulumi.get(self, "cdn_redirect") @property @pulumi.getter - def description(self) -> pulumi.Output[Optional[str]]: + def description(self) -> pulumi.Output[str]: """ Public description. """ @@ -811,7 +802,7 @@ def description(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="downloadDirect") - def download_direct(self) -> pulumi.Output[Optional[bool]]: + def download_direct(self) -> pulumi.Output[bool]: """ When set, download requests to this repository will redirect the client to download the artifact directly from the cloud storage provider. Available in Enterprise+ and Edge licenses only. @@ -820,7 +811,7 @@ def download_direct(self) -> pulumi.Output[Optional[bool]]: @property @pulumi.getter(name="excludesPattern") - def excludes_pattern(self) -> pulumi.Output[Optional[str]]: + def excludes_pattern(self) -> pulumi.Output[str]: """ List of artifact patterns to exclude when evaluating artifact requests, in the form of `x/y/**/z/*`.By default no artifacts are excluded. @@ -829,7 +820,7 @@ def excludes_pattern(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="includesPattern") - def includes_pattern(self) -> pulumi.Output[Optional[str]]: + def includes_pattern(self) -> pulumi.Output[str]: """ List of comma-separated artifact patterns to include when evaluating artifact requests in the form of `x/y/**/z/*`. When used, only artifacts matching one of the include patterns are served. By default, all artifacts are included (`**/*`). @@ -846,20 +837,15 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter - def notes(self) -> pulumi.Output[Optional[str]]: + def notes(self) -> pulumi.Output[str]: """ Internal description. """ return pulumi.get(self, "notes") - @property - @pulumi.getter(name="packageType") - def package_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "package_type") - @property @pulumi.getter(name="priorityResolution") - def priority_resolution(self) -> pulumi.Output[Optional[bool]]: + def priority_resolution(self) -> pulumi.Output[bool]: """ Setting repositories with priority will cause metadata to be merged only from repositories set with this field """ @@ -872,7 +858,7 @@ def project_environments(self) -> pulumi.Output[Sequence[str]]: @property @pulumi.getter(name="projectKey") - def project_key(self) -> pulumi.Output[Optional[str]]: + def project_key(self) -> pulumi.Output[str]: """ Project key for assigning this repository to. Must be 2 - 32 lowercase alphanumeric and hyphen characters. When assigning repository to a project, repository key must be prefixed with project key, separated by a dash. @@ -889,15 +875,16 @@ def property_sets(self) -> pulumi.Output[Optional[Sequence[str]]]: @property @pulumi.getter(name="repoLayoutRef") - def repo_layout_ref(self) -> pulumi.Output[Optional[str]]: + def repo_layout_ref(self) -> pulumi.Output[str]: """ - Repository layout key for the local repository + Sets the layout that the repository should use for storing and identifying modules. A recommended layout that + corresponds to the package type defined is suggested, and index packages uploaded and calculate metadata accordingly. """ return pulumi.get(self, "repo_layout_ref") @property @pulumi.getter(name="xrayIndex") - def xray_index(self) -> pulumi.Output[Optional[bool]]: + def xray_index(self) -> pulumi.Output[bool]: """ Enable Indexing In Xray. Repository will be indexed with the default retention period. You will be able to change it via Xray settings.