azure-native.containerregistry.getArchiveVersion
Explore with Pulumi AI
Gets the properties of the archive version.
Uses Azure REST API version 2024-11-01-preview.
Other available API versions: 2023-06-01-preview, 2023-08-01-preview, 2023-11-01-preview, 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerregistry [ApiVersion]. See the version guide for details.
Using getArchiveVersion
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getArchiveVersion(args: GetArchiveVersionArgs, opts?: InvokeOptions): Promise<GetArchiveVersionResult>
function getArchiveVersionOutput(args: GetArchiveVersionOutputArgs, opts?: InvokeOptions): Output<GetArchiveVersionResult>def get_archive_version(archive_name: Optional[str] = None,
                        archive_version_name: Optional[str] = None,
                        package_type: Optional[str] = None,
                        registry_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetArchiveVersionResult
def get_archive_version_output(archive_name: Optional[pulumi.Input[str]] = None,
                        archive_version_name: Optional[pulumi.Input[str]] = None,
                        package_type: Optional[pulumi.Input[str]] = None,
                        registry_name: Optional[pulumi.Input[str]] = None,
                        resource_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetArchiveVersionResult]func LookupArchiveVersion(ctx *Context, args *LookupArchiveVersionArgs, opts ...InvokeOption) (*LookupArchiveVersionResult, error)
func LookupArchiveVersionOutput(ctx *Context, args *LookupArchiveVersionOutputArgs, opts ...InvokeOption) LookupArchiveVersionResultOutput> Note: This function is named LookupArchiveVersion in the Go SDK.
public static class GetArchiveVersion 
{
    public static Task<GetArchiveVersionResult> InvokeAsync(GetArchiveVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetArchiveVersionResult> Invoke(GetArchiveVersionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetArchiveVersionResult> getArchiveVersion(GetArchiveVersionArgs args, InvokeOptions options)
public static Output<GetArchiveVersionResult> getArchiveVersion(GetArchiveVersionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:containerregistry:getArchiveVersion
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Archive
Name string - The name of the archive resource.
 - Archive
Version stringName  - The name of the archive version resource.
 - Package
Type string - The type of the package resource.
 - Registry
Name string - The name of the container registry.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- Archive
Name string - The name of the archive resource.
 - Archive
Version stringName  - The name of the archive version resource.
 - Package
Type string - The type of the package resource.
 - Registry
Name string - The name of the container registry.
 - Resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- archive
Name String - The name of the archive resource.
 - archive
Version StringName  - The name of the archive version resource.
 - package
Type String - The type of the package resource.
 - registry
Name String - The name of the container registry.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
- archive
Name string - The name of the archive resource.
 - archive
Version stringName  - The name of the archive version resource.
 - package
Type string - The type of the package resource.
 - registry
Name string - The name of the container registry.
 - resource
Group stringName  - The name of the resource group. The name is case insensitive.
 
- archive_
name str - The name of the archive resource.
 - archive_
version_ strname  - The name of the archive version resource.
 - package_
type str - The type of the package resource.
 - registry_
name str - The name of the container registry.
 - resource_
group_ strname  - The name of the resource group. The name is case insensitive.
 
- archive
Name String - The name of the archive resource.
 - archive
Version StringName  - The name of the archive version resource.
 - package
Type String - The type of the package resource.
 - registry
Name String - The name of the container registry.
 - resource
Group StringName  - The name of the resource group. The name is case insensitive.
 
getArchiveVersion Result
The following output properties are available:
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - The resource ID.
 - Name string
 - The name of the resource.
 - Provisioning
State string - The provisioning state of the archive at the time the operation was called.
 - System
Data Pulumi.Azure Native. Container Registry. Outputs. System Data Response  - Metadata pertaining to creation and last modification of the resource.
 - Type string
 - The type of the resource.
 - Archive
Version stringError Message  - The detailed error message for the archive version in the case of failure.
 
- Azure
Api stringVersion  - The Azure API version of the resource.
 - Id string
 - The resource ID.
 - Name string
 - The name of the resource.
 - Provisioning
State string - The provisioning state of the archive at the time the operation was called.
 - System
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - Type string
 - The type of the resource.
 - Archive
Version stringError Message  - The detailed error message for the archive version in the case of failure.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - The resource ID.
 - name String
 - The name of the resource.
 - provisioning
State String - The provisioning state of the archive at the time the operation was called.
 - system
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type String
 - The type of the resource.
 - archive
Version StringError Message  - The detailed error message for the archive version in the case of failure.
 
- azure
Api stringVersion  - The Azure API version of the resource.
 - id string
 - The resource ID.
 - name string
 - The name of the resource.
 - provisioning
State string - The provisioning state of the archive at the time the operation was called.
 - system
Data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type string
 - The type of the resource.
 - archive
Version stringError Message  - The detailed error message for the archive version in the case of failure.
 
- azure_
api_ strversion  - The Azure API version of the resource.
 - id str
 - The resource ID.
 - name str
 - The name of the resource.
 - provisioning_
state str - The provisioning state of the archive at the time the operation was called.
 - system_
data SystemData Response  - Metadata pertaining to creation and last modification of the resource.
 - type str
 - The type of the resource.
 - archive_
version_ strerror_ message  - The detailed error message for the archive version in the case of failure.
 
- azure
Api StringVersion  - The Azure API version of the resource.
 - id String
 - The resource ID.
 - name String
 - The name of the resource.
 - provisioning
State String - The provisioning state of the archive at the time the operation was called.
 - system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
 - type String
 - The type of the resource.
 - archive
Version StringError Message  - The detailed error message for the archive version in the case of failure.
 
Supporting Types
SystemDataResponse  
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource modification (UTC).
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- Created
At string - The timestamp of resource creation (UTC).
 - Created
By string - The identity that created the resource.
 - Created
By stringType  - The type of identity that created the resource.
 - Last
Modified stringAt  - The timestamp of resource modification (UTC).
 - Last
Modified stringBy  - The identity that last modified the resource.
 - Last
Modified stringBy Type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource modification (UTC).
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
- created
At string - The timestamp of resource creation (UTC).
 - created
By string - The identity that created the resource.
 - created
By stringType  - The type of identity that created the resource.
 - last
Modified stringAt  - The timestamp of resource modification (UTC).
 - last
Modified stringBy  - The identity that last modified the resource.
 - last
Modified stringBy Type  - 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_ strtype  - The type of identity that created the resource.
 - last_
modified_ strat  - The timestamp of resource modification (UTC).
 - last_
modified_ strby  - The identity that last modified the resource.
 - last_
modified_ strby_ type  - The type of identity that last modified the resource.
 
- created
At String - The timestamp of resource creation (UTC).
 - created
By String - The identity that created the resource.
 - created
By StringType  - The type of identity that created the resource.
 - last
Modified StringAt  - The timestamp of resource modification (UTC).
 - last
Modified StringBy  - The identity that last modified the resource.
 - last
Modified StringBy Type  - The type of identity that last modified the resource.
 
Package Details
- Repository
 - Azure Native pulumi/pulumi-azure-native
 - License
 - Apache-2.0