This provider is currently in preview.
Pulumi Cloud v0.32.0 published on Tuesday, Oct 7, 2025 by Pulumi
pulumiservice.getPolicyPack
This provider is currently in preview.
Pulumi Cloud v0.32.0 published on Tuesday, Oct 7, 2025 by Pulumi
Get details about a specific version of a policy pack.
Using getPolicyPack
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 getPolicyPack(args: GetPolicyPackArgs, opts?: InvokeOptions): Promise<GetPolicyPackResult>
function getPolicyPackOutput(args: GetPolicyPackOutputArgs, opts?: InvokeOptions): Output<GetPolicyPackResult>def get_policy_pack(organization_name: Optional[str] = None,
policy_pack_name: Optional[str] = None,
version: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetPolicyPackResult
def get_policy_pack_output(organization_name: Optional[pulumi.Input[str]] = None,
policy_pack_name: Optional[pulumi.Input[str]] = None,
version: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPolicyPackResult]func GetPolicyPack(ctx *Context, args *GetPolicyPackArgs, opts ...InvokeOption) (*GetPolicyPackResult, error)
func GetPolicyPackOutput(ctx *Context, args *GetPolicyPackOutputArgs, opts ...InvokeOption) GetPolicyPackResultOutput> Note: This function is named GetPolicyPack in the Go SDK.
public static class GetPolicyPack
{
public static Task<GetPolicyPackResult> InvokeAsync(GetPolicyPackArgs args, InvokeOptions? opts = null)
public static Output<GetPolicyPackResult> Invoke(GetPolicyPackInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPolicyPackResult> getPolicyPack(GetPolicyPackArgs args, InvokeOptions options)
public static Output<GetPolicyPackResult> getPolicyPack(GetPolicyPackArgs args, InvokeOptions options)
fn::invoke:
function: pulumiservice:getPolicyPack
arguments:
# arguments dictionaryThe following arguments are supported:
- Organization
Name string - The name of the Pulumi organization.
- Policy
Pack stringName - The name of the policy pack.
- Version int
- The version number of the policy pack. If not specified, returns the latest version.
- Organization
Name string - The name of the Pulumi organization.
- Policy
Pack stringName - The name of the policy pack.
- Version int
- The version number of the policy pack. If not specified, returns the latest version.
- organization
Name String - The name of the Pulumi organization.
- policy
Pack StringName - The name of the policy pack.
- version Integer
- The version number of the policy pack. If not specified, returns the latest version.
- organization
Name string - The name of the Pulumi organization.
- policy
Pack stringName - The name of the policy pack.
- version number
- The version number of the policy pack. If not specified, returns the latest version.
- organization_
name str - The name of the Pulumi organization.
- policy_
pack_ strname - The name of the policy pack.
- version int
- The version number of the policy pack. If not specified, returns the latest version.
- organization
Name String - The name of the Pulumi organization.
- policy
Pack StringName - The name of the policy pack.
- version Number
- The version number of the policy pack. If not specified, returns the latest version.
getPolicyPack Result
The following output properties are available:
- Display
Name string - The display name of the policy pack.
- Name string
- The name of the policy pack.
- Version int
- The version number.
- Config Dictionary<string, object>
- Configuration for the policy pack.
- Policies
List<Immutable
Dictionary<string, string>> - List of policies in this pack.
- Version
Tag string - The version tag (if any).
- Display
Name string - The display name of the policy pack.
- Name string
- The name of the policy pack.
- Version int
- The version number.
- Config map[string]interface{}
- Configuration for the policy pack.
- Policies []map[string]string
- List of policies in this pack.
- Version
Tag string - The version tag (if any).
- display
Name String - The display name of the policy pack.
- name String
- The name of the policy pack.
- version Integer
- The version number.
- config Map<String,Object>
- Configuration for the policy pack.
- policies List<Map<String,String>>
- List of policies in this pack.
- version
Tag String - The version tag (if any).
- display
Name string - The display name of the policy pack.
- name string
- The name of the policy pack.
- version number
- The version number.
- config {[key: string]: any}
- Configuration for the policy pack.
- policies {[key: string]: string}[]
- List of policies in this pack.
- version
Tag string - The version tag (if any).
- display_
name str - The display name of the policy pack.
- name str
- The name of the policy pack.
- version int
- The version number.
- config Mapping[str, Any]
- Configuration for the policy pack.
- policies Sequence[Mapping[str, str]]
- List of policies in this pack.
- version_
tag str - The version tag (if any).
- display
Name String - The display name of the policy pack.
- name String
- The name of the policy pack.
- version Number
- The version number.
- config Map<Any>
- Configuration for the policy pack.
- policies List<Map<String>>
- List of policies in this pack.
- version
Tag String - The version tag (if any).
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
Pulumi Cloud v0.32.0 published on Tuesday, Oct 7, 2025 by Pulumi
