Viewing docs for Qovery v0.41.0
published on Saturday, Sep 28, 2024 by dirien
published on Saturday, Sep 28, 2024 by dirien
Viewing docs for Qovery v0.41.0
published on Saturday, Sep 28, 2024 by dirien
published on Saturday, Sep 28, 2024 by dirien
# qovery.AnnotationsGroup (Data Source)
Provides a Qovery annotations group resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as qovery from "@pulumi/qovery";
const myAnnotationsGroup = qovery.getAnnotationsGroup({
id: "<annotations_group_id>",
organizationId: "<organization_id>",
});
import pulumi
import pulumi_qovery as qovery
my_annotations_group = qovery.get_annotations_group(id="<annotations_group_id>",
organization_id="<organization_id>")
package main
import (
"github.com/dirien/pulumi-qovery/sdk/go/qovery"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := qovery.LookupAnnotationsGroup(ctx, &qovery.LookupAnnotationsGroupArgs{
Id: "<annotations_group_id>",
OrganizationId: "<organization_id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Qovery = Pulumi.Qovery;
return await Deployment.RunAsync(() =>
{
var myAnnotationsGroup = Qovery.GetAnnotationsGroup.Invoke(new()
{
Id = "<annotations_group_id>",
OrganizationId = "<organization_id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.qovery.QoveryFunctions;
import com.pulumi.qovery.inputs.GetAnnotationsGroupArgs;
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 myAnnotationsGroup = QoveryFunctions.getAnnotationsGroup(GetAnnotationsGroupArgs.builder()
.id("<annotations_group_id>")
.organizationId("<organization_id>")
.build());
}
}
variables:
myAnnotationsGroup:
fn::invoke:
Function: qovery:getAnnotationsGroup
Arguments:
id: <annotations_group_id>
organizationId: <organization_id>
Using getAnnotationsGroup
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 getAnnotationsGroup(args: GetAnnotationsGroupArgs, opts?: InvokeOptions): Promise<GetAnnotationsGroupResult>
function getAnnotationsGroupOutput(args: GetAnnotationsGroupOutputArgs, opts?: InvokeOptions): Output<GetAnnotationsGroupResult>def get_annotations_group(annotations: Optional[Mapping[str, str]] = None,
id: Optional[str] = None,
name: Optional[str] = None,
organization_id: Optional[str] = None,
scopes: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetAnnotationsGroupResult
def get_annotations_group_output(annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAnnotationsGroupResult]func LookupAnnotationsGroup(ctx *Context, args *LookupAnnotationsGroupArgs, opts ...InvokeOption) (*LookupAnnotationsGroupResult, error)
func LookupAnnotationsGroupOutput(ctx *Context, args *LookupAnnotationsGroupOutputArgs, opts ...InvokeOption) LookupAnnotationsGroupResultOutput> Note: This function is named LookupAnnotationsGroup in the Go SDK.
public static class GetAnnotationsGroup
{
public static Task<GetAnnotationsGroupResult> InvokeAsync(GetAnnotationsGroupArgs args, InvokeOptions? opts = null)
public static Output<GetAnnotationsGroupResult> Invoke(GetAnnotationsGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAnnotationsGroupResult> getAnnotationsGroup(GetAnnotationsGroupArgs args, InvokeOptions options)
public static Output<GetAnnotationsGroupResult> getAnnotationsGroup(GetAnnotationsGroupArgs args, InvokeOptions options)
fn::invoke:
function: qovery:index/getAnnotationsGroup:getAnnotationsGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Id of the annotations group
- Organization
Id string - Id of the organization.
- Annotations Dictionary<string, string>
- annotations
- Name string
- name of the annotations group
- Scopes List<string>
- scopes of the annotations group
- Id string
- Id of the annotations group
- Organization
Id string - Id of the organization.
- Annotations map[string]string
- annotations
- Name string
- name of the annotations group
- Scopes []string
- scopes of the annotations group
- id String
- Id of the annotations group
- organization
Id String - Id of the organization.
- annotations Map<String,String>
- annotations
- name String
- name of the annotations group
- scopes List<String>
- scopes of the annotations group
- id string
- Id of the annotations group
- organization
Id string - Id of the organization.
- annotations {[key: string]: string}
- annotations
- name string
- name of the annotations group
- scopes string[]
- scopes of the annotations group
- id str
- Id of the annotations group
- organization_
id str - Id of the organization.
- annotations Mapping[str, str]
- annotations
- name str
- name of the annotations group
- scopes Sequence[str]
- scopes of the annotations group
- id String
- Id of the annotations group
- organization
Id String - Id of the organization.
- annotations Map<String>
- annotations
- name String
- name of the annotations group
- scopes List<String>
- scopes of the annotations group
getAnnotationsGroup Result
The following output properties are available:
- Id string
- Id of the annotations group
- Organization
Id string - Id of the organization.
- Annotations Dictionary<string, string>
- annotations
- Name string
- name of the annotations group
- Scopes List<string>
- scopes of the annotations group
- Id string
- Id of the annotations group
- Organization
Id string - Id of the organization.
- Annotations map[string]string
- annotations
- Name string
- name of the annotations group
- Scopes []string
- scopes of the annotations group
- id String
- Id of the annotations group
- organization
Id String - Id of the organization.
- annotations Map<String,String>
- annotations
- name String
- name of the annotations group
- scopes List<String>
- scopes of the annotations group
- id string
- Id of the annotations group
- organization
Id string - Id of the organization.
- annotations {[key: string]: string}
- annotations
- name string
- name of the annotations group
- scopes string[]
- scopes of the annotations group
- id str
- Id of the annotations group
- organization_
id str - Id of the organization.
- annotations Mapping[str, str]
- annotations
- name str
- name of the annotations group
- scopes Sequence[str]
- scopes of the annotations group
- id String
- Id of the annotations group
- organization
Id String - Id of the organization.
- annotations Map<String>
- annotations
- name String
- name of the annotations group
- scopes List<String>
- scopes of the annotations group
Package Details
- Repository
- qovery dirien/pulumi-qovery
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
qoveryTerraform Provider.
Viewing docs for Qovery v0.41.0
published on Saturday, Sep 28, 2024 by dirien
published on Saturday, Sep 28, 2024 by dirien
