1. Packages
  2. Azure Native
  3. API Docs
  4. containerregistry
  5. Archife
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi

azure-native.containerregistry.Archife

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi

    An object that represents a archive for a container registry. Azure REST API version: 2023-06-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 = "remote",
                Url = "string",
            },
            PackageType = "rpm",
            PublishedVersion = "string",
            RegistryName = "myRegistry",
            RepositoryEndpointPrefix = "string",
            ResourceGroupName = "myResourceGroup",
        });
    
    });
    
    package main
    
    import (
    	"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("remote"),
    				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
    	})
    }
    
    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 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(Map.ofEntries(
                    Map.entry("type", "remote"),
                    Map.entry("url", "string")
                ))
                .packageType("rpm")
                .publishedVersion("string")
                .registryName("myRegistry")
                .repositoryEndpointPrefix("string")
                .resourceGroupName("myResourceGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    archife = azure_native.containerregistry.Archife("archife",
        archive_name="myArchiveName",
        package_source=azure_native.containerregistry.ArchivePackageSourcePropertiesArgs(
            type="remote",
            url="string",
        ),
        package_type="rpm",
        published_version="string",
        registry_name="myRegistry",
        repository_endpoint_prefix="string",
        resource_group_name="myResourceGroup")
    
    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: "remote",
            url: "string",
        },
        packageType: "rpm",
        publishedVersion: "string",
        registryName: "myRegistry",
        repositoryEndpointPrefix: "string",
        resourceGroupName: "myResourceGroup",
    });
    
    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
    

    Create Archife Resource

    new Archife(name: string, args: ArchifeArgs, opts?: CustomResourceOptions);
    @overload
    def Archife(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                archive_name: Optional[str] = None,
                package_source: Optional[ArchivePackageSourcePropertiesArgs] = None,
                package_type: Optional[str] = None,
                published_version: Optional[str] = None,
                registry_name: Optional[str] = None,
                repository_endpoint_prefix: Optional[str] = None,
                resource_group_name: Optional[str] = None)
    @overload
    def Archife(resource_name: str,
                args: ArchifeArgs,
                opts: Optional[ResourceOptions] = 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.
    
    
    name string
    The unique name of the resource.
    args ArchifeArgs
    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 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 string
    The unique name of the resource.
    args ArchifeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ArchifeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ArchifeArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    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

    The Archife resource accepts the following input properties:

    PackageType string

    The type of the package resource.

    RegistryName string

    The name of the container registry.

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    ArchiveName 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 string

    The type of the package resource.

    RegistryName string

    The name of the container registry.

    ResourceGroupName string

    The name of the resource group. The name is case insensitive.

    ArchiveName 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 String

    The type of the package resource.

    registryName String

    The name of the container registry.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    archiveName 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 string

    The type of the package resource.

    registryName string

    The name of the container registry.

    resourceGroupName string

    The name of the resource group. The name is case insensitive.

    archiveName 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 str

    The type of the package resource.

    registry_name str

    The name of the container registry.

    resource_group_name str

    The name of the resource group. The name is case insensitive.

    archive_name 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 String

    The type of the package resource.

    registryName String

    The name of the container registry.

    resourceGroupName String

    The name of the resource group. The name is case insensitive.

    archiveName 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} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.8.0 published on Monday, Sep 18, 2023 by Pulumi