1. Packages
  2. Octopusdeploy Provider
  3. API Docs
  4. OciRegistryFeed
octopusdeploy 0.42.0 published on Tuesday, Apr 15, 2025 by octopusdeploylabs

octopusdeploy.OciRegistryFeed

Explore with Pulumi AI

This resource manages a OCI Registry feed in Octopus Deploy.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as octopusdeploy from "@pulumi/octopusdeploy";

const example = new octopusdeploy.OciRegistryFeed("example", {
    feedUri: "oci://test-registry.docker.io",
    password: "test-password",
    username: "test-username",
});
Copy
import pulumi
import pulumi_octopusdeploy as octopusdeploy

example = octopusdeploy.OciRegistryFeed("example",
    feed_uri="oci://test-registry.docker.io",
    password="test-password",
    username="test-username")
Copy
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.NewOciRegistryFeed(ctx, "example", &octopusdeploy.OciRegistryFeedArgs{
			FeedUri:  pulumi.String("oci://test-registry.docker.io"),
			Password: pulumi.String("test-password"),
			Username: pulumi.String("test-username"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Octopusdeploy = Pulumi.Octopusdeploy;

return await Deployment.RunAsync(() => 
{
    var example = new Octopusdeploy.OciRegistryFeed("example", new()
    {
        FeedUri = "oci://test-registry.docker.io",
        Password = "test-password",
        Username = "test-username",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.octopusdeploy.OciRegistryFeed;
import com.pulumi.octopusdeploy.OciRegistryFeedArgs;
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 OciRegistryFeed("example", OciRegistryFeedArgs.builder()
            .feedUri("oci://test-registry.docker.io")
            .password("test-password")
            .username("test-username")
            .build());

    }
}
Copy
resources:
  example:
    type: octopusdeploy:OciRegistryFeed
    properties:
      feedUri: oci://test-registry.docker.io
      password: test-password
      username: test-username
Copy

Create OciRegistryFeed Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new OciRegistryFeed(name: string, args: OciRegistryFeedArgs, opts?: CustomResourceOptions);
@overload
def OciRegistryFeed(resource_name: str,
                    args: OciRegistryFeedArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def OciRegistryFeed(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    feed_uri: Optional[str] = None,
                    name: Optional[str] = None,
                    password: Optional[str] = None,
                    space_id: Optional[str] = None,
                    username: Optional[str] = None)
func NewOciRegistryFeed(ctx *Context, name string, args OciRegistryFeedArgs, opts ...ResourceOption) (*OciRegistryFeed, error)
public OciRegistryFeed(string name, OciRegistryFeedArgs args, CustomResourceOptions? opts = null)
public OciRegistryFeed(String name, OciRegistryFeedArgs args)
public OciRegistryFeed(String name, OciRegistryFeedArgs args, CustomResourceOptions options)
type: octopusdeploy:OciRegistryFeed
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. OciRegistryFeedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. OciRegistryFeedArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. OciRegistryFeedArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. OciRegistryFeedArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. OciRegistryFeedArgs
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 ociRegistryFeedResource = new Octopusdeploy.OciRegistryFeed("ociRegistryFeedResource", new()
{
    FeedUri = "string",
    Name = "string",
    Password = "string",
    SpaceId = "string",
    Username = "string",
});
Copy
example, err := octopusdeploy.NewOciRegistryFeed(ctx, "ociRegistryFeedResource", &octopusdeploy.OciRegistryFeedArgs{
FeedUri: pulumi.String("string"),
Name: pulumi.String("string"),
Password: pulumi.String("string"),
SpaceId: pulumi.String("string"),
Username: pulumi.String("string"),
})
Copy
var ociRegistryFeedResource = new OciRegistryFeed("ociRegistryFeedResource", OciRegistryFeedArgs.builder()
    .feedUri("string")
    .name("string")
    .password("string")
    .spaceId("string")
    .username("string")
    .build());
Copy
oci_registry_feed_resource = octopusdeploy.OciRegistryFeed("ociRegistryFeedResource",
    feed_uri="string",
    name="string",
    password="string",
    space_id="string",
    username="string")
Copy
const ociRegistryFeedResource = new octopusdeploy.OciRegistryFeed("ociRegistryFeedResource", {
    feedUri: "string",
    name: "string",
    password: "string",
    spaceId: "string",
    username: "string",
});
Copy
type: octopusdeploy:OciRegistryFeed
properties:
    feedUri: string
    name: string
    password: string
    spaceId: string
    username: string
Copy

OciRegistryFeed 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 OciRegistryFeed resource accepts the following input properties:

FeedUri This property is required. string
Name string
The name of this resource.
Password string
The password associated with this resource.
SpaceId string
The space ID associated with this OCI registry.
Username string
The username associated with this resource.
FeedUri This property is required. string
Name string
The name of this resource.
Password string
The password associated with this resource.
SpaceId string
The space ID associated with this OCI registry.
Username string
The username associated with this resource.
feedUri This property is required. String
name String
The name of this resource.
password String
The password associated with this resource.
spaceId String
The space ID associated with this OCI registry.
username String
The username associated with this resource.
feedUri This property is required. string
name string
The name of this resource.
password string
The password associated with this resource.
spaceId string
The space ID associated with this OCI registry.
username string
The username associated with this resource.
feed_uri This property is required. str
name str
The name of this resource.
password str
The password associated with this resource.
space_id str
The space ID associated with this OCI registry.
username str
The username associated with this resource.
feedUri This property is required. String
name String
The name of this resource.
password String
The password associated with this resource.
spaceId String
The space ID associated with this OCI registry.
username String
The username associated with this resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the OciRegistryFeed 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 OciRegistryFeed Resource

Get an existing OciRegistryFeed 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?: OciRegistryFeedState, opts?: CustomResourceOptions): OciRegistryFeed
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        feed_uri: Optional[str] = None,
        name: Optional[str] = None,
        password: Optional[str] = None,
        space_id: Optional[str] = None,
        username: Optional[str] = None) -> OciRegistryFeed
func GetOciRegistryFeed(ctx *Context, name string, id IDInput, state *OciRegistryFeedState, opts ...ResourceOption) (*OciRegistryFeed, error)
public static OciRegistryFeed Get(string name, Input<string> id, OciRegistryFeedState? state, CustomResourceOptions? opts = null)
public static OciRegistryFeed get(String name, Output<String> id, OciRegistryFeedState state, CustomResourceOptions options)
resources:  _:    type: octopusdeploy:OciRegistryFeed    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
FeedUri string
Name string
The name of this resource.
Password string
The password associated with this resource.
SpaceId string
The space ID associated with this OCI registry.
Username string
The username associated with this resource.
FeedUri string
Name string
The name of this resource.
Password string
The password associated with this resource.
SpaceId string
The space ID associated with this OCI registry.
Username string
The username associated with this resource.
feedUri String
name String
The name of this resource.
password String
The password associated with this resource.
spaceId String
The space ID associated with this OCI registry.
username String
The username associated with this resource.
feedUri string
name string
The name of this resource.
password string
The password associated with this resource.
spaceId string
The space ID associated with this OCI registry.
username string
The username associated with this resource.
feed_uri str
name str
The name of this resource.
password str
The password associated with this resource.
space_id str
The space ID associated with this OCI registry.
username str
The username associated with this resource.
feedUri String
name String
The name of this resource.
password String
The password associated with this resource.
spaceId String
The space ID associated with this OCI registry.
username String
The username associated with this resource.

Import

$ pulumi import octopusdeploy:index/ociRegistryFeed:OciRegistryFeed [options] octopusdeploy_oci_registry_feed.<name> <feed-id>
Copy

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.