1. Packages
  2. Strata Cloud Manager
  3. API Docs
  4. getServiceConnectionGroup
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

scm.getServiceConnectionGroup

Explore with Pulumi AI

scm logo
Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi

    Retrieves a config item.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const example = scm.getServiceConnectionGroup({
        id: "1234-56-789",
        folder: "Service Connections",
    });
    
    import pulumi
    import pulumi_scm as scm
    
    example = scm.get_service_connection_group(id="1234-56-789",
        folder="Service Connections")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scm.LookupServiceConnectionGroup(ctx, &scm.LookupServiceConnectionGroupArgs{
    			Id:     "1234-56-789",
    			Folder: pulumi.StringRef("Service Connections"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Scm.GetServiceConnectionGroup.Invoke(new()
        {
            Id = "1234-56-789",
            Folder = "Service Connections",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetServiceConnectionGroupArgs;
    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 example = ScmFunctions.getServiceConnectionGroup(GetServiceConnectionGroupArgs.builder()
                .id("1234-56-789")
                .folder("Service Connections")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: scm:getServiceConnectionGroup
          Arguments:
            id: 1234-56-789
            folder: Service Connections
    

    Using getServiceConnectionGroup

    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 getServiceConnectionGroup(args: GetServiceConnectionGroupArgs, opts?: InvokeOptions): Promise<GetServiceConnectionGroupResult>
    function getServiceConnectionGroupOutput(args: GetServiceConnectionGroupOutputArgs, opts?: InvokeOptions): Output<GetServiceConnectionGroupResult>
    def get_service_connection_group(folder: Optional[str] = None,
                                     id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetServiceConnectionGroupResult
    def get_service_connection_group_output(folder: Optional[pulumi.Input[str]] = None,
                                     id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetServiceConnectionGroupResult]
    func LookupServiceConnectionGroup(ctx *Context, args *LookupServiceConnectionGroupArgs, opts ...InvokeOption) (*LookupServiceConnectionGroupResult, error)
    func LookupServiceConnectionGroupOutput(ctx *Context, args *LookupServiceConnectionGroupOutputArgs, opts ...InvokeOption) LookupServiceConnectionGroupResultOutput

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

    public static class GetServiceConnectionGroup 
    {
        public static Task<GetServiceConnectionGroupResult> InvokeAsync(GetServiceConnectionGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetServiceConnectionGroupResult> Invoke(GetServiceConnectionGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceConnectionGroupResult> getServiceConnectionGroup(GetServiceConnectionGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: scm:index/getServiceConnectionGroup:getServiceConnectionGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The Id param.
    Folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    Id string
    The Id param.
    Folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id String
    The Id param.
    folder String
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id string
    The Id param.
    folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id str
    The Id param.
    folder str
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id String
    The Id param.
    folder String
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".

    getServiceConnectionGroup Result

    The following output properties are available:

    DisableSnat bool
    The DisableSnat param.
    Folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    Id string
    The Id param.
    Name string
    The Name param.
    PbfOnly bool
    The PbfOnly param.
    Targets List<string>
    The Targets param.
    Tfid string
    DisableSnat bool
    The DisableSnat param.
    Folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    Id string
    The Id param.
    Name string
    The Name param.
    PbfOnly bool
    The PbfOnly param.
    Targets []string
    The Targets param.
    Tfid string
    disableSnat Boolean
    The DisableSnat param.
    folder String
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id String
    The Id param.
    name String
    The Name param.
    pbfOnly Boolean
    The PbfOnly param.
    targets List<String>
    The Targets param.
    tfid String
    disableSnat boolean
    The DisableSnat param.
    folder string
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id string
    The Id param.
    name string
    The Name param.
    pbfOnly boolean
    The PbfOnly param.
    targets string[]
    The Targets param.
    tfid string
    disable_snat bool
    The DisableSnat param.
    folder str
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id str
    The Id param.
    name str
    The Name param.
    pbf_only bool
    The PbfOnly param.
    targets Sequence[str]
    The Targets param.
    tfid str
    disableSnat Boolean
    The DisableSnat param.
    folder String
    The Folder param. String can either be a specific string("Service Connections") or match this regex: ^[0-9a-zA-Z._\s-]{1,}$. Default: "Service Connections".
    id String
    The Id param.
    name String
    The Name param.
    pbfOnly Boolean
    The PbfOnly param.
    targets List<String>
    The Targets param.
    tfid String

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v0.1.1 published on Friday, May 31, 2024 by Pulumi