@@ -27,9 +27,124 @@ func Devices() *schema.Table {
2727 Resolver : schema .PathResolver ("Etag" ),
2828 },
2929 {
30- Name : "properties " ,
30+ Name : "authorization_policies " ,
3131 Type : schema .TypeJSON ,
32- Resolver : schema .PathResolver ("Properties" ),
32+ Resolver : schema .PathResolver ("AuthorizationPolicies" ),
33+ },
34+ {
35+ Name : "disable_local_auth" ,
36+ Type : schema .TypeBool ,
37+ Resolver : schema .PathResolver ("DisableLocalAuth" ),
38+ },
39+ {
40+ Name : "disable_device_sas" ,
41+ Type : schema .TypeBool ,
42+ Resolver : schema .PathResolver ("DisableDeviceSAS" ),
43+ },
44+ {
45+ Name : "disable_module_sas" ,
46+ Type : schema .TypeBool ,
47+ Resolver : schema .PathResolver ("DisableModuleSAS" ),
48+ },
49+ {
50+ Name : "restrict_outbound_network_access" ,
51+ Type : schema .TypeBool ,
52+ Resolver : schema .PathResolver ("RestrictOutboundNetworkAccess" ),
53+ },
54+ {
55+ Name : "allowed_fqdn_list" ,
56+ Type : schema .TypeStringArray ,
57+ Resolver : schema .PathResolver ("AllowedFqdnList" ),
58+ },
59+ {
60+ Name : "public_network_access" ,
61+ Type : schema .TypeString ,
62+ Resolver : schema .PathResolver ("PublicNetworkAccess" ),
63+ },
64+ {
65+ Name : "ip_filter_rules" ,
66+ Type : schema .TypeJSON ,
67+ Resolver : schema .PathResolver ("IPFilterRules" ),
68+ },
69+ {
70+ Name : "network_rule_sets" ,
71+ Type : schema .TypeJSON ,
72+ Resolver : schema .PathResolver ("NetworkRuleSets" ),
73+ },
74+ {
75+ Name : "min_tls_version" ,
76+ Type : schema .TypeString ,
77+ Resolver : schema .PathResolver ("MinTLSVersion" ),
78+ },
79+ {
80+ Name : "private_endpoint_connections" ,
81+ Type : schema .TypeJSON ,
82+ Resolver : schema .PathResolver ("PrivateEndpointConnections" ),
83+ },
84+ {
85+ Name : "provisioning_state" ,
86+ Type : schema .TypeString ,
87+ Resolver : schema .PathResolver ("ProvisioningState" ),
88+ },
89+ {
90+ Name : "state" ,
91+ Type : schema .TypeString ,
92+ Resolver : schema .PathResolver ("State" ),
93+ },
94+ {
95+ Name : "host_name" ,
96+ Type : schema .TypeString ,
97+ Resolver : schema .PathResolver ("HostName" ),
98+ },
99+ {
100+ Name : "event_hub_endpoints" ,
101+ Type : schema .TypeJSON ,
102+ Resolver : schema .PathResolver ("EventHubEndpoints" ),
103+ },
104+ {
105+ Name : "routing" ,
106+ Type : schema .TypeJSON ,
107+ Resolver : schema .PathResolver ("Routing" ),
108+ },
109+ {
110+ Name : "storage_endpoints" ,
111+ Type : schema .TypeJSON ,
112+ Resolver : schema .PathResolver ("StorageEndpoints" ),
113+ },
114+ {
115+ Name : "messaging_endpoints" ,
116+ Type : schema .TypeJSON ,
117+ Resolver : schema .PathResolver ("MessagingEndpoints" ),
118+ },
119+ {
120+ Name : "enable_file_upload_notifications" ,
121+ Type : schema .TypeBool ,
122+ Resolver : schema .PathResolver ("EnableFileUploadNotifications" ),
123+ },
124+ {
125+ Name : "cloud_to_device" ,
126+ Type : schema .TypeJSON ,
127+ Resolver : schema .PathResolver ("CloudToDevice" ),
128+ },
129+ {
130+ Name : "comments" ,
131+ Type : schema .TypeString ,
132+ Resolver : schema .PathResolver ("Comments" ),
133+ },
134+ {
135+ Name : "features" ,
136+ Type : schema .TypeString ,
137+ Resolver : schema .PathResolver ("Features" ),
138+ },
139+ {
140+ Name : "locations" ,
141+ Type : schema .TypeJSON ,
142+ Resolver : schema .PathResolver ("Locations" ),
143+ },
144+ {
145+ Name : "enable_data_residency" ,
146+ Type : schema .TypeBool ,
147+ Resolver : schema .PathResolver ("EnableDataResidency" ),
33148 },
34149 {
35150 Name : "sku" ,
0 commit comments