Class: Azure::OperationalInsights::Mgmt::V2020_08_01::Models::Workspace

Inherits:
TrackedResource show all
Includes:
MsRestAzure
Defined in:
lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb

Overview

The top level Workspace resource container.

Instance Attribute Summary collapse

Attributes inherited from TrackedResource

#location, #tags

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#customer_idString

associated with the workspace.

Returns:

  • (String)

    This is a read-only property. Represents the ID



22
23
24
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 22

def customer_id
  @customer_id
end

#e_tagString

Returns The ETag of the workspace.

Returns:

  • (String)

    The ETag of the workspace.



49
50
51
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 49

def e_tag
  @e_tag
end

scope resources.

Returns:



46
47
48
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 46

def private_link_scoped_resources
  @private_link_scoped_resources
end

#provisioning_stateWorkspaceEntityStatus

workspace. Possible values include: ‘Creating’, ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘Deleting’, ‘ProvisioningAccount’, ‘Updating’

Returns:



18
19
20
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 18

def provisioning_state
  @provisioning_state
end

#public_network_access_for_ingestionPublicNetworkAccessType

Log Analytics ingestion. Possible values include: ‘Enabled’, ‘Disabled’. Default value: ‘Enabled’ .

Returns:



37
38
39
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 37

def public_network_access_for_ingestion
  @public_network_access_for_ingestion
end

#public_network_access_for_queryPublicNetworkAccessType

Log Analytics query. Possible values include: ‘Enabled’, ‘Disabled’. Default value: ‘Enabled’ .

Returns:



42
43
44
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 42

def public_network_access_for_query
  @public_network_access_for_query
end

#retention_in_daysInteger

730.

Returns:

  • (Integer)

    The workspace data retention in days, between 30 and



29
30
31
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 29

def retention_in_days
  @retention_in_days
end

#skuWorkspaceSku

Returns The SKU of the workspace.

Returns:



25
26
27
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 25

def sku
  @sku
end

#workspace_cappingWorkspaceCapping

Returns The daily volume cap for ingestion.

Returns:



32
33
34
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 32

def workspace_capping
  @workspace_capping
end

Class Method Details

.mapperObject

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



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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb', line 56

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Workspace',
    type: {
      name: 'Composite',
      class_name: 'Workspace',
      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'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        customer_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.customerId',
          type: {
            name: 'String'
          }
        },
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sku',
          type: {
            name: 'Composite',
            class_name: 'WorkspaceSku'
          }
        },
        retention_in_days: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.retentionInDays',
          constraints: {
            InclusiveMaximum: 730,
            InclusiveMinimum: 30
          },
          type: {
            name: 'Number'
          }
        },
        workspace_capping: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.workspaceCapping',
          type: {
            name: 'Composite',
            class_name: 'WorkspaceCapping'
          }
        },
        public_network_access_for_ingestion: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicNetworkAccessForIngestion',
          default_value: 'Enabled',
          type: {
            name: 'String'
          }
        },
        public_network_access_for_query: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicNetworkAccessForQuery',
          default_value: 'Enabled',
          type: {
            name: 'String'
          }
        },
        private_link_scoped_resources: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.privateLinkScopedResources',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PrivateLinkScopedResourceElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PrivateLinkScopedResource'
                }
            }
          }
        },
        e_tag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'eTag',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end