GetServices

Use this data source to get a list of Azure service names.

Example Usage

using System.Linq;
using Pulumi;
using SignalFx = Pulumi.SignalFx;

class MyStack : Stack
{
    public MyStack()
    {
        var azureServices = Output.Create(SignalFx.Azure.GetServices.InvokeAsync());
        // Leaves out most of the integration bits, see the docs
        // for signalfx.azure.Integration for more
        var azureMyteam = new SignalFx.Azure.Integration("azureMyteam", new SignalFx.Azure.IntegrationArgs
        {
            Services = 
            {
                azureServices.Apply(azureServices => azureServices.Services),
            }.Select(__item => __item?.Name).ToList(),
        });
    }

}

Coming soon!

Coming soon!

import * as pulumi from "@pulumi/pulumi";
import * as signalfx from "@pulumi/signalfx";

const azureServices = signalfx.azure.getServices({});
// Leaves out most of the integration bits, see the docs
// for signalfx.azure.Integration for more
const azureMyteam = new signalfx.azure.Integration("azureMyteam", {services: [azureServices.then(azureServices => azureServices.services)].map(__item => __item?.name)});

Using GetServices

function getServices(args: GetServicesArgs, opts?: InvokeOptions): Promise<GetServicesResult>
function  get_services(services=None, opts=None)
func GetServices(ctx *Context, args *GetServicesArgs, opts ...InvokeOption) (*GetServicesResult, error)
public static class GetServices {
    public static Task<GetServicesResult> InvokeAsync(GetServicesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Services List<Pulumi.SignalFx.Azure.Inputs.GetServicesServiceArgs>
Services []GetServicesService
services GetServicesService[]
services List[GetServicesService]

GetServices Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Services List<Pulumi.SignalFx.Azure.Outputs.GetServicesService>
Id string

The provider-assigned unique ID for this managed resource.

Services []GetServicesService
id string

The provider-assigned unique ID for this managed resource.

services GetServicesService[]
id str

The provider-assigned unique ID for this managed resource.

services List[GetServicesService]

Supporting Types

GetServicesService

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string
Name string
name string
name str

Package Details

Repository
https://github.com/pulumi/pulumi-signalfx
License
Apache-2.0
Notes
This Pulumi package is based on the signalfx Terraform Provider.