Alibaba Cloud v3.87.0 published on Saturday, Oct 18, 2025 by Pulumi
alicloud.sddp.getDataLimits
This data source provides the Sddp Data Limits of the current Alibaba Cloud user.
NOTE: Available since v1.159.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.sddp.getDataLimits({});
export const sddpDataLimitId1 = ids.then(ids => ids.limits?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.sddp.get_data_limits()
pulumi.export("sddpDataLimitId1", ids.limits[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/sddp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ids, err := sddp.GetDataLimits(ctx, &sddp.GetDataLimitsArgs{}, nil)
if err != nil {
return err
}
ctx.Export("sddpDataLimitId1", ids.Limits[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Sddp.GetDataLimits.Invoke();
return new Dictionary<string, object?>
{
["sddpDataLimitId1"] = ids.Apply(getDataLimitsResult => getDataLimitsResult.Limits[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.sddp.SddpFunctions;
import com.pulumi.alicloud.sddp.inputs.GetDataLimitsArgs;
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 ids = SddpFunctions.getDataLimits(GetDataLimitsArgs.builder()
.build());
ctx.export("sddpDataLimitId1", ids.limits()[0].id());
}
}
variables:
ids:
fn::invoke:
function: alicloud:sddp:getDataLimits
arguments: {}
outputs:
sddpDataLimitId1: ${ids.limits[0].id}
Using getDataLimits
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 getDataLimits(args: GetDataLimitsArgs, opts?: InvokeOptions): Promise<GetDataLimitsResult>
function getDataLimitsOutput(args: GetDataLimitsOutputArgs, opts?: InvokeOptions): Output<GetDataLimitsResult>def get_data_limits(ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
parent_id: Optional[str] = None,
resource_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDataLimitsResult
def get_data_limits_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
parent_id: Optional[pulumi.Input[str]] = None,
resource_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataLimitsResult]func GetDataLimits(ctx *Context, args *GetDataLimitsArgs, opts ...InvokeOption) (*GetDataLimitsResult, error)
func GetDataLimitsOutput(ctx *Context, args *GetDataLimitsOutputArgs, opts ...InvokeOption) GetDataLimitsResultOutput> Note: This function is named GetDataLimits in the Go SDK.
public static class GetDataLimits
{
public static Task<GetDataLimitsResult> InvokeAsync(GetDataLimitsArgs args, InvokeOptions? opts = null)
public static Output<GetDataLimitsResult> Invoke(GetDataLimitsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataLimitsResult> getDataLimits(GetDataLimitsArgs args, InvokeOptions options)
public static Output<GetDataLimitsResult> getDataLimits(GetDataLimitsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:sddp/getDataLimits:getDataLimits
arguments:
# arguments dictionaryThe following arguments are supported:
- Ids List<string>
- A list of Data Limit IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Parent
Id string - The parent asset ID of the data asset.
- Resource
Type string - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS.
- Ids []string
- A list of Data Limit IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Parent
Id string - The parent asset ID of the data asset.
- Resource
Type string - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS.
- ids List<String>
- A list of Data Limit IDs.
- output
File String - File name where to save data source results (after running
pulumi preview). - parent
Id String - The parent asset ID of the data asset.
- resource
Type String - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS.
- ids string[]
- A list of Data Limit IDs.
- output
File string - File name where to save data source results (after running
pulumi preview). - parent
Id string - The parent asset ID of the data asset.
- resource
Type string - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS.
- ids Sequence[str]
- A list of Data Limit IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview). - parent_
id str - The parent asset ID of the data asset.
- resource_
type str - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS.
- ids List<String>
- A list of Data Limit IDs.
- output
File String - File name where to save data source results (after running
pulumi preview). - parent
Id String - The parent asset ID of the data asset.
- resource
Type String - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS.
getDataLimits Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Limits
List<Pulumi.
Ali Cloud. Sddp. Outputs. Get Data Limits Limit> - A list of Sddp Data Limits. Each element contains the following attributes:
- Output
File string - Parent
Id string - The ID of the data asset.
- Resource
Type string - The type of the service to which the data asset belongs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Limits
[]Get
Data Limits Limit - A list of Sddp Data Limits. Each element contains the following attributes:
- Output
File string - Parent
Id string - The ID of the data asset.
- Resource
Type string - The type of the service to which the data asset belongs.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- limits
List<Get
Data Limits Limit> - A list of Sddp Data Limits. Each element contains the following attributes:
- output
File String - parent
Id String - The ID of the data asset.
- resource
Type String - The type of the service to which the data asset belongs.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- limits
Get
Data Limits Limit[] - A list of Sddp Data Limits. Each element contains the following attributes:
- output
File string - parent
Id string - The ID of the data asset.
- resource
Type string - The type of the service to which the data asset belongs.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- limits
Sequence[Get
Data Limits Limit] - A list of Sddp Data Limits. Each element contains the following attributes:
- output_
file str - parent_
id str - The ID of the data asset.
- resource_
type str - The type of the service to which the data asset belongs.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- limits List<Property Map>
- A list of Sddp Data Limits. Each element contains the following attributes:
- output
File String - parent
Id String - The ID of the data asset.
- resource
Type String - The type of the service to which the data asset belongs.
Supporting Types
GetDataLimitsLimit
- Audit
Status int - Whether to enable the log auditing feature.
- Check
Status int - The status of the connectivity test between the data asset and SDDP.
- Data
Limit stringId - The first ID of the resource.
- Engine
Type string - The type of the database.
- Id string
- The ID of the Data Limit.
- Local
Name string - The name of the service to which the data asset belongs.
- Log
Store intDay - The retention period of raw logs after you enable the log auditing feature.
- Parent
Id string - The parent asset ID of the data asset.
- Port int
- The port that is used to connect to the database.
- Resource
Type string - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS. - User
Name string - The name of the user who owns the data asset.
- Audit
Status int - Whether to enable the log auditing feature.
- Check
Status int - The status of the connectivity test between the data asset and SDDP.
- Data
Limit stringId - The first ID of the resource.
- Engine
Type string - The type of the database.
- Id string
- The ID of the Data Limit.
- Local
Name string - The name of the service to which the data asset belongs.
- Log
Store intDay - The retention period of raw logs after you enable the log auditing feature.
- Parent
Id string - The parent asset ID of the data asset.
- Port int
- The port that is used to connect to the database.
- Resource
Type string - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS. - User
Name string - The name of the user who owns the data asset.
- audit
Status Integer - Whether to enable the log auditing feature.
- check
Status Integer - The status of the connectivity test between the data asset and SDDP.
- data
Limit StringId - The first ID of the resource.
- engine
Type String - The type of the database.
- id String
- The ID of the Data Limit.
- local
Name String - The name of the service to which the data asset belongs.
- log
Store IntegerDay - The retention period of raw logs after you enable the log auditing feature.
- parent
Id String - The parent asset ID of the data asset.
- port Integer
- The port that is used to connect to the database.
- resource
Type String - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS. - user
Name String - The name of the user who owns the data asset.
- audit
Status number - Whether to enable the log auditing feature.
- check
Status number - The status of the connectivity test between the data asset and SDDP.
- data
Limit stringId - The first ID of the resource.
- engine
Type string - The type of the database.
- id string
- The ID of the Data Limit.
- local
Name string - The name of the service to which the data asset belongs.
- log
Store numberDay - The retention period of raw logs after you enable the log auditing feature.
- parent
Id string - The parent asset ID of the data asset.
- port number
- The port that is used to connect to the database.
- resource
Type string - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS. - user
Name string - The name of the user who owns the data asset.
- audit_
status int - Whether to enable the log auditing feature.
- check_
status int - The status of the connectivity test between the data asset and SDDP.
- data_
limit_ strid - The first ID of the resource.
- engine_
type str - The type of the database.
- id str
- The ID of the Data Limit.
- local_
name str - The name of the service to which the data asset belongs.
- log_
store_ intday - The retention period of raw logs after you enable the log auditing feature.
- parent_
id str - The parent asset ID of the data asset.
- port int
- The port that is used to connect to the database.
- resource_
type str - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS. - user_
name str - The name of the user who owns the data asset.
- audit
Status Number - Whether to enable the log auditing feature.
- check
Status Number - The status of the connectivity test between the data asset and SDDP.
- data
Limit StringId - The first ID of the resource.
- engine
Type String - The type of the database.
- id String
- The ID of the Data Limit.
- local
Name String - The name of the service to which the data asset belongs.
- log
Store NumberDay - The retention period of raw logs after you enable the log auditing feature.
- parent
Id String - The parent asset ID of the data asset.
- port Number
- The port that is used to connect to the database.
- resource
Type String - The type of the service to which the data asset belongs. Valid values:
MaxCompute,OSS,RDS. - user
Name String - The name of the user who owns the data asset.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
