@@ -39,7 +39,8 @@ if res:
3939 res = fb.policies.create_policies(names = [" p1" ], policy = attr)
4040 print (res)
4141 except rest.ApiException as e:
42- print (" Exception when creating policy: %s \n " % e)```
42+ print (" Exception when creating policy: %s \n " % e)
43+ ```
4344
4445### Parameters
4546
@@ -88,7 +89,8 @@ if res:
8889 member_names = [" myfs" ])
8990 print (res)
9091 except rest.ApiException as e:
91- print (" Exception when attaching policy to a file system: %s \n " % e)```
92+ print (" Exception when attaching policy to a file system: %s \n " % e)
93+ ```
9294
9395### Parameters
9496
@@ -135,7 +137,8 @@ if res:
135137 res = fb.policies.delete_policies(names = [" p1" ])
136138 print (res)
137139 except rest.ApiException as e:
138- print (" Exception when creating policy: %s \n " % e)```
140+ print (" Exception when creating policy: %s \n " % e)
141+ ```
139142
140143### Parameters
141144
@@ -183,7 +186,8 @@ if res:
183186 member_names = [" myfs" ])
184187 print (res)
185188 except rest.ApiException as e:
186- print (" Exception when deleting policy against a file system: %s \n " % e)```
189+ print (" Exception when deleting policy against a file system: %s \n " % e)
190+ ```
187191
188192### Parameters
189193
@@ -239,7 +243,8 @@ if res:
239243 res = fb.policies.list_policies(token = res.pagination_info.continuation_token)
240244 print (res)
241245 except rest.ApiException as e:
242- print (" Exception when listing policies: %s \n " % e)```
246+ print (" Exception when listing policies: %s \n " % e)
247+ ```
243248
244249### Parameters
245250
@@ -304,7 +309,8 @@ if res:
304309 res = fb.policies.list_policy_filesystem_snapshots(token = res.pagination_info.continuation_token)
305310 print (res)
306311 except rest.ApiException as e:
307- print (" Exception when listing policy file system snapshot: %s \n " % e)```
312+ print (" Exception when listing policy file system snapshot: %s \n " % e)
313+ ```
308314
309315### Parameters
310316
@@ -369,7 +375,8 @@ if res:
369375 res = fb.policies.list_policy_filesystems(token = res.pagination_info.continuation_token)
370376 print (res)
371377 except rest.ApiException as e:
372- print (" Exception when listing policy file system: %s \n " % e)```
378+ print (" Exception when listing policy file system: %s \n " % e)
379+ ```
373380
374381### Parameters
375382
@@ -438,7 +445,8 @@ if res:
438445 res = fb.policies.list_policy_members(token = res.pagination_info.continuation_token)
439446 print (res)
440447 except rest.ApiException as e:
441- print (" Exception when listing policy members: %s \n " % e)```
448+ print (" Exception when listing policy members: %s \n " % e)
449+ ```
442450
443451### Parameters
444452
@@ -491,7 +499,8 @@ if res:
491499 names = [" p1" ], policy_patch = Policy(enabled = False ))
492500 print (res)
493501 except rest.ApiException as e:
494- print (" Exception when updating policy: %s \n " % e)```
502+ print (" Exception when updating policy: %s \n " % e)
503+ ```
495504
496505### Parameters
497506
0 commit comments