octopusdeploy.ArtifactoryGenericFeed
Explore with Pulumi AI
This resource manages a Artifactory Generic feed in Octopus Deploy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as octopusdeploy from "@pulumi/octopusdeploy";
const example = new octopusdeploy.ArtifactoryGenericFeed("example", {
feedUri: "https://example.jfrog.io",
layoutRegex: "this is regex",
password: "test-password",
repository: "repo",
username: "test-username",
});
import pulumi
import pulumi_octopusdeploy as octopusdeploy
example = octopusdeploy.ArtifactoryGenericFeed("example",
feed_uri="https://example.jfrog.io",
layout_regex="this is regex",
password="test-password",
repository="repo",
username="test-username")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/octopusdeploy/octopusdeploy"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := octopusdeploy.NewArtifactoryGenericFeed(ctx, "example", &octopusdeploy.ArtifactoryGenericFeedArgs{
FeedUri: pulumi.String("https://example.jfrog.io"),
LayoutRegex: pulumi.String("this is regex"),
Password: pulumi.String("test-password"),
Repository: pulumi.String("repo"),
Username: pulumi.String("test-username"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Octopusdeploy = Pulumi.Octopusdeploy;
return await Deployment.RunAsync(() =>
{
var example = new Octopusdeploy.ArtifactoryGenericFeed("example", new()
{
FeedUri = "https://example.jfrog.io",
LayoutRegex = "this is regex",
Password = "test-password",
Repository = "repo",
Username = "test-username",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.octopusdeploy.ArtifactoryGenericFeed;
import com.pulumi.octopusdeploy.ArtifactoryGenericFeedArgs;
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 example = new ArtifactoryGenericFeed("example", ArtifactoryGenericFeedArgs.builder()
.feedUri("https://example.jfrog.io")
.layoutRegex("this is regex")
.password("test-password")
.repository("repo")
.username("test-username")
.build());
}
}
resources:
example:
type: octopusdeploy:ArtifactoryGenericFeed
properties:
feedUri: https://example.jfrog.io
layoutRegex: this is regex
password: test-password
repository: repo
username: test-username
Create ArtifactoryGenericFeed Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ArtifactoryGenericFeed(name: string, args: ArtifactoryGenericFeedArgs, opts?: CustomResourceOptions);
@overload
def ArtifactoryGenericFeed(resource_name: str,
args: ArtifactoryGenericFeedArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ArtifactoryGenericFeed(resource_name: str,
opts: Optional[ResourceOptions] = None,
feed_uri: Optional[str] = None,
repository: Optional[str] = None,
layout_regex: Optional[str] = None,
name: Optional[str] = None,
package_acquisition_location_options: Optional[Sequence[str]] = None,
password: Optional[str] = None,
space_id: Optional[str] = None,
username: Optional[str] = None)
func NewArtifactoryGenericFeed(ctx *Context, name string, args ArtifactoryGenericFeedArgs, opts ...ResourceOption) (*ArtifactoryGenericFeed, error)
public ArtifactoryGenericFeed(string name, ArtifactoryGenericFeedArgs args, CustomResourceOptions? opts = null)
public ArtifactoryGenericFeed(String name, ArtifactoryGenericFeedArgs args)
public ArtifactoryGenericFeed(String name, ArtifactoryGenericFeedArgs args, CustomResourceOptions options)
type: octopusdeploy:ArtifactoryGenericFeed
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ArtifactoryGenericFeedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ArtifactoryGenericFeedArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ArtifactoryGenericFeedArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ArtifactoryGenericFeedArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ArtifactoryGenericFeedArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var artifactoryGenericFeedResource = new Octopusdeploy.ArtifactoryGenericFeed("artifactoryGenericFeedResource", new()
{
FeedUri = "string",
Repository = "string",
LayoutRegex = "string",
Name = "string",
PackageAcquisitionLocationOptions = new[]
{
"string",
},
Password = "string",
SpaceId = "string",
Username = "string",
});
example, err := octopusdeploy.NewArtifactoryGenericFeed(ctx, "artifactoryGenericFeedResource", &octopusdeploy.ArtifactoryGenericFeedArgs{
FeedUri: pulumi.String("string"),
Repository: pulumi.String("string"),
LayoutRegex: pulumi.String("string"),
Name: pulumi.String("string"),
PackageAcquisitionLocationOptions: pulumi.StringArray{
pulumi.String("string"),
},
Password: pulumi.String("string"),
SpaceId: pulumi.String("string"),
Username: pulumi.String("string"),
})
var artifactoryGenericFeedResource = new ArtifactoryGenericFeed("artifactoryGenericFeedResource", ArtifactoryGenericFeedArgs.builder()
.feedUri("string")
.repository("string")
.layoutRegex("string")
.name("string")
.packageAcquisitionLocationOptions("string")
.password("string")
.spaceId("string")
.username("string")
.build());
artifactory_generic_feed_resource = octopusdeploy.ArtifactoryGenericFeed("artifactoryGenericFeedResource",
feed_uri="string",
repository="string",
layout_regex="string",
name="string",
package_acquisition_location_options=["string"],
password="string",
space_id="string",
username="string")
const artifactoryGenericFeedResource = new octopusdeploy.ArtifactoryGenericFeed("artifactoryGenericFeedResource", {
feedUri: "string",
repository: "string",
layoutRegex: "string",
name: "string",
packageAcquisitionLocationOptions: ["string"],
password: "string",
spaceId: "string",
username: "string",
});
type: octopusdeploy:ArtifactoryGenericFeed
properties:
feedUri: string
layoutRegex: string
name: string
packageAcquisitionLocationOptions:
- string
password: string
repository: string
spaceId: string
username: string
ArtifactoryGenericFeed Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ArtifactoryGenericFeed resource accepts the following input properties:
- Feed
Uri string - Repository string
- Layout
Regex string - Name string
- The name of this resource.
- Package
Acquisition List<string>Location Options - Password string
- The password associated with this resource.
- Space
Id string - The space ID associated with this artifactory generic feed.
- Username string
- The username associated with this resource.
- Feed
Uri string - Repository string
- Layout
Regex string - Name string
- The name of this resource.
- Package
Acquisition []stringLocation Options - Password string
- The password associated with this resource.
- Space
Id string - The space ID associated with this artifactory generic feed.
- Username string
- The username associated with this resource.
- feed
Uri String - repository String
- layout
Regex String - name String
- The name of this resource.
- package
Acquisition List<String>Location Options - password String
- The password associated with this resource.
- space
Id String - The space ID associated with this artifactory generic feed.
- username String
- The username associated with this resource.
- feed
Uri string - repository string
- layout
Regex string - name string
- The name of this resource.
- package
Acquisition string[]Location Options - password string
- The password associated with this resource.
- space
Id string - The space ID associated with this artifactory generic feed.
- username string
- The username associated with this resource.
- feed_
uri str - repository str
- layout_
regex str - name str
- The name of this resource.
- package_
acquisition_ Sequence[str]location_ options - password str
- The password associated with this resource.
- space_
id str - The space ID associated with this artifactory generic feed.
- username str
- The username associated with this resource.
- feed
Uri String - repository String
- layout
Regex String - name String
- The name of this resource.
- package
Acquisition List<String>Location Options - password String
- The password associated with this resource.
- space
Id String - The space ID associated with this artifactory generic feed.
- username String
- The username associated with this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ArtifactoryGenericFeed resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ArtifactoryGenericFeed Resource
Get an existing ArtifactoryGenericFeed resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ArtifactoryGenericFeedState, opts?: CustomResourceOptions): ArtifactoryGenericFeed
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
feed_uri: Optional[str] = None,
layout_regex: Optional[str] = None,
name: Optional[str] = None,
package_acquisition_location_options: Optional[Sequence[str]] = None,
password: Optional[str] = None,
repository: Optional[str] = None,
space_id: Optional[str] = None,
username: Optional[str] = None) -> ArtifactoryGenericFeed
func GetArtifactoryGenericFeed(ctx *Context, name string, id IDInput, state *ArtifactoryGenericFeedState, opts ...ResourceOption) (*ArtifactoryGenericFeed, error)
public static ArtifactoryGenericFeed Get(string name, Input<string> id, ArtifactoryGenericFeedState? state, CustomResourceOptions? opts = null)
public static ArtifactoryGenericFeed get(String name, Output<String> id, ArtifactoryGenericFeedState state, CustomResourceOptions options)
resources: _: type: octopusdeploy:ArtifactoryGenericFeed get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Feed
Uri string - Layout
Regex string - Name string
- The name of this resource.
- Package
Acquisition List<string>Location Options - Password string
- The password associated with this resource.
- Repository string
- Space
Id string - The space ID associated with this artifactory generic feed.
- Username string
- The username associated with this resource.
- Feed
Uri string - Layout
Regex string - Name string
- The name of this resource.
- Package
Acquisition []stringLocation Options - Password string
- The password associated with this resource.
- Repository string
- Space
Id string - The space ID associated with this artifactory generic feed.
- Username string
- The username associated with this resource.
- feed
Uri String - layout
Regex String - name String
- The name of this resource.
- package
Acquisition List<String>Location Options - password String
- The password associated with this resource.
- repository String
- space
Id String - The space ID associated with this artifactory generic feed.
- username String
- The username associated with this resource.
- feed
Uri string - layout
Regex string - name string
- The name of this resource.
- package
Acquisition string[]Location Options - password string
- The password associated with this resource.
- repository string
- space
Id string - The space ID associated with this artifactory generic feed.
- username string
- The username associated with this resource.
- feed_
uri str - layout_
regex str - name str
- The name of this resource.
- package_
acquisition_ Sequence[str]location_ options - password str
- The password associated with this resource.
- repository str
- space_
id str - The space ID associated with this artifactory generic feed.
- username str
- The username associated with this resource.
- feed
Uri String - layout
Regex String - name String
- The name of this resource.
- package
Acquisition List<String>Location Options - password String
- The password associated with this resource.
- repository String
- space
Id String - The space ID associated with this artifactory generic feed.
- username String
- The username associated with this resource.
Import
$ pulumi import octopusdeploy:index/artifactoryGenericFeed:ArtifactoryGenericFeed [options] octopusdeploy_artifactory_generic_feed.<name> <feed-id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- octopusdeploy octopusdeploylabs/terraform-provider-octopusdeploy
- License
- Notes
- This Pulumi package is based on the
octopusdeploy
Terraform Provider.