diff --git a/sdk/dotnet/GetDatabaseRoles.cs b/sdk/dotnet/GetDatabaseRoles.cs
index dd621356..dbc7e7db 100644
--- a/sdk/dotnet/GetDatabaseRoles.cs
+++ b/sdk/dotnet/GetDatabaseRoles.cs
@@ -13,12 +13,16 @@ public static class GetDatabaseRoles
{
///
/// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
+ ///
+ /// Datasource used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in show_output collection.
///
public static Task InvokeAsync(GetDatabaseRolesArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("snowflake:index/getDatabaseRoles:getDatabaseRoles", args ?? new GetDatabaseRolesArgs(), options.WithDefaults());
///
/// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
+ ///
+ /// Datasource used to get details of filtered database roles. Filtering is aligned with the current possibilities for [SHOW DATABASE ROLES](https://docs.snowflake.com/en/sql-reference/sql/show-database-roles) query (`like` and `limit` are supported). The results of SHOW is encapsulated in show_output collection.
///
public static Output Invoke(GetDatabaseRolesInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("snowflake:index/getDatabaseRoles:getDatabaseRoles", args ?? new GetDatabaseRolesInvokeArgs(), options.WithDefaults());
diff --git a/sdk/dotnet/GetMaskingPolicies.cs b/sdk/dotnet/GetMaskingPolicies.cs
index e85651bc..2e52016c 100644
--- a/sdk/dotnet/GetMaskingPolicies.cs
+++ b/sdk/dotnet/GetMaskingPolicies.cs
@@ -12,49 +12,19 @@ namespace Pulumi.Snowflake
public static class GetMaskingPolicies
{
///
- /// ## Example Usage
+ /// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Snowflake = Pulumi.Snowflake;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var current = Snowflake.GetMaskingPolicies.Invoke(new()
- /// {
- /// Database = "MYDB",
- /// Schema = "MYSCHEMA",
- /// });
- ///
- /// });
- /// ```
+ /// Datasource used to get details of filtered masking policies. Filtering is aligned with the current possibilities for [SHOW MASKING POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-masking-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `masking_policies`.
///
- public static Task InvokeAsync(GetMaskingPoliciesArgs args, InvokeOptions? options = null)
+ public static Task InvokeAsync(GetMaskingPoliciesArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("snowflake:index/getMaskingPolicies:getMaskingPolicies", args ?? new GetMaskingPoliciesArgs(), options.WithDefaults());
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Snowflake = Pulumi.Snowflake;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var current = Snowflake.GetMaskingPolicies.Invoke(new()
- /// {
- /// Database = "MYDB",
- /// Schema = "MYSCHEMA",
- /// });
+ /// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
///
- /// });
- /// ```
+ /// Datasource used to get details of filtered masking policies. Filtering is aligned with the current possibilities for [SHOW MASKING POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-masking-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `masking_policies`.
///
- public static Output Invoke(GetMaskingPoliciesInvokeArgs args, InvokeOptions? options = null)
+ public static Output Invoke(GetMaskingPoliciesInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("snowflake:index/getMaskingPolicies:getMaskingPolicies", args ?? new GetMaskingPoliciesInvokeArgs(), options.WithDefaults());
}
@@ -62,16 +32,28 @@ public static Output Invoke(GetMaskingPoliciesInvokeAr
public sealed class GetMaskingPoliciesArgs : global::Pulumi.InvokeArgs
{
///
- /// The database from which to return the schemas from.
+ /// IN clause to filter the list of masking policies
+ ///
+ [Input("in")]
+ public Inputs.GetMaskingPoliciesInArgs? In { get; set; }
+
+ ///
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
///
- [Input("database", required: true)]
- public string Database { get; set; } = null!;
+ [Input("like")]
+ public string? Like { get; set; }
///
- /// The schema from which to return the maskingPolicies from.
+ /// Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
///
- [Input("schema", required: true)]
- public string Schema { get; set; } = null!;
+ [Input("limit")]
+ public Inputs.GetMaskingPoliciesLimitArgs? Limit { get; set; }
+
+ ///
+ /// Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
+ ///
+ [Input("withDescribe")]
+ public bool? WithDescribe { get; set; }
public GetMaskingPoliciesArgs()
{
@@ -82,16 +64,28 @@ public GetMaskingPoliciesArgs()
public sealed class GetMaskingPoliciesInvokeArgs : global::Pulumi.InvokeArgs
{
///
- /// The database from which to return the schemas from.
+ /// IN clause to filter the list of masking policies
+ ///
+ [Input("in")]
+ public Input? In { get; set; }
+
+ ///
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
+ ///
+ [Input("like")]
+ public Input? Like { get; set; }
+
+ ///
+ /// Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
///
- [Input("database", required: true)]
- public Input Database { get; set; } = null!;
+ [Input("limit")]
+ public Input? Limit { get; set; }
///
- /// The schema from which to return the maskingPolicies from.
+ /// Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
///
- [Input("schema", required: true)]
- public Input Schema { get; set; } = null!;
+ [Input("withDescribe")]
+ public Input? WithDescribe { get; set; }
public GetMaskingPoliciesInvokeArgs()
{
@@ -103,37 +97,51 @@ public GetMaskingPoliciesInvokeArgs()
[OutputType]
public sealed class GetMaskingPoliciesResult
{
- ///
- /// The database from which to return the schemas from.
- ///
- public readonly string Database;
///
/// The provider-assigned unique ID for this managed resource.
///
public readonly string Id;
///
- /// The maskingPolicies in the schema
+ /// IN clause to filter the list of masking policies
+ ///
+ public readonly Outputs.GetMaskingPoliciesInResult? In;
+ ///
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
+ ///
+ public readonly string? Like;
+ ///
+ /// Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
+ ///
+ public readonly Outputs.GetMaskingPoliciesLimitResult? Limit;
+ ///
+ /// Holds the aggregated output of all views details queries.
///
public readonly ImmutableArray MaskingPolicies;
///
- /// The schema from which to return the maskingPolicies from.
+ /// Runs DESC MASKING POLICY for each masking policy returned by SHOW MASKING POLICIES. The output of describe is saved to the description field. By default this value is set to true.
///
- public readonly string Schema;
+ public readonly bool? WithDescribe;
[OutputConstructor]
private GetMaskingPoliciesResult(
- string database,
-
string id,
+ Outputs.GetMaskingPoliciesInResult? @in,
+
+ string? like,
+
+ Outputs.GetMaskingPoliciesLimitResult? limit,
+
ImmutableArray maskingPolicies,
- string schema)
+ bool? withDescribe)
{
- Database = database;
Id = id;
+ In = @in;
+ Like = like;
+ Limit = limit;
MaskingPolicies = maskingPolicies;
- Schema = schema;
+ WithDescribe = withDescribe;
}
}
}
diff --git a/sdk/dotnet/GetResourceMonitors.cs b/sdk/dotnet/GetResourceMonitors.cs
index d3f1446a..bb228a63 100644
--- a/sdk/dotnet/GetResourceMonitors.cs
+++ b/sdk/dotnet/GetResourceMonitors.cs
@@ -12,42 +12,49 @@ namespace Pulumi.Snowflake
public static class GetResourceMonitors
{
///
- /// ## Example Usage
+ /// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Snowflake = Pulumi.Snowflake;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var current = Snowflake.GetResourceMonitors.Invoke();
- ///
- /// });
- /// ```
+ /// Datasource used to get details of filtered resource monitors. Filtering is aligned with the current possibilities for [SHOW RESOURCE MONITORS](https://docs.snowflake.com/en/sql-reference/sql/show-resource-monitors) query (`like` is supported). The results of SHOW is encapsulated in show_output collection.
///
- public static Task InvokeAsync(InvokeOptions? options = null)
- => global::Pulumi.Deployment.Instance.InvokeAsync("snowflake:index/getResourceMonitors:getResourceMonitors", InvokeArgs.Empty, options.WithDefaults());
+ public static Task InvokeAsync(GetResourceMonitorsArgs? args = null, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.InvokeAsync("snowflake:index/getResourceMonitors:getResourceMonitors", args ?? new GetResourceMonitorsArgs(), options.WithDefaults());
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Snowflake = Pulumi.Snowflake;
+ /// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var current = Snowflake.GetResourceMonitors.Invoke();
- ///
- /// });
- /// ```
+ /// Datasource used to get details of filtered resource monitors. Filtering is aligned with the current possibilities for [SHOW RESOURCE MONITORS](https://docs.snowflake.com/en/sql-reference/sql/show-resource-monitors) query (`like` is supported). The results of SHOW is encapsulated in show_output collection.
+ ///
+ public static Output Invoke(GetResourceMonitorsInvokeArgs? args = null, InvokeOptions? options = null)
+ => global::Pulumi.Deployment.Instance.Invoke("snowflake:index/getResourceMonitors:getResourceMonitors", args ?? new GetResourceMonitorsInvokeArgs(), options.WithDefaults());
+ }
+
+
+ public sealed class GetResourceMonitorsArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
+ ///
+ [Input("like")]
+ public string? Like { get; set; }
+
+ public GetResourceMonitorsArgs()
+ {
+ }
+ public static new GetResourceMonitorsArgs Empty => new GetResourceMonitorsArgs();
+ }
+
+ public sealed class GetResourceMonitorsInvokeArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
///
- public static Output Invoke(InvokeOptions? options = null)
- => global::Pulumi.Deployment.Instance.Invoke("snowflake:index/getResourceMonitors:getResourceMonitors", InvokeArgs.Empty, options.WithDefaults());
+ [Input("like")]
+ public Input? Like { get; set; }
+
+ public GetResourceMonitorsInvokeArgs()
+ {
+ }
+ public static new GetResourceMonitorsInvokeArgs Empty => new GetResourceMonitorsInvokeArgs();
}
@@ -59,7 +66,11 @@ public sealed class GetResourceMonitorsResult
///
public readonly string Id;
///
- /// The resource monitors in the database
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
+ ///
+ public readonly string? Like;
+ ///
+ /// Holds the aggregated output of all resource monitor details queries.
///
public readonly ImmutableArray ResourceMonitors;
@@ -67,9 +78,12 @@ public sealed class GetResourceMonitorsResult
private GetResourceMonitorsResult(
string id,
+ string? like,
+
ImmutableArray resourceMonitors)
{
Id = id;
+ Like = like;
ResourceMonitors = resourceMonitors;
}
}
diff --git a/sdk/dotnet/GetRowAccessPolicies.cs b/sdk/dotnet/GetRowAccessPolicies.cs
index 821af8c9..e099f3b0 100644
--- a/sdk/dotnet/GetRowAccessPolicies.cs
+++ b/sdk/dotnet/GetRowAccessPolicies.cs
@@ -12,49 +12,19 @@ namespace Pulumi.Snowflake
public static class GetRowAccessPolicies
{
///
- /// ## Example Usage
+ /// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Snowflake = Pulumi.Snowflake;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var current = Snowflake.GetRowAccessPolicies.Invoke(new()
- /// {
- /// Database = "MYDB",
- /// Schema = "MYSCHEMA",
- /// });
- ///
- /// });
- /// ```
+ /// Datasource used to get details of filtered row access policies. Filtering is aligned with the current possibilities for [SHOW ROW ACCESS POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-row-access-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `row_access_policies`.
///
- public static Task InvokeAsync(GetRowAccessPoliciesArgs args, InvokeOptions? options = null)
+ public static Task InvokeAsync(GetRowAccessPoliciesArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("snowflake:index/getRowAccessPolicies:getRowAccessPolicies", args ?? new GetRowAccessPoliciesArgs(), options.WithDefaults());
///
- /// ## Example Usage
- ///
- /// ```csharp
- /// using System.Collections.Generic;
- /// using System.Linq;
- /// using Pulumi;
- /// using Snowflake = Pulumi.Snowflake;
- ///
- /// return await Deployment.RunAsync(() =>
- /// {
- /// var current = Snowflake.GetRowAccessPolicies.Invoke(new()
- /// {
- /// Database = "MYDB",
- /// Schema = "MYSCHEMA",
- /// });
+ /// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
///
- /// });
- /// ```
+ /// Datasource used to get details of filtered row access policies. Filtering is aligned with the current possibilities for [SHOW ROW ACCESS POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-row-access-policies) query. The results of SHOW and DESCRIBE are encapsulated in one output collection `row_access_policies`.
///
- public static Output Invoke(GetRowAccessPoliciesInvokeArgs args, InvokeOptions? options = null)
+ public static Output Invoke(GetRowAccessPoliciesInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke("snowflake:index/getRowAccessPolicies:getRowAccessPolicies", args ?? new GetRowAccessPoliciesInvokeArgs(), options.WithDefaults());
}
@@ -62,16 +32,28 @@ public static Output Invoke(GetRowAccessPoliciesInvo
public sealed class GetRowAccessPoliciesArgs : global::Pulumi.InvokeArgs
{
///
- /// The database from which to return the schemas from.
+ /// IN clause to filter the list of row access policies
+ ///
+ [Input("in")]
+ public Inputs.GetRowAccessPoliciesInArgs? In { get; set; }
+
+ ///
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
///
- [Input("database", required: true)]
- public string Database { get; set; } = null!;
+ [Input("like")]
+ public string? Like { get; set; }
///
- /// The schema from which to return the row access policy from.
+ /// Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
///
- [Input("schema", required: true)]
- public string Schema { get; set; } = null!;
+ [Input("limit")]
+ public Inputs.GetRowAccessPoliciesLimitArgs? Limit { get; set; }
+
+ ///
+ /// Runs DESC ROW ACCESS POLICY for each row access policy returned by SHOW ROW ACCESS POLICIES. The output of describe is saved to the description field. By default this value is set to true.
+ ///
+ [Input("withDescribe")]
+ public bool? WithDescribe { get; set; }
public GetRowAccessPoliciesArgs()
{
@@ -82,16 +64,28 @@ public GetRowAccessPoliciesArgs()
public sealed class GetRowAccessPoliciesInvokeArgs : global::Pulumi.InvokeArgs
{
///
- /// The database from which to return the schemas from.
+ /// IN clause to filter the list of row access policies
+ ///
+ [Input("in")]
+ public Input? In { get; set; }
+
+ ///
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
+ ///
+ [Input("like")]
+ public Input? Like { get; set; }
+
+ ///
+ /// Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
///
- [Input("database", required: true)]
- public Input Database { get; set; } = null!;
+ [Input("limit")]
+ public Input? Limit { get; set; }
///
- /// The schema from which to return the row access policy from.
+ /// Runs DESC ROW ACCESS POLICY for each row access policy returned by SHOW ROW ACCESS POLICIES. The output of describe is saved to the description field. By default this value is set to true.
///
- [Input("schema", required: true)]
- public Input Schema { get; set; } = null!;
+ [Input("withDescribe")]
+ public Input? WithDescribe { get; set; }
public GetRowAccessPoliciesInvokeArgs()
{
@@ -103,37 +97,51 @@ public GetRowAccessPoliciesInvokeArgs()
[OutputType]
public sealed class GetRowAccessPoliciesResult
{
- ///
- /// The database from which to return the schemas from.
- ///
- public readonly string Database;
///
/// The provider-assigned unique ID for this managed resource.
///
public readonly string Id;
///
- /// The row access policy in the schema
+ /// IN clause to filter the list of row access policies
+ ///
+ public readonly Outputs.GetRowAccessPoliciesInResult? In;
+ ///
+ /// Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
+ ///
+ public readonly string? Like;
+ ///
+ /// Limits the number of rows returned. If the `limit.from` is set, then the limit wll start from the first element matched by the expression. The expression is only used to match with the first element, later on the elements are not matched by the prefix, but you can enforce a certain pattern with `starts_with` or `like`.
+ ///
+ public readonly Outputs.GetRowAccessPoliciesLimitResult? Limit;
+ ///
+ /// Holds the aggregated output of all views details queries.
///
public readonly ImmutableArray RowAccessPolicies;
///
- /// The schema from which to return the row access policy from.
+ /// Runs DESC ROW ACCESS POLICY for each row access policy returned by SHOW ROW ACCESS POLICIES. The output of describe is saved to the description field. By default this value is set to true.
///
- public readonly string Schema;
+ public readonly bool? WithDescribe;
[OutputConstructor]
private GetRowAccessPoliciesResult(
- string database,
-
string id,
+ Outputs.GetRowAccessPoliciesInResult? @in,
+
+ string? like,
+
+ Outputs.GetRowAccessPoliciesLimitResult? limit,
+
ImmutableArray rowAccessPolicies,
- string schema)
+ bool? withDescribe)
{
- Database = database;
Id = id;
+ In = @in;
+ Like = like;
+ Limit = limit;
RowAccessPolicies = rowAccessPolicies;
- Schema = schema;
+ WithDescribe = withDescribe;
}
}
}
diff --git a/sdk/dotnet/GetViews.cs b/sdk/dotnet/GetViews.cs
index 36aac12f..253c32fa 100644
--- a/sdk/dotnet/GetViews.cs
+++ b/sdk/dotnet/GetViews.cs
@@ -12,12 +12,16 @@ namespace Pulumi.Snowflake
public static class GetViews
{
///
+ /// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
+ ///
/// Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
///
public static Task InvokeAsync(GetViewsArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync("snowflake:index/getViews:getViews", args ?? new GetViewsArgs(), options.WithDefaults());
///
+ /// !> **V1 release candidate** This data source was reworked and is a release candidate for the V1. We do not expect significant changes in it before the V1. We will welcome any feedback and adjust the data source if needed. Any errors reported will be resolved with a higher priority. We encourage checking this data source out before the V1 release. Please follow the migration guide to use it.
+ ///
/// Datasource used to get details of filtered views. Filtering is aligned with the current possibilities for [SHOW VIEWS](https://docs.snowflake.com/en/sql-reference/sql/show-views) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `views`.
///
public static Output Invoke(GetViewsInvokeArgs? args = null, InvokeOptions? options = null)
diff --git a/sdk/dotnet/Inputs/GetMaskingPoliciesIn.cs b/sdk/dotnet/Inputs/GetMaskingPoliciesIn.cs
new file mode 100644
index 00000000..049160bb
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetMaskingPoliciesIn.cs
@@ -0,0 +1,50 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class GetMaskingPoliciesInArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// Returns records for the entire account.
+ ///
+ [Input("account")]
+ public bool? Account { get; set; }
+
+ ///
+ /// Returns records for the specified application.
+ ///
+ [Input("application")]
+ public string? Application { get; set; }
+
+ ///
+ /// Returns records for the specified application package.
+ ///
+ [Input("applicationPackage")]
+ public string? ApplicationPackage { get; set; }
+
+ ///
+ /// Returns records for the current database in use or for a specified database.
+ ///
+ [Input("database")]
+ public string? Database { get; set; }
+
+ ///
+ /// Returns records for the current schema in use or a specified schema. Use fully qualified name.
+ ///
+ [Input("schema")]
+ public string? Schema { get; set; }
+
+ public GetMaskingPoliciesInArgs()
+ {
+ }
+ public static new GetMaskingPoliciesInArgs Empty => new GetMaskingPoliciesInArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetMaskingPoliciesInArgs.cs b/sdk/dotnet/Inputs/GetMaskingPoliciesInArgs.cs
new file mode 100644
index 00000000..ed89d132
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetMaskingPoliciesInArgs.cs
@@ -0,0 +1,50 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class GetMaskingPoliciesInInputArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Returns records for the entire account.
+ ///
+ [Input("account")]
+ public Input? Account { get; set; }
+
+ ///
+ /// Returns records for the specified application.
+ ///
+ [Input("application")]
+ public Input? Application { get; set; }
+
+ ///
+ /// Returns records for the specified application package.
+ ///
+ [Input("applicationPackage")]
+ public Input? ApplicationPackage { get; set; }
+
+ ///
+ /// Returns records for the current database in use or for a specified database.
+ ///
+ [Input("database")]
+ public Input? Database { get; set; }
+
+ ///
+ /// Returns records for the current schema in use or a specified schema. Use fully qualified name.
+ ///
+ [Input("schema")]
+ public Input? Schema { get; set; }
+
+ public GetMaskingPoliciesInInputArgs()
+ {
+ }
+ public static new GetMaskingPoliciesInInputArgs Empty => new GetMaskingPoliciesInInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetMaskingPoliciesLimit.cs b/sdk/dotnet/Inputs/GetMaskingPoliciesLimit.cs
new file mode 100644
index 00000000..07c725ee
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetMaskingPoliciesLimit.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class GetMaskingPoliciesLimitArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
+ ///
+ [Input("from")]
+ public string? From { get; set; }
+
+ ///
+ /// The maximum number of rows to return.
+ ///
+ [Input("rows", required: true)]
+ public int Rows { get; set; }
+
+ public GetMaskingPoliciesLimitArgs()
+ {
+ }
+ public static new GetMaskingPoliciesLimitArgs Empty => new GetMaskingPoliciesLimitArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetMaskingPoliciesLimitArgs.cs b/sdk/dotnet/Inputs/GetMaskingPoliciesLimitArgs.cs
new file mode 100644
index 00000000..d74cf4bb
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetMaskingPoliciesLimitArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class GetMaskingPoliciesLimitInputArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
+ ///
+ [Input("from")]
+ public Input? From { get; set; }
+
+ ///
+ /// The maximum number of rows to return.
+ ///
+ [Input("rows", required: true)]
+ public Input Rows { get; set; } = null!;
+
+ public GetMaskingPoliciesLimitInputArgs()
+ {
+ }
+ public static new GetMaskingPoliciesLimitInputArgs Empty => new GetMaskingPoliciesLimitInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetRowAccessPoliciesIn.cs b/sdk/dotnet/Inputs/GetRowAccessPoliciesIn.cs
new file mode 100644
index 00000000..579fb4e4
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetRowAccessPoliciesIn.cs
@@ -0,0 +1,50 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class GetRowAccessPoliciesInArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// Returns records for the entire account.
+ ///
+ [Input("account")]
+ public bool? Account { get; set; }
+
+ ///
+ /// Returns records for the specified application.
+ ///
+ [Input("application")]
+ public string? Application { get; set; }
+
+ ///
+ /// Returns records for the specified application package.
+ ///
+ [Input("applicationPackage")]
+ public string? ApplicationPackage { get; set; }
+
+ ///
+ /// Returns records for the current database in use or for a specified database.
+ ///
+ [Input("database")]
+ public string? Database { get; set; }
+
+ ///
+ /// Returns records for the current schema in use or a specified schema. Use fully qualified name.
+ ///
+ [Input("schema")]
+ public string? Schema { get; set; }
+
+ public GetRowAccessPoliciesInArgs()
+ {
+ }
+ public static new GetRowAccessPoliciesInArgs Empty => new GetRowAccessPoliciesInArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetRowAccessPoliciesInArgs.cs b/sdk/dotnet/Inputs/GetRowAccessPoliciesInArgs.cs
new file mode 100644
index 00000000..e19a851f
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetRowAccessPoliciesInArgs.cs
@@ -0,0 +1,50 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class GetRowAccessPoliciesInInputArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Returns records for the entire account.
+ ///
+ [Input("account")]
+ public Input? Account { get; set; }
+
+ ///
+ /// Returns records for the specified application.
+ ///
+ [Input("application")]
+ public Input? Application { get; set; }
+
+ ///
+ /// Returns records for the specified application package.
+ ///
+ [Input("applicationPackage")]
+ public Input? ApplicationPackage { get; set; }
+
+ ///
+ /// Returns records for the current database in use or for a specified database.
+ ///
+ [Input("database")]
+ public Input? Database { get; set; }
+
+ ///
+ /// Returns records for the current schema in use or a specified schema. Use fully qualified name.
+ ///
+ [Input("schema")]
+ public Input? Schema { get; set; }
+
+ public GetRowAccessPoliciesInInputArgs()
+ {
+ }
+ public static new GetRowAccessPoliciesInInputArgs Empty => new GetRowAccessPoliciesInInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetRowAccessPoliciesLimit.cs b/sdk/dotnet/Inputs/GetRowAccessPoliciesLimit.cs
new file mode 100644
index 00000000..d3dc7cdb
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetRowAccessPoliciesLimit.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class GetRowAccessPoliciesLimitArgs : global::Pulumi.InvokeArgs
+ {
+ ///
+ /// Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
+ ///
+ [Input("from")]
+ public string? From { get; set; }
+
+ ///
+ /// The maximum number of rows to return.
+ ///
+ [Input("rows", required: true)]
+ public int Rows { get; set; }
+
+ public GetRowAccessPoliciesLimitArgs()
+ {
+ }
+ public static new GetRowAccessPoliciesLimitArgs Empty => new GetRowAccessPoliciesLimitArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/GetRowAccessPoliciesLimitArgs.cs b/sdk/dotnet/Inputs/GetRowAccessPoliciesLimitArgs.cs
new file mode 100644
index 00000000..64ef86f7
--- /dev/null
+++ b/sdk/dotnet/Inputs/GetRowAccessPoliciesLimitArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class GetRowAccessPoliciesLimitInputArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
+ ///
+ [Input("from")]
+ public Input? From { get; set; }
+
+ ///
+ /// The maximum number of rows to return.
+ ///
+ [Input("rows", required: true)]
+ public Input Rows { get; set; } = null!;
+
+ public GetRowAccessPoliciesLimitInputArgs()
+ {
+ }
+ public static new GetRowAccessPoliciesLimitInputArgs Empty => new GetRowAccessPoliciesLimitInputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicySignatureColumnArgs.cs b/sdk/dotnet/Inputs/MaskingPolicyArgumentArgs.cs
similarity index 59%
rename from sdk/dotnet/Inputs/MaskingPolicySignatureColumnArgs.cs
rename to sdk/dotnet/Inputs/MaskingPolicyArgumentArgs.cs
index 3e495a1a..60f96840 100644
--- a/sdk/dotnet/Inputs/MaskingPolicySignatureColumnArgs.cs
+++ b/sdk/dotnet/Inputs/MaskingPolicyArgumentArgs.cs
@@ -10,23 +10,23 @@
namespace Pulumi.Snowflake.Inputs
{
- public sealed class MaskingPolicySignatureColumnArgs : global::Pulumi.ResourceArgs
+ public sealed class MaskingPolicyArgumentArgs : global::Pulumi.ResourceArgs
{
///
- /// Specifies the column name to mask.
+ /// The argument name
///
[Input("name", required: true)]
public Input Name { get; set; } = null!;
///
- /// Specifies the column type to mask.
+ /// The argument type. VECTOR data types are not yet supported. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
///
[Input("type", required: true)]
public Input Type { get; set; } = null!;
- public MaskingPolicySignatureColumnArgs()
+ public MaskingPolicyArgumentArgs()
{
}
- public static new MaskingPolicySignatureColumnArgs Empty => new MaskingPolicySignatureColumnArgs();
+ public static new MaskingPolicyArgumentArgs Empty => new MaskingPolicyArgumentArgs();
}
}
diff --git a/sdk/dotnet/Inputs/MaskingPolicyArgumentGetArgs.cs b/sdk/dotnet/Inputs/MaskingPolicyArgumentGetArgs.cs
new file mode 100644
index 00000000..c4617d31
--- /dev/null
+++ b/sdk/dotnet/Inputs/MaskingPolicyArgumentGetArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class MaskingPolicyArgumentGetArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// The argument name
+ ///
+ [Input("name", required: true)]
+ public Input Name { get; set; } = null!;
+
+ ///
+ /// The argument type. VECTOR data types are not yet supported. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
+ ///
+ [Input("type", required: true)]
+ public Input Type { get; set; } = null!;
+
+ public MaskingPolicyArgumentGetArgs()
+ {
+ }
+ public static new MaskingPolicyArgumentGetArgs Empty => new MaskingPolicyArgumentGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputArgs.cs b/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputArgs.cs
new file mode 100644
index 00000000..c392ba5b
--- /dev/null
+++ b/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputArgs.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class MaskingPolicyDescribeOutputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("body")]
+ public Input? Body { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("returnType")]
+ public Input? ReturnType { get; set; }
+
+ [Input("signatures")]
+ private InputList? _signatures;
+ public InputList Signatures
+ {
+ get => _signatures ?? (_signatures = new InputList());
+ set => _signatures = value;
+ }
+
+ public MaskingPolicyDescribeOutputArgs()
+ {
+ }
+ public static new MaskingPolicyDescribeOutputArgs Empty => new MaskingPolicyDescribeOutputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputGetArgs.cs b/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputGetArgs.cs
new file mode 100644
index 00000000..f7a5bf68
--- /dev/null
+++ b/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputGetArgs.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class MaskingPolicyDescribeOutputGetArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("body")]
+ public Input? Body { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("returnType")]
+ public Input? ReturnType { get; set; }
+
+ [Input("signatures")]
+ private InputList? _signatures;
+ public InputList Signatures
+ {
+ get => _signatures ?? (_signatures = new InputList());
+ set => _signatures = value;
+ }
+
+ public MaskingPolicyDescribeOutputGetArgs()
+ {
+ }
+ public static new MaskingPolicyDescribeOutputGetArgs Empty => new MaskingPolicyDescribeOutputGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputSignatureArgs.cs b/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputSignatureArgs.cs
new file mode 100644
index 00000000..95d92cfe
--- /dev/null
+++ b/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputSignatureArgs.cs
@@ -0,0 +1,26 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class MaskingPolicyDescribeOutputSignatureArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("type")]
+ public Input? Type { get; set; }
+
+ public MaskingPolicyDescribeOutputSignatureArgs()
+ {
+ }
+ public static new MaskingPolicyDescribeOutputSignatureArgs Empty => new MaskingPolicyDescribeOutputSignatureArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputSignatureGetArgs.cs b/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputSignatureGetArgs.cs
new file mode 100644
index 00000000..863c730b
--- /dev/null
+++ b/sdk/dotnet/Inputs/MaskingPolicyDescribeOutputSignatureGetArgs.cs
@@ -0,0 +1,26 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class MaskingPolicyDescribeOutputSignatureGetArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("type")]
+ public Input? Type { get; set; }
+
+ public MaskingPolicyDescribeOutputSignatureGetArgs()
+ {
+ }
+ public static new MaskingPolicyDescribeOutputSignatureGetArgs Empty => new MaskingPolicyDescribeOutputSignatureGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicyShowOutputArgs.cs b/sdk/dotnet/Inputs/MaskingPolicyShowOutputArgs.cs
new file mode 100644
index 00000000..09f8abf0
--- /dev/null
+++ b/sdk/dotnet/Inputs/MaskingPolicyShowOutputArgs.cs
@@ -0,0 +1,47 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class MaskingPolicyShowOutputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("comment")]
+ public Input? Comment { get; set; }
+
+ [Input("createdOn")]
+ public Input? CreatedOn { get; set; }
+
+ [Input("databaseName")]
+ public Input? DatabaseName { get; set; }
+
+ [Input("exemptOtherPolicies")]
+ public Input? ExemptOtherPolicies { get; set; }
+
+ [Input("kind")]
+ public Input? Kind { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("owner")]
+ public Input? Owner { get; set; }
+
+ [Input("ownerRoleType")]
+ public Input? OwnerRoleType { get; set; }
+
+ [Input("schemaName")]
+ public Input? SchemaName { get; set; }
+
+ public MaskingPolicyShowOutputArgs()
+ {
+ }
+ public static new MaskingPolicyShowOutputArgs Empty => new MaskingPolicyShowOutputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicyShowOutputGetArgs.cs b/sdk/dotnet/Inputs/MaskingPolicyShowOutputGetArgs.cs
new file mode 100644
index 00000000..3691b671
--- /dev/null
+++ b/sdk/dotnet/Inputs/MaskingPolicyShowOutputGetArgs.cs
@@ -0,0 +1,47 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class MaskingPolicyShowOutputGetArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("comment")]
+ public Input? Comment { get; set; }
+
+ [Input("createdOn")]
+ public Input? CreatedOn { get; set; }
+
+ [Input("databaseName")]
+ public Input? DatabaseName { get; set; }
+
+ [Input("exemptOtherPolicies")]
+ public Input? ExemptOtherPolicies { get; set; }
+
+ [Input("kind")]
+ public Input? Kind { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("owner")]
+ public Input? Owner { get; set; }
+
+ [Input("ownerRoleType")]
+ public Input? OwnerRoleType { get; set; }
+
+ [Input("schemaName")]
+ public Input? SchemaName { get; set; }
+
+ public MaskingPolicyShowOutputGetArgs()
+ {
+ }
+ public static new MaskingPolicyShowOutputGetArgs Empty => new MaskingPolicyShowOutputGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicySignatureArgs.cs b/sdk/dotnet/Inputs/MaskingPolicySignatureArgs.cs
deleted file mode 100644
index 7d89d566..00000000
--- a/sdk/dotnet/Inputs/MaskingPolicySignatureArgs.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-using System;
-using System.Collections.Generic;
-using System.Collections.Immutable;
-using System.Threading.Tasks;
-using Pulumi.Serialization;
-
-namespace Pulumi.Snowflake.Inputs
-{
-
- public sealed class MaskingPolicySignatureArgs : global::Pulumi.ResourceArgs
- {
- [Input("columns", required: true)]
- private InputList? _columns;
- public InputList Columns
- {
- get => _columns ?? (_columns = new InputList());
- set => _columns = value;
- }
-
- public MaskingPolicySignatureArgs()
- {
- }
- public static new MaskingPolicySignatureArgs Empty => new MaskingPolicySignatureArgs();
- }
-}
diff --git a/sdk/dotnet/Inputs/MaskingPolicySignatureGetArgs.cs b/sdk/dotnet/Inputs/MaskingPolicySignatureGetArgs.cs
deleted file mode 100644
index c0f586ed..00000000
--- a/sdk/dotnet/Inputs/MaskingPolicySignatureGetArgs.cs
+++ /dev/null
@@ -1,28 +0,0 @@
-// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
-// *** Do not edit by hand unless you're certain you know what you are doing! ***
-
-using System;
-using System.Collections.Generic;
-using System.Collections.Immutable;
-using System.Threading.Tasks;
-using Pulumi.Serialization;
-
-namespace Pulumi.Snowflake.Inputs
-{
-
- public sealed class MaskingPolicySignatureGetArgs : global::Pulumi.ResourceArgs
- {
- [Input("columns", required: true)]
- private InputList? _columns;
- public InputList Columns
- {
- get => _columns ?? (_columns = new InputList());
- set => _columns = value;
- }
-
- public MaskingPolicySignatureGetArgs()
- {
- }
- public static new MaskingPolicySignatureGetArgs Empty => new MaskingPolicySignatureGetArgs();
- }
-}
diff --git a/sdk/dotnet/Inputs/ResourceMonitorShowOutputArgs.cs b/sdk/dotnet/Inputs/ResourceMonitorShowOutputArgs.cs
new file mode 100644
index 00000000..1c74aced
--- /dev/null
+++ b/sdk/dotnet/Inputs/ResourceMonitorShowOutputArgs.cs
@@ -0,0 +1,59 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class ResourceMonitorShowOutputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("comment")]
+ public Input? Comment { get; set; }
+
+ [Input("createdOn")]
+ public Input? CreatedOn { get; set; }
+
+ [Input("creditQuota")]
+ public Input? CreditQuota { get; set; }
+
+ [Input("endTime")]
+ public Input? EndTime { get; set; }
+
+ [Input("frequency")]
+ public Input? Frequency { get; set; }
+
+ [Input("level")]
+ public Input? Level { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("owner")]
+ public Input? Owner { get; set; }
+
+ [Input("remainingCredits")]
+ public Input? RemainingCredits { get; set; }
+
+ [Input("startTime")]
+ public Input? StartTime { get; set; }
+
+ [Input("suspendAt")]
+ public Input? SuspendAt { get; set; }
+
+ [Input("suspendImmediateAt")]
+ public Input? SuspendImmediateAt { get; set; }
+
+ [Input("usedCredits")]
+ public Input? UsedCredits { get; set; }
+
+ public ResourceMonitorShowOutputArgs()
+ {
+ }
+ public static new ResourceMonitorShowOutputArgs Empty => new ResourceMonitorShowOutputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/ResourceMonitorShowOutputGetArgs.cs b/sdk/dotnet/Inputs/ResourceMonitorShowOutputGetArgs.cs
new file mode 100644
index 00000000..8b336b82
--- /dev/null
+++ b/sdk/dotnet/Inputs/ResourceMonitorShowOutputGetArgs.cs
@@ -0,0 +1,59 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class ResourceMonitorShowOutputGetArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("comment")]
+ public Input? Comment { get; set; }
+
+ [Input("createdOn")]
+ public Input? CreatedOn { get; set; }
+
+ [Input("creditQuota")]
+ public Input? CreditQuota { get; set; }
+
+ [Input("endTime")]
+ public Input? EndTime { get; set; }
+
+ [Input("frequency")]
+ public Input? Frequency { get; set; }
+
+ [Input("level")]
+ public Input? Level { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("owner")]
+ public Input? Owner { get; set; }
+
+ [Input("remainingCredits")]
+ public Input? RemainingCredits { get; set; }
+
+ [Input("startTime")]
+ public Input? StartTime { get; set; }
+
+ [Input("suspendAt")]
+ public Input? SuspendAt { get; set; }
+
+ [Input("suspendImmediateAt")]
+ public Input? SuspendImmediateAt { get; set; }
+
+ [Input("usedCredits")]
+ public Input? UsedCredits { get; set; }
+
+ public ResourceMonitorShowOutputGetArgs()
+ {
+ }
+ public static new ResourceMonitorShowOutputGetArgs Empty => new ResourceMonitorShowOutputGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/MaskingPolicySignatureColumnGetArgs.cs b/sdk/dotnet/Inputs/RowAccessPolicyArgumentArgs.cs
similarity index 59%
rename from sdk/dotnet/Inputs/MaskingPolicySignatureColumnGetArgs.cs
rename to sdk/dotnet/Inputs/RowAccessPolicyArgumentArgs.cs
index f0065670..816fdeaf 100644
--- a/sdk/dotnet/Inputs/MaskingPolicySignatureColumnGetArgs.cs
+++ b/sdk/dotnet/Inputs/RowAccessPolicyArgumentArgs.cs
@@ -10,23 +10,23 @@
namespace Pulumi.Snowflake.Inputs
{
- public sealed class MaskingPolicySignatureColumnGetArgs : global::Pulumi.ResourceArgs
+ public sealed class RowAccessPolicyArgumentArgs : global::Pulumi.ResourceArgs
{
///
- /// Specifies the column name to mask.
+ /// The argument name
///
[Input("name", required: true)]
public Input Name { get; set; } = null!;
///
- /// Specifies the column type to mask.
+ /// The argument type. VECTOR data types are not yet supported. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
///
[Input("type", required: true)]
public Input Type { get; set; } = null!;
- public MaskingPolicySignatureColumnGetArgs()
+ public RowAccessPolicyArgumentArgs()
{
}
- public static new MaskingPolicySignatureColumnGetArgs Empty => new MaskingPolicySignatureColumnGetArgs();
+ public static new RowAccessPolicyArgumentArgs Empty => new RowAccessPolicyArgumentArgs();
}
}
diff --git a/sdk/dotnet/Inputs/RowAccessPolicyArgumentGetArgs.cs b/sdk/dotnet/Inputs/RowAccessPolicyArgumentGetArgs.cs
new file mode 100644
index 00000000..f78b4930
--- /dev/null
+++ b/sdk/dotnet/Inputs/RowAccessPolicyArgumentGetArgs.cs
@@ -0,0 +1,32 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class RowAccessPolicyArgumentGetArgs : global::Pulumi.ResourceArgs
+ {
+ ///
+ /// The argument name
+ ///
+ [Input("name", required: true)]
+ public Input Name { get; set; } = null!;
+
+ ///
+ /// The argument type. VECTOR data types are not yet supported. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
+ ///
+ [Input("type", required: true)]
+ public Input Type { get; set; } = null!;
+
+ public RowAccessPolicyArgumentGetArgs()
+ {
+ }
+ public static new RowAccessPolicyArgumentGetArgs Empty => new RowAccessPolicyArgumentGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputArgs.cs b/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputArgs.cs
new file mode 100644
index 00000000..775fb9f6
--- /dev/null
+++ b/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputArgs.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class RowAccessPolicyDescribeOutputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("body")]
+ public Input? Body { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("returnType")]
+ public Input? ReturnType { get; set; }
+
+ [Input("signatures")]
+ private InputList? _signatures;
+ public InputList Signatures
+ {
+ get => _signatures ?? (_signatures = new InputList());
+ set => _signatures = value;
+ }
+
+ public RowAccessPolicyDescribeOutputArgs()
+ {
+ }
+ public static new RowAccessPolicyDescribeOutputArgs Empty => new RowAccessPolicyDescribeOutputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputGetArgs.cs b/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputGetArgs.cs
new file mode 100644
index 00000000..b2290082
--- /dev/null
+++ b/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputGetArgs.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class RowAccessPolicyDescribeOutputGetArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("body")]
+ public Input? Body { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("returnType")]
+ public Input? ReturnType { get; set; }
+
+ [Input("signatures")]
+ private InputList? _signatures;
+ public InputList Signatures
+ {
+ get => _signatures ?? (_signatures = new InputList());
+ set => _signatures = value;
+ }
+
+ public RowAccessPolicyDescribeOutputGetArgs()
+ {
+ }
+ public static new RowAccessPolicyDescribeOutputGetArgs Empty => new RowAccessPolicyDescribeOutputGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputSignatureArgs.cs b/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputSignatureArgs.cs
new file mode 100644
index 00000000..0383d00b
--- /dev/null
+++ b/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputSignatureArgs.cs
@@ -0,0 +1,26 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class RowAccessPolicyDescribeOutputSignatureArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("type")]
+ public Input? Type { get; set; }
+
+ public RowAccessPolicyDescribeOutputSignatureArgs()
+ {
+ }
+ public static new RowAccessPolicyDescribeOutputSignatureArgs Empty => new RowAccessPolicyDescribeOutputSignatureArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputSignatureGetArgs.cs b/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputSignatureGetArgs.cs
new file mode 100644
index 00000000..6d8f3170
--- /dev/null
+++ b/sdk/dotnet/Inputs/RowAccessPolicyDescribeOutputSignatureGetArgs.cs
@@ -0,0 +1,26 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class RowAccessPolicyDescribeOutputSignatureGetArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("type")]
+ public Input? Type { get; set; }
+
+ public RowAccessPolicyDescribeOutputSignatureGetArgs()
+ {
+ }
+ public static new RowAccessPolicyDescribeOutputSignatureGetArgs Empty => new RowAccessPolicyDescribeOutputSignatureGetArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/RowAccessPolicyShowOutputArgs.cs b/sdk/dotnet/Inputs/RowAccessPolicyShowOutputArgs.cs
new file mode 100644
index 00000000..c526cd78
--- /dev/null
+++ b/sdk/dotnet/Inputs/RowAccessPolicyShowOutputArgs.cs
@@ -0,0 +1,47 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class RowAccessPolicyShowOutputArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("comment")]
+ public Input? Comment { get; set; }
+
+ [Input("createdOn")]
+ public Input? CreatedOn { get; set; }
+
+ [Input("databaseName")]
+ public Input? DatabaseName { get; set; }
+
+ [Input("kind")]
+ public Input? Kind { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("options")]
+ public Input? Options { get; set; }
+
+ [Input("owner")]
+ public Input? Owner { get; set; }
+
+ [Input("ownerRoleType")]
+ public Input? OwnerRoleType { get; set; }
+
+ [Input("schemaName")]
+ public Input? SchemaName { get; set; }
+
+ public RowAccessPolicyShowOutputArgs()
+ {
+ }
+ public static new RowAccessPolicyShowOutputArgs Empty => new RowAccessPolicyShowOutputArgs();
+ }
+}
diff --git a/sdk/dotnet/Inputs/RowAccessPolicyShowOutputGetArgs.cs b/sdk/dotnet/Inputs/RowAccessPolicyShowOutputGetArgs.cs
new file mode 100644
index 00000000..38e8b0c0
--- /dev/null
+++ b/sdk/dotnet/Inputs/RowAccessPolicyShowOutputGetArgs.cs
@@ -0,0 +1,47 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Inputs
+{
+
+ public sealed class RowAccessPolicyShowOutputGetArgs : global::Pulumi.ResourceArgs
+ {
+ [Input("comment")]
+ public Input? Comment { get; set; }
+
+ [Input("createdOn")]
+ public Input? CreatedOn { get; set; }
+
+ [Input("databaseName")]
+ public Input? DatabaseName { get; set; }
+
+ [Input("kind")]
+ public Input? Kind { get; set; }
+
+ [Input("name")]
+ public Input? Name { get; set; }
+
+ [Input("options")]
+ public Input? Options { get; set; }
+
+ [Input("owner")]
+ public Input? Owner { get; set; }
+
+ [Input("ownerRoleType")]
+ public Input? OwnerRoleType { get; set; }
+
+ [Input("schemaName")]
+ public Input? SchemaName { get; set; }
+
+ public RowAccessPolicyShowOutputGetArgs()
+ {
+ }
+ public static new RowAccessPolicyShowOutputGetArgs Empty => new RowAccessPolicyShowOutputGetArgs();
+ }
+}
diff --git a/sdk/dotnet/MaskingPolicy.cs b/sdk/dotnet/MaskingPolicy.cs
index fb1394b4..41992892 100644
--- a/sdk/dotnet/MaskingPolicy.cs
+++ b/sdk/dotnet/MaskingPolicy.cs
@@ -12,15 +12,25 @@ namespace Pulumi.Snowflake
///
/// ## Import
///
- /// format is database name | schema name | policy name
- ///
/// ```sh
- /// $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example 'dbName|schemaName|policyName'
+ /// $ pulumi import snowflake:index/maskingPolicy:MaskingPolicy example '"<database_name>"."<schema_name>"."<masking_policy_name>"'
/// ```
///
[SnowflakeResourceType("snowflake:index/maskingPolicy:MaskingPolicy")]
public partial class MaskingPolicy : global::Pulumi.CustomResource
{
+ ///
+ /// List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
+ ///
+ [Output("arguments")]
+ public Output> Arguments { get; private set; } = null!;
+
+ ///
+ /// Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
+ ///
+ [Output("body")]
+ public Output Body { get; private set; } = null!;
+
///
/// Specifies a comment for the masking policy.
///
@@ -28,16 +38,22 @@ public partial class MaskingPolicy : global::Pulumi.CustomResource
public Output Comment { get; private set; } = null!;
///
- /// The database in which to create the masking policy.
+ /// The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
[Output("database")]
public Output Database { get; private set; } = null!;
///
- /// Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy.
+ /// Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
+ ///
+ [Output("describeOutputs")]
+ public Output> DescribeOutputs { get; private set; } = null!;
+
+ ///
+ /// Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
///
[Output("exemptOtherPolicies")]
- public Output ExemptOtherPolicies { get; private set; } = null!;
+ public Output ExemptOtherPolicies { get; private set; } = null!;
///
/// Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
@@ -46,46 +62,28 @@ public partial class MaskingPolicy : global::Pulumi.CustomResource
public Output FullyQualifiedName { get; private set; } = null!;
///
- /// Prevent overwriting a previous masking policy with the same name.
- ///
- [Output("ifNotExists")]
- public Output IfNotExists { get; private set; } = null!;
-
- ///
- /// Specifies the SQL expression that transforms the data.
- ///
- [Output("maskingExpression")]
- public Output MaskingExpression { get; private set; } = null!;
-
- ///
- /// Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created.
+ /// Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
[Output("name")]
public Output Name { get; private set; } = null!;
///
- /// Whether to override a previous masking policy with the same name.
- ///
- [Output("orReplace")]
- public Output OrReplace { get; private set; } = null!;
-
- ///
- /// Specifies the data type to return.
+ /// The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
///
[Output("returnDataType")]
public Output ReturnDataType { get; private set; } = null!;
///
- /// The schema in which to create the masking policy.
+ /// The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
[Output("schema")]
public Output Schema { get; private set; } = null!;
///
- /// The signature for the masking policy; specifies the input columns and data types to evaluate at query runtime.
+ /// Outputs the result of `SHOW MASKING POLICY` for the given masking policy.
///
- [Output("signature")]
- public Output Signature { get; private set; } = null!;
+ [Output("showOutputs")]
+ public Output> ShowOutputs { get; private set; } = null!;
///
@@ -133,66 +131,60 @@ public static MaskingPolicy Get(string name, Input id, MaskingPolicyStat
public sealed class MaskingPolicyArgs : global::Pulumi.ResourceArgs
{
+ [Input("arguments", required: true)]
+ private InputList? _arguments;
+
///
- /// Specifies a comment for the masking policy.
+ /// List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
///
- [Input("comment")]
- public Input? Comment { get; set; }
+ public InputList Arguments
+ {
+ get => _arguments ?? (_arguments = new InputList());
+ set => _arguments = value;
+ }
///
- /// The database in which to create the masking policy.
+ /// Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
///
- [Input("database", required: true)]
- public Input Database { get; set; } = null!;
+ [Input("body", required: true)]
+ public Input Body { get; set; } = null!;
///
- /// Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy.
+ /// Specifies a comment for the masking policy.
///
- [Input("exemptOtherPolicies")]
- public Input? ExemptOtherPolicies { get; set; }
+ [Input("comment")]
+ public Input? Comment { get; set; }
///
- /// Prevent overwriting a previous masking policy with the same name.
+ /// The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
- [Input("ifNotExists")]
- public Input? IfNotExists { get; set; }
+ [Input("database", required: true)]
+ public Input Database { get; set; } = null!;
///
- /// Specifies the SQL expression that transforms the data.
+ /// Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
///
- [Input("maskingExpression", required: true)]
- public Input MaskingExpression { get; set; } = null!;
+ [Input("exemptOtherPolicies")]
+ public Input? ExemptOtherPolicies { get; set; }
///
- /// Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created.
+ /// Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
[Input("name")]
public Input? Name { get; set; }
///
- /// Whether to override a previous masking policy with the same name.
- ///
- [Input("orReplace")]
- public Input? OrReplace { get; set; }
-
- ///
- /// Specifies the data type to return.
+ /// The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
///
[Input("returnDataType", required: true)]
public Input ReturnDataType { get; set; } = null!;
///
- /// The schema in which to create the masking policy.
+ /// The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
[Input("schema", required: true)]
public Input Schema { get; set; } = null!;
- ///
- /// The signature for the masking policy; specifies the input columns and data types to evaluate at query runtime.
- ///
- [Input("signature", required: true)]
- public Input Signature { get; set; } = null!;
-
public MaskingPolicyArgs()
{
}
@@ -201,6 +193,24 @@ public MaskingPolicyArgs()
public sealed class MaskingPolicyState : global::Pulumi.ResourceArgs
{
+ [Input("arguments")]
+ private InputList? _arguments;
+
+ ///
+ /// List of the arguments for the masking policy. The first column and its data type always indicate the column data type values to mask or tokenize in the subsequent policy conditions. Note that you can not specify a virtual column as the first column argument in a conditional masking policy.
+ ///
+ public InputList Arguments
+ {
+ get => _arguments ?? (_arguments = new InputList());
+ set => _arguments = value;
+ }
+
+ ///
+ /// Specifies the SQL expression that transforms the data. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
+ ///
+ [Input("body")]
+ public Input? Body { get; set; }
+
///
/// Specifies a comment for the masking policy.
///
@@ -208,64 +218,64 @@ public sealed class MaskingPolicyState : global::Pulumi.ResourceArgs
public Input? Comment { get; set; }
///
- /// The database in which to create the masking policy.
+ /// The database in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
[Input("database")]
public Input? Database { get; set; }
- ///
- /// Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy.
- ///
- [Input("exemptOtherPolicies")]
- public Input? ExemptOtherPolicies { get; set; }
+ [Input("describeOutputs")]
+ private InputList? _describeOutputs;
///
- /// Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
+ /// Outputs the result of `DESCRIBE MASKING POLICY` for the given masking policy.
///
- [Input("fullyQualifiedName")]
- public Input? FullyQualifiedName { get; set; }
+ public InputList DescribeOutputs
+ {
+ get => _describeOutputs ?? (_describeOutputs = new InputList());
+ set => _describeOutputs = value;
+ }
///
- /// Prevent overwriting a previous masking policy with the same name.
+ /// Specifies whether the row access policy or conditional masking policy can reference a column that is already protected by a masking policy. Due to Snowflake limitations, when value is chenged, the resource is recreated. Available options are: "true" or "false". When the value is not set in the configuration the provider will put "default" there which means to use the Snowflake default for this value.
///
- [Input("ifNotExists")]
- public Input? IfNotExists { get; set; }
+ [Input("exemptOtherPolicies")]
+ public Input? ExemptOtherPolicies { get; set; }
///
- /// Specifies the SQL expression that transforms the data.
+ /// Fully qualified name of the resource. For more information, see [object name resolution](https://docs.snowflake.com/en/sql-reference/name-resolution).
///
- [Input("maskingExpression")]
- public Input? MaskingExpression { get; set; }
+ [Input("fullyQualifiedName")]
+ public Input? FullyQualifiedName { get; set; }
///
- /// Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created.
+ /// Specifies the identifier for the masking policy; must be unique for the database and schema in which the masking policy is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
[Input("name")]
public Input? Name { get; set; }
///
- /// Whether to override a previous masking policy with the same name.
- ///
- [Input("orReplace")]
- public Input? OrReplace { get; set; }
-
- ///
- /// Specifies the data type to return.
+ /// The return data type must match the input data type of the first column that is specified as an input column. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
///
[Input("returnDataType")]
public Input? ReturnDataType { get; set; }
///
- /// The schema in which to create the masking policy.
+ /// The schema in which to create the masking policy. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `(`, `)`, `"`
///
[Input("schema")]
public Input? Schema { get; set; }
+ [Input("showOutputs")]
+ private InputList? _showOutputs;
+
///
- /// The signature for the masking policy; specifies the input columns and data types to evaluate at query runtime.
+ /// Outputs the result of `SHOW MASKING POLICY` for the given masking policy.
///
- [Input("signature")]
- public Input? Signature { get; set; }
+ public InputList ShowOutputs
+ {
+ get => _showOutputs ?? (_showOutputs = new InputList());
+ set => _showOutputs = value;
+ }
public MaskingPolicyState()
{
diff --git a/sdk/dotnet/Outputs/GetMaskingPoliciesInResult.cs b/sdk/dotnet/Outputs/GetMaskingPoliciesInResult.cs
new file mode 100644
index 00000000..855db6f6
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetMaskingPoliciesInResult.cs
@@ -0,0 +1,56 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetMaskingPoliciesInResult
+ {
+ ///
+ /// Returns records for the entire account.
+ ///
+ public readonly bool? Account;
+ ///
+ /// Returns records for the specified application.
+ ///
+ public readonly string? Application;
+ ///
+ /// Returns records for the specified application package.
+ ///
+ public readonly string? ApplicationPackage;
+ ///
+ /// Returns records for the current database in use or for a specified database.
+ ///
+ public readonly string? Database;
+ ///
+ /// Returns records for the current schema in use or a specified schema. Use fully qualified name.
+ ///
+ public readonly string? Schema;
+
+ [OutputConstructor]
+ private GetMaskingPoliciesInResult(
+ bool? account,
+
+ string? application,
+
+ string? applicationPackage,
+
+ string? database,
+
+ string? schema)
+ {
+ Account = account;
+ Application = application;
+ ApplicationPackage = applicationPackage;
+ Database = database;
+ Schema = schema;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetMaskingPoliciesLimitResult.cs b/sdk/dotnet/Outputs/GetMaskingPoliciesLimitResult.cs
new file mode 100644
index 00000000..84e48a11
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetMaskingPoliciesLimitResult.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetMaskingPoliciesLimitResult
+ {
+ ///
+ /// Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
+ ///
+ public readonly string? From;
+ ///
+ /// The maximum number of rows to return.
+ ///
+ public readonly int Rows;
+
+ [OutputConstructor]
+ private GetMaskingPoliciesLimitResult(
+ string? from,
+
+ int rows)
+ {
+ From = from;
+ Rows = rows;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyDescribeOutputResult.cs b/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyDescribeOutputResult.cs
new file mode 100644
index 00000000..4b8726e5
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyDescribeOutputResult.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetMaskingPoliciesMaskingPolicyDescribeOutputResult
+ {
+ public readonly string Body;
+ public readonly string Name;
+ public readonly string ReturnType;
+ public readonly ImmutableArray Signatures;
+
+ [OutputConstructor]
+ private GetMaskingPoliciesMaskingPolicyDescribeOutputResult(
+ string body,
+
+ string name,
+
+ string returnType,
+
+ ImmutableArray signatures)
+ {
+ Body = body;
+ Name = name;
+ ReturnType = returnType;
+ Signatures = signatures;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyDescribeOutputSignatureResult.cs b/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyDescribeOutputSignatureResult.cs
new file mode 100644
index 00000000..cee9e2c1
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyDescribeOutputSignatureResult.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetMaskingPoliciesMaskingPolicyDescribeOutputSignatureResult
+ {
+ public readonly string Name;
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetMaskingPoliciesMaskingPolicyDescribeOutputSignatureResult(
+ string name,
+
+ string type)
+ {
+ Name = name;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyResult.cs b/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyResult.cs
index 4ce3c752..af6024f0 100644
--- a/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyResult.cs
+++ b/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyResult.cs
@@ -13,29 +13,23 @@ namespace Pulumi.Snowflake.Outputs
[OutputType]
public sealed class GetMaskingPoliciesMaskingPolicyResult
{
- public readonly string Comment;
- public readonly string Database;
- public readonly string Kind;
- public readonly string Name;
- public readonly string Schema;
+ ///
+ /// Holds the output of DESCRIBE MASKING POLICY.
+ ///
+ public readonly ImmutableArray DescribeOutputs;
+ ///
+ /// Holds the output of SHOW MASKING POLICIES.
+ ///
+ public readonly ImmutableArray ShowOutputs;
[OutputConstructor]
private GetMaskingPoliciesMaskingPolicyResult(
- string comment,
+ ImmutableArray describeOutputs,
- string database,
-
- string kind,
-
- string name,
-
- string schema)
+ ImmutableArray showOutputs)
{
- Comment = comment;
- Database = database;
- Kind = kind;
- Name = name;
- Schema = schema;
+ DescribeOutputs = describeOutputs;
+ ShowOutputs = showOutputs;
}
}
}
diff --git a/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyShowOutputResult.cs b/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyShowOutputResult.cs
new file mode 100644
index 00000000..f6e3249d
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetMaskingPoliciesMaskingPolicyShowOutputResult.cs
@@ -0,0 +1,57 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetMaskingPoliciesMaskingPolicyShowOutputResult
+ {
+ public readonly string Comment;
+ public readonly string CreatedOn;
+ public readonly string DatabaseName;
+ public readonly bool ExemptOtherPolicies;
+ public readonly string Kind;
+ public readonly string Name;
+ public readonly string Owner;
+ public readonly string OwnerRoleType;
+ public readonly string SchemaName;
+
+ [OutputConstructor]
+ private GetMaskingPoliciesMaskingPolicyShowOutputResult(
+ string comment,
+
+ string createdOn,
+
+ string databaseName,
+
+ bool exemptOtherPolicies,
+
+ string kind,
+
+ string name,
+
+ string owner,
+
+ string ownerRoleType,
+
+ string schemaName)
+ {
+ Comment = comment;
+ CreatedOn = createdOn;
+ DatabaseName = databaseName;
+ ExemptOtherPolicies = exemptOtherPolicies;
+ Kind = kind;
+ Name = name;
+ Owner = owner;
+ OwnerRoleType = ownerRoleType;
+ SchemaName = schemaName;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetResourceMonitorsResourceMonitorResult.cs b/sdk/dotnet/Outputs/GetResourceMonitorsResourceMonitorResult.cs
index 729cb682..05aceca2 100644
--- a/sdk/dotnet/Outputs/GetResourceMonitorsResourceMonitorResult.cs
+++ b/sdk/dotnet/Outputs/GetResourceMonitorsResourceMonitorResult.cs
@@ -13,25 +13,15 @@ namespace Pulumi.Snowflake.Outputs
[OutputType]
public sealed class GetResourceMonitorsResourceMonitorResult
{
- public readonly string Comment;
- public readonly string CreditQuota;
- public readonly string Frequency;
- public readonly string Name;
+ ///
+ /// Holds the output of SHOW RESOURCE MONITORS.
+ ///
+ public readonly ImmutableArray ShowOutputs;
[OutputConstructor]
- private GetResourceMonitorsResourceMonitorResult(
- string comment,
-
- string creditQuota,
-
- string frequency,
-
- string name)
+ private GetResourceMonitorsResourceMonitorResult(ImmutableArray showOutputs)
{
- Comment = comment;
- CreditQuota = creditQuota;
- Frequency = frequency;
- Name = name;
+ ShowOutputs = showOutputs;
}
}
}
diff --git a/sdk/dotnet/Outputs/GetResourceMonitorsResourceMonitorShowOutputResult.cs b/sdk/dotnet/Outputs/GetResourceMonitorsResourceMonitorShowOutputResult.cs
new file mode 100644
index 00000000..c71b30b3
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetResourceMonitorsResourceMonitorShowOutputResult.cs
@@ -0,0 +1,73 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetResourceMonitorsResourceMonitorShowOutputResult
+ {
+ public readonly string Comment;
+ public readonly string CreatedOn;
+ public readonly double CreditQuota;
+ public readonly string EndTime;
+ public readonly string Frequency;
+ public readonly string Level;
+ public readonly string Name;
+ public readonly string Owner;
+ public readonly double RemainingCredits;
+ public readonly string StartTime;
+ public readonly int SuspendAt;
+ public readonly int SuspendImmediateAt;
+ public readonly double UsedCredits;
+
+ [OutputConstructor]
+ private GetResourceMonitorsResourceMonitorShowOutputResult(
+ string comment,
+
+ string createdOn,
+
+ double creditQuota,
+
+ string endTime,
+
+ string frequency,
+
+ string level,
+
+ string name,
+
+ string owner,
+
+ double remainingCredits,
+
+ string startTime,
+
+ int suspendAt,
+
+ int suspendImmediateAt,
+
+ double usedCredits)
+ {
+ Comment = comment;
+ CreatedOn = createdOn;
+ CreditQuota = creditQuota;
+ EndTime = endTime;
+ Frequency = frequency;
+ Level = level;
+ Name = name;
+ Owner = owner;
+ RemainingCredits = remainingCredits;
+ StartTime = startTime;
+ SuspendAt = suspendAt;
+ SuspendImmediateAt = suspendImmediateAt;
+ UsedCredits = usedCredits;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetRowAccessPoliciesInResult.cs b/sdk/dotnet/Outputs/GetRowAccessPoliciesInResult.cs
new file mode 100644
index 00000000..3c4fc6e0
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetRowAccessPoliciesInResult.cs
@@ -0,0 +1,56 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetRowAccessPoliciesInResult
+ {
+ ///
+ /// Returns records for the entire account.
+ ///
+ public readonly bool? Account;
+ ///
+ /// Returns records for the specified application.
+ ///
+ public readonly string? Application;
+ ///
+ /// Returns records for the specified application package.
+ ///
+ public readonly string? ApplicationPackage;
+ ///
+ /// Returns records for the current database in use or for a specified database.
+ ///
+ public readonly string? Database;
+ ///
+ /// Returns records for the current schema in use or a specified schema. Use fully qualified name.
+ ///
+ public readonly string? Schema;
+
+ [OutputConstructor]
+ private GetRowAccessPoliciesInResult(
+ bool? account,
+
+ string? application,
+
+ string? applicationPackage,
+
+ string? database,
+
+ string? schema)
+ {
+ Account = account;
+ Application = application;
+ ApplicationPackage = applicationPackage;
+ Database = database;
+ Schema = schema;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetRowAccessPoliciesLimitResult.cs b/sdk/dotnet/Outputs/GetRowAccessPoliciesLimitResult.cs
new file mode 100644
index 00000000..6f74b563
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetRowAccessPoliciesLimitResult.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetRowAccessPoliciesLimitResult
+ {
+ ///
+ /// Specifies a **case-sensitive** pattern that is used to match object name. After the first match, the limit on the number of rows will be applied.
+ ///
+ public readonly string? From;
+ ///
+ /// The maximum number of rows to return.
+ ///
+ public readonly int Rows;
+
+ [OutputConstructor]
+ private GetRowAccessPoliciesLimitResult(
+ string? from,
+
+ int rows)
+ {
+ From = from;
+ Rows = rows;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyDescribeOutputResult.cs b/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyDescribeOutputResult.cs
new file mode 100644
index 00000000..9a7390ad
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyDescribeOutputResult.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetRowAccessPoliciesRowAccessPolicyDescribeOutputResult
+ {
+ public readonly string Body;
+ public readonly string Name;
+ public readonly string ReturnType;
+ public readonly ImmutableArray Signatures;
+
+ [OutputConstructor]
+ private GetRowAccessPoliciesRowAccessPolicyDescribeOutputResult(
+ string body,
+
+ string name,
+
+ string returnType,
+
+ ImmutableArray signatures)
+ {
+ Body = body;
+ Name = name;
+ ReturnType = returnType;
+ Signatures = signatures;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyDescribeOutputSignatureResult.cs b/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyDescribeOutputSignatureResult.cs
new file mode 100644
index 00000000..e12b6403
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyDescribeOutputSignatureResult.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetRowAccessPoliciesRowAccessPolicyDescribeOutputSignatureResult
+ {
+ public readonly string Name;
+ public readonly string Type;
+
+ [OutputConstructor]
+ private GetRowAccessPoliciesRowAccessPolicyDescribeOutputSignatureResult(
+ string name,
+
+ string type)
+ {
+ Name = name;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyResult.cs b/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyResult.cs
index 0fd482e3..8c181ed1 100644
--- a/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyResult.cs
+++ b/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyResult.cs
@@ -13,25 +13,23 @@ namespace Pulumi.Snowflake.Outputs
[OutputType]
public sealed class GetRowAccessPoliciesRowAccessPolicyResult
{
- public readonly string Comment;
- public readonly string Database;
- public readonly string Name;
- public readonly string Schema;
+ ///
+ /// Holds the output of DESCRIBE ROW ACCESS POLICY.
+ ///
+ public readonly ImmutableArray DescribeOutputs;
+ ///
+ /// Holds the output of SHOW ROW ACCESS POLICIES.
+ ///
+ public readonly ImmutableArray ShowOutputs;
[OutputConstructor]
private GetRowAccessPoliciesRowAccessPolicyResult(
- string comment,
+ ImmutableArray describeOutputs,
- string database,
-
- string name,
-
- string schema)
+ ImmutableArray showOutputs)
{
- Comment = comment;
- Database = database;
- Name = name;
- Schema = schema;
+ DescribeOutputs = describeOutputs;
+ ShowOutputs = showOutputs;
}
}
}
diff --git a/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyShowOutputResult.cs b/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyShowOutputResult.cs
new file mode 100644
index 00000000..b807ef6c
--- /dev/null
+++ b/sdk/dotnet/Outputs/GetRowAccessPoliciesRowAccessPolicyShowOutputResult.cs
@@ -0,0 +1,57 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class GetRowAccessPoliciesRowAccessPolicyShowOutputResult
+ {
+ public readonly string Comment;
+ public readonly string CreatedOn;
+ public readonly string DatabaseName;
+ public readonly string Kind;
+ public readonly string Name;
+ public readonly string Options;
+ public readonly string Owner;
+ public readonly string OwnerRoleType;
+ public readonly string SchemaName;
+
+ [OutputConstructor]
+ private GetRowAccessPoliciesRowAccessPolicyShowOutputResult(
+ string comment,
+
+ string createdOn,
+
+ string databaseName,
+
+ string kind,
+
+ string name,
+
+ string options,
+
+ string owner,
+
+ string ownerRoleType,
+
+ string schemaName)
+ {
+ Comment = comment;
+ CreatedOn = createdOn;
+ DatabaseName = databaseName;
+ Kind = kind;
+ Name = name;
+ Options = options;
+ Owner = owner;
+ OwnerRoleType = ownerRoleType;
+ SchemaName = schemaName;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/MaskingPolicySignatureColumn.cs b/sdk/dotnet/Outputs/MaskingPolicyArgument.cs
similarity index 68%
rename from sdk/dotnet/Outputs/MaskingPolicySignatureColumn.cs
rename to sdk/dotnet/Outputs/MaskingPolicyArgument.cs
index 809635f2..2a17dc81 100644
--- a/sdk/dotnet/Outputs/MaskingPolicySignatureColumn.cs
+++ b/sdk/dotnet/Outputs/MaskingPolicyArgument.cs
@@ -11,19 +11,19 @@ namespace Pulumi.Snowflake.Outputs
{
[OutputType]
- public sealed class MaskingPolicySignatureColumn
+ public sealed class MaskingPolicyArgument
{
///
- /// Specifies the column name to mask.
+ /// The argument name
///
public readonly string Name;
///
- /// Specifies the column type to mask.
+ /// The argument type. VECTOR data types are not yet supported. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
///
public readonly string Type;
[OutputConstructor]
- private MaskingPolicySignatureColumn(
+ private MaskingPolicyArgument(
string name,
string type)
diff --git a/sdk/dotnet/Outputs/MaskingPolicyDescribeOutput.cs b/sdk/dotnet/Outputs/MaskingPolicyDescribeOutput.cs
new file mode 100644
index 00000000..1a98ad1e
--- /dev/null
+++ b/sdk/dotnet/Outputs/MaskingPolicyDescribeOutput.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class MaskingPolicyDescribeOutput
+ {
+ public readonly string? Body;
+ public readonly string? Name;
+ public readonly string? ReturnType;
+ public readonly ImmutableArray Signatures;
+
+ [OutputConstructor]
+ private MaskingPolicyDescribeOutput(
+ string? body,
+
+ string? name,
+
+ string? returnType,
+
+ ImmutableArray signatures)
+ {
+ Body = body;
+ Name = name;
+ ReturnType = returnType;
+ Signatures = signatures;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/MaskingPolicySignature.cs b/sdk/dotnet/Outputs/MaskingPolicyDescribeOutputSignature.cs
similarity index 59%
rename from sdk/dotnet/Outputs/MaskingPolicySignature.cs
rename to sdk/dotnet/Outputs/MaskingPolicyDescribeOutputSignature.cs
index 1b6ed4ce..b109eb27 100644
--- a/sdk/dotnet/Outputs/MaskingPolicySignature.cs
+++ b/sdk/dotnet/Outputs/MaskingPolicyDescribeOutputSignature.cs
@@ -11,14 +11,19 @@ namespace Pulumi.Snowflake.Outputs
{
[OutputType]
- public sealed class MaskingPolicySignature
+ public sealed class MaskingPolicyDescribeOutputSignature
{
- public readonly ImmutableArray Columns;
+ public readonly string? Name;
+ public readonly string? Type;
[OutputConstructor]
- private MaskingPolicySignature(ImmutableArray columns)
+ private MaskingPolicyDescribeOutputSignature(
+ string? name,
+
+ string? type)
{
- Columns = columns;
+ Name = name;
+ Type = type;
}
}
}
diff --git a/sdk/dotnet/Outputs/MaskingPolicyShowOutput.cs b/sdk/dotnet/Outputs/MaskingPolicyShowOutput.cs
new file mode 100644
index 00000000..e79b253c
--- /dev/null
+++ b/sdk/dotnet/Outputs/MaskingPolicyShowOutput.cs
@@ -0,0 +1,57 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class MaskingPolicyShowOutput
+ {
+ public readonly string? Comment;
+ public readonly string? CreatedOn;
+ public readonly string? DatabaseName;
+ public readonly bool? ExemptOtherPolicies;
+ public readonly string? Kind;
+ public readonly string? Name;
+ public readonly string? Owner;
+ public readonly string? OwnerRoleType;
+ public readonly string? SchemaName;
+
+ [OutputConstructor]
+ private MaskingPolicyShowOutput(
+ string? comment,
+
+ string? createdOn,
+
+ string? databaseName,
+
+ bool? exemptOtherPolicies,
+
+ string? kind,
+
+ string? name,
+
+ string? owner,
+
+ string? ownerRoleType,
+
+ string? schemaName)
+ {
+ Comment = comment;
+ CreatedOn = createdOn;
+ DatabaseName = databaseName;
+ ExemptOtherPolicies = exemptOtherPolicies;
+ Kind = kind;
+ Name = name;
+ Owner = owner;
+ OwnerRoleType = ownerRoleType;
+ SchemaName = schemaName;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/ResourceMonitorShowOutput.cs b/sdk/dotnet/Outputs/ResourceMonitorShowOutput.cs
new file mode 100644
index 00000000..3efedadd
--- /dev/null
+++ b/sdk/dotnet/Outputs/ResourceMonitorShowOutput.cs
@@ -0,0 +1,73 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class ResourceMonitorShowOutput
+ {
+ public readonly string? Comment;
+ public readonly string? CreatedOn;
+ public readonly double? CreditQuota;
+ public readonly string? EndTime;
+ public readonly string? Frequency;
+ public readonly string? Level;
+ public readonly string? Name;
+ public readonly string? Owner;
+ public readonly double? RemainingCredits;
+ public readonly string? StartTime;
+ public readonly int? SuspendAt;
+ public readonly int? SuspendImmediateAt;
+ public readonly double? UsedCredits;
+
+ [OutputConstructor]
+ private ResourceMonitorShowOutput(
+ string? comment,
+
+ string? createdOn,
+
+ double? creditQuota,
+
+ string? endTime,
+
+ string? frequency,
+
+ string? level,
+
+ string? name,
+
+ string? owner,
+
+ double? remainingCredits,
+
+ string? startTime,
+
+ int? suspendAt,
+
+ int? suspendImmediateAt,
+
+ double? usedCredits)
+ {
+ Comment = comment;
+ CreatedOn = createdOn;
+ CreditQuota = creditQuota;
+ EndTime = endTime;
+ Frequency = frequency;
+ Level = level;
+ Name = name;
+ Owner = owner;
+ RemainingCredits = remainingCredits;
+ StartTime = startTime;
+ SuspendAt = suspendAt;
+ SuspendImmediateAt = suspendImmediateAt;
+ UsedCredits = usedCredits;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/RowAccessPolicyArgument.cs b/sdk/dotnet/Outputs/RowAccessPolicyArgument.cs
new file mode 100644
index 00000000..eba82fac
--- /dev/null
+++ b/sdk/dotnet/Outputs/RowAccessPolicyArgument.cs
@@ -0,0 +1,35 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class RowAccessPolicyArgument
+ {
+ ///
+ /// The argument name
+ ///
+ public readonly string Name;
+ ///
+ /// The argument type. VECTOR data types are not yet supported. For more information about data types, check [Snowflake docs](https://docs.snowflake.com/en/sql-reference/intro-summary-data-types).
+ ///
+ public readonly string Type;
+
+ [OutputConstructor]
+ private RowAccessPolicyArgument(
+ string name,
+
+ string type)
+ {
+ Name = name;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/RowAccessPolicyDescribeOutput.cs b/sdk/dotnet/Outputs/RowAccessPolicyDescribeOutput.cs
new file mode 100644
index 00000000..04c4c901
--- /dev/null
+++ b/sdk/dotnet/Outputs/RowAccessPolicyDescribeOutput.cs
@@ -0,0 +1,37 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class RowAccessPolicyDescribeOutput
+ {
+ public readonly string? Body;
+ public readonly string? Name;
+ public readonly string? ReturnType;
+ public readonly ImmutableArray Signatures;
+
+ [OutputConstructor]
+ private RowAccessPolicyDescribeOutput(
+ string? body,
+
+ string? name,
+
+ string? returnType,
+
+ ImmutableArray signatures)
+ {
+ Body = body;
+ Name = name;
+ ReturnType = returnType;
+ Signatures = signatures;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/RowAccessPolicyDescribeOutputSignature.cs b/sdk/dotnet/Outputs/RowAccessPolicyDescribeOutputSignature.cs
new file mode 100644
index 00000000..12083b79
--- /dev/null
+++ b/sdk/dotnet/Outputs/RowAccessPolicyDescribeOutputSignature.cs
@@ -0,0 +1,29 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class RowAccessPolicyDescribeOutputSignature
+ {
+ public readonly string? Name;
+ public readonly string? Type;
+
+ [OutputConstructor]
+ private RowAccessPolicyDescribeOutputSignature(
+ string? name,
+
+ string? type)
+ {
+ Name = name;
+ Type = type;
+ }
+ }
+}
diff --git a/sdk/dotnet/Outputs/RowAccessPolicyShowOutput.cs b/sdk/dotnet/Outputs/RowAccessPolicyShowOutput.cs
new file mode 100644
index 00000000..5ded7111
--- /dev/null
+++ b/sdk/dotnet/Outputs/RowAccessPolicyShowOutput.cs
@@ -0,0 +1,57 @@
+// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
+// *** Do not edit by hand unless you're certain you know what you are doing! ***
+
+using System;
+using System.Collections.Generic;
+using System.Collections.Immutable;
+using System.Threading.Tasks;
+using Pulumi.Serialization;
+
+namespace Pulumi.Snowflake.Outputs
+{
+
+ [OutputType]
+ public sealed class RowAccessPolicyShowOutput
+ {
+ public readonly string? Comment;
+ public readonly string? CreatedOn;
+ public readonly string? DatabaseName;
+ public readonly string? Kind;
+ public readonly string? Name;
+ public readonly string? Options;
+ public readonly string? Owner;
+ public readonly string? OwnerRoleType;
+ public readonly string? SchemaName;
+
+ [OutputConstructor]
+ private RowAccessPolicyShowOutput(
+ string? comment,
+
+ string? createdOn,
+
+ string? databaseName,
+
+ string? kind,
+
+ string? name,
+
+ string? options,
+
+ string? owner,
+
+ string? ownerRoleType,
+
+ string? schemaName)
+ {
+ Comment = comment;
+ CreatedOn = createdOn;
+ DatabaseName = databaseName;
+ Kind = kind;
+ Name = name;
+ Options = options;
+ Owner = owner;
+ OwnerRoleType = ownerRoleType;
+ SchemaName = schemaName;
+ }
+ }
+}
diff --git a/sdk/dotnet/ResourceMonitor.cs b/sdk/dotnet/ResourceMonitor.cs
index 627648f4..93179316 100644
--- a/sdk/dotnet/ResourceMonitor.cs
+++ b/sdk/dotnet/ResourceMonitor.cs
@@ -22,10 +22,10 @@ namespace Pulumi.Snowflake
public partial class ResourceMonitor : global::Pulumi.CustomResource
{
///
- /// The number of credits allocated monthly to the resource monitor.
+ /// The number of credits allocated to the resource monitor per frequency interval. When total usage for all warehouses assigned to the monitor reaches this number for the current frequency interval, the resource monitor is considered to be at 100% of quota.
///
[Output("creditQuota")]
- public Output CreditQuota { get; private set; } = null!;
+ public Output CreditQuota { get; private set; } = null!;
///
/// The date and time when the resource monitor suspends the assigned warehouses.
@@ -34,10 +34,10 @@ public partial class ResourceMonitor : global::Pulumi.CustomResource
public Output EndTimestamp { get; private set; } = null!;
///
- /// The frequency interval at which the credit usage resets to 0. If you set a frequency for a resource monitor, you must also set START_TIMESTAMP.
+ /// The frequency interval at which the credit usage resets to 0. Valid values are (case-insensitive): `MONTHLY` | `DAILY` | `WEEKLY` | `YEARLY` | `NEVER`. If you set a `frequency` for a resource monitor, you must also set `start_timestamp`. If you specify `NEVER` for the frequency, the credit usage for the warehouse does not reset. After removing this field from the config, the previously set value will be preserved on the Snowflake side, not the default value. That's due to Snowflake limitation and the lack of unset functionality for this parameter.
///
[Output("frequency")]
- public Output Frequency { get; private set; } = null!;
+ public Output