Skip to content

Az cli universal dependency

az_cli_universal_dependency

An ExternalDependency subclass able to download from an Azure feed.

AzureCliUniversalDependency

An ExternalDependency subclass able to download from an Azure feed.

Attributes:

Name Type Description
feed str

feed name

version str

semantic version

source str

url of organization (example: https://dev.azure.com/tianocore)

project str

name str

name of artifact

file-filter str

filter for folders and files.

compression_type str

Compression type used, if compressed.

internal_path str

Path inside the compressed file, if the ext_dep is compressed

pat_var str

shell_var name for PAT for this ext_dep

Tip

The attributes are what must be described in the ext_dep yaml file!

VerifyToolDependencies classmethod

VerifyToolDependencies() -> None

Verify any tool environment or dependencies requirements are met.

Log to Version Aggregator the Tool Versions

__init__

__init__(descriptor: dict) -> None

Inits a Azure CLI dependency based off the provided descriptior.

__str__

__str__() -> str

Return a string representation.

fetch

fetch() -> None

Fetches the dependency using internal state from the init.

get_temp_dir

get_temp_dir() -> str

Returns the temporary directory the Azure CLI feed is downloaded to.

clean

clean() -> None

Removes the temporary directory the NuGet package is downloaded to.