Class: Azure::Cosmosdb::Mgmt::V2019_12_12::Models::NotebookWorkspace

Inherits:
ARMProxyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb

Overview

A notebook workspace resource

Instance Attribute Summary collapse

Attributes inherited from ARMProxyResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#notebook_server_endpointString

Returns Specifies the endpoint of Notebook server.

Returns:

  • (String)

    Specifies the endpoint of Notebook server.



16
17
18
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb', line 16

def notebook_server_endpoint
  @notebook_server_endpoint
end

#statusString

Creating, Online, Deleting, Failed, Updating.

Returns:

  • (String)

    Status of the notebook workspace. Possible values are:



20
21
22
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb', line 20

def status
  @status
end

Class Method Details

.mapperObject

Mapper for NotebookWorkspace class as Ruby Hash. This will be used for serialization/deserialization.



27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/notebook_workspace.rb', line 27

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NotebookWorkspace',
    type: {
      name: 'Composite',
      class_name: 'NotebookWorkspace',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        notebook_server_endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.notebookServerEndpoint',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end