Class: Azure::OperationalInsights::Mgmt::V2020_08_01::Models::WorkspacePatch
- Inherits:
-
AzureEntityResource
- Object
- Resource
- AzureEntityResource
- Azure::OperationalInsights::Mgmt::V2020_08_01::Models::WorkspacePatch
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb
Overview
The top level Workspace resource container.
Instance Attribute Summary collapse
-
#customer_id ⇒ String
associated with the workspace.
-
#private_link_scoped_resources ⇒ Array<PrivateLinkScopedResource>
scope resources.
-
#provisioning_state ⇒ WorkspaceEntityStatus
workspace.
-
#public_network_access_for_ingestion ⇒ PublicNetworkAccessType
Log Analytics ingestion.
-
#public_network_access_for_query ⇒ PublicNetworkAccessType
Log Analytics query.
-
#retention_in_days ⇒ Integer
730.
-
#sku ⇒ WorkspaceSku
The SKU of the workspace.
-
#tags ⇒ Hash{String => String}
Resource tags.
-
#workspace_capping ⇒ WorkspaceCapping
The daily volume cap for ingestion.
Attributes inherited from AzureEntityResource
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WorkspacePatch class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#customer_id ⇒ String
associated with the workspace.
22 23 24 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 22 def customer_id @customer_id end |
#private_link_scoped_resources ⇒ Array<PrivateLinkScopedResource>
scope resources.
46 47 48 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 46 def private_link_scoped_resources @private_link_scoped_resources end |
#provisioning_state ⇒ WorkspaceEntityStatus
workspace. Possible values include: ‘Creating’, ‘Succeeded’, ‘Failed’, ‘Canceled’, ‘Deleting’, ‘ProvisioningAccount’, ‘Updating’
18 19 20 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 18 def provisioning_state @provisioning_state end |
#public_network_access_for_ingestion ⇒ PublicNetworkAccessType
Log Analytics ingestion. Possible values include: ‘Enabled’, ‘Disabled’. Default value: ‘Enabled’ .
37 38 39 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 37 def public_network_access_for_ingestion @public_network_access_for_ingestion end |
#public_network_access_for_query ⇒ PublicNetworkAccessType
Log Analytics query. Possible values include: ‘Enabled’, ‘Disabled’. Default value: ‘Enabled’ .
42 43 44 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 42 def public_network_access_for_query @public_network_access_for_query end |
#retention_in_days ⇒ Integer
730.
29 30 31 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 29 def retention_in_days @retention_in_days end |
#sku ⇒ WorkspaceSku
Returns The SKU of the workspace.
25 26 27 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 25 def sku @sku end |
#tags ⇒ Hash{String => String}
Returns Resource tags. Optional.
49 50 51 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 49 def end |
#workspace_capping ⇒ WorkspaceCapping
Returns The daily volume cap for ingestion.
32 33 34 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 32 def workspace_capping @workspace_capping end |
Class Method Details
.mapper ⇒ Object
Mapper for WorkspacePatch 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 |
# File 'lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'WorkspacePatch', type: { name: 'Composite', class_name: 'WorkspacePatch', 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' } }, etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', 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' } } } }, 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' } } } } } } } end |