vcd.getNsxtAlbServiceEngineGroup
Explore with Pulumi AI
Supported in provider v3.4+ and VCD 10.2+ with NSX-T and ALB.
Provides a data source to read ALB Service Engine Groups. A Service Engine Group is an isolation domain that also defines shared service engine properties, such as size, network access, and failover. Resources in a service engine group can be used for different virtual services, depending on your tenant needs. These resources cannot be shared between different service engine groups.
Only
System Administrator
can use this data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vcd from "@pulumi/vcd";
const demo = vcd.getNsxtAlbServiceEngineGroup({
name: "configured-service-engine-group",
syncOnRefresh: false,
});
import pulumi
import pulumi_vcd as vcd
demo = vcd.get_nsxt_alb_service_engine_group(name="configured-service-engine-group",
sync_on_refresh=False)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vcd/v3/vcd"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vcd.LookupNsxtAlbServiceEngineGroup(ctx, &vcd.LookupNsxtAlbServiceEngineGroupArgs{
Name: "configured-service-engine-group",
SyncOnRefresh: pulumi.BoolRef(false),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vcd = Pulumi.Vcd;
return await Deployment.RunAsync(() =>
{
var demo = Vcd.GetNsxtAlbServiceEngineGroup.Invoke(new()
{
Name = "configured-service-engine-group",
SyncOnRefresh = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vcd.VcdFunctions;
import com.pulumi.vcd.inputs.GetNsxtAlbServiceEngineGroupArgs;
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 demo = VcdFunctions.getNsxtAlbServiceEngineGroup(GetNsxtAlbServiceEngineGroupArgs.builder()
.name("configured-service-engine-group")
.syncOnRefresh(false)
.build());
}
}
variables:
demo:
fn::invoke:
function: vcd:getNsxtAlbServiceEngineGroup
arguments:
name: configured-service-engine-group
syncOnRefresh: false
Using getNsxtAlbServiceEngineGroup
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 getNsxtAlbServiceEngineGroup(args: GetNsxtAlbServiceEngineGroupArgs, opts?: InvokeOptions): Promise<GetNsxtAlbServiceEngineGroupResult>
function getNsxtAlbServiceEngineGroupOutput(args: GetNsxtAlbServiceEngineGroupOutputArgs, opts?: InvokeOptions): Output<GetNsxtAlbServiceEngineGroupResult>
def get_nsxt_alb_service_engine_group(id: Optional[str] = None,
name: Optional[str] = None,
overallocated: Optional[bool] = None,
sync_on_refresh: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetNsxtAlbServiceEngineGroupResult
def get_nsxt_alb_service_engine_group_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
overallocated: Optional[pulumi.Input[bool]] = None,
sync_on_refresh: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNsxtAlbServiceEngineGroupResult]
func LookupNsxtAlbServiceEngineGroup(ctx *Context, args *LookupNsxtAlbServiceEngineGroupArgs, opts ...InvokeOption) (*LookupNsxtAlbServiceEngineGroupResult, error)
func LookupNsxtAlbServiceEngineGroupOutput(ctx *Context, args *LookupNsxtAlbServiceEngineGroupOutputArgs, opts ...InvokeOption) LookupNsxtAlbServiceEngineGroupResultOutput
> Note: This function is named LookupNsxtAlbServiceEngineGroup
in the Go SDK.
public static class GetNsxtAlbServiceEngineGroup
{
public static Task<GetNsxtAlbServiceEngineGroupResult> InvokeAsync(GetNsxtAlbServiceEngineGroupArgs args, InvokeOptions? opts = null)
public static Output<GetNsxtAlbServiceEngineGroupResult> Invoke(GetNsxtAlbServiceEngineGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNsxtAlbServiceEngineGroupResult> getNsxtAlbServiceEngineGroup(GetNsxtAlbServiceEngineGroupArgs args, InvokeOptions options)
public static Output<GetNsxtAlbServiceEngineGroupResult> getNsxtAlbServiceEngineGroup(GetNsxtAlbServiceEngineGroupArgs args, InvokeOptions options)
fn::invoke:
function: vcd:index/getNsxtAlbServiceEngineGroup:getNsxtAlbServiceEngineGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of Service Engine Group.
- Id string
- Overallocated bool
- Sync
On boolRefresh
- Name string
- Name of Service Engine Group.
- Id string
- Overallocated bool
- Sync
On boolRefresh
- name String
- Name of Service Engine Group.
- id String
- overallocated Boolean
- sync
On BooleanRefresh
- name string
- Name of Service Engine Group.
- id string
- overallocated boolean
- sync
On booleanRefresh
- name str
- Name of Service Engine Group.
- id str
- overallocated bool
- sync_
on_ boolrefresh
- name String
- Name of Service Engine Group.
- id String
- overallocated Boolean
- sync
On BooleanRefresh
getNsxtAlbServiceEngineGroup Result
The following output properties are available:
- Alb
Cloud stringId - Deployed
Virtual doubleServices - Description string
- Ha
Mode string - Id string
- Max
Virtual doubleServices - Name string
- Reservation
Model string - Reserved
Virtual doubleServices - Supported
Feature stringSet - Overallocated bool
- Sync
On boolRefresh
- Alb
Cloud stringId - Deployed
Virtual float64Services - Description string
- Ha
Mode string - Id string
- Max
Virtual float64Services - Name string
- Reservation
Model string - Reserved
Virtual float64Services - Supported
Feature stringSet - Overallocated bool
- Sync
On boolRefresh
- alb
Cloud StringId - deployed
Virtual DoubleServices - description String
- ha
Mode String - id String
- max
Virtual DoubleServices - name String
- reservation
Model String - reserved
Virtual DoubleServices - supported
Feature StringSet - overallocated Boolean
- sync
On BooleanRefresh
- alb
Cloud stringId - deployed
Virtual numberServices - description string
- ha
Mode string - id string
- max
Virtual numberServices - name string
- reservation
Model string - reserved
Virtual numberServices - supported
Feature stringSet - overallocated boolean
- sync
On booleanRefresh
- alb_
cloud_ strid - deployed_
virtual_ floatservices - description str
- ha_
mode str - id str
- max_
virtual_ floatservices - name str
- reservation_
model str - reserved_
virtual_ floatservices - supported_
feature_ strset - overallocated bool
- sync_
on_ boolrefresh
- alb
Cloud StringId - deployed
Virtual NumberServices - description String
- ha
Mode String - id String
- max
Virtual NumberServices - name String
- reservation
Model String - reserved
Virtual NumberServices - supported
Feature StringSet - overallocated Boolean
- sync
On BooleanRefresh
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.