1. Packages
  2. Rootly
  3. API Docs
  4. getServices
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.getServices

Explore with Pulumi AI

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

    Using getServices

    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 getServices(args: GetServicesArgs, opts?: InvokeOptions): Promise<GetServicesResult>
    function getServicesOutput(args: GetServicesOutputArgs, opts?: InvokeOptions): Output<GetServicesResult>
    def get_services(backstage_id: Optional[str] = None,
                     name: Optional[str] = None,
                     opsgenie_id: Optional[str] = None,
                     pagerduty_id: Optional[str] = None,
                     slug: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetServicesResult
    def get_services_output(backstage_id: Optional[pulumi.Input[str]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     opsgenie_id: Optional[pulumi.Input[str]] = None,
                     pagerduty_id: Optional[pulumi.Input[str]] = None,
                     slug: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetServicesResult]
    func GetServices(ctx *Context, args *GetServicesArgs, opts ...InvokeOption) (*GetServicesResult, error)
    func GetServicesOutput(ctx *Context, args *GetServicesOutputArgs, opts ...InvokeOption) GetServicesResultOutput

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

    public static class GetServices 
    {
        public static Task<GetServicesResult> InvokeAsync(GetServicesArgs args, InvokeOptions? opts = null)
        public static Output<GetServicesResult> Invoke(GetServicesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServicesResult> getServices(GetServicesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: rootly:index/getServices:getServices
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BackstageId string
    Name string
    OpsgenieId string
    PagerdutyId string
    Slug string
    BackstageId string
    Name string
    OpsgenieId string
    PagerdutyId string
    Slug string
    backstageId String
    name String
    opsgenieId String
    pagerdutyId String
    slug String
    backstageId string
    name string
    opsgenieId string
    pagerdutyId string
    slug string
    backstageId String
    name String
    opsgenieId String
    pagerdutyId String
    slug String

    getServices Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Services List<GetServicesService>
    BackstageId string
    Name string
    OpsgenieId string
    PagerdutyId string
    Slug string
    Id string
    The provider-assigned unique ID for this managed resource.
    Services []GetServicesService
    BackstageId string
    Name string
    OpsgenieId string
    PagerdutyId string
    Slug string
    id String
    The provider-assigned unique ID for this managed resource.
    services List<GetServicesService>
    backstageId String
    name String
    opsgenieId String
    pagerdutyId String
    slug String
    id string
    The provider-assigned unique ID for this managed resource.
    services GetServicesService[]
    backstageId string
    name string
    opsgenieId string
    pagerdutyId string
    slug string
    id str
    The provider-assigned unique ID for this managed resource.
    services Sequence[GetServicesService]
    backstage_id str
    name str
    opsgenie_id str
    pagerduty_id str
    slug str
    id String
    The provider-assigned unique ID for this managed resource.
    services List<Property Map>
    backstageId String
    name String
    opsgenieId String
    pagerdutyId String
    slug String

    Supporting Types

    GetServicesService

    Color string
    Description string
    Id string
    Name string
    PublicDescription string
    Slug string
    Color string
    Description string
    Id string
    Name string
    PublicDescription string
    Slug string
    color String
    description String
    id String
    name String
    publicDescription String
    slug String
    color string
    description string
    id string
    name string
    publicDescription string
    slug string
    color String
    description String
    id String
    name String
    publicDescription String
    slug String

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly