You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creates a new infrastructure on the API Deployer and returns the handle to interact with it.
87
88
88
89
:param str infra_id: Unique Identifier of the infra to create
89
90
:param str stage: Infrastructure stage. Stages are configurable on each API Deployer
90
91
:param str type: STATIC or KUBERNETES
92
+
:param str govern_check_policy: PREVENT, WARN, or NO_CHECK depending if the deployer will check wether the saved model versions deployed on this infrastructure has to be managed and approved in Dataiku Govern
Returns the governance status about this deployment if applicable
317
+
It covers all the embedded model versions
318
+
319
+
:param str version: (Optional) The specific package version of the published service to get status from. If empty, consider all the versions used in the deployment generation mapping.
320
+
:rtype: dict InforMessages containing the governance status
321
+
"""
322
+
returnself.client._perform_json("GET", "/api-deployer/deployments/%s/governance-status"% (self.deployment_id), params={ "version": version })
323
+
311
324
defget_settings(self):
312
325
"""
313
326
Gets the settings of this deployment. If you want to modify the settings, you need to
0 commit comments