pulumi-snowflake 0.57.0__py3-none-any.whl → 0.57.0a1721891443__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_snowflake/__init__.py +0 -20
- pulumi_snowflake/_inputs.py +241 -2479
- pulumi_snowflake/_utilities.py +0 -2
- pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +0 -4
- pulumi_snowflake/api_authentication_integration_with_client_credentials.py +0 -4
- pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +0 -4
- pulumi_snowflake/database.py +63 -63
- pulumi_snowflake/external_oauth_integration.py +2 -2
- pulumi_snowflake/get_roles.py +31 -37
- pulumi_snowflake/get_schemas.py +38 -115
- pulumi_snowflake/network_policy.py +19 -103
- pulumi_snowflake/oauth_integration_for_custom_clients.py +14 -18
- pulumi_snowflake/oauth_integration_for_partner_applications.py +14 -18
- pulumi_snowflake/outputs.py +2761 -5882
- pulumi_snowflake/pulumi-plugin.json +1 -1
- pulumi_snowflake/role.py +72 -44
- pulumi_snowflake/saml2_integration.py +28 -32
- pulumi_snowflake/schema.py +151 -905
- pulumi_snowflake/scim_integration.py +21 -25
- pulumi_snowflake/secondary_database.py +63 -63
- pulumi_snowflake/shared_database.py +63 -63
- pulumi_snowflake/table.py +120 -0
- pulumi_snowflake/table_constraint.py +2 -2
- pulumi_snowflake/unsafe_execute.py +8 -8
- {pulumi_snowflake-0.57.0.dist-info → pulumi_snowflake-0.57.0a1721891443.dist-info}/METADATA +1 -1
- {pulumi_snowflake-0.57.0.dist-info → pulumi_snowflake-0.57.0a1721891443.dist-info}/RECORD +28 -32
- {pulumi_snowflake-0.57.0.dist-info → pulumi_snowflake-0.57.0a1721891443.dist-info}/WHEEL +1 -1
- pulumi_snowflake/account_role.py +0 -226
- pulumi_snowflake/get_network_policies.py +0 -122
- pulumi_snowflake/get_streamlits.py +0 -159
- pulumi_snowflake/streamlit.py +0 -650
- {pulumi_snowflake-0.57.0.dist-info → pulumi_snowflake-0.57.0a1721891443.dist-info}/top_level.txt +0 -0
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
pulumi_snowflake/__init__.py,sha256=
|
|
2
|
-
pulumi_snowflake/_inputs.py,sha256=
|
|
3
|
-
pulumi_snowflake/_utilities.py,sha256=
|
|
1
|
+
pulumi_snowflake/__init__.py,sha256=YVBXMrwSj4gqfVBn9FXNYVm3bos9N4EihGMQPXniakA,17422
|
|
2
|
+
pulumi_snowflake/_inputs.py,sha256=4TLGqFB45q4EWhzWnrdWXWP0ty98ZKQg4ue7xF8XcxY,455730
|
|
3
|
+
pulumi_snowflake/_utilities.py,sha256=ebJyWyMCMYLpnVkJVRkMiyEceWyxZ09ZYhxd1W7MWxs,10446
|
|
4
4
|
pulumi_snowflake/account.py,sha256=vJUJAc9rMC1XkVlj_q4AwDu6kO0DAvGFOqc89XTTGUs,47120
|
|
5
5
|
pulumi_snowflake/account_parameter.py,sha256=tQwfHgeDP9BHYfvXuhSl1vTub0UvMw52KGJNNy-n_ds,9445
|
|
6
6
|
pulumi_snowflake/account_password_policy_attachment.py,sha256=-JsZcmX9NHY2KQS1devUCXoqEZFKTUSZaOd_jl97S_k,7628
|
|
7
|
-
pulumi_snowflake/account_role.py,sha256=4JH9BLYZNM6nfHVv6i6iDaF14h0_LBpwmBcZWDue0wo,9557
|
|
8
7
|
pulumi_snowflake/alert.py,sha256=biv6GdmJ2sncU60-vLs_b4MNS_n2NGftoXjrU1trbU8,23278
|
|
9
|
-
pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py,sha256=
|
|
10
|
-
pulumi_snowflake/api_authentication_integration_with_client_credentials.py,sha256=
|
|
11
|
-
pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py,sha256=
|
|
8
|
+
pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py,sha256=pfiC3MUb1MydKfVkWAJlFBRbP69dHttnoqBO58t1rIQ,41148
|
|
9
|
+
pulumi_snowflake/api_authentication_integration_with_client_credentials.py,sha256=qSG1b-D1ON4JFIgWm7EfqdA5VtBL4AUO-UTR4aQDCxM,37904
|
|
10
|
+
pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py,sha256=oaYuEvFPFOgqd_ljRHTeJwhd7gE9Qq84FEEydmIaPZk,38672
|
|
12
11
|
pulumi_snowflake/api_integration.py,sha256=KRwKhCyjlTuoM-IHtkgTD31uIJlGv340s78VBsEf7Qg,40947
|
|
13
12
|
pulumi_snowflake/cortex_search_service.py,sha256=3tsNMJxmOdj9nGpnGW0Bd5Zo1bCEckV1olo186019fg,23896
|
|
14
|
-
pulumi_snowflake/database.py,sha256=
|
|
13
|
+
pulumi_snowflake/database.py,sha256=PjDSeIyNVF8JglVGbaSL6ibTE-f-JeebgGEMjWGI6is,77990
|
|
15
14
|
pulumi_snowflake/database_old.py,sha256=27OE3sOJKSNMuhPwBA9AjSV3aQaLbbEoReLjotYUutc,30383
|
|
16
15
|
pulumi_snowflake/database_role.py,sha256=3jo3f547ySt5GuNBCKlUx7WyboeSjxZ2oUgbgpWi6cI,9831
|
|
17
16
|
pulumi_snowflake/dynamic_table.py,sha256=TT7bi_TFwNEsi9wSwvFr5TB3WGXAs89jYMhnY02felk,40652
|
|
18
17
|
pulumi_snowflake/email_notification_integration.py,sha256=Vf2-KL9Ec6KVb2-ijUV7YAzOsYwst5BKypwDHhWkjJs,11731
|
|
19
18
|
pulumi_snowflake/external_function.py,sha256=EHYcrx0MNRCyV8HV3CM0w9bRfXfVbP9STWzqSMKzFW4,48911
|
|
20
|
-
pulumi_snowflake/external_oauth_integration.py,sha256=
|
|
19
|
+
pulumi_snowflake/external_oauth_integration.py,sha256=QJ7JbaGHnQ99LgjHHJ_t5PwVwz-4E00TngFvKD15BgE,64921
|
|
21
20
|
pulumi_snowflake/external_table.py,sha256=utJNNSFmiigInW1EAMDK6-bGlj4U3TtYSSIoJXK6dpg,40874
|
|
22
21
|
pulumi_snowflake/failover_group.py,sha256=qkzfmKwLfPzwyZPQqro0nLTIlkYnAPWQ0ep6rLS9Jvs,38900
|
|
23
22
|
pulumi_snowflake/file_format.py,sha256=02NrI5_S1O2Xt6fHn_hKN2WoH3jhyJLBdYDHGJ9AoOU,91876
|
|
@@ -40,21 +39,19 @@ pulumi_snowflake/get_functions.py,sha256=A8jzOryl_PloHXf8EIKEt1NCIP3oQSyAV8XMdVI
|
|
|
40
39
|
pulumi_snowflake/get_grants.py,sha256=hHqQkfXr9y9UJCTAG8jpf36HL3BqHUxyza6LbnzZLCE,14707
|
|
41
40
|
pulumi_snowflake/get_masking_policies.py,sha256=ra6_KaY7vxq4o3xztRQF7qJT4j8sQHmQRvxIA_MaxGs,4519
|
|
42
41
|
pulumi_snowflake/get_materialized_views.py,sha256=SzrOyytKFC1L1Bxtf_k8PI0wXfP_zkvrAfRHdYJIovQ,4558
|
|
43
|
-
pulumi_snowflake/get_network_policies.py,sha256=QFQLzEvCNuFWh7ZXdfh5Qk_1NF34Fmq322_ci5MG1kY,6251
|
|
44
42
|
pulumi_snowflake/get_parameters.py,sha256=sziM3-TIrQKQutCRQddpm6ql82SaE5lie55lm1dNAOw,9700
|
|
45
43
|
pulumi_snowflake/get_pipes.py,sha256=S8EURVcZJze6r7br5sdFFEcxmf358EK3ept7Sft5CFE,4053
|
|
46
44
|
pulumi_snowflake/get_procedures.py,sha256=1DZvj-MhgKOW3BGB6EQVtofsGAha8Rg7Sh2P1jsDars,4263
|
|
47
45
|
pulumi_snowflake/get_resource_monitors.py,sha256=ou1SwZvtDDpkFmFYvYZpmS_KeI_Zy51OW4Rk9EEDAGw,2895
|
|
48
46
|
pulumi_snowflake/get_role.py,sha256=BvCk_WCi6C8GvQc9q4nlWprYwVt9pI1pHUYieW_2JRs,3392
|
|
49
|
-
pulumi_snowflake/get_roles.py,sha256=
|
|
47
|
+
pulumi_snowflake/get_roles.py,sha256=csmM2aUsONasQtcI_63lwUurXmWtzOzS2bGLN5jk1pk,3422
|
|
50
48
|
pulumi_snowflake/get_row_access_policies.py,sha256=U6dOdDDR5IN60wvnJmZ2vNr7JE6HrHzJ5Js9WHCBncs,4628
|
|
51
|
-
pulumi_snowflake/get_schemas.py,sha256=
|
|
49
|
+
pulumi_snowflake/get_schemas.py,sha256=_I9Z61kOwMrpj8ubDVuVTaWZhcWutdd1e-73WQs43d8,3348
|
|
52
50
|
pulumi_snowflake/get_security_integrations.py,sha256=n-n8vPw4xGAX2fMOt3DT-CCVG6BUM0mR2iTSPSOuDqc,6563
|
|
53
51
|
pulumi_snowflake/get_sequences.py,sha256=xp_duxQQTXk5R6MW7bhoqX9dEk7bATY1fk5F8vcuOoM,4221
|
|
54
52
|
pulumi_snowflake/get_shares.py,sha256=xOrMChS5bTQ8vIETDAtJt1Ar7VDjSo3fpqQldXyfRLU,3365
|
|
55
53
|
pulumi_snowflake/get_stages.py,sha256=0aDVuqtlisNUHBA1z81PgpUrYSNmfIUp3CrNTPG9vt0,4095
|
|
56
54
|
pulumi_snowflake/get_storage_integrations.py,sha256=B96Ikapf8A8FcFYRivOwOooBjbyj7wsZnul0C7kHJK4,3003
|
|
57
|
-
pulumi_snowflake/get_streamlits.py,sha256=s9bF0f9OI3hpRRWuZBY2zDQXYz2I8bsJ29cSa3gAnUg,8615
|
|
58
55
|
pulumi_snowflake/get_streams.py,sha256=lKhjr5ZI0ImQjl-zJPjVwzZNwPJDmZws4znbyQYynY8,4137
|
|
59
56
|
pulumi_snowflake/get_system_generate_scim_access_token.py,sha256=qDnAfUXWuNeg4CkP0Rt8SZliQsE9kAyMYlB8U3cikvg,3986
|
|
60
57
|
pulumi_snowflake/get_system_get_aws_sns_iam_policy.py,sha256=fm4NJGPdm5RehwqL0glf-HfiAf_71JxLNmNJaXQSNrI,4269
|
|
@@ -75,45 +72,44 @@ pulumi_snowflake/grant_privileges_to_share.py,sha256=U03vjv93LgnKjcEDglAsfUlcQmd
|
|
|
75
72
|
pulumi_snowflake/managed_account.py,sha256=IsRioua9GLxB93e8v4mSS88bYkHJ3DyOo64ao3cp_BY,20526
|
|
76
73
|
pulumi_snowflake/masking_policy.py,sha256=2KnJCdaIKk4ocLgVlCFCf9ngDVFamjga7fszkas0Kjw,29322
|
|
77
74
|
pulumi_snowflake/materialized_view.py,sha256=_VhZ7Q1RiPsbPDWlPxVeVCqqHLUQsxoggGiPq2CaCE0,23378
|
|
78
|
-
pulumi_snowflake/network_policy.py,sha256=
|
|
75
|
+
pulumi_snowflake/network_policy.py,sha256=sfgdw87fJV_0f6uylPbv7JpOySSeMRuxv_iVKt964pY,20849
|
|
79
76
|
pulumi_snowflake/network_policy_attachment.py,sha256=EXOob_OuzWvFFMr_KffaX3TDs9Z2toWZXdFdsWxpGQ4,15886
|
|
80
77
|
pulumi_snowflake/network_rule.py,sha256=3ZfVe2h9JjvKuWhQ9umrvLHoQsTu9X5jD98kH7uDsQs,24105
|
|
81
78
|
pulumi_snowflake/notification_integration.py,sha256=mtEOKUNubXTaZFln3Z5iIXjIU9acipZyNBKRwo_oaEA,48506
|
|
82
79
|
pulumi_snowflake/oauth_integration.py,sha256=z6m4d7mxQ5C7UTIFBMr1262WlizqfRbW169RMm2UiJo,32685
|
|
83
|
-
pulumi_snowflake/oauth_integration_for_custom_clients.py,sha256=
|
|
84
|
-
pulumi_snowflake/oauth_integration_for_partner_applications.py,sha256=
|
|
80
|
+
pulumi_snowflake/oauth_integration_for_custom_clients.py,sha256=BV9ZEOxvo1-BFquxzMXRPWyQZwcD7HAiDb_QtGvw_eg,56986
|
|
81
|
+
pulumi_snowflake/oauth_integration_for_partner_applications.py,sha256=zulCMCO6D3AkLWDKIKmwnqxBkKSDQCzaYFyCq4hn97U,34452
|
|
85
82
|
pulumi_snowflake/object_parameter.py,sha256=RrZ30vr5g-snSKZiJtTd7oGkCk8V0CDNv44uA4J-U_0,21635
|
|
86
|
-
pulumi_snowflake/outputs.py,sha256=
|
|
83
|
+
pulumi_snowflake/outputs.py,sha256=fiiKXgzOAjeefn2z4wYyN3bx4QMszImDDjkisSURGAc,537375
|
|
87
84
|
pulumi_snowflake/password_policy.py,sha256=KbUVIr4fMYuwYf1HEfKxTjf6jSuJbarcTDZh17laQGY,53191
|
|
88
85
|
pulumi_snowflake/pipe.py,sha256=N_U9gy0MMoCRTOxDyOtEherFeG_QCu7aT-TsaH1MhcA,24843
|
|
89
86
|
pulumi_snowflake/procedure.py,sha256=qfNFo_jm1k3diAeRC8dGlydckWxPlPVolWYY2UZ6MDQ,43878
|
|
90
87
|
pulumi_snowflake/provider.py,sha256=UJDRm9PEGDK3jQ1LKdk4qclY1eCZ-Tk8x5W0U9lXptk,85040
|
|
91
|
-
pulumi_snowflake/pulumi-plugin.json,sha256=
|
|
88
|
+
pulumi_snowflake/pulumi-plugin.json,sha256=U6mS5p-naONAlFpVTgdOkzLJR1oTIKWkKFyN-bm1kHA,86
|
|
92
89
|
pulumi_snowflake/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
93
90
|
pulumi_snowflake/resource_monitor.py,sha256=V2bJR2jvWbO4yZYUF8lp8qzBIgM85mP878FzuLAdCcU,38970
|
|
94
|
-
pulumi_snowflake/role.py,sha256=
|
|
91
|
+
pulumi_snowflake/role.py,sha256=8Ew60WGFMrEYmp_kLiYZI0LaBZkrivzLVSO_5y2-Ra8,9590
|
|
95
92
|
pulumi_snowflake/row_access_policy.py,sha256=z9GSTCGxTvHtZUxh0cQu35yitocJ8lUR90XcWqIC58c,20109
|
|
96
|
-
pulumi_snowflake/saml2_integration.py,sha256=
|
|
93
|
+
pulumi_snowflake/saml2_integration.py,sha256=Wa3QQ97xRey3AxOYKPo26q6izzhthvdFbQwf_Dtligk,71637
|
|
97
94
|
pulumi_snowflake/saml_integration.py,sha256=bVQPrrXXKTym0w3usppuiJERA6cg7rjQcOc5zGO6cMo,65285
|
|
98
|
-
pulumi_snowflake/schema.py,sha256=
|
|
99
|
-
pulumi_snowflake/scim_integration.py,sha256=
|
|
100
|
-
pulumi_snowflake/secondary_database.py,sha256=
|
|
95
|
+
pulumi_snowflake/schema.py,sha256=hmo5p3Rb4aSvKIpw-t3nUxRLKHuWH0mlrv0brbRzEKg,23220
|
|
96
|
+
pulumi_snowflake/scim_integration.py,sha256=cduJ7hDDxUpA633N8VgZ80dkxUHNJZVuB9lUT5yJfdM,26328
|
|
97
|
+
pulumi_snowflake/secondary_database.py,sha256=2lrpF_VUp4RMzuPLCqKBGG1iBJlJgbetKV3Nio_Tggk,73498
|
|
101
98
|
pulumi_snowflake/sequence.py,sha256=WCrhrUSIeSS4aRAg_q8CknVjsswpDB9ksZaCp_uJybg,18596
|
|
102
99
|
pulumi_snowflake/session_parameter.py,sha256=3MITgbXMi6B3-XGLI7iebq2pRHgG6-pBPGMNs-I4Jyk,13557
|
|
103
100
|
pulumi_snowflake/share.py,sha256=WvO2tfeyPs5s0q7myV6TyEMXeazsZpI3gsTcl5ssdzM,11207
|
|
104
|
-
pulumi_snowflake/shared_database.py,sha256=
|
|
101
|
+
pulumi_snowflake/shared_database.py,sha256=VuLCtSyjDD3376FJGn2fzPH1v3F4_RieQNJkkKmKMmo,55781
|
|
105
102
|
pulumi_snowflake/stage.py,sha256=MSpWrW_FWlwMEAXUb1vxp806Cg5v5MIjX-jz2dg6lOo,35611
|
|
106
103
|
pulumi_snowflake/storage_integration.py,sha256=usRmBXSV_0UBL9PZiF51T5w6Dxfsj4MnhJPdxqytcBk,31315
|
|
107
104
|
pulumi_snowflake/stream.py,sha256=WgZ87qdjc4_meR5x2JNd8lsrdfn1y1gWalVs2u_CIZ4,24999
|
|
108
|
-
pulumi_snowflake/
|
|
109
|
-
pulumi_snowflake/table.py,sha256=N3XFJBDXbBniEhBI4FZJpdtmFgAHEOOHCTLWbgkl_r4,32250
|
|
105
|
+
pulumi_snowflake/table.py,sha256=PnNRiEg6rf-uGyPj8ZpnDRx8C4XO0zYMnvnD636rmt0,36328
|
|
110
106
|
pulumi_snowflake/table_column_masking_policy_application.py,sha256=gM5EZc64cM86Pd2r_QaPyJc5wTtiuNfjMMbmV2ko6gc,11641
|
|
111
|
-
pulumi_snowflake/table_constraint.py,sha256=
|
|
107
|
+
pulumi_snowflake/table_constraint.py,sha256=7av_dn6pMXXtu7-A9JXN0o5s-HfwEaLv2GM5x0qAv9k,35742
|
|
112
108
|
pulumi_snowflake/tag.py,sha256=arbK3yapCB2mFgxb2UhkbwZWl5dCTaANgd9eA9CTLBA,14591
|
|
113
109
|
pulumi_snowflake/tag_association.py,sha256=oR2jKBmCvnIHkvAodWmeHkyZTpowJhgwsq1Y3tvsJIM,26054
|
|
114
110
|
pulumi_snowflake/tag_masking_policy_association.py,sha256=peiS_9g69yO976ZTIz53DCRky90xcP44G4telKz6eFc,10129
|
|
115
111
|
pulumi_snowflake/task.py,sha256=H2cdntrFuWNcGpJl5Ywbls5P5GAfzIHboGUkShKsQ4Y,48980
|
|
116
|
-
pulumi_snowflake/unsafe_execute.py,sha256=
|
|
112
|
+
pulumi_snowflake/unsafe_execute.py,sha256=QBBaRMMrhIj74Gzvt-J6bJg-6r6qZooOBckGKmSuz0E,13478
|
|
117
113
|
pulumi_snowflake/user.py,sha256=rl5DfPWWUUnoea9muzD3JRpym_fvFLaPPCHawBD5N-8,43432
|
|
118
114
|
pulumi_snowflake/user_password_policy_attachment.py,sha256=KlKgy4vWuR9gQ-J5NMjrBsh3XUtltstBMbBL0KGEYBY,10050
|
|
119
115
|
pulumi_snowflake/user_public_keys.py,sha256=Z8QaNFXe8bGM0pzxRwM3bPSlGvqXVOxejQLDbhQm5Ck,11278
|
|
@@ -123,7 +119,7 @@ pulumi_snowflake/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3A
|
|
|
123
119
|
pulumi_snowflake/config/__init__.pyi,sha256=wA0KR9Mzb7OhcEV0M_FSljX8L_jCHB4hMilHnLcVwTo,9868
|
|
124
120
|
pulumi_snowflake/config/outputs.py,sha256=zm82Qv8RbeJ_iKb90mfdQeQBHOwjYRC8zHHII-DHiNs,3867
|
|
125
121
|
pulumi_snowflake/config/vars.py,sha256=D3v_7m-rX66OwF6n2t32KU1cRLebk5_u6vSbTuL9o-Y,15762
|
|
126
|
-
pulumi_snowflake-0.57.
|
|
127
|
-
pulumi_snowflake-0.57.
|
|
128
|
-
pulumi_snowflake-0.57.
|
|
129
|
-
pulumi_snowflake-0.57.
|
|
122
|
+
pulumi_snowflake-0.57.0a1721891443.dist-info/METADATA,sha256=S4cJZqaCR988q2xn4l5arjmljfB2mXLW3DHuy9eGGKk,4981
|
|
123
|
+
pulumi_snowflake-0.57.0a1721891443.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
|
124
|
+
pulumi_snowflake-0.57.0a1721891443.dist-info/top_level.txt,sha256=g3Beva1lYynlCe8hPZIQgjAlBgsI_1k3yHm8t4KhUN4,17
|
|
125
|
+
pulumi_snowflake-0.57.0a1721891443.dist-info/RECORD,,
|
pulumi_snowflake/account_role.py
DELETED
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
|
|
5
|
-
import copy
|
|
6
|
-
import warnings
|
|
7
|
-
import pulumi
|
|
8
|
-
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
-
from . import _utilities
|
|
11
|
-
from . import outputs
|
|
12
|
-
from ._inputs import *
|
|
13
|
-
|
|
14
|
-
__all__ = ['AccountRoleArgs', 'AccountRole']
|
|
15
|
-
|
|
16
|
-
@pulumi.input_type
|
|
17
|
-
class AccountRoleArgs:
|
|
18
|
-
def __init__(__self__, *,
|
|
19
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
20
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
21
|
-
"""
|
|
22
|
-
The set of arguments for constructing a AccountRole resource.
|
|
23
|
-
"""
|
|
24
|
-
if comment is not None:
|
|
25
|
-
pulumi.set(__self__, "comment", comment)
|
|
26
|
-
if name is not None:
|
|
27
|
-
pulumi.set(__self__, "name", name)
|
|
28
|
-
|
|
29
|
-
@property
|
|
30
|
-
@pulumi.getter
|
|
31
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
32
|
-
return pulumi.get(self, "comment")
|
|
33
|
-
|
|
34
|
-
@comment.setter
|
|
35
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
36
|
-
pulumi.set(self, "comment", value)
|
|
37
|
-
|
|
38
|
-
@property
|
|
39
|
-
@pulumi.getter
|
|
40
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
41
|
-
return pulumi.get(self, "name")
|
|
42
|
-
|
|
43
|
-
@name.setter
|
|
44
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
45
|
-
pulumi.set(self, "name", value)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
@pulumi.input_type
|
|
49
|
-
class _AccountRoleState:
|
|
50
|
-
def __init__(__self__, *,
|
|
51
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
52
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
53
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['AccountRoleShowOutputArgs']]]] = None):
|
|
54
|
-
"""
|
|
55
|
-
Input properties used for looking up and filtering AccountRole resources.
|
|
56
|
-
:param pulumi.Input[Sequence[pulumi.Input['AccountRoleShowOutputArgs']]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
|
|
57
|
-
"""
|
|
58
|
-
if comment is not None:
|
|
59
|
-
pulumi.set(__self__, "comment", comment)
|
|
60
|
-
if name is not None:
|
|
61
|
-
pulumi.set(__self__, "name", name)
|
|
62
|
-
if show_outputs is not None:
|
|
63
|
-
pulumi.set(__self__, "show_outputs", show_outputs)
|
|
64
|
-
|
|
65
|
-
@property
|
|
66
|
-
@pulumi.getter
|
|
67
|
-
def comment(self) -> Optional[pulumi.Input[str]]:
|
|
68
|
-
return pulumi.get(self, "comment")
|
|
69
|
-
|
|
70
|
-
@comment.setter
|
|
71
|
-
def comment(self, value: Optional[pulumi.Input[str]]):
|
|
72
|
-
pulumi.set(self, "comment", value)
|
|
73
|
-
|
|
74
|
-
@property
|
|
75
|
-
@pulumi.getter
|
|
76
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
77
|
-
return pulumi.get(self, "name")
|
|
78
|
-
|
|
79
|
-
@name.setter
|
|
80
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
81
|
-
pulumi.set(self, "name", value)
|
|
82
|
-
|
|
83
|
-
@property
|
|
84
|
-
@pulumi.getter(name="showOutputs")
|
|
85
|
-
def show_outputs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AccountRoleShowOutputArgs']]]]:
|
|
86
|
-
"""
|
|
87
|
-
Outputs the result of `SHOW ROLES` for the given role.
|
|
88
|
-
"""
|
|
89
|
-
return pulumi.get(self, "show_outputs")
|
|
90
|
-
|
|
91
|
-
@show_outputs.setter
|
|
92
|
-
def show_outputs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AccountRoleShowOutputArgs']]]]):
|
|
93
|
-
pulumi.set(self, "show_outputs", value)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
class AccountRole(pulumi.CustomResource):
|
|
97
|
-
@overload
|
|
98
|
-
def __init__(__self__,
|
|
99
|
-
resource_name: str,
|
|
100
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
101
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
102
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
103
|
-
__props__=None):
|
|
104
|
-
"""
|
|
105
|
-
!> **V1 release candidate** This resource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
106
|
-
|
|
107
|
-
The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
|
|
108
|
-
|
|
109
|
-
## Minimal
|
|
110
|
-
|
|
111
|
-
resource "AccountRole" "minimal" {
|
|
112
|
-
name = "role_name"
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
## Complete (with every optional set)
|
|
116
|
-
|
|
117
|
-
resource "AccountRole" "complete" {
|
|
118
|
-
name = "role_name"
|
|
119
|
-
comment = "my account role"
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
:param str resource_name: The name of the resource.
|
|
123
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
124
|
-
"""
|
|
125
|
-
...
|
|
126
|
-
@overload
|
|
127
|
-
def __init__(__self__,
|
|
128
|
-
resource_name: str,
|
|
129
|
-
args: Optional[AccountRoleArgs] = None,
|
|
130
|
-
opts: Optional[pulumi.ResourceOptions] = None):
|
|
131
|
-
"""
|
|
132
|
-
!> **V1 release candidate** This resource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
133
|
-
|
|
134
|
-
The resource is used for role management, where roles can be assigned privileges and, in turn, granted to users and other roles. When granted to roles they can create hierarchies of privilege structures. For more details, refer to the [official documentation](https://docs.snowflake.com/en/user-guide/security-access-control-overview).
|
|
135
|
-
|
|
136
|
-
## Minimal
|
|
137
|
-
|
|
138
|
-
resource "AccountRole" "minimal" {
|
|
139
|
-
name = "role_name"
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
## Complete (with every optional set)
|
|
143
|
-
|
|
144
|
-
resource "AccountRole" "complete" {
|
|
145
|
-
name = "role_name"
|
|
146
|
-
comment = "my account role"
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
:param str resource_name: The name of the resource.
|
|
150
|
-
:param AccountRoleArgs args: The arguments to use to populate this resource's properties.
|
|
151
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
152
|
-
"""
|
|
153
|
-
...
|
|
154
|
-
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
155
|
-
resource_args, opts = _utilities.get_resource_args_opts(AccountRoleArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
156
|
-
if resource_args is not None:
|
|
157
|
-
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
158
|
-
else:
|
|
159
|
-
__self__._internal_init(resource_name, *args, **kwargs)
|
|
160
|
-
|
|
161
|
-
def _internal_init(__self__,
|
|
162
|
-
resource_name: str,
|
|
163
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
164
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
165
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
166
|
-
__props__=None):
|
|
167
|
-
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
168
|
-
if not isinstance(opts, pulumi.ResourceOptions):
|
|
169
|
-
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
170
|
-
if opts.id is None:
|
|
171
|
-
if __props__ is not None:
|
|
172
|
-
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
173
|
-
__props__ = AccountRoleArgs.__new__(AccountRoleArgs)
|
|
174
|
-
|
|
175
|
-
__props__.__dict__["comment"] = comment
|
|
176
|
-
__props__.__dict__["name"] = name
|
|
177
|
-
__props__.__dict__["show_outputs"] = None
|
|
178
|
-
super(AccountRole, __self__).__init__(
|
|
179
|
-
'snowflake:index/accountRole:AccountRole',
|
|
180
|
-
resource_name,
|
|
181
|
-
__props__,
|
|
182
|
-
opts)
|
|
183
|
-
|
|
184
|
-
@staticmethod
|
|
185
|
-
def get(resource_name: str,
|
|
186
|
-
id: pulumi.Input[str],
|
|
187
|
-
opts: Optional[pulumi.ResourceOptions] = None,
|
|
188
|
-
comment: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
190
|
-
show_outputs: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AccountRoleShowOutputArgs']]]]] = None) -> 'AccountRole':
|
|
191
|
-
"""
|
|
192
|
-
Get an existing AccountRole resource's state with the given name, id, and optional extra
|
|
193
|
-
properties used to qualify the lookup.
|
|
194
|
-
|
|
195
|
-
:param str resource_name: The unique name of the resulting resource.
|
|
196
|
-
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
197
|
-
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
198
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AccountRoleShowOutputArgs']]]] show_outputs: Outputs the result of `SHOW ROLES` for the given role.
|
|
199
|
-
"""
|
|
200
|
-
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
201
|
-
|
|
202
|
-
__props__ = _AccountRoleState.__new__(_AccountRoleState)
|
|
203
|
-
|
|
204
|
-
__props__.__dict__["comment"] = comment
|
|
205
|
-
__props__.__dict__["name"] = name
|
|
206
|
-
__props__.__dict__["show_outputs"] = show_outputs
|
|
207
|
-
return AccountRole(resource_name, opts=opts, __props__=__props__)
|
|
208
|
-
|
|
209
|
-
@property
|
|
210
|
-
@pulumi.getter
|
|
211
|
-
def comment(self) -> pulumi.Output[Optional[str]]:
|
|
212
|
-
return pulumi.get(self, "comment")
|
|
213
|
-
|
|
214
|
-
@property
|
|
215
|
-
@pulumi.getter
|
|
216
|
-
def name(self) -> pulumi.Output[str]:
|
|
217
|
-
return pulumi.get(self, "name")
|
|
218
|
-
|
|
219
|
-
@property
|
|
220
|
-
@pulumi.getter(name="showOutputs")
|
|
221
|
-
def show_outputs(self) -> pulumi.Output[Sequence['outputs.AccountRoleShowOutput']]:
|
|
222
|
-
"""
|
|
223
|
-
Outputs the result of `SHOW ROLES` for the given role.
|
|
224
|
-
"""
|
|
225
|
-
return pulumi.get(self, "show_outputs")
|
|
226
|
-
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
|
|
5
|
-
import copy
|
|
6
|
-
import warnings
|
|
7
|
-
import pulumi
|
|
8
|
-
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
-
from . import _utilities
|
|
11
|
-
from . import outputs
|
|
12
|
-
|
|
13
|
-
__all__ = [
|
|
14
|
-
'GetNetworkPoliciesResult',
|
|
15
|
-
'AwaitableGetNetworkPoliciesResult',
|
|
16
|
-
'get_network_policies',
|
|
17
|
-
'get_network_policies_output',
|
|
18
|
-
]
|
|
19
|
-
|
|
20
|
-
@pulumi.output_type
|
|
21
|
-
class GetNetworkPoliciesResult:
|
|
22
|
-
"""
|
|
23
|
-
A collection of values returned by getNetworkPolicies.
|
|
24
|
-
"""
|
|
25
|
-
def __init__(__self__, id=None, like=None, network_policies=None, with_describe=None):
|
|
26
|
-
if id and not isinstance(id, str):
|
|
27
|
-
raise TypeError("Expected argument 'id' to be a str")
|
|
28
|
-
pulumi.set(__self__, "id", id)
|
|
29
|
-
if like and not isinstance(like, str):
|
|
30
|
-
raise TypeError("Expected argument 'like' to be a str")
|
|
31
|
-
pulumi.set(__self__, "like", like)
|
|
32
|
-
if network_policies and not isinstance(network_policies, list):
|
|
33
|
-
raise TypeError("Expected argument 'network_policies' to be a list")
|
|
34
|
-
pulumi.set(__self__, "network_policies", network_policies)
|
|
35
|
-
if with_describe and not isinstance(with_describe, bool):
|
|
36
|
-
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
37
|
-
pulumi.set(__self__, "with_describe", with_describe)
|
|
38
|
-
|
|
39
|
-
@property
|
|
40
|
-
@pulumi.getter
|
|
41
|
-
def id(self) -> str:
|
|
42
|
-
"""
|
|
43
|
-
The provider-assigned unique ID for this managed resource.
|
|
44
|
-
"""
|
|
45
|
-
return pulumi.get(self, "id")
|
|
46
|
-
|
|
47
|
-
@property
|
|
48
|
-
@pulumi.getter
|
|
49
|
-
def like(self) -> Optional[str]:
|
|
50
|
-
"""
|
|
51
|
-
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
52
|
-
"""
|
|
53
|
-
return pulumi.get(self, "like")
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
@pulumi.getter(name="networkPolicies")
|
|
57
|
-
def network_policies(self) -> Sequence['outputs.GetNetworkPoliciesNetworkPolicyResult']:
|
|
58
|
-
"""
|
|
59
|
-
Holds the aggregated output of all network policies details queries.
|
|
60
|
-
"""
|
|
61
|
-
return pulumi.get(self, "network_policies")
|
|
62
|
-
|
|
63
|
-
@property
|
|
64
|
-
@pulumi.getter(name="withDescribe")
|
|
65
|
-
def with_describe(self) -> Optional[bool]:
|
|
66
|
-
"""
|
|
67
|
-
Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
68
|
-
"""
|
|
69
|
-
return pulumi.get(self, "with_describe")
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
class AwaitableGetNetworkPoliciesResult(GetNetworkPoliciesResult):
|
|
73
|
-
# pylint: disable=using-constant-test
|
|
74
|
-
def __await__(self):
|
|
75
|
-
if False:
|
|
76
|
-
yield self
|
|
77
|
-
return GetNetworkPoliciesResult(
|
|
78
|
-
id=self.id,
|
|
79
|
-
like=self.like,
|
|
80
|
-
network_policies=self.network_policies,
|
|
81
|
-
with_describe=self.with_describe)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
def get_network_policies(like: Optional[str] = None,
|
|
85
|
-
with_describe: Optional[bool] = None,
|
|
86
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNetworkPoliciesResult:
|
|
87
|
-
"""
|
|
88
|
-
!> **V1 release candidate** This resource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
89
|
-
|
|
90
|
-
Datasource used to get details of filtered network policies. Filtering is aligned with the current possibilities for [SHOW NETWORK POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-network-policies) query (`like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
94
|
-
:param bool with_describe: Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
95
|
-
"""
|
|
96
|
-
__args__ = dict()
|
|
97
|
-
__args__['like'] = like
|
|
98
|
-
__args__['withDescribe'] = with_describe
|
|
99
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
100
|
-
__ret__ = pulumi.runtime.invoke('snowflake:index/getNetworkPolicies:getNetworkPolicies', __args__, opts=opts, typ=GetNetworkPoliciesResult).value
|
|
101
|
-
|
|
102
|
-
return AwaitableGetNetworkPoliciesResult(
|
|
103
|
-
id=pulumi.get(__ret__, 'id'),
|
|
104
|
-
like=pulumi.get(__ret__, 'like'),
|
|
105
|
-
network_policies=pulumi.get(__ret__, 'network_policies'),
|
|
106
|
-
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
@_utilities.lift_output_func(get_network_policies)
|
|
110
|
-
def get_network_policies_output(like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
111
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
112
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkPoliciesResult]:
|
|
113
|
-
"""
|
|
114
|
-
!> **V1 release candidate** This resource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
115
|
-
|
|
116
|
-
Datasource used to get details of filtered network policies. Filtering is aligned with the current possibilities for [SHOW NETWORK POLICIES](https://docs.snowflake.com/en/sql-reference/sql/show-network-policies) query (`like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
120
|
-
:param bool with_describe: Runs DESC NETWORK POLICY for each network policy returned by SHOW NETWORK POLICIES. The output of describe is saved to the description field. By default this value is set to true.
|
|
121
|
-
"""
|
|
122
|
-
...
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
|
|
5
|
-
import copy
|
|
6
|
-
import warnings
|
|
7
|
-
import pulumi
|
|
8
|
-
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
10
|
-
from . import _utilities
|
|
11
|
-
from . import outputs
|
|
12
|
-
from ._inputs import *
|
|
13
|
-
|
|
14
|
-
__all__ = [
|
|
15
|
-
'GetStreamlitsResult',
|
|
16
|
-
'AwaitableGetStreamlitsResult',
|
|
17
|
-
'get_streamlits',
|
|
18
|
-
'get_streamlits_output',
|
|
19
|
-
]
|
|
20
|
-
|
|
21
|
-
@pulumi.output_type
|
|
22
|
-
class GetStreamlitsResult:
|
|
23
|
-
"""
|
|
24
|
-
A collection of values returned by getStreamlits.
|
|
25
|
-
"""
|
|
26
|
-
def __init__(__self__, id=None, in_=None, like=None, limit=None, streamlits=None, with_describe=None):
|
|
27
|
-
if id and not isinstance(id, str):
|
|
28
|
-
raise TypeError("Expected argument 'id' to be a str")
|
|
29
|
-
pulumi.set(__self__, "id", id)
|
|
30
|
-
if in_ and not isinstance(in_, dict):
|
|
31
|
-
raise TypeError("Expected argument 'in_' to be a dict")
|
|
32
|
-
pulumi.set(__self__, "in_", in_)
|
|
33
|
-
if like and not isinstance(like, str):
|
|
34
|
-
raise TypeError("Expected argument 'like' to be a str")
|
|
35
|
-
pulumi.set(__self__, "like", like)
|
|
36
|
-
if limit and not isinstance(limit, dict):
|
|
37
|
-
raise TypeError("Expected argument 'limit' to be a dict")
|
|
38
|
-
pulumi.set(__self__, "limit", limit)
|
|
39
|
-
if streamlits and not isinstance(streamlits, list):
|
|
40
|
-
raise TypeError("Expected argument 'streamlits' to be a list")
|
|
41
|
-
pulumi.set(__self__, "streamlits", streamlits)
|
|
42
|
-
if with_describe and not isinstance(with_describe, bool):
|
|
43
|
-
raise TypeError("Expected argument 'with_describe' to be a bool")
|
|
44
|
-
pulumi.set(__self__, "with_describe", with_describe)
|
|
45
|
-
|
|
46
|
-
@property
|
|
47
|
-
@pulumi.getter
|
|
48
|
-
def id(self) -> str:
|
|
49
|
-
"""
|
|
50
|
-
The provider-assigned unique ID for this managed resource.
|
|
51
|
-
"""
|
|
52
|
-
return pulumi.get(self, "id")
|
|
53
|
-
|
|
54
|
-
@property
|
|
55
|
-
@pulumi.getter(name="in")
|
|
56
|
-
def in_(self) -> Optional['outputs.GetStreamlitsInResult']:
|
|
57
|
-
"""
|
|
58
|
-
IN clause to filter the list of streamlits
|
|
59
|
-
"""
|
|
60
|
-
return pulumi.get(self, "in_")
|
|
61
|
-
|
|
62
|
-
@property
|
|
63
|
-
@pulumi.getter
|
|
64
|
-
def like(self) -> Optional[str]:
|
|
65
|
-
"""
|
|
66
|
-
Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
67
|
-
"""
|
|
68
|
-
return pulumi.get(self, "like")
|
|
69
|
-
|
|
70
|
-
@property
|
|
71
|
-
@pulumi.getter
|
|
72
|
-
def limit(self) -> Optional['outputs.GetStreamlitsLimitResult']:
|
|
73
|
-
"""
|
|
74
|
-
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`.
|
|
75
|
-
"""
|
|
76
|
-
return pulumi.get(self, "limit")
|
|
77
|
-
|
|
78
|
-
@property
|
|
79
|
-
@pulumi.getter
|
|
80
|
-
def streamlits(self) -> Sequence['outputs.GetStreamlitsStreamlitResult']:
|
|
81
|
-
"""
|
|
82
|
-
Holds the aggregated output of all streamlits details queries.
|
|
83
|
-
"""
|
|
84
|
-
return pulumi.get(self, "streamlits")
|
|
85
|
-
|
|
86
|
-
@property
|
|
87
|
-
@pulumi.getter(name="withDescribe")
|
|
88
|
-
def with_describe(self) -> Optional[bool]:
|
|
89
|
-
"""
|
|
90
|
-
Runs DESC STREAMLIT for each streamlit returned by SHOW STREAMLITS. The output of describe is saved to the description field. By default this value is set to true.
|
|
91
|
-
"""
|
|
92
|
-
return pulumi.get(self, "with_describe")
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
class AwaitableGetStreamlitsResult(GetStreamlitsResult):
|
|
96
|
-
# pylint: disable=using-constant-test
|
|
97
|
-
def __await__(self):
|
|
98
|
-
if False:
|
|
99
|
-
yield self
|
|
100
|
-
return GetStreamlitsResult(
|
|
101
|
-
id=self.id,
|
|
102
|
-
in_=self.in_,
|
|
103
|
-
like=self.like,
|
|
104
|
-
limit=self.limit,
|
|
105
|
-
streamlits=self.streamlits,
|
|
106
|
-
with_describe=self.with_describe)
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
def get_streamlits(in_: Optional[pulumi.InputType['GetStreamlitsInArgs']] = None,
|
|
110
|
-
like: Optional[str] = None,
|
|
111
|
-
limit: Optional[pulumi.InputType['GetStreamlitsLimitArgs']] = None,
|
|
112
|
-
with_describe: Optional[bool] = None,
|
|
113
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStreamlitsResult:
|
|
114
|
-
"""
|
|
115
|
-
!> **V1 release candidate** This resource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
116
|
-
|
|
117
|
-
Datasource used to get details of filtered streamlits. Filtering is aligned with the current possibilities for [SHOW STREAMLITS](https://docs.snowflake.com/en/sql-reference/sql/show-streamlits) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `streamlits`.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
:param pulumi.InputType['GetStreamlitsInArgs'] in_: IN clause to filter the list of streamlits
|
|
121
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
122
|
-
:param pulumi.InputType['GetStreamlitsLimitArgs'] limit: 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`.
|
|
123
|
-
:param bool with_describe: Runs DESC STREAMLIT for each streamlit returned by SHOW STREAMLITS. The output of describe is saved to the description field. By default this value is set to true.
|
|
124
|
-
"""
|
|
125
|
-
__args__ = dict()
|
|
126
|
-
__args__['in'] = in_
|
|
127
|
-
__args__['like'] = like
|
|
128
|
-
__args__['limit'] = limit
|
|
129
|
-
__args__['withDescribe'] = with_describe
|
|
130
|
-
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
131
|
-
__ret__ = pulumi.runtime.invoke('snowflake:index/getStreamlits:getStreamlits', __args__, opts=opts, typ=GetStreamlitsResult).value
|
|
132
|
-
|
|
133
|
-
return AwaitableGetStreamlitsResult(
|
|
134
|
-
id=pulumi.get(__ret__, 'id'),
|
|
135
|
-
in_=pulumi.get(__ret__, 'in_'),
|
|
136
|
-
like=pulumi.get(__ret__, 'like'),
|
|
137
|
-
limit=pulumi.get(__ret__, 'limit'),
|
|
138
|
-
streamlits=pulumi.get(__ret__, 'streamlits'),
|
|
139
|
-
with_describe=pulumi.get(__ret__, 'with_describe'))
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
@_utilities.lift_output_func(get_streamlits)
|
|
143
|
-
def get_streamlits_output(in_: Optional[pulumi.Input[Optional[pulumi.InputType['GetStreamlitsInArgs']]]] = None,
|
|
144
|
-
like: Optional[pulumi.Input[Optional[str]]] = None,
|
|
145
|
-
limit: Optional[pulumi.Input[Optional[pulumi.InputType['GetStreamlitsLimitArgs']]]] = None,
|
|
146
|
-
with_describe: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
147
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStreamlitsResult]:
|
|
148
|
-
"""
|
|
149
|
-
!> **V1 release candidate** This resource 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 resource if needed. Any errors reported will be resolved with a higher priority. We encourage checking this resource out before the V1 release. Please follow the migration guide to use it.
|
|
150
|
-
|
|
151
|
-
Datasource used to get details of filtered streamlits. Filtering is aligned with the current possibilities for [SHOW STREAMLITS](https://docs.snowflake.com/en/sql-reference/sql/show-streamlits) query (only `like` is supported). The results of SHOW and DESCRIBE are encapsulated in one output collection `streamlits`.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
:param pulumi.InputType['GetStreamlitsInArgs'] in_: IN clause to filter the list of streamlits
|
|
155
|
-
:param str like: Filters the output with **case-insensitive** pattern, with support for SQL wildcard characters (`%` and `_`).
|
|
156
|
-
:param pulumi.InputType['GetStreamlitsLimitArgs'] limit: 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`.
|
|
157
|
-
:param bool with_describe: Runs DESC STREAMLIT for each streamlit returned by SHOW STREAMLITS. The output of describe is saved to the description field. By default this value is set to true.
|
|
158
|
-
"""
|
|
159
|
-
...
|