1. Packages
  2. Azure Native v2
  3. API Docs
  4. containerregistry
  5. Archife
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.containerregistry.Archife

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

An object that represents a archive for a container registry. Azure REST API version: 2023-06-01-preview.

Other available API versions: 2023-08-01-preview, 2023-11-01-preview, 2024-11-01-preview.

Example Usage

ArchiveCreate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var archife = new AzureNative.ContainerRegistry.Archife("archife", new()
    {
        ArchiveName = "myArchiveName",
        PackageSource = new AzureNative.ContainerRegistry.Inputs.ArchivePackageSourcePropertiesArgs
        {
            Type = AzureNative.ContainerRegistry.PackageSourceType.Remote,
            Url = "string",
        },
        PackageType = "rpm",
        PublishedVersion = "string",
        RegistryName = "myRegistry",
        RepositoryEndpointPrefix = "string",
        ResourceGroupName = "myResourceGroup",
    });

});
Copy
package main

import (
	containerregistry "github.com/pulumi/pulumi-azure-native-sdk/containerregistry/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := containerregistry.NewArchife(ctx, "archife", &containerregistry.ArchifeArgs{
			ArchiveName: pulumi.String("myArchiveName"),
			PackageSource: &containerregistry.ArchivePackageSourcePropertiesArgs{
				Type: pulumi.String(containerregistry.PackageSourceTypeRemote),
				Url:  pulumi.String("string"),
			},
			PackageType:              pulumi.String("rpm"),
			PublishedVersion:         pulumi.String("string"),
			RegistryName:             pulumi.String("myRegistry"),
			RepositoryEndpointPrefix: pulumi.String("string"),
			ResourceGroupName:        pulumi.String("myResourceGroup"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.containerregistry.Archife;
import com.pulumi.azurenative.containerregistry.ArchifeArgs;
import com.pulumi.azurenative.containerregistry.inputs.ArchivePackageSourcePropertiesArgs;
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 archife = new Archife("archife", ArchifeArgs.builder()
            .archiveName("myArchiveName")
            .packageSource(ArchivePackageSourcePropertiesArgs.builder()
                .type("remote")
                .url("string")
                .build())
            .packageType("rpm")
            .publishedVersion("string")
            .registryName("myRegistry")
            .repositoryEndpointPrefix("string")
            .resourceGroupName("myResourceGroup")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const archife = new azure_native.containerregistry.Archife("archife", {
    archiveName: "myArchiveName",
    packageSource: {
        type: azure_native.containerregistry.PackageSourceType.Remote,
        url: "string",
    },
    packageType: "rpm",
    publishedVersion: "string",
    registryName: "myRegistry",
    repositoryEndpointPrefix: "string",
    resourceGroupName: "myResourceGroup",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

archife = azure_native.containerregistry.Archife("archife",
    archive_name="myArchiveName",
    package_source={
        "type": azure_native.containerregistry.PackageSourceType.REMOTE,
        "url": "string",
    },
    package_type="rpm",
    published_version="string",
    registry_name="myRegistry",
    repository_endpoint_prefix="string",
    resource_group_name="myResourceGroup")
Copy
resources:
  archife:
    type: azure-native:containerregistry:Archife
    properties:
      archiveName: myArchiveName
      packageSource:
        type: remote
        url: string
      packageType: rpm
      publishedVersion: string
      registryName: myRegistry
      repositoryEndpointPrefix: string
      resourceGroupName: myResourceGroup
Copy

Create Archife Resource

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

Constructor syntax

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

@overload
def Archife(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            package_type: Optional[str] = None,
            registry_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            archive_name: Optional[str] = None,
            package_source: Optional[ArchivePackageSourcePropertiesArgs] = None,
            published_version: Optional[str] = None,
            repository_endpoint_prefix: Optional[str] = None)
func NewArchife(ctx *Context, name string, args ArchifeArgs, opts ...ResourceOption) (*Archife, error)
public Archife(string name, ArchifeArgs args, CustomResourceOptions? opts = null)
public Archife(String name, ArchifeArgs args)
public Archife(String name, ArchifeArgs args, CustomResourceOptions options)
type: azure-native:containerregistry:Archife
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. ArchifeArgs
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. ArchifeArgs
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. ArchifeArgs
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. ArchifeArgs
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. ArchifeArgs
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 archifeResource = new AzureNative.Containerregistry.Archife("archifeResource", new()
{
    PackageType = "string",
    RegistryName = "string",
    ResourceGroupName = "string",
    ArchiveName = "string",
    PackageSource = 
    {
        { "type", "string" },
        { "url", "string" },
    },
    PublishedVersion = "string",
    RepositoryEndpointPrefix = "string",
});
Copy
example, err := containerregistry.NewArchife(ctx, "archifeResource", &containerregistry.ArchifeArgs{
	PackageType:       "string",
	RegistryName:      "string",
	ResourceGroupName: "string",
	ArchiveName:       "string",
	PackageSource: map[string]interface{}{
		"type": "string",
		"url":  "string",
	},
	PublishedVersion:         "string",
	RepositoryEndpointPrefix: "string",
})
Copy
var archifeResource = new Archife("archifeResource", ArchifeArgs.builder()
    .packageType("string")
    .registryName("string")
    .resourceGroupName("string")
    .archiveName("string")
    .packageSource(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .publishedVersion("string")
    .repositoryEndpointPrefix("string")
    .build());
Copy
archife_resource = azure_native.containerregistry.Archife("archifeResource",
    package_type=string,
    registry_name=string,
    resource_group_name=string,
    archive_name=string,
    package_source={
        type: string,
        url: string,
    },
    published_version=string,
    repository_endpoint_prefix=string)
Copy
const archifeResource = new azure_native.containerregistry.Archife("archifeResource", {
    packageType: "string",
    registryName: "string",
    resourceGroupName: "string",
    archiveName: "string",
    packageSource: {
        type: "string",
        url: "string",
    },
    publishedVersion: "string",
    repositoryEndpointPrefix: "string",
});
Copy
type: azure-native:containerregistry:Archife
properties:
    archiveName: string
    packageSource:
        type: string
        url: string
    packageType: string
    publishedVersion: string
    registryName: string
    repositoryEndpointPrefix: string
    resourceGroupName: string
Copy

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

PackageType
This property is required.
Changes to this property will trigger replacement.
string
The type of the package resource.
RegistryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ArchiveName Changes to this property will trigger replacement. string
The name of the archive resource.
PackageSource Pulumi.AzureNative.ContainerRegistry.Inputs.ArchivePackageSourceProperties
The package source of the archive.
PublishedVersion string
The published version of the archive.
RepositoryEndpointPrefix string
PackageType
This property is required.
Changes to this property will trigger replacement.
string
The type of the package resource.
RegistryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
ArchiveName Changes to this property will trigger replacement. string
The name of the archive resource.
PackageSource ArchivePackageSourcePropertiesArgs
The package source of the archive.
PublishedVersion string
The published version of the archive.
RepositoryEndpointPrefix string
packageType
This property is required.
Changes to this property will trigger replacement.
String
The type of the package resource.
registryName
This property is required.
Changes to this property will trigger replacement.
String
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
archiveName Changes to this property will trigger replacement. String
The name of the archive resource.
packageSource ArchivePackageSourceProperties
The package source of the archive.
publishedVersion String
The published version of the archive.
repositoryEndpointPrefix String
packageType
This property is required.
Changes to this property will trigger replacement.
string
The type of the package resource.
registryName
This property is required.
Changes to this property will trigger replacement.
string
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
archiveName Changes to this property will trigger replacement. string
The name of the archive resource.
packageSource ArchivePackageSourceProperties
The package source of the archive.
publishedVersion string
The published version of the archive.
repositoryEndpointPrefix string
package_type
This property is required.
Changes to this property will trigger replacement.
str
The type of the package resource.
registry_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the container registry.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
archive_name Changes to this property will trigger replacement. str
The name of the archive resource.
package_source ArchivePackageSourcePropertiesArgs
The package source of the archive.
published_version str
The published version of the archive.
repository_endpoint_prefix str
packageType
This property is required.
Changes to this property will trigger replacement.
String
The type of the package resource.
registryName
This property is required.
Changes to this property will trigger replacement.
String
The name of the container registry.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
archiveName Changes to this property will trigger replacement. String
The name of the archive resource.
packageSource Property Map
The package source of the archive.
publishedVersion String
The published version of the archive.
repositoryEndpointPrefix String

Outputs

All input properties are implicitly available as output properties. Additionally, the Archife resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource.
ProvisioningState string
The provisioning state of the archive at the time the operation was called.
RepositoryEndpoint string
SystemData Pulumi.AzureNative.ContainerRegistry.Outputs.SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource.
ProvisioningState string
The provisioning state of the archive at the time the operation was called.
RepositoryEndpoint string
SystemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
Type string
The type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource.
provisioningState String
The provisioning state of the archive at the time the operation was called.
repositoryEndpoint String
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type String
The type of the resource.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource.
provisioningState string
The provisioning state of the archive at the time the operation was called.
repositoryEndpoint string
systemData SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type string
The type of the resource.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource.
provisioning_state str
The provisioning state of the archive at the time the operation was called.
repository_endpoint str
system_data SystemDataResponse
Metadata pertaining to creation and last modification of the resource.
type str
The type of the resource.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource.
provisioningState String
The provisioning state of the archive at the time the operation was called.
repositoryEndpoint String
systemData Property Map
Metadata pertaining to creation and last modification of the resource.
type String
The type of the resource.

Supporting Types

ArchivePackageSourceProperties
, ArchivePackageSourcePropertiesArgs

Type string | Pulumi.AzureNative.ContainerRegistry.PackageSourceType
The type of package source for a archive.
Url string
The external repository url.
Type string | PackageSourceType
The type of package source for a archive.
Url string
The external repository url.
type String | PackageSourceType
The type of package source for a archive.
url String
The external repository url.
type string | PackageSourceType
The type of package source for a archive.
url string
The external repository url.
type str | PackageSourceType
The type of package source for a archive.
url str
The external repository url.
type String | "remote"
The type of package source for a archive.
url String
The external repository url.

ArchivePackageSourcePropertiesResponse
, ArchivePackageSourcePropertiesResponseArgs

Type string
The type of package source for a archive.
Url string
The external repository url.
Type string
The type of package source for a archive.
Url string
The external repository url.
type String
The type of package source for a archive.
url String
The external repository url.
type string
The type of package source for a archive.
url string
The external repository url.
type str
The type of package source for a archive.
url str
The external repository url.
type String
The type of package source for a archive.
url String
The external repository url.

PackageSourceType
, PackageSourceTypeArgs

Remote
remote
PackageSourceTypeRemote
remote
Remote
remote
Remote
remote
REMOTE
remote
"remote"
remote

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource modification (UTC).
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource modification (UTC).
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource modification (UTC).
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource modification (UTC).
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource modification (UTC).
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource modification (UTC).
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:containerregistry:Archife myArchiveName /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerRegistry/registries/{registryName}/packages/{packageType}/archives/{archiveName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi