Volcengine v0.0.24 published on Tuesday, Jun 25, 2024 by Volcengine
volcengine.nas.Zones
Explore with Pulumi AI
Use this data source to query detailed information of nas zones
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Nas.Zones.Invoke();
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/nas"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nas.Zones(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.nas.NasFunctions;
import com.pulumi.volcengine.nas.inputs.ZonesArgs;
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 default = NasFunctions.Zones();
}
}
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.nas.zones()
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.nas.Zones({});
variables:
default:
fn::invoke:
Function: volcengine:nas:Zones
Arguments: {}
Using Zones
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 zones(args: ZonesArgs, opts?: InvokeOptions): Promise<ZonesResult>
function zonesOutput(args: ZonesOutputArgs, opts?: InvokeOptions): Output<ZonesResult>
def zones(output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ZonesResult
def zones_output(output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ZonesResult]
func Zones(ctx *Context, args *ZonesArgs, opts ...InvokeOption) (*ZonesResult, error)
func ZonesOutput(ctx *Context, args *ZonesOutputArgs, opts ...InvokeOption) ZonesResultOutput
public static class Zones
{
public static Task<ZonesResult> InvokeAsync(ZonesArgs args, InvokeOptions? opts = null)
public static Output<ZonesResult> Invoke(ZonesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ZonesResult> zones(ZonesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: volcengine:nas:Zones
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.
Zones 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 zone query.
- Zones
List<Zones
Zone> - The collection of zone query.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of zone query.
- Zones
[]Zones
Zone - The collection of zone query.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of zone query.
- zones
List<Zones
Zone> - The collection of zone query.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of zone query.
- zones
Zones
Zone[] - The collection of zone query.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of zone query.
- zones
Sequence[Zones
Zone] - The collection of zone query.
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of zone query.
- zones List<Property Map>
- The collection of zone query.
- output
File String
Supporting Types
ZonesZone
ZonesZoneSale
- File
System stringType - The type of file system.
- Protocol
Type string - The type of protocol.
- Status string
- The status info.
- Storage
Type string - The type of storage.
- File
System stringType - The type of file system.
- Protocol
Type string - The type of protocol.
- Status string
- The status info.
- Storage
Type string - The type of storage.
- file
System StringType - The type of file system.
- protocol
Type String - The type of protocol.
- status String
- The status info.
- storage
Type String - The type of storage.
- file
System stringType - The type of file system.
- protocol
Type string - The type of protocol.
- status string
- The status info.
- storage
Type string - The type of storage.
- file_
system_ strtype - The type of file system.
- protocol_
type str - The type of protocol.
- status str
- The status info.
- storage_
type str - The type of storage.
- file
System StringType - The type of file system.
- protocol
Type String - The type of protocol.
- status String
- The status info.
- storage
Type String - The type of storage.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.