agilicus 1.291.0__py3-none-any.whl → 1.291.1__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.
@@ -77,7 +77,7 @@ class ApiClient(object):
77
77
  self.default_headers[header_name] = header_value
78
78
  self.cookie = cookie
79
79
  # Set default User-Agent.
80
- self.user_agent = 'OpenAPI-Generator/1.291.0/python'
80
+ self.user_agent = 'OpenAPI-Generator/1.291.1/python'
81
81
 
82
82
  def __enter__(self):
83
83
  return self
@@ -387,7 +387,7 @@ class Configuration(object):
387
387
  "OS: {env}\n"\
388
388
  "Python Version: {pyversion}\n"\
389
389
  "Version of the API: 2025.06.26\n"\
390
- "SDK Package Version: 1.291.0".\
390
+ "SDK Package Version: 1.291.1".\
391
391
  format(env=sys.platform, pyversion=sys.version)
392
392
 
393
393
  def get_host_settings(self):
@@ -4,7 +4,7 @@ Agilicus is API-first. Modern software is controlled by other software, is open,
4
4
  The `agilicus_api` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
5
 
6
6
  - API version: 2025.06.26
7
- - Package version: 1.291.0
7
+ - Package version: 1.291.1
8
8
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
9
9
  For more information, please visit [https://www.agilicus.com/api](https://www.agilicus.com/api)
10
10
 
agilicus/main.py CHANGED
@@ -6194,6 +6194,9 @@ def list_resource_groups(ctx, **kwargs):
6194
6194
  type=click_extension.JSONFile("r"),
6195
6195
  )
6196
6196
  @click.option("--published", type=click.Choice(["no", "public"]), default=None)
6197
+ @click.option(
6198
+ "--hide", type=click.Choice(["no", "all", "desktop", "profile"]), default=None
6199
+ )
6197
6200
  @click.pass_context
6198
6201
  def update_resource(ctx, id, resource_member, remove_resource_member, **kwargs):
6199
6202
  result = resources.update_resource(
agilicus/regions.py CHANGED
@@ -154,7 +154,7 @@ def format_point_of_presences_as_text(ctx, tags):
154
154
  metadata_column("id"),
155
155
  spec_column("name"),
156
156
  spec_column("tags"),
157
- spec_column("routing.domains", "domains"),
157
+ spec_column("routing", "routing"),
158
158
  spec_column("master_cluster_id"),
159
159
  status_column("clusters"),
160
160
  ]
agilicus/resources.py CHANGED
@@ -220,6 +220,7 @@ def update_resource(
220
220
  rules_config_file=None,
221
221
  roles_config_file=None,
222
222
  published=None,
223
+ hide=None,
223
224
  **kwargs,
224
225
  ):
225
226
  org_id = get_org_from_input_or_ctx(ctx, org_id=org_id)
@@ -236,6 +237,11 @@ def update_resource(
236
237
  continue
237
238
  resource.spec.resource_members.append(member)
238
239
 
240
+ config = resource.spec.config
241
+ if config is None:
242
+ config = agilicus.ResourceConfig()
243
+ resource.spec.config = config
244
+
239
245
  if resource_members is not None:
240
246
  for member in resource_members:
241
247
  resource.spec.resource_members.append(agilicus.ResourceMember(id=member))
@@ -248,6 +254,13 @@ def update_resource(
248
254
  if published is not None:
249
255
  resource.spec.config.published = published
250
256
 
257
+ if hide:
258
+ display_info = config.display_info
259
+ if display_info is None:
260
+ display_info = agilicus.DisplayInfo(icons=[])
261
+ config.display_info = display_info
262
+ display_info.hide = hide
263
+
251
264
  return apiclient.resources_api.replace_resource(id, resource=resource).to_dict()
252
265
 
253
266
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: agilicus
3
- Version: 1.291.0
3
+ Version: 1.291.1
4
4
  Summary: Agilicus SDK
5
5
  Home-page: https://www.agilicus.com/
6
6
  License: MIT
@@ -71,9 +71,9 @@ agilicus/agilicus_api/api/users_api.py,sha256=uyrJp2f_kCH-bhKitTqVzMxtBosk5YwbFg
71
71
  agilicus/agilicus_api/api/users_api_mock.py,sha256=GP0l1NcvX0ynOiZhRtuArS4D7lviWYADG_5KZNSNY-s,18930
72
72
  agilicus/agilicus_api/api/whoami_api.py,sha256=e548_sEngKVKfjefeEzaSbfWKiCqgG9z4F_lQua3hFM,7941
73
73
  agilicus/agilicus_api/api/whoami_api_mock.py,sha256=rlvZoWnMCqORMZBg7SOv6d3xp52kELdh6wXcCaIZ93w,346
74
- agilicus/agilicus_api/api_client.py,sha256=mi8CJlfj-yXq93fpq3h8TxlUaaAT0ujjvlSP5s69GZY,38845
74
+ agilicus/agilicus_api/api_client.py,sha256=uqMMmTCUTpxjU5UPnp5uJPOTyDfg1Zv7K2KfkUqB5nk,38845
75
75
  agilicus/agilicus_api/apis/__init__.py,sha256=aJZD7x-umdSni6ZBr4XxzpH8pwtU9hA5LlCDxcqa1Q8,2224
76
- agilicus/agilicus_api/configuration.py,sha256=IojNx8iSrXtfAwDxpwHy7ujUXc-T1fxQhA7VIk9gMvI,18447
76
+ agilicus/agilicus_api/configuration.py,sha256=Oq0B0YHdRMqoEeQasTX6HoHNVtsCvX491n94GZs8bbs,18447
77
77
  agilicus/agilicus_api/docs/APIKey.md,sha256=4cKuz4_l9HcEDnUrLwYbEnn9C2WoDayrjfrY1Ixgaf4,1747
78
78
  agilicus/agilicus_api/docs/APIKeyIntrospect.md,sha256=nJ-zkuFm3JMbWFDYYN_vYyQk1snGBtBvIxtCQxamhAU,1019
79
79
  agilicus/agilicus_api/docs/APIKeyIntrospectAuthorizationInfo.md,sha256=7RApOOLjvWQs5sw2jb25g7i3Kta1BiEY-s8VRXfppH8,725
@@ -2715,7 +2715,7 @@ agilicus/agilicus_api/test/test_x509_root_certificate.py,sha256=3_zmpBCWOo5SxW7h
2715
2715
  agilicus/agilicus_api/test/test_x509_root_certificate_spec.py,sha256=NdEx0CFoLE4Zzd8eKYlhy2pLG_icdx2VyFlj3jR79Bc,2832
2716
2716
  agilicus/agilicus_api/test/test_x509_root_certificate_status.py,sha256=11DlkUCkXjf6j2bXvOzs9ax5x_9qoyFgzLo2XdjtD98,2846
2717
2717
  agilicus/agilicus_api/test/test_xss_settings.py,sha256=1u8K-0IivwPBpVan8-J_EOYjqWurQKo0Ec709eEV8vw,2746
2718
- agilicus/agilicus_api_README.md,sha256=Vi9mvYAa2Rr8cKUbUMleRHAXID_E6AO073dHKvMVC-I,175178
2718
+ agilicus/agilicus_api_README.md,sha256=_RheMhlxF0GLr1bmnZ23FVv5lRj5zCcp-BOFgsRW4f4,175178
2719
2719
  agilicus/aliases.ini,sha256=MxqiVo2f2xdUDVF1YDkNW36AIqN8hrYjlTVfraEUZXY,455
2720
2720
  agilicus/amq.py,sha256=yxi-YTbJPVl10s78Hlr1dmrQR63iaSIoROGVILzFPmE,1775
2721
2721
  agilicus/apps.py,sha256=Mdc_pRXyfa-IvIFH7gNbx0Ob64gUHggZyeSyLUDpjMs,54048
@@ -2771,7 +2771,7 @@ agilicus/labels/labels_main.py,sha256=l2z_41X3sMJoSM483LmAzJE6bKKHVAEvrPjfz7QvFg
2771
2771
  agilicus/launchers.py,sha256=r4nctnVtfP-Ho_HXEfAiMaMqJI0u7pbieHSS3Vd0QBE,11361
2772
2772
  agilicus/logs.py,sha256=Y4XVcLctY-2O-Q_CXbJs9sAqu0NknHKSsqilKiDM_A0,804
2773
2773
  agilicus/lookups.py,sha256=MNmNsKpP7Fq_poLAnL9xo_iptFilKM9ziGLyIe8VKaw,669
2774
- agilicus/main.py,sha256=u_G1fQpX8D-2lxWxOUSipT9O6glX2fGI8AObXYDlGHU,293354
2774
+ agilicus/main.py,sha256=hnOHAbcuey33k8X6O27fvFs0GOMEQjIDO8PoPntpBrI,293454
2775
2775
  agilicus/messages/__init__.py,sha256=cVqfaKUndO-AYfppkdFICM5WvYFFB1hRjXihFWmiGPQ,174
2776
2776
  agilicus/messages/messages.py,sha256=b2eO6BaWI9UZTLETcdy1NotyuNlKIJf6CS_TUzehuk4,9175
2777
2777
  agilicus/messages/messages_main.py,sha256=A0xucYwwUZFIuUc0bAyAqVwofErakmyawq5bwhZKcOU,1598
@@ -2798,9 +2798,9 @@ agilicus/pop_utils.py,sha256=e_vsdb2eZWvCyZHd6sJNYsyXgntNSJFc78c-wGoWeGE,1036
2798
2798
  agilicus/products/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2799
2799
  agilicus/products/products.py,sha256=he27jN3MUyXBdTdV2HRyvUYb0zD3W1TGsuC7NHLKngQ,5365
2800
2800
  agilicus/products/products_main.py,sha256=saa2-e5oeHW6D5AWPcld99KwgQ9nBY3hoW8Jz_5nfMQ,3421
2801
- agilicus/regions.py,sha256=P2VqBXtNQ0G2uY69niIuLcVTynugyZgox_EaNEGuGUs,13067
2801
+ agilicus/regions.py,sha256=T2Xsp2L7eVORSKyYuBofMto3yp4QlnNI7MNqm48h0xM,13059
2802
2802
  agilicus/resource_helpers.py,sha256=rATvmW5AN6rt_BIKtJnENyU9QEwujyWaIZV2ou6PPck,1271
2803
- agilicus/resources.py,sha256=PnJwLMSWVQgxSAzjreY-zcyNB2aWM7gtlqUSgrYvb3Y,10605
2803
+ agilicus/resources.py,sha256=XE794qrY-fP1tgV-yYFFIR2j6qSVnpPdWGMmFL4Z6zM,10987
2804
2804
  agilicus/response.py,sha256=tI2-dAJwhBuuDplSsouuMmCmKHSwR_Mx71af8tgsuYo,468
2805
2805
  agilicus/rules/rules.py,sha256=gpu7g308fTlE0LVuBcUXikho6TBx4-kdPUM6mPmawdY,30980
2806
2806
  agilicus/rules/rules_main.py,sha256=aOH4mcxb4-_azgzcz5kuOSzI-CvLhCwq1rZxDvaoHe4,15026
@@ -2818,8 +2818,8 @@ agilicus/trusted_certs/trusted_certs_main.py,sha256=6dHHWXvNIcUa_nA9ptigL4Vibe4n
2818
2818
  agilicus/users.py,sha256=5yrrfLIsUlO9AfOSJtUidtN2xrxT585g8lCPHYkn15Y,44411
2819
2819
  agilicus/version.py,sha256=G9OFdL1v_4dLDfk6I6taDNypM5bbO-JHAwilsu9LYgg,23
2820
2820
  agilicus/whoami.py,sha256=kqghtWMgZOd2rhKmfguDwCTm6A3gNS8Kj-S2IBxBtl0,206
2821
- agilicus-1.291.0.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2822
- agilicus-1.291.0.dist-info/METADATA,sha256=BWrLT1TUXKj2ixAvWKtltmYPdr3tzNp3nDUQ8Rgqlqc,3878
2823
- agilicus-1.291.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
2824
- agilicus-1.291.0.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2825
- agilicus-1.291.0.dist-info/RECORD,,
2821
+ agilicus-1.291.1.dist-info/LICENSE.txt,sha256=Zq4tqiCroC2CVrBB_PWjapRdvpae23nljdiaSkOzUho,1061
2822
+ agilicus-1.291.1.dist-info/METADATA,sha256=Um9pKkunJfut9ycrEbEbtwjEOijTPvJP9MtOxIRYbII,3878
2823
+ agilicus-1.291.1.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
2824
+ agilicus-1.291.1.dist-info/entry_points.txt,sha256=a66hGozzLkHu0IewFzIMbSAhMTNTddUaA2T3_16Gb_s,51
2825
+ agilicus-1.291.1.dist-info/RECORD,,