Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Generated from b8420a388d27fe9089e179f0d9b6bd126f43ad60
remote wrong readOnly
  • Loading branch information
AutorestCI committed Sep 19, 2018
commit d553ab2c65df3d6836abc44d1e5214aa47136911
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ class Workspace(Resource):
:ivar creation_time: The creation time of the machine learning workspace
in ISO8601 format.
:vartype creation_time: datetime
:param batchai_workspace: ARM id of the Batch AI workspace associated with
this workspace. This cannot be changed once the workspace has been created
:type batchai_workspace: str
:param key_vault: ARM id of the key vault associated with this workspace.
This cannot be changed once the workspace has been created
:type key_vault: str
Expand Down Expand Up @@ -86,6 +89,7 @@ class Workspace(Resource):
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'},
'batchai_workspace': {'key': 'properties.batchaiWorkspace', 'type': 'str'},
'key_vault': {'key': 'properties.keyVault', 'type': 'str'},
'application_insights': {'key': 'properties.applicationInsights', 'type': 'str'},
'container_registry': {'key': 'properties.containerRegistry', 'type': 'str'},
Expand All @@ -100,6 +104,7 @@ def __init__(self, **kwargs):
self.description = kwargs.get('description', None)
self.friendly_name = kwargs.get('friendly_name', None)
self.creation_time = None
self.batchai_workspace = kwargs.get('batchai_workspace', None)
self.key_vault = kwargs.get('key_vault', None)
self.application_insights = kwargs.get('application_insights', None)
self.container_registry = kwargs.get('container_registry', None)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ class Workspace(Resource):
:ivar creation_time: The creation time of the machine learning workspace
in ISO8601 format.
:vartype creation_time: datetime
:param batchai_workspace: ARM id of the Batch AI workspace associated with
this workspace. This cannot be changed once the workspace has been created
:type batchai_workspace: str
:param key_vault: ARM id of the key vault associated with this workspace.
This cannot be changed once the workspace has been created
:type key_vault: str
Expand Down Expand Up @@ -86,6 +89,7 @@ class Workspace(Resource):
'description': {'key': 'properties.description', 'type': 'str'},
'friendly_name': {'key': 'properties.friendlyName', 'type': 'str'},
'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'},
'batchai_workspace': {'key': 'properties.batchaiWorkspace', 'type': 'str'},
'key_vault': {'key': 'properties.keyVault', 'type': 'str'},
'application_insights': {'key': 'properties.applicationInsights', 'type': 'str'},
'container_registry': {'key': 'properties.containerRegistry', 'type': 'str'},
Expand All @@ -94,12 +98,13 @@ class Workspace(Resource):
'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
}

def __init__(self, *, location: str=None, tags=None, description: str=None, friendly_name: str=None, key_vault: str=None, application_insights: str=None, container_registry: str=None, storage_account: str=None, discovery_url: str=None, **kwargs) -> None:
def __init__(self, *, location: str=None, tags=None, description: str=None, friendly_name: str=None, batchai_workspace: str=None, key_vault: str=None, application_insights: str=None, container_registry: str=None, storage_account: str=None, discovery_url: str=None, **kwargs) -> None:
super(Workspace, self).__init__(location=location, tags=tags, **kwargs)
self.workspace_id = None
self.description = description
self.friendly_name = friendly_name
self.creation_time = None
self.batchai_workspace = batchai_workspace
self.key_vault = key_vault
self.application_insights = application_insights
self.container_registry = container_registry
Expand Down