1. Packages
  2. Avi Provider
  3. API Docs
  4. getUpgradeprofile
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.getUpgradeprofile

Explore with Pulumi AI

avi logo
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

    <!–

    Copyright 2021 VMware, Inc.
    SPDX-License-Identifier: Mozilla Public License 2.0
    

    –>

    layout: “avi”

    page_title: “AVI: avi.Upgradeprofile” sidebar_current: “docs-avi-datasource-upgradeprofile” description: |- Get information of Avi UpgradeProfile.

    avi.Upgradeprofile

    This data source is used to to get avi.Upgradeprofile objects.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.AviFunctions;
    import com.pulumi.avi.inputs.GetUpgradeprofileArgs;
    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) {
            final var fooUpgradeprofile = AviFunctions.getUpgradeprofile(GetUpgradeprofileArgs.builder()
                .name("foo")
                .uuid("upgradeprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
                .build());
    
        }
    }
    
    variables:
      fooUpgradeprofile:
        fn::invoke:
          function: avi:getUpgradeprofile
          arguments:
            name: foo
            uuid: upgradeprofile-f9cf6b3e-a411-436f-95e2-2982ba2b217b
    

    Using getUpgradeprofile

    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 getUpgradeprofile(args: GetUpgradeprofileArgs, opts?: InvokeOptions): Promise<GetUpgradeprofileResult>
    function getUpgradeprofileOutput(args: GetUpgradeprofileOutputArgs, opts?: InvokeOptions): Output<GetUpgradeprofileResult>
    def get_upgradeprofile(id: Optional[str] = None,
                           uuid: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetUpgradeprofileResult
    def get_upgradeprofile_output(id: Optional[pulumi.Input[str]] = None,
                           uuid: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetUpgradeprofileResult]
    func LookupUpgradeprofile(ctx *Context, args *LookupUpgradeprofileArgs, opts ...InvokeOption) (*LookupUpgradeprofileResult, error)
    func LookupUpgradeprofileOutput(ctx *Context, args *LookupUpgradeprofileOutputArgs, opts ...InvokeOption) LookupUpgradeprofileResultOutput

    > Note: This function is named LookupUpgradeprofile in the Go SDK.

    public static class GetUpgradeprofile 
    {
        public static Task<GetUpgradeprofileResult> InvokeAsync(GetUpgradeprofileArgs args, InvokeOptions? opts = null)
        public static Output<GetUpgradeprofileResult> Invoke(GetUpgradeprofileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUpgradeprofileResult> getUpgradeprofile(GetUpgradeprofileArgs args, InvokeOptions options)
    public static Output<GetUpgradeprofileResult> getUpgradeprofile(GetUpgradeprofileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: avi:index/getUpgradeprofile:getUpgradeprofile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uuid string
    Search UpgradeProfile by uuid.
    Id string
    Uuid string
    Search UpgradeProfile by uuid.
    id String
    uuid String
    Search UpgradeProfile by uuid.
    id string
    uuid string
    Search UpgradeProfile by uuid.
    id str
    uuid str
    Search UpgradeProfile by uuid.
    id String
    uuid String
    Search UpgradeProfile by uuid.

    getUpgradeprofile Result

    The following output properties are available:

    Controllers List<GetUpgradeprofileController>
    List of controller upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    DryRuns List<GetUpgradeprofileDryRun>
    List of dryrun related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    Images List<GetUpgradeprofileImage>
    List of image related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    PreChecks List<GetUpgradeprofilePreCheck>
    List of upgrade pre-checks related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ServiceEngines List<GetUpgradeprofileServiceEngine>
    List of service engine upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid identifier for the upgradeprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Controllers []GetUpgradeprofileController
    List of controller upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    DryRuns []GetUpgradeprofileDryRun
    List of dryrun related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Id string
    Images []GetUpgradeprofileImage
    List of image related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    PreChecks []GetUpgradeprofilePreCheck
    List of upgrade pre-checks related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    ServiceEngines []GetUpgradeprofileServiceEngine
    List of service engine upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    Uuid string
    Uuid identifier for the upgradeprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    controllers List<GetUpgradeprofileController>
    List of controller upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    dryRuns List<GetUpgradeprofileDryRun>
    List of dryrun related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    images List<GetUpgradeprofileImage>
    List of image related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    preChecks List<GetUpgradeprofilePreCheck>
    List of upgrade pre-checks related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceEngines List<GetUpgradeprofileServiceEngine>
    List of service engine upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid identifier for the upgradeprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    controllers GetUpgradeprofileController[]
    List of controller upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    dryRuns GetUpgradeprofileDryRun[]
    List of dryrun related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id string
    images GetUpgradeprofileImage[]
    List of image related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    preChecks GetUpgradeprofilePreCheck[]
    List of upgrade pre-checks related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceEngines GetUpgradeprofileServiceEngine[]
    List of service engine upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid string
    Uuid identifier for the upgradeprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    controllers Sequence[GetUpgradeprofileController]
    List of controller upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    dry_runs Sequence[GetUpgradeprofileDryRun]
    List of dryrun related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id str
    images Sequence[GetUpgradeprofileImage]
    List of image related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    pre_checks Sequence[GetUpgradeprofilePreCheck]
    List of upgrade pre-checks related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    service_engines Sequence[GetUpgradeprofileServiceEngine]
    List of service engine upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid str
    Uuid identifier for the upgradeprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    controllers List<Property Map>
    List of controller upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    dryRuns List<Property Map>
    List of dryrun related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    id String
    images List<Property Map>
    List of image related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    preChecks List<Property Map>
    List of upgrade pre-checks related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    serviceEngines List<Property Map>
    List of service engine upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
    uuid String
    Uuid identifier for the upgradeprofile object. Field introduced in 31.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.

    Supporting Types

    GetUpgradeprofileController

    GetUpgradeprofileDryRun

    AllowSingleNode string
    Memory string
    NumCpu string
    PreferredWorker string
    AllowSingleNode string
    Memory string
    NumCpu string
    PreferredWorker string
    allowSingleNode String
    memory String
    numCpu String
    preferredWorker String
    allowSingleNode string
    memory string
    numCpu string
    preferredWorker string
    allowSingleNode String
    memory String
    numCpu String
    preferredWorker String

    GetUpgradeprofileImage

    GetUpgradeprofilePreCheck

    GetUpgradeprofileServiceEngine

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.1.1 published on Monday, Apr 14, 2025 by vmware