1. Packages
  2. Volcengine
  3. API Docs
  4. organization
  5. Organizations
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

volcengine.organization.Organizations

Explore with Pulumi AI

Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine

Use this data source to query detailed information of organizations

Example Usage

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

const foo = volcengine.organization.Organizations({});
Copy
import pulumi
import pulumi_volcengine as volcengine

foo = volcengine.organization.organizations()
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/organization"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := organization.Organizations(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;

return await Deployment.RunAsync(() => 
{
    var foo = Volcengine.Organization.Organizations.Invoke();

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.organization.OrganizationFunctions;
import com.pulumi.volcengine.organization.inputs.OrganizationsArgs;
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 foo = OrganizationFunctions.Organizations();

    }
}
Copy
variables:
  foo:
    fn::invoke:
      Function: volcengine:organization:Organizations
      Arguments: {}
Copy

Using Organizations

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 organizations(args: OrganizationsArgs, opts?: InvokeOptions): Promise<OrganizationsResult>
function organizationsOutput(args: OrganizationsOutputArgs, opts?: InvokeOptions): Output<OrganizationsResult>
Copy
def organizations(name_regex: Optional[str] = None,
                  output_file: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> OrganizationsResult
def organizations_output(name_regex: Optional[pulumi.Input[str]] = None,
                  output_file: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[OrganizationsResult]
Copy
func Organizations(ctx *Context, args *OrganizationsArgs, opts ...InvokeOption) (*OrganizationsResult, error)
func OrganizationsOutput(ctx *Context, args *OrganizationsOutputArgs, opts ...InvokeOption) OrganizationsResultOutput
Copy
public static class Organizations 
{
    public static Task<OrganizationsResult> InvokeAsync(OrganizationsArgs args, InvokeOptions? opts = null)
    public static Output<OrganizationsResult> Invoke(OrganizationsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<OrganizationsResult> organizations(OrganizationsArgs args, InvokeOptions options)
public static Output<OrganizationsResult> organizations(OrganizationsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: volcengine:organization:Organizations
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

NameRegex string
A Name Regex of Resource.
OutputFile string
File name where to save data source results.
NameRegex string
A Name Regex of Resource.
OutputFile string
File name where to save data source results.
nameRegex String
A Name Regex of Resource.
outputFile String
File name where to save data source results.
nameRegex string
A Name Regex of Resource.
outputFile string
File name where to save data source results.
name_regex str
A Name Regex of Resource.
output_file str
File name where to save data source results.
nameRegex String
A Name Regex of Resource.
outputFile String
File name where to save data source results.

Organizations Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Organizations List<OrganizationsOrganization>
The collection of query.
TotalCount int
The total count of query.
NameRegex string
OutputFile string
Id string
The provider-assigned unique ID for this managed resource.
Organizations []OrganizationsOrganization
The collection of query.
TotalCount int
The total count of query.
NameRegex string
OutputFile string
id String
The provider-assigned unique ID for this managed resource.
organizations List<OrganizationsOrganization>
The collection of query.
totalCount Integer
The total count of query.
nameRegex String
outputFile String
id string
The provider-assigned unique ID for this managed resource.
organizations OrganizationsOrganization[]
The collection of query.
totalCount number
The total count of query.
nameRegex string
outputFile string
id str
The provider-assigned unique ID for this managed resource.
organizations Sequence[OrganizationsOrganization]
The collection of query.
total_count int
The total count of query.
name_regex str
output_file str
id String
The provider-assigned unique ID for this managed resource.
organizations List<Property Map>
The collection of query.
totalCount Number
The total count of query.
nameRegex String
outputFile String

Supporting Types

OrganizationsOrganization

AccountId This property is required. int
The account id of the organization owner.
AccountName This property is required. string
The account name of the organization owner.
CreatedTime This property is required. string
The created time of the organization.
DeleteUk This property is required. string
The delete uk of the organization.
DeletedTime This property is required. string
The deleted time of the organization.
Description This property is required. string
The description of the organization.
Id This property is required. string
The id of the organization.
MainName This property is required. string
The main name of the organization owner.
Name This property is required. string
The name of the organization.
Owner This property is required. string
The owner id of the organization.
Status This property is required. int
The status of the organization.
Type This property is required. int
The type of the organization.
UpdatedTime This property is required. string
The updated time of the organization.
AccountId This property is required. int
The account id of the organization owner.
AccountName This property is required. string
The account name of the organization owner.
CreatedTime This property is required. string
The created time of the organization.
DeleteUk This property is required. string
The delete uk of the organization.
DeletedTime This property is required. string
The deleted time of the organization.
Description This property is required. string
The description of the organization.
Id This property is required. string
The id of the organization.
MainName This property is required. string
The main name of the organization owner.
Name This property is required. string
The name of the organization.
Owner This property is required. string
The owner id of the organization.
Status This property is required. int
The status of the organization.
Type This property is required. int
The type of the organization.
UpdatedTime This property is required. string
The updated time of the organization.
accountId This property is required. Integer
The account id of the organization owner.
accountName This property is required. String
The account name of the organization owner.
createdTime This property is required. String
The created time of the organization.
deleteUk This property is required. String
The delete uk of the organization.
deletedTime This property is required. String
The deleted time of the organization.
description This property is required. String
The description of the organization.
id This property is required. String
The id of the organization.
mainName This property is required. String
The main name of the organization owner.
name This property is required. String
The name of the organization.
owner This property is required. String
The owner id of the organization.
status This property is required. Integer
The status of the organization.
type This property is required. Integer
The type of the organization.
updatedTime This property is required. String
The updated time of the organization.
accountId This property is required. number
The account id of the organization owner.
accountName This property is required. string
The account name of the organization owner.
createdTime This property is required. string
The created time of the organization.
deleteUk This property is required. string
The delete uk of the organization.
deletedTime This property is required. string
The deleted time of the organization.
description This property is required. string
The description of the organization.
id This property is required. string
The id of the organization.
mainName This property is required. string
The main name of the organization owner.
name This property is required. string
The name of the organization.
owner This property is required. string
The owner id of the organization.
status This property is required. number
The status of the organization.
type This property is required. number
The type of the organization.
updatedTime This property is required. string
The updated time of the organization.
account_id This property is required. int
The account id of the organization owner.
account_name This property is required. str
The account name of the organization owner.
created_time This property is required. str
The created time of the organization.
delete_uk This property is required. str
The delete uk of the organization.
deleted_time This property is required. str
The deleted time of the organization.
description This property is required. str
The description of the organization.
id This property is required. str
The id of the organization.
main_name This property is required. str
The main name of the organization owner.
name This property is required. str
The name of the organization.
owner This property is required. str
The owner id of the organization.
status This property is required. int
The status of the organization.
type This property is required. int
The type of the organization.
updated_time This property is required. str
The updated time of the organization.
accountId This property is required. Number
The account id of the organization owner.
accountName This property is required. String
The account name of the organization owner.
createdTime This property is required. String
The created time of the organization.
deleteUk This property is required. String
The delete uk of the organization.
deletedTime This property is required. String
The deleted time of the organization.
description This property is required. String
The description of the organization.
id This property is required. String
The id of the organization.
mainName This property is required. String
The main name of the organization owner.
name This property is required. String
The name of the organization.
owner This property is required. String
The owner id of the organization.
status This property is required. Number
The status of the organization.
type This property is required. Number
The type of the organization.
updatedTime This property is required. String
The updated time of the organization.

Package Details

Repository
volcengine volcengine/pulumi-volcengine
License
Apache-2.0
Notes
This Pulumi package is based on the volcengine Terraform Provider.
Volcengine v0.0.27 published on Tuesday, Dec 10, 2024 by Volcengine