Hierarchy (View Summary)

Implements

Constructors

Properties

baseUrl: string
http: HttpClient
rest: RestClient
userAgent: string
vsoClient: VsoClient
RESOURCE_AREA_ID: "6c2b0933-3600-42ae-bf8b-93d4f7e83594"

Methods

  • This API is called by acquisition/install page to get possible user actions like Buy/Request

    Parameters

    • itemId: string

      Fully qualified name of extension (<publisher_id>.<extension_id>)

    • OptionaltestCommerce: boolean

      Parameter to test paid preview extension without making azure plans public

    • OptionalisFreeOrTrialInstall: boolean

      Parameter represents install or trial workflow (required for legacy install flows)

    • OptionalisAccountOwner: boolean

      Parameter represents whether user is owner or PCA of an account

    • OptionalisLinked: boolean

      Parameter represents whether account is linked with a subscription

    • OptionalisConnectedServer: boolean

      Parameter represents whether Buy operation should be evaluated

    • OptionalisBuyOperationValid: boolean

    Returns Promise<AcquisitionOptions>

  • List the installed extensions in the account / project collection.

    Parameters

    • OptionalincludeDisabledExtensions: boolean

      If true (the default), include disabled extensions in the results.

    • OptionalincludeErrors: boolean

      If true, include installed extensions with errors.

    • OptionalassetTypes: string[]

      Determines which files are returned in the files array. Provide the wildcard '*' to return all files, or a colon separated list to retrieve files with specific asset types.

    • OptionalincludeInstallationIssues: boolean

    Returns Promise<InstalledExtension[]>

  • List state and version information for all installed extensions.

    Parameters

    • OptionalincludeDisabled: boolean

      If true (the default), include disabled extensions in the results.

    • OptionalincludeErrors: boolean

      If true, include installed extensions in an error state in the results.

    • OptionalincludeInstallationIssues: boolean
    • OptionalforceRefresh: boolean

    Returns Promise<ExtensionState[]>

  • Uninstall the specified extension from the account / project collection.

    Parameters

    • publisherName: string

      Name of the publisher. Example: "fabrikam".

    • extensionName: string

      Name of the extension. Example: "ops-tools".

    • Optionalreason: string
    • OptionalreasonCode: string

    Returns Promise<void>