Viewing docs for Yandex v0.13.0
published on Tuesday, Feb 22, 2022 by Pulumi
published on Tuesday, Feb 22, 2022 by Pulumi
Viewing docs for Yandex v0.13.0
published on Tuesday, Feb 22, 2022 by Pulumi
published on Tuesday, Feb 22, 2022 by Pulumi
Get information about a Yandex Database (dedicated) cluster. For more information, see the official documentation.
Example Usage
using Pulumi;
using Yandex = Pulumi.Yandex;
class MyStack : Stack
{
public MyStack()
{
var myDatabase = Output.Create(Yandex.GetYdbDatabaseDedicated.InvokeAsync(new Yandex.GetYdbDatabaseDedicatedArgs
{
DatabaseId = "some_ydb_dedicated_database_id",
}));
this.YdbApiEndpoint = myDatabase.Apply(myDatabase => myDatabase.YdbApiEndpoint);
}
[Output("ydbApiEndpoint")]
public Output<string> YdbApiEndpoint { get; set; }
}
package main
import (
"github.com/pulumi/pulumi-yandex/sdk/go/yandex"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
opt0 := "some_ydb_dedicated_database_id"
myDatabase, err := yandex.LookupYdbDatabaseDedicated(ctx, &GetYdbDatabaseDedicatedArgs{
DatabaseId: &opt0,
}, nil)
if err != nil {
return err
}
ctx.Export("ydbApiEndpoint", myDatabase.YdbApiEndpoint)
return nil
})
}
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const myDatabase = pulumi.output(yandex.getYdbDatabaseDedicated({
databaseId: "some_ydb_dedicated_database_id",
}));
export const ydbApiEndpoint = myDatabase.ydbApiEndpoint;
import pulumi
import pulumi_yandex as yandex
my_database = yandex.get_ydb_database_dedicated(database_id="some_ydb_dedicated_database_id")
pulumi.export("ydbApiEndpoint", my_database.ydb_api_endpoint)
Example coming soon!
Using getYdbDatabaseDedicated
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 getYdbDatabaseDedicated(args: GetYdbDatabaseDedicatedArgs, opts?: InvokeOptions): Promise<GetYdbDatabaseDedicatedResult>
function getYdbDatabaseDedicatedOutput(args: GetYdbDatabaseDedicatedOutputArgs, opts?: InvokeOptions): Output<GetYdbDatabaseDedicatedResult>def get_ydb_database_dedicated(database_id: Optional[str] = None,
folder_id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetYdbDatabaseDedicatedResult
def get_ydb_database_dedicated_output(database_id: Optional[pulumi.Input[str]] = None,
folder_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetYdbDatabaseDedicatedResult]func LookupYdbDatabaseDedicated(ctx *Context, args *LookupYdbDatabaseDedicatedArgs, opts ...InvokeOption) (*LookupYdbDatabaseDedicatedResult, error)
func LookupYdbDatabaseDedicatedOutput(ctx *Context, args *LookupYdbDatabaseDedicatedOutputArgs, opts ...InvokeOption) LookupYdbDatabaseDedicatedResultOutput> Note: This function is named LookupYdbDatabaseDedicated in the Go SDK.
public static class GetYdbDatabaseDedicated
{
public static Task<GetYdbDatabaseDedicatedResult> InvokeAsync(GetYdbDatabaseDedicatedArgs args, InvokeOptions? opts = null)
public static Output<GetYdbDatabaseDedicatedResult> Invoke(GetYdbDatabaseDedicatedInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetYdbDatabaseDedicatedResult> getYdbDatabaseDedicated(GetYdbDatabaseDedicatedArgs args, InvokeOptions options)
public static Output<GetYdbDatabaseDedicatedResult> getYdbDatabaseDedicated(GetYdbDatabaseDedicatedArgs args, InvokeOptions options)
fn::invoke:
function: yandex:index/getYdbDatabaseDedicated:getYdbDatabaseDedicated
arguments:
# arguments dictionaryThe following arguments are supported:
- Database
Id string - ID of the Yandex Database cluster.
- Folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- Name string
- Name of the Yandex Database cluster.
- Database
Id string - ID of the Yandex Database cluster.
- Folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- Name string
- Name of the Yandex Database cluster.
- database
Id String - ID of the Yandex Database cluster.
- folder
Id String - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- name String
- Name of the Yandex Database cluster.
- database
Id string - ID of the Yandex Database cluster.
- folder
Id string - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- name string
- Name of the Yandex Database cluster.
- database_
id str - ID of the Yandex Database cluster.
- folder_
id str - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- name str
- Name of the Yandex Database cluster.
- database
Id String - ID of the Yandex Database cluster.
- folder
Id String - ID of the folder that the Yandex Database cluster belongs to. It will be deduced from provider configuration if not set explicitly.
- name String
- Name of the Yandex Database cluster.
getYdbDatabaseDedicated Result
The following output properties are available:
- Assign
Public boolIps - Whether public IP addresses are assigned to the Yandex Database cluster.
- Created
At string - The Yandex Database cluster creation timestamp.
- Database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- Description string
- A description of the Yandex Database cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- A set of key/value label pairs assigned to the Yandex Database cluster.
- Location
Id string - Location ID of the Yandex Database cluster.
- Locations
List<Get
Ydb Database Dedicated Location> - Location of the Yandex Database cluster. The structure is documented below.
- Network
Id string - ID of the network the Yandex Database cluster is attached to.
- Resource
Preset stringId - The Yandex Database cluster preset.
- Scale
Policies List<GetYdb Database Dedicated Scale Policy> - Scaling policy of the Yandex Database cluster. The structure is documented below.
- Status string
- Status of the Yandex Database cluster.
- Storage
Configs List<GetYdb Database Dedicated Storage Config> - A list of storage configuration options of the Yandex Database cluster. The structure is documented below.
- Subnet
Ids List<string> - List of subnet IDs the Yandex Database cluster is attached to.
- Tls
Enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- Database
Id string - Folder
Id string - Name string
- Assign
Public boolIps - Whether public IP addresses are assigned to the Yandex Database cluster.
- Created
At string - The Yandex Database cluster creation timestamp.
- Database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- Description string
- A description of the Yandex Database cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- A set of key/value label pairs assigned to the Yandex Database cluster.
- Location
Id string - Location ID of the Yandex Database cluster.
- Locations
[]Get
Ydb Database Dedicated Location - Location of the Yandex Database cluster. The structure is documented below.
- Network
Id string - ID of the network the Yandex Database cluster is attached to.
- Resource
Preset stringId - The Yandex Database cluster preset.
- Scale
Policies []GetYdb Database Dedicated Scale Policy - Scaling policy of the Yandex Database cluster. The structure is documented below.
- Status string
- Status of the Yandex Database cluster.
- Storage
Configs []GetYdb Database Dedicated Storage Config - A list of storage configuration options of the Yandex Database cluster. The structure is documented below.
- Subnet
Ids []string - List of subnet IDs the Yandex Database cluster is attached to.
- Tls
Enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- Ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- Database
Id string - Folder
Id string - Name string
- assign
Public BooleanIps - Whether public IP addresses are assigned to the Yandex Database cluster.
- created
At String - The Yandex Database cluster creation timestamp.
- database
Path String - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description String
- A description of the Yandex Database cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- A set of key/value label pairs assigned to the Yandex Database cluster.
- location
Id String - Location ID of the Yandex Database cluster.
- locations
List<Get
Ydb Database Dedicated Location> - Location of the Yandex Database cluster. The structure is documented below.
- network
Id String - ID of the network the Yandex Database cluster is attached to.
- resource
Preset StringId - The Yandex Database cluster preset.
- scale
Policies List<GetYdb Database Dedicated Scale Policy> - Scaling policy of the Yandex Database cluster. The structure is documented below.
- status String
- Status of the Yandex Database cluster.
- storage
Configs List<GetYdb Database Dedicated Storage Config> - A list of storage configuration options of the Yandex Database cluster. The structure is documented below.
- subnet
Ids List<String> - List of subnet IDs the Yandex Database cluster is attached to.
- tls
Enabled Boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api StringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full StringEndpoint - Full endpoint of the Yandex Database cluster.
- database
Id String - folder
Id String - name String
- assign
Public booleanIps - Whether public IP addresses are assigned to the Yandex Database cluster.
- created
At string - The Yandex Database cluster creation timestamp.
- database
Path string - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description string
- A description of the Yandex Database cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- A set of key/value label pairs assigned to the Yandex Database cluster.
- location
Id string - Location ID of the Yandex Database cluster.
- locations
Get
Ydb Database Dedicated Location[] - Location of the Yandex Database cluster. The structure is documented below.
- network
Id string - ID of the network the Yandex Database cluster is attached to.
- resource
Preset stringId - The Yandex Database cluster preset.
- scale
Policies GetYdb Database Dedicated Scale Policy[] - Scaling policy of the Yandex Database cluster. The structure is documented below.
- status string
- Status of the Yandex Database cluster.
- storage
Configs GetYdb Database Dedicated Storage Config[] - A list of storage configuration options of the Yandex Database cluster. The structure is documented below.
- subnet
Ids string[] - List of subnet IDs the Yandex Database cluster is attached to.
- tls
Enabled boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api stringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full stringEndpoint - Full endpoint of the Yandex Database cluster.
- database
Id string - folder
Id string - name string
- assign_
public_ boolips - Whether public IP addresses are assigned to the Yandex Database cluster.
- created_
at str - The Yandex Database cluster creation timestamp.
- database_
path str - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description str
- A description of the Yandex Database cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- A set of key/value label pairs assigned to the Yandex Database cluster.
- location_
id str - Location ID of the Yandex Database cluster.
- locations
Sequence[Get
Ydb Database Dedicated Location] - Location of the Yandex Database cluster. The structure is documented below.
- network_
id str - ID of the network the Yandex Database cluster is attached to.
- resource_
preset_ strid - The Yandex Database cluster preset.
- scale_
policies Sequence[GetYdb Database Dedicated Scale Policy] - Scaling policy of the Yandex Database cluster. The structure is documented below.
- status str
- Status of the Yandex Database cluster.
- storage_
configs Sequence[GetYdb Database Dedicated Storage Config] - A list of storage configuration options of the Yandex Database cluster. The structure is documented below.
- subnet_
ids Sequence[str] - List of subnet IDs the Yandex Database cluster is attached to.
- tls_
enabled bool - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb_
api_ strendpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb_
full_ strendpoint - Full endpoint of the Yandex Database cluster.
- database_
id str - folder_
id str - name str
- assign
Public BooleanIps - Whether public IP addresses are assigned to the Yandex Database cluster.
- created
At String - The Yandex Database cluster creation timestamp.
- database
Path String - Full database path of the Yandex Database cluster. Useful for SDK configuration.
- description String
- A description of the Yandex Database cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- A set of key/value label pairs assigned to the Yandex Database cluster.
- location
Id String - Location ID of the Yandex Database cluster.
- locations List<Property Map>
- Location of the Yandex Database cluster. The structure is documented below.
- network
Id String - ID of the network the Yandex Database cluster is attached to.
- resource
Preset StringId - The Yandex Database cluster preset.
- scale
Policies List<Property Map> - Scaling policy of the Yandex Database cluster. The structure is documented below.
- status String
- Status of the Yandex Database cluster.
- storage
Configs List<Property Map> - A list of storage configuration options of the Yandex Database cluster. The structure is documented below.
- subnet
Ids List<String> - List of subnet IDs the Yandex Database cluster is attached to.
- tls
Enabled Boolean - Whether TLS is enabled for the Yandex Database cluster. Useful for SDK configuration.
- ydb
Api StringEndpoint - API endpoint of the Yandex Database cluster. Useful for SDK configuration.
- ydb
Full StringEndpoint - Full endpoint of the Yandex Database cluster.
- database
Id String - folder
Id String - name String
Supporting Types
GetYdbDatabaseDedicatedLocation
- Regions
List<Get
Ydb Database Dedicated Location Region> - Region of the Yandex Database cluster. The structure is documented below.
- Zones
List<Get
Ydb Database Dedicated Location Zone>
- Regions
[]Get
Ydb Database Dedicated Location Region - Region of the Yandex Database cluster. The structure is documented below.
- Zones
[]Get
Ydb Database Dedicated Location Zone
- regions
List<Get
Ydb Database Dedicated Location Region> - Region of the Yandex Database cluster. The structure is documented below.
- zones
List<Get
Ydb Database Dedicated Location Zone>
- regions
Get
Ydb Database Dedicated Location Region[] - Region of the Yandex Database cluster. The structure is documented below.
- zones
Get
Ydb Database Dedicated Location Zone[]
- regions
Sequence[Get
Ydb Database Dedicated Location Region] - Region of the Yandex Database cluster. The structure is documented below.
- zones
Sequence[Get
Ydb Database Dedicated Location Zone]
- regions List<Property Map>
- Region of the Yandex Database cluster. The structure is documented below.
- zones List<Property Map>
GetYdbDatabaseDedicatedLocationRegion
- Id string
- Region ID of the Yandex Database cluster.
- Id string
- Region ID of the Yandex Database cluster.
- id String
- Region ID of the Yandex Database cluster.
- id string
- Region ID of the Yandex Database cluster.
- id str
- Region ID of the Yandex Database cluster.
- id String
- Region ID of the Yandex Database cluster.
GetYdbDatabaseDedicatedLocationZone
- Id string
- Region ID of the Yandex Database cluster.
- Id string
- Region ID of the Yandex Database cluster.
- id String
- Region ID of the Yandex Database cluster.
- id string
- Region ID of the Yandex Database cluster.
- id str
- Region ID of the Yandex Database cluster.
- id String
- Region ID of the Yandex Database cluster.
GetYdbDatabaseDedicatedScalePolicy
- Fixed
Scales List<GetYdb Database Dedicated Scale Policy Fixed Scale> - Fixed scaling policy of the Yandex Database cluster. The structure is documented below.
- Fixed
Scales []GetYdb Database Dedicated Scale Policy Fixed Scale - Fixed scaling policy of the Yandex Database cluster. The structure is documented below.
- fixed
Scales List<GetYdb Database Dedicated Scale Policy Fixed Scale> - Fixed scaling policy of the Yandex Database cluster. The structure is documented below.
- fixed
Scales GetYdb Database Dedicated Scale Policy Fixed Scale[] - Fixed scaling policy of the Yandex Database cluster. The structure is documented below.
- fixed_
scales Sequence[GetYdb Database Dedicated Scale Policy Fixed Scale] - Fixed scaling policy of the Yandex Database cluster. The structure is documented below.
- fixed
Scales List<Property Map> - Fixed scaling policy of the Yandex Database cluster. The structure is documented below.
GetYdbDatabaseDedicatedScalePolicyFixedScale
- Size int
- Number of instances in the Yandex Database cluster.
- Size int
- Number of instances in the Yandex Database cluster.
- size Integer
- Number of instances in the Yandex Database cluster.
- size number
- Number of instances in the Yandex Database cluster.
- size int
- Number of instances in the Yandex Database cluster.
- size Number
- Number of instances in the Yandex Database cluster.
GetYdbDatabaseDedicatedStorageConfig
- Group
Count int - Amount of storage groups of selected type in the Yandex Database cluster.
- Storage
Type stringId - Storage type ID of the Yandex Database cluster.
- Group
Count int - Amount of storage groups of selected type in the Yandex Database cluster.
- Storage
Type stringId - Storage type ID of the Yandex Database cluster.
- group
Count Integer - Amount of storage groups of selected type in the Yandex Database cluster.
- storage
Type StringId - Storage type ID of the Yandex Database cluster.
- group
Count number - Amount of storage groups of selected type in the Yandex Database cluster.
- storage
Type stringId - Storage type ID of the Yandex Database cluster.
- group_
count int - Amount of storage groups of selected type in the Yandex Database cluster.
- storage_
type_ strid - Storage type ID of the Yandex Database cluster.
- group
Count Number - Amount of storage groups of selected type in the Yandex Database cluster.
- storage
Type StringId - Storage type ID of the Yandex Database cluster.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandexTerraform Provider.
Viewing docs for Yandex v0.13.0
published on Tuesday, Feb 22, 2022 by Pulumi
published on Tuesday, Feb 22, 2022 by Pulumi
