Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.organization.Units
Explore with Pulumi AI
Use this data source to query detailed information of organization units
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var foo = Volcengine.Organization.Units.Invoke();
});
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.Units(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
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.UnitsArgs;
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.Units();
}
}
import pulumi
import pulumi_volcengine as volcengine
foo = volcengine.organization.units()
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const foo = volcengine.organization.Units({});
variables:
foo:
fn::invoke:
Function: volcengine:organization:Units
Arguments: {}
Using Units
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 units(args: UnitsArgs, opts?: InvokeOptions): Promise<UnitsResult>
function unitsOutput(args: UnitsOutputArgs, opts?: InvokeOptions): Output<UnitsResult>
def units(output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> UnitsResult
def units_output(output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[UnitsResult]
func Units(ctx *Context, args *UnitsArgs, opts ...InvokeOption) (*UnitsResult, error)
func UnitsOutput(ctx *Context, args *UnitsOutputArgs, opts ...InvokeOption) UnitsResultOutput
public static class Units
{
public static Task<UnitsResult> InvokeAsync(UnitsArgs args, InvokeOptions? opts = null)
public static Output<UnitsResult> Invoke(UnitsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<UnitsResult> units(UnitsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:organization:Units
arguments:
# arguments dictionary
The following arguments are supported:
- Output
File string - File name where to save data source results.
- Output
File string - File name where to save data source results.
- output
File String - File name where to save data source results.
- output
File string - File name where to save data source results.
- output_
file str - File name where to save data source results.
- output
File String - File name where to save data source results.
Units Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Units
List<Units
Unit> - The collection of query.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Units
[]Units
Unit - The collection of query.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- units
List<Units
Unit> - The collection of query.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- units
Units
Unit[] - The collection of query.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- units
Sequence[Units
Unit] - The collection of query.
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- units List<Property Map>
- The collection of query.
- output
File String
Supporting Types
UnitsUnit
- Created
Time string - The created time of the organization unit.
- Delete
Uk string - Delete marker.
- Deleted
Time string - The deleted time of the organization unit.
- Depth int
- The depth of the organization unit.
- Description string
- The description of the organization unit.
- Id string
- The id of the organization unit.
- Name string
- The name of the organization unit.
- Org
Id string - The id of the organization.
- Org
Type int - The organization type.
- Owner string
- The owner of the organization unit.
- Parent
Id string - Parent Unit ID.
- Updated
Time string - The updated time of the organization unit.
- Created
Time string - The created time of the organization unit.
- Delete
Uk string - Delete marker.
- Deleted
Time string - The deleted time of the organization unit.
- Depth int
- The depth of the organization unit.
- Description string
- The description of the organization unit.
- Id string
- The id of the organization unit.
- Name string
- The name of the organization unit.
- Org
Id string - The id of the organization.
- Org
Type int - The organization type.
- Owner string
- The owner of the organization unit.
- Parent
Id string - Parent Unit ID.
- Updated
Time string - The updated time of the organization unit.
- created
Time String - The created time of the organization unit.
- delete
Uk String - Delete marker.
- deleted
Time String - The deleted time of the organization unit.
- depth Integer
- The depth of the organization unit.
- description String
- The description of the organization unit.
- id String
- The id of the organization unit.
- name String
- The name of the organization unit.
- org
Id String - The id of the organization.
- org
Type Integer - The organization type.
- owner String
- The owner of the organization unit.
- parent
Id String - Parent Unit ID.
- updated
Time String - The updated time of the organization unit.
- created
Time string - The created time of the organization unit.
- delete
Uk string - Delete marker.
- deleted
Time string - The deleted time of the organization unit.
- depth number
- The depth of the organization unit.
- description string
- The description of the organization unit.
- id string
- The id of the organization unit.
- name string
- The name of the organization unit.
- org
Id string - The id of the organization.
- org
Type number - The organization type.
- owner string
- The owner of the organization unit.
- parent
Id string - Parent Unit ID.
- updated
Time string - The updated time of the organization unit.
- created_
time str - The created time of the organization unit.
- delete_
uk str - Delete marker.
- deleted_
time str - The deleted time of the organization unit.
- depth int
- The depth of the organization unit.
- description str
- The description of the organization unit.
- id str
- The id of the organization unit.
- name str
- The name of the organization unit.
- org_
id str - The id of the organization.
- org_
type int - The organization type.
- owner str
- The owner of the organization unit.
- parent_
id str - Parent Unit ID.
- updated_
time str - The updated time of the organization unit.
- created
Time String - The created time of the organization unit.
- delete
Uk String - Delete marker.
- deleted
Time String - The deleted time of the organization unit.
- depth Number
- The depth of the organization unit.
- description String
- The description of the organization unit.
- id String
- The id of the organization unit.
- name String
- The name of the organization unit.
- org
Id String - The id of the organization.
- org
Type Number - The organization type.
- owner String
- The owner of the organization unit.
- parent
Id String - Parent Unit ID.
- updated
Time String - The updated time of the organization unit.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.