Viewing docs for avi 31.2.2
published on Tuesday, Feb 10, 2026 by vmware
published on Tuesday, Feb 10, 2026 by vmware
Viewing docs for avi 31.2.2
published on Tuesday, Feb 10, 2026 by vmware
published on Tuesday, Feb 10, 2026 by vmware
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “AVI:<span pulumi-lang-nodejs=” avi.Vsgs"" pulumi-lang-dotnet=" avi.Vsgs"" pulumi-lang-go=" Vsgs"" pulumi-lang-python=" Vsgs"" pulumi-lang-yaml=" avi.Vsgs"" pulumi-lang-java=" avi.Vsgs""> avi.Vsgs" sidebar_current: “docs-avi-datasource-vsgs” description: |- Get information of Avi VsGs.
# avi.Vsgs This data source is used to to get avi.Vsgs objects.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const fooVsgs = avi.getVsgs({
uuid: "vsgs-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
name: "foo",
});
import pulumi
import pulumi_avi as avi
foo_vsgs = avi.get_vsgs(uuid="vsgs-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
name="foo")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := avi.LookupVsgs(ctx, &avi.LookupVsgsArgs{
Uuid: pulumi.StringRef("vsgs-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
Name: pulumi.StringRef("foo"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;
return await Deployment.RunAsync(() =>
{
var fooVsgs = Avi.GetVsgs.Invoke(new()
{
Uuid = "vsgs-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
Name = "foo",
});
});
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.GetVsgsArgs;
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 fooVsgs = AviFunctions.getVsgs(GetVsgsArgs.builder()
.uuid("vsgs-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
.name("foo")
.build());
}
}
variables:
fooVsgs:
fn::invoke:
function: avi:getVsgs
arguments:
uuid: vsgs-f9cf6b3e-a411-436f-95e2-2982ba2b217b
name: foo
Using getVsgs
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 getVsgs(args: GetVsgsArgs, opts?: InvokeOptions): Promise<GetVsgsResult>
function getVsgsOutput(args: GetVsgsOutputArgs, opts?: InvokeOptions): Output<GetVsgsResult>def get_vsgs(id: Optional[str] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVsgsResult
def get_vsgs_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
tenant_ref: Optional[pulumi.Input[str]] = None,
uuid: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVsgsResult]func LookupVsgs(ctx *Context, args *LookupVsgsArgs, opts ...InvokeOption) (*LookupVsgsResult, error)
func LookupVsgsOutput(ctx *Context, args *LookupVsgsOutputArgs, opts ...InvokeOption) LookupVsgsResultOutput> Note: This function is named LookupVsgs in the Go SDK.
public static class GetVsgs
{
public static Task<GetVsgsResult> InvokeAsync(GetVsgsArgs args, InvokeOptions? opts = null)
public static Output<GetVsgsResult> Invoke(GetVsgsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVsgsResult> getVsgs(GetVsgsArgs args, InvokeOptions options)
public static Output<GetVsgsResult> getVsgs(GetVsgsArgs args, InvokeOptions options)
fn::invoke:
function: avi:index/getVsgs:getVsgs
arguments:
# arguments dictionaryThe following arguments are supported:
- id str
- name str
- Search VsGs by name.
- tenant_
ref str - Tenant. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid str
- Search VsGs by uuid.
getVsgs Result
The following output properties are available:
- Configpb
Attributes List<GetVsgs Configpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Geodb
Uuid string - Gslb geodb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Gs
Uuid string - Gslb service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Gslb
Uuid string - Gslb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Id string
- Name string
- Name of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Tenant. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Type string
- Type of the vs-gs association object. Enum options - VSGS_TYPE_GSLB, VSGS_TYPE_GS, VSGS_TYPE_GEO_DB. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Uuid of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Vs
Uuid string - Virtual service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Configpb
Attributes []GetVsgs Configpb Attribute - Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Geodb
Uuid string - Gslb geodb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Gs
Uuid string - Gslb service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Gslb
Uuid string - Gslb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Id string
- Name string
- Name of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Tenant. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Type string
- Type of the vs-gs association object. Enum options - VSGS_TYPE_GSLB, VSGS_TYPE_GS, VSGS_TYPE_GEO_DB. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Uuid string
- Uuid of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- Vs
Uuid string - Virtual service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes List<GetVsgs Configpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- geodb
Uuid String - Gslb geodb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- gs
Uuid String - Gslb service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- gslb
Uuid String - Gslb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- id String
- name String
- Name of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Tenant. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- type String
- Type of the vs-gs association object. Enum options - VSGS_TYPE_GSLB, VSGS_TYPE_GS, VSGS_TYPE_GEO_DB. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Uuid of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- vs
Uuid String - Virtual service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes GetVsgs Configpb Attribute[] - Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- geodb
Uuid string - Gslb geodb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- gs
Uuid string - Gslb service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- gslb
Uuid string - Gslb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- id string
- name string
- Name of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref string - Tenant. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- type string
- Type of the vs-gs association object. Enum options - VSGS_TYPE_GSLB, VSGS_TYPE_GS, VSGS_TYPE_GEO_DB. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid string
- Uuid of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- vs
Uuid string - Virtual service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb_
attributes Sequence[GetVsgs Configpb Attribute] - Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- geodb_
uuid str - Gslb geodb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- gs_
uuid str - Gslb service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- gslb_
uuid str - Gslb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- id str
- name str
- Name of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant_
ref str - Tenant. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- type str
- Type of the vs-gs association object. Enum options - VSGS_TYPE_GSLB, VSGS_TYPE_GS, VSGS_TYPE_GEO_DB. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid str
- Uuid of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- vs_
uuid str - Virtual service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes List<Property Map> - Protobuf versioning for config pbs. Field introduced in 21.1.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- geodb
Uuid String - Gslb geodb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- gs
Uuid String - Gslb service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- gslb
Uuid String - Gslb being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- id String
- name String
- Name of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Tenant. It is a reference to an object of type tenant. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- type String
- Type of the vs-gs association object. Enum options - VSGS_TYPE_GSLB, VSGS_TYPE_GS, VSGS_TYPE_GEO_DB. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- uuid String
- Uuid of the vs-gs association object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
- vs
Uuid String - Virtual service being associated using this object. Field introduced in 21.1.3. Allowed with any value in enterprise, enterprise with cloud services edition.
Supporting Types
GetVsgsConfigpbAttribute
- Version string
- Version string
- version String
- version string
- version str
- version String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
aviTerraform Provider.
Viewing docs for avi 31.2.2
published on Tuesday, Feb 10, 2026 by vmware
published on Tuesday, Feb 10, 2026 by vmware
