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:
GetServices Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Services
List<Pulumi.
Signal Fx. Azure. Outputs. Get Services Service>
- Id string
The provider-assigned unique ID for this managed resource.
- Services
[]Get
Services Service
- id string
The provider-assigned unique ID for this managed resource.
- services
Get
Services Service[]
- id str
The provider-assigned unique ID for this managed resource.
- services
List[Get
Services Service]
Supporting Types
GetServicesService
Package Details
- Repository
- https://github.com/pulumi/pulumi-signalfx
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
signalfxTerraform Provider.