zenduty 0.2.6 published on Wednesday, Jan 15, 2025 by zenduty
zenduty.getPriorities
Explore with Pulumi AI
data "zenduty_priorities" "example_priorities" {
team_id = ""
}
or
import * as pulumi from "@pulumi/pulumi";
export const zendutyPriorities = data.zenduty_priorities.example_priorities.priorities;
import pulumi
pulumi.export("zendutyPriorities", data["zenduty_priorities"]["example_priorities"]["priorities"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("zendutyPriorities", data.Zenduty_priorities.Example_priorities.Priorities)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["zendutyPriorities"] = data.Zenduty_priorities.Example_priorities.Priorities,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
ctx.export("zendutyPriorities", data.zenduty_priorities().example_priorities().priorities());
}
}
outputs:
zendutyPriorities: ${data.zenduty_priorities.example_priorities.priorities}
Using getPriorities
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 getPriorities(args: GetPrioritiesArgs, opts?: InvokeOptions): Promise<GetPrioritiesResult>
function getPrioritiesOutput(args: GetPrioritiesOutputArgs, opts?: InvokeOptions): Output<GetPrioritiesResult>
def get_priorities(id: Optional[str] = None,
team_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrioritiesResult
def get_priorities_output(id: Optional[pulumi.Input[str]] = None,
team_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrioritiesResult]
func LookupPriorities(ctx *Context, args *LookupPrioritiesArgs, opts ...InvokeOption) (*LookupPrioritiesResult, error)
func LookupPrioritiesOutput(ctx *Context, args *LookupPrioritiesOutputArgs, opts ...InvokeOption) LookupPrioritiesResultOutput
> Note: This function is named LookupPriorities
in the Go SDK.
public static class GetPriorities
{
public static Task<GetPrioritiesResult> InvokeAsync(GetPrioritiesArgs args, InvokeOptions? opts = null)
public static Output<GetPrioritiesResult> Invoke(GetPrioritiesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrioritiesResult> getPriorities(GetPrioritiesArgs args, InvokeOptions options)
public static Output<GetPrioritiesResult> getPriorities(GetPrioritiesArgs args, InvokeOptions options)
fn::invoke:
function: zenduty:index/getPriorities:getPriorities
arguments:
# arguments dictionary
The following arguments are supported:
getPriorities Result
The following output properties are available:
- Id string
- Priorities
List<Get
Priorities Priority> - Team
Id string
- Id string
- Priorities
[]Get
Priorities Priority - Team
Id string
- id String
- priorities
List<Get
Priorities Priority> - team
Id String
- id string
- priorities
Get
Priorities Priority[] - team
Id string
- id String
- priorities List<Property Map>
- team
Id String
Supporting Types
GetPrioritiesPriority
- Color string
- The color of the priority.
- Creation
Date string - Description string
- The description of the priority.
- Name string
- The name of the priority.
- Team string
- The unique_id of team that the priority belongs to.
- Unique
Id string - The UniqueID of the priority.
- Color string
- The color of the priority.
- Creation
Date string - Description string
- The description of the priority.
- Name string
- The name of the priority.
- Team string
- The unique_id of team that the priority belongs to.
- Unique
Id string - The UniqueID of the priority.
- color String
- The color of the priority.
- creation
Date String - description String
- The description of the priority.
- name String
- The name of the priority.
- team String
- The unique_id of team that the priority belongs to.
- unique
Id String - The UniqueID of the priority.
- color string
- The color of the priority.
- creation
Date string - description string
- The description of the priority.
- name string
- The name of the priority.
- team string
- The unique_id of team that the priority belongs to.
- unique
Id string - The UniqueID of the priority.
- color str
- The color of the priority.
- creation_
date str - description str
- The description of the priority.
- name str
- The name of the priority.
- team str
- The unique_id of team that the priority belongs to.
- unique_
id str - The UniqueID of the priority.
- color String
- The color of the priority.
- creation
Date String - description String
- The description of the priority.
- name String
- The name of the priority.
- team String
- The unique_id of team that the priority belongs to.
- unique
Id String - The UniqueID of the priority.
Package Details
- Repository
- zenduty zenduty/terraform-provider-zenduty
- License
- Notes
- This Pulumi package is based on the
zenduty
Terraform Provider.