Viewing docs for Pulumi Cloud v1.5.0
published on Monday, Oct 19, 2026 by Pulumi
published on Monday, Oct 19, 2026 by Pulumi
Viewing docs for Pulumi Cloud v1.5.0
published on Monday, Oct 19, 2026 by Pulumi
published on Monday, Oct 19, 2026 by Pulumi
Get a list of all policy packs for an organization.
Using getPolicyPacks
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 getPolicyPacks(args: GetPolicyPacksArgs, opts?: InvokeOptions): Promise<GetPolicyPacksResult>
function getPolicyPacksOutput(args: GetPolicyPacksOutputArgs, opts?: InvokeOutputOptions): Output<GetPolicyPacksResult>def get_policy_packs(organization_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyPacksResult
def get_policy_packs_output(organization_name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetPolicyPacksResult]func GetPolicyPacks(ctx *Context, args *GetPolicyPacksArgs, opts ...InvokeOption) (*GetPolicyPacksResult, error)
func GetPolicyPacksOutput(ctx *Context, args *GetPolicyPacksOutputArgs, opts ...InvokeOption) GetPolicyPacksResultOutput> Note: This function is named GetPolicyPacks in the Go SDK.
public static class GetPolicyPacks
{
public static Task<GetPolicyPacksResult> InvokeAsync(GetPolicyPacksArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyPacksResult> Invoke(GetPolicyPacksInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyPacksResult> Invoke(GetPolicyPacksInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetPolicyPacksResult> getPolicyPacks(GetPolicyPacksArgs args, InvokeOptions options)
public static Output<GetPolicyPacksResult> getPolicyPacks(GetPolicyPacksArgs args, InvokeOptions options)
public static Output<GetPolicyPacksResult> getPolicyPacks(GetPolicyPacksArgs args, InvokeOutputOptions options)
fn::invoke:
function: pulumiservice:getPolicyPacks
arguments:
# arguments dictionarydata "pulumiservice_get_policy_packs" "name" {
# arguments
}The following arguments are supported:
- Organization
Name string - The name of the Pulumi organization.
- Organization
Name string - The name of the Pulumi organization.
- organization_
name string - The name of the Pulumi organization.
- organization
Name String - The name of the Pulumi organization.
- organization
Name string - The name of the Pulumi organization.
- organization_
name str - The name of the Pulumi organization.
- organization
Name String - The name of the Pulumi organization.
getPolicyPacks Result
The following output properties are available:
- Policy
Packs List<Pulumi.Pulumi Service. Outputs. Policy Pack Summary> - List of policy packs in the organization.
- Policy
Packs []PolicyPack Summary - List of policy packs in the organization.
- policy_
packs list(object) - List of policy packs in the organization.
- policy
Packs List<PolicyPack Summary> - List of policy packs in the organization.
- policy
Packs PolicyPack Summary[] - List of policy packs in the organization.
- policy_
packs Sequence[PolicyPack Summary] - List of policy packs in the organization.
- policy
Packs List<Property Map> - List of policy packs in the organization.
Supporting Types
PolicyPackSummary
- Display
Name string - The display name of the policy pack.
- Name string
- The name of the policy pack.
- List<string>
- List of version tags for this policy pack.
- Versions List<int>
- List of version numbers for this policy pack.
- Publisher string
- The organization or user that published the policy pack.
pulumifor Pulumi-published packs, otherwise the publishing organization's name. Omitted when the provider could not determine registry metadata for this pack. - Source string
- Where the policy pack is hosted in the Pulumi Registry:
pulumifor packs published by Pulumi (for examplecis-aws),privatefor packs published by an organization. Omitted when the provider could not determine registry metadata for this pack.
- Display
Name string - The display name of the policy pack.
- Name string
- The name of the policy pack.
- []string
- List of version tags for this policy pack.
- Versions []int
- List of version numbers for this policy pack.
- Publisher string
- The organization or user that published the policy pack.
pulumifor Pulumi-published packs, otherwise the publishing organization's name. Omitted when the provider could not determine registry metadata for this pack. - Source string
- Where the policy pack is hosted in the Pulumi Registry:
pulumifor packs published by Pulumi (for examplecis-aws),privatefor packs published by an organization. Omitted when the provider could not determine registry metadata for this pack.
- display_
name string - The display name of the policy pack.
- name string
- The name of the policy pack.
- list(string)
- List of version tags for this policy pack.
- versions list(number)
- List of version numbers for this policy pack.
- publisher string
- The organization or user that published the policy pack.
pulumifor Pulumi-published packs, otherwise the publishing organization's name. Omitted when the provider could not determine registry metadata for this pack. - source string
- Where the policy pack is hosted in the Pulumi Registry:
pulumifor packs published by Pulumi (for examplecis-aws),privatefor packs published by an organization. Omitted when the provider could not determine registry metadata for this pack.
- display
Name String - The display name of the policy pack.
- name String
- The name of the policy pack.
- List<String>
- List of version tags for this policy pack.
- versions List<Integer>
- List of version numbers for this policy pack.
- publisher String
- The organization or user that published the policy pack.
pulumifor Pulumi-published packs, otherwise the publishing organization's name. Omitted when the provider could not determine registry metadata for this pack. - source String
- Where the policy pack is hosted in the Pulumi Registry:
pulumifor packs published by Pulumi (for examplecis-aws),privatefor packs published by an organization. Omitted when the provider could not determine registry metadata for this pack.
- display
Name string - The display name of the policy pack.
- name string
- The name of the policy pack.
- string[]
- List of version tags for this policy pack.
- versions number[]
- List of version numbers for this policy pack.
- publisher string
- The organization or user that published the policy pack.
pulumifor Pulumi-published packs, otherwise the publishing organization's name. Omitted when the provider could not determine registry metadata for this pack. - source string
- Where the policy pack is hosted in the Pulumi Registry:
pulumifor packs published by Pulumi (for examplecis-aws),privatefor packs published by an organization. Omitted when the provider could not determine registry metadata for this pack.
- display_
name str - The display name of the policy pack.
- name str
- The name of the policy pack.
- Sequence[str]
- List of version tags for this policy pack.
- versions Sequence[int]
- List of version numbers for this policy pack.
- publisher str
- The organization or user that published the policy pack.
pulumifor Pulumi-published packs, otherwise the publishing organization's name. Omitted when the provider could not determine registry metadata for this pack. - source str
- Where the policy pack is hosted in the Pulumi Registry:
pulumifor packs published by Pulumi (for examplecis-aws),privatefor packs published by an organization. Omitted when the provider could not determine registry metadata for this pack.
- display
Name String - The display name of the policy pack.
- name String
- The name of the policy pack.
- List<String>
- List of version tags for this policy pack.
- versions List<Number>
- List of version numbers for this policy pack.
- publisher String
- The organization or user that published the policy pack.
pulumifor Pulumi-published packs, otherwise the publishing organization's name. Omitted when the provider could not determine registry metadata for this pack. - source String
- Where the policy pack is hosted in the Pulumi Registry:
pulumifor packs published by Pulumi (for examplecis-aws),privatefor packs published by an organization. Omitted when the provider could not determine registry metadata for this pack.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
Viewing docs for Pulumi Cloud v1.5.0
published on Monday, Oct 19, 2026 by Pulumi
published on Monday, Oct 19, 2026 by Pulumi