dynatrace.ContainerRegistry
Explore with Pulumi AI
Create ContainerRegistry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContainerRegistry(name: string, args?: ContainerRegistryArgs, opts?: CustomResourceOptions);
@overload
def ContainerRegistry(resource_name: str,
args: Optional[ContainerRegistryArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ContainerRegistry(resource_name: str,
opts: Optional[ResourceOptions] = None,
container_registry: Optional[str] = None)
func NewContainerRegistry(ctx *Context, name string, args *ContainerRegistryArgs, opts ...ResourceOption) (*ContainerRegistry, error)
public ContainerRegistry(string name, ContainerRegistryArgs? args = null, CustomResourceOptions? opts = null)
public ContainerRegistry(String name, ContainerRegistryArgs args)
public ContainerRegistry(String name, ContainerRegistryArgs args, CustomResourceOptions options)
type: dynatrace:ContainerRegistry
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 ContainerRegistryArgs
- 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 ContainerRegistryArgs
- 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 ContainerRegistryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContainerRegistryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContainerRegistryArgs
- 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 containerRegistryResource = new Dynatrace.ContainerRegistry("containerRegistryResource", new()
{
RegistryUrl = "string",
});
example, err := dynatrace.NewContainerRegistry(ctx, "containerRegistryResource", &dynatrace.ContainerRegistryArgs{
ContainerRegistry: pulumi.String("string"),
})
var containerRegistryResource = new ContainerRegistry("containerRegistryResource", ContainerRegistryArgs.builder()
.containerRegistry("string")
.build());
container_registry_resource = dynatrace.ContainerRegistry("containerRegistryResource", container_registry="string")
const containerRegistryResource = new dynatrace.ContainerRegistry("containerRegistryResource", {containerRegistry: "string"});
type: dynatrace:ContainerRegistry
properties:
containerRegistry: string
ContainerRegistry 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 ContainerRegistry resource accepts the following input properties:
- Registry
Url string - Typically set without protocol. Leave empty to use default configuration
- Container
Registry string - Typically set without protocol. Leave empty to use default configuration
- container
Registry String - Typically set without protocol. Leave empty to use default configuration
- container
Registry string - Typically set without protocol. Leave empty to use default configuration
- container_
registry str - Typically set without protocol. Leave empty to use default configuration
- container
Registry String - Typically set without protocol. Leave empty to use default configuration
Outputs
All input properties are implicitly available as output properties. Additionally, the ContainerRegistry 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 ContainerRegistry Resource
Get an existing ContainerRegistry 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?: ContainerRegistryState, opts?: CustomResourceOptions): ContainerRegistry
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
container_registry: Optional[str] = None) -> ContainerRegistry
func GetContainerRegistry(ctx *Context, name string, id IDInput, state *ContainerRegistryState, opts ...ResourceOption) (*ContainerRegistry, error)
public static ContainerRegistry Get(string name, Input<string> id, ContainerRegistryState? state, CustomResourceOptions? opts = null)
public static ContainerRegistry get(String name, Output<String> id, ContainerRegistryState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Registry
Url string - Typically set without protocol. Leave empty to use default configuration
- Container
Registry string - Typically set without protocol. Leave empty to use default configuration
- container
Registry String - Typically set without protocol. Leave empty to use default configuration
- container
Registry string - Typically set without protocol. Leave empty to use default configuration
- container_
registry str - Typically set without protocol. Leave empty to use default configuration
- container
Registry String - Typically set without protocol. Leave empty to use default configuration
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.