1. Packages
  2. Pagerduty Provider
  3. API Docs
  4. getStandards
PagerDuty v4.23.0 published on Wednesday, Apr 16, 2025 by Pulumi

pagerduty.getStandards

Explore with Pulumi AI

PagerDuty v4.23.0 published on Wednesday, Apr 16, 2025 by Pulumi

Use this data source to get information about the standards applicable to the PagerDuty account.

Example Usage

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

const standards = pagerduty.getStandards({});
Copy
import pulumi
import pulumi_pagerduty as pagerduty

standards = pagerduty.get_standards()
Copy
package main

import (
	"github.com/pulumi/pulumi-pagerduty/sdk/v4/go/pagerduty"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := pagerduty.GetStandards(ctx, &pagerduty.GetStandardsArgs{}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Pagerduty = Pulumi.Pagerduty;

return await Deployment.RunAsync(() => 
{
    var standards = Pagerduty.GetStandards.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.pagerduty.PagerdutyFunctions;
import com.pulumi.pagerduty.inputs.GetStandardsArgs;
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 standards = PagerdutyFunctions.getStandards(GetStandardsArgs.builder()
            .build());

    }
}
Copy
variables:
  standards:
    fn::invoke:
      function: pagerduty:getStandards
      arguments: {}
Copy

Using getStandards

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 getStandards(args: GetStandardsArgs, opts?: InvokeOptions): Promise<GetStandardsResult>
function getStandardsOutput(args: GetStandardsOutputArgs, opts?: InvokeOptions): Output<GetStandardsResult>
Copy
def get_standards(resource_type: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetStandardsResult
def get_standards_output(resource_type: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetStandardsResult]
Copy
func GetStandards(ctx *Context, args *GetStandardsArgs, opts ...InvokeOption) (*GetStandardsResult, error)
func GetStandardsOutput(ctx *Context, args *GetStandardsOutputArgs, opts ...InvokeOption) GetStandardsResultOutput
Copy

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

public static class GetStandards 
{
    public static Task<GetStandardsResult> InvokeAsync(GetStandardsArgs args, InvokeOptions? opts = null)
    public static Output<GetStandardsResult> Invoke(GetStandardsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetStandardsResult> getStandards(GetStandardsArgs args, InvokeOptions options)
public static Output<GetStandardsResult> getStandards(GetStandardsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: pagerduty:index/getStandards:getStandards
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceType string
Filter by resource_type the received standards. Allowed values are technical_service.
ResourceType string
Filter by resource_type the received standards. Allowed values are technical_service.
resourceType String
Filter by resource_type the received standards. Allowed values are technical_service.
resourceType string
Filter by resource_type the received standards. Allowed values are technical_service.
resource_type str
Filter by resource_type the received standards. Allowed values are technical_service.
resourceType String
Filter by resource_type the received standards. Allowed values are technical_service.

getStandards Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Standards List<GetStandardsStandard>
The list of standards defined.
ResourceType string
Specifies the type of resource to which the standard applies.
Id string
The provider-assigned unique ID for this managed resource.
Standards []GetStandardsStandard
The list of standards defined.
ResourceType string
Specifies the type of resource to which the standard applies.
id String
The provider-assigned unique ID for this managed resource.
standards List<GetStandardsStandard>
The list of standards defined.
resourceType String
Specifies the type of resource to which the standard applies.
id string
The provider-assigned unique ID for this managed resource.
standards GetStandardsStandard[]
The list of standards defined.
resourceType string
Specifies the type of resource to which the standard applies.
id str
The provider-assigned unique ID for this managed resource.
standards Sequence[GetStandardsStandard]
The list of standards defined.
resource_type str
Specifies the type of resource to which the standard applies.
id String
The provider-assigned unique ID for this managed resource.
standards List<Property Map>
The list of standards defined.
resourceType String
Specifies the type of resource to which the standard applies.

Supporting Types

GetStandardsStandard

Active This property is required. bool
Indicates whether the standard is currently active and applicable to the resource.
Description This property is required. string
Provides a textual description of the standard.
Exclusions This property is required. List<GetStandardsStandardExclusion>
A list of exceptions for the application of this standard.
Id This property is required. string
The unique identifier for the resource being included.
Inclusions This property is required. List<GetStandardsStandardInclusion>
A list of explict instances this standard applies to.
Name This property is required. string
The human-readable name of the standard.
ResourceType This property is required. string
Filter by resource_type the received standards. Allowed values are technical_service.
Type This property is required. string
Specifies the type of resource this inclusion applies to.
Active This property is required. bool
Indicates whether the standard is currently active and applicable to the resource.
Description This property is required. string
Provides a textual description of the standard.
Exclusions This property is required. []GetStandardsStandardExclusion
A list of exceptions for the application of this standard.
Id This property is required. string
The unique identifier for the resource being included.
Inclusions This property is required. []GetStandardsStandardInclusion
A list of explict instances this standard applies to.
Name This property is required. string
The human-readable name of the standard.
ResourceType This property is required. string
Filter by resource_type the received standards. Allowed values are technical_service.
Type This property is required. string
Specifies the type of resource this inclusion applies to.
active This property is required. Boolean
Indicates whether the standard is currently active and applicable to the resource.
description This property is required. String
Provides a textual description of the standard.
exclusions This property is required. List<GetStandardsStandardExclusion>
A list of exceptions for the application of this standard.
id This property is required. String
The unique identifier for the resource being included.
inclusions This property is required. List<GetStandardsStandardInclusion>
A list of explict instances this standard applies to.
name This property is required. String
The human-readable name of the standard.
resourceType This property is required. String
Filter by resource_type the received standards. Allowed values are technical_service.
type This property is required. String
Specifies the type of resource this inclusion applies to.
active This property is required. boolean
Indicates whether the standard is currently active and applicable to the resource.
description This property is required. string
Provides a textual description of the standard.
exclusions This property is required. GetStandardsStandardExclusion[]
A list of exceptions for the application of this standard.
id This property is required. string
The unique identifier for the resource being included.
inclusions This property is required. GetStandardsStandardInclusion[]
A list of explict instances this standard applies to.
name This property is required. string
The human-readable name of the standard.
resourceType This property is required. string
Filter by resource_type the received standards. Allowed values are technical_service.
type This property is required. string
Specifies the type of resource this inclusion applies to.
active This property is required. bool
Indicates whether the standard is currently active and applicable to the resource.
description This property is required. str
Provides a textual description of the standard.
exclusions This property is required. Sequence[GetStandardsStandardExclusion]
A list of exceptions for the application of this standard.
id This property is required. str
The unique identifier for the resource being included.
inclusions This property is required. Sequence[GetStandardsStandardInclusion]
A list of explict instances this standard applies to.
name This property is required. str
The human-readable name of the standard.
resource_type This property is required. str
Filter by resource_type the received standards. Allowed values are technical_service.
type This property is required. str
Specifies the type of resource this inclusion applies to.
active This property is required. Boolean
Indicates whether the standard is currently active and applicable to the resource.
description This property is required. String
Provides a textual description of the standard.
exclusions This property is required. List<Property Map>
A list of exceptions for the application of this standard.
id This property is required. String
The unique identifier for the resource being included.
inclusions This property is required. List<Property Map>
A list of explict instances this standard applies to.
name This property is required. String
The human-readable name of the standard.
resourceType This property is required. String
Filter by resource_type the received standards. Allowed values are technical_service.
type This property is required. String
Specifies the type of resource this inclusion applies to.

GetStandardsStandardExclusion

Id This property is required. string
The unique identifier for the resource being included.
Type This property is required. string
Specifies the type of resource this inclusion applies to.
Id This property is required. string
The unique identifier for the resource being included.
Type This property is required. string
Specifies the type of resource this inclusion applies to.
id This property is required. String
The unique identifier for the resource being included.
type This property is required. String
Specifies the type of resource this inclusion applies to.
id This property is required. string
The unique identifier for the resource being included.
type This property is required. string
Specifies the type of resource this inclusion applies to.
id This property is required. str
The unique identifier for the resource being included.
type This property is required. str
Specifies the type of resource this inclusion applies to.
id This property is required. String
The unique identifier for the resource being included.
type This property is required. String
Specifies the type of resource this inclusion applies to.

GetStandardsStandardInclusion

Id This property is required. string
The unique identifier for the resource being included.
Type This property is required. string
Specifies the type of resource this inclusion applies to.
Id This property is required. string
The unique identifier for the resource being included.
Type This property is required. string
Specifies the type of resource this inclusion applies to.
id This property is required. String
The unique identifier for the resource being included.
type This property is required. String
Specifies the type of resource this inclusion applies to.
id This property is required. string
The unique identifier for the resource being included.
type This property is required. string
Specifies the type of resource this inclusion applies to.
id This property is required. str
The unique identifier for the resource being included.
type This property is required. str
Specifies the type of resource this inclusion applies to.
id This property is required. String
The unique identifier for the resource being included.
type This property is required. String
Specifies the type of resource this inclusion applies to.

Package Details

Repository
PagerDuty pulumi/pulumi-pagerduty
License
Apache-2.0
Notes
This Pulumi package is based on the pagerduty Terraform Provider.
PagerDuty v4.23.0 published on Wednesday, Apr 16, 2025 by Pulumi