Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi
alicloud.kms.getInstances
Explore with Pulumi AI
This data source provides Kms Instance available to the user.What is Instance
NOTE: Available since v1.242.0.
Using getInstances
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 getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>
function getInstancesOutput(args: GetInstancesOutputArgs, opts?: InvokeOptions): Output<GetInstancesResult>def get_instances(ids: Optional[Sequence[str]] = None,
                  output_file: Optional[str] = None,
                  page_number: Optional[int] = None,
                  page_size: Optional[int] = None,
                  opts: Optional[InvokeOptions] = None) -> GetInstancesResult
def get_instances_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                  output_file: Optional[pulumi.Input[str]] = None,
                  page_number: Optional[pulumi.Input[int]] = None,
                  page_size: Optional[pulumi.Input[int]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetInstancesResult]func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
func GetInstancesOutput(ctx *Context, args *GetInstancesOutputArgs, opts ...InvokeOption) GetInstancesResultOutput> Note: This function is named GetInstances in the Go SDK.
public static class GetInstances 
{
    public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetInstancesResult> Invoke(GetInstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
public static Output<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:kms/getInstances:getInstances
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Ids List<string>
 - A list of Instance IDs.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). - Page
Number int - Page
Size int 
- Ids []string
 - A list of Instance IDs.
 - Output
File string - File name where to save data source results (after running 
pulumi preview). - Page
Number int - Page
Size int 
- ids List<String>
 - A list of Instance IDs.
 - output
File String - File name where to save data source results (after running 
pulumi preview). - page
Number Integer - page
Size Integer 
- ids string[]
 - A list of Instance IDs.
 - output
File string - File name where to save data source results (after running 
pulumi preview). - page
Number number - page
Size number 
- ids Sequence[str]
 - A list of Instance IDs.
 - output_
file str - File name where to save data source results (after running 
pulumi preview). - page_
number int - page_
size int 
- ids List<String>
 - A list of Instance IDs.
 - output
File String - File name where to save data source results (after running 
pulumi preview). - page
Number Number - page
Size Number 
getInstances Result
The following output properties are available:
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids List<string>
 - A list of Instance IDs.
 - Instances
List<Pulumi.
Ali Cloud. Kms. Outputs. Get Instances Instance>  - A list of Instance Entries. Each element contains the following attributes:
 - Output
File string - Page
Number int - Page
Size int 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Ids []string
 - A list of Instance IDs.
 - Instances
[]Get
Instances Instance  - A list of Instance Entries. Each element contains the following attributes:
 - Output
File string - Page
Number int - Page
Size int 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - A list of Instance IDs.
 - instances
List<Get
Instances Instance>  - A list of Instance Entries. Each element contains the following attributes:
 - output
File String - page
Number Integer - page
Size Integer 
- id string
 - The provider-assigned unique ID for this managed resource.
 - ids string[]
 - A list of Instance IDs.
 - instances
Get
Instances Instance[]  - A list of Instance Entries. Each element contains the following attributes:
 - output
File string - page
Number number - page
Size number 
- id str
 - The provider-assigned unique ID for this managed resource.
 - ids Sequence[str]
 - A list of Instance IDs.
 - instances
Sequence[Get
Instances Instance]  - A list of Instance Entries. Each element contains the following attributes:
 - output_
file str - page_
number int - page_
size int 
- id String
 - The provider-assigned unique ID for this managed resource.
 - ids List<String>
 - A list of Instance IDs.
 - instances List<Property Map>
 - A list of Instance Entries. Each element contains the following attributes:
 - output
File String - page
Number Number - page
Size Number 
Supporting Types
GetInstancesInstance  
- Instance
Id string - The first ID of the resource
 
- Instance
Id string - The first ID of the resource
 
- instance
Id String - The first ID of the resource
 
- instance
Id string - The first ID of the resource
 
- instance_
id str - The first ID of the resource
 
- instance
Id String - The first ID of the resource
 
Package Details
- Repository
 - Alibaba Cloud pulumi/pulumi-alicloud
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
alicloudTerraform Provider.