WorkspaceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. loganalytics. fluent. models. WorkspaceInner
- com.
- com.
- com.
public final class WorkspaceInner
extends Resource
The top level Workspace resource container.
Constructor Summary
Constructor | Description |
---|---|
WorkspaceInner() |
Creates an instance of Workspace |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
createdDate()
Get the created |
String |
customerId()
Get the customer |
String |
defaultDataCollectionRuleResourceId()
Get the default |
String |
etag()
Get the etag property: The etag of the workspace. |
Workspace |
features()
Get the features property: Workspace features. |
Boolean |
forceCmkForQuery()
Get the force |
Identity |
identity()
Get the identity property: The identity of the resource. |
String |
modifiedDate()
Get the modified |
List<Private |
privateLinkScopedResources()
Get the private |
Workspace |
provisioningState()
Get the provisioning |
Public |
publicNetworkAccessForIngestion()
Get the public |
Public |
publicNetworkAccessForQuery()
Get the public |
Integer |
retentionInDays()
Get the retention |
Workspace |
sku()
Get the sku property: The SKU of the workspace. |
System |
systemData()
Get the system |
void |
validate()
Validates the instance. |
Workspace |
withDefaultDataCollectionRuleResourceId(String defaultDataCollectionRuleResourceId)
Set the default |
Workspace |
withEtag(String etag)
Set the etag property: The etag of the workspace. |
Workspace |
withFeatures(WorkspaceFeatures features)
Set the features property: Workspace features. |
Workspace |
withForceCmkForQuery(Boolean forceCmkForQuery)
Set the force |
Workspace |
withIdentity(Identity identity)
Set the identity property: The identity of the resource. |
Workspace |
withLocation(String location) |
Workspace |
withPublicNetworkAccessForIngestion(PublicNetworkAccessType publicNetworkAccessForIngestion)
Set the public |
Workspace |
withPublicNetworkAccessForQuery(PublicNetworkAccessType publicNetworkAccessForQuery)
Set the public |
Workspace |
withRetentionInDays(Integer retentionInDays)
Set the retention |
Workspace |
withSku(WorkspaceSku sku)
Set the sku property: The SKU of the workspace. |
Workspace |
withTags(Map<String,String> tags) |
Workspace |
withWorkspaceCapping(WorkspaceCapping workspaceCapping)
Set the workspace |
Workspace |
workspaceCapping()
Get the workspace |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
WorkspaceInner
public WorkspaceInner()
Creates an instance of WorkspaceInner class.
Method Details
createdDate
public String createdDate()
Get the createdDate property: Workspace creation date.
Returns:
customerId
public String customerId()
Get the customerId property: This is a read-only property. Represents the ID associated with the workspace.
Returns:
defaultDataCollectionRuleResourceId
public String defaultDataCollectionRuleResourceId()
Get the defaultDataCollectionRuleResourceId property: The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.
Returns:
etag
public String etag()
Get the etag property: The etag of the workspace.
Returns:
features
public WorkspaceFeatures features()
Get the features property: Workspace features.
Returns:
forceCmkForQuery
public Boolean forceCmkForQuery()
Get the forceCmkForQuery property: Indicates whether customer managed storage is mandatory for query management.
Returns:
identity
public Identity identity()
Get the identity property: The identity of the resource.
Returns:
modifiedDate
public String modifiedDate()
Get the modifiedDate property: Workspace modification date.
Returns:
privateLinkScopedResources
public List
Get the privateLinkScopedResources property: List of linked private link scope resources.
Returns:
provisioningState
public WorkspaceEntityStatus provisioningState()
Get the provisioningState property: The provisioning state of the workspace.
Returns:
publicNetworkAccessForIngestion
public PublicNetworkAccessType publicNetworkAccessForIngestion()
Get the publicNetworkAccessForIngestion property: The network access type for accessing Log Analytics ingestion.
Returns:
publicNetworkAccessForQuery
public PublicNetworkAccessType publicNetworkAccessForQuery()
Get the publicNetworkAccessForQuery property: The network access type for accessing Log Analytics query.
Returns:
retentionInDays
public Integer retentionInDays()
Get the retentionInDays property: The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
Returns:
sku
public WorkspaceSku sku()
Get the sku property: The SKU of the workspace.
Returns:
systemData
public SystemDataAutoGenerated systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
validate
public void validate()
Validates the instance.
withDefaultDataCollectionRuleResourceId
public WorkspaceInner withDefaultDataCollectionRuleResourceId(String defaultDataCollectionRuleResourceId)
Set the defaultDataCollectionRuleResourceId property: The resource ID of the default Data Collection Rule to use for this workspace. Expected format is - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dcrName}.
Parameters:
Returns:
withEtag
public WorkspaceInner withEtag(String etag)
Set the etag property: The etag of the workspace.
Parameters:
Returns:
withFeatures
public WorkspaceInner withFeatures(WorkspaceFeatures features)
Set the features property: Workspace features.
Parameters:
Returns:
withForceCmkForQuery
public WorkspaceInner withForceCmkForQuery(Boolean forceCmkForQuery)
Set the forceCmkForQuery property: Indicates whether customer managed storage is mandatory for query management.
Parameters:
Returns:
withIdentity
public WorkspaceInner withIdentity(Identity identity)
Set the identity property: The identity of the resource.
Parameters:
Returns:
withLocation
public WorkspaceInner withLocation(String location)
Overrides:
WorkspaceInner.withLocation(String location)Parameters:
withPublicNetworkAccessForIngestion
public WorkspaceInner withPublicNetworkAccessForIngestion(PublicNetworkAccessType publicNetworkAccessForIngestion)
Set the publicNetworkAccessForIngestion property: The network access type for accessing Log Analytics ingestion.
Parameters:
Returns:
withPublicNetworkAccessForQuery
public WorkspaceInner withPublicNetworkAccessForQuery(PublicNetworkAccessType publicNetworkAccessForQuery)
Set the publicNetworkAccessForQuery property: The network access type for accessing Log Analytics query.
Parameters:
Returns:
withRetentionInDays
public WorkspaceInner withRetentionInDays(Integer retentionInDays)
Set the retentionInDays property: The workspace data retention in days. Allowed values are per pricing plan. See pricing tiers documentation for details.
Parameters:
Returns:
withSku
public WorkspaceInner withSku(WorkspaceSku sku)
Set the sku property: The SKU of the workspace.
Parameters:
Returns:
withTags
public WorkspaceInner withTags(Map
Overrides:
WorkspaceInner.withTags(Map<String,String> tags)Parameters:
withWorkspaceCapping
public WorkspaceInner withWorkspaceCapping(WorkspaceCapping workspaceCapping)
Set the workspaceCapping property: The daily volume cap for ingestion.
Parameters:
Returns:
workspaceCapping
public WorkspaceCapping workspaceCapping()
Get the workspaceCapping property: The daily volume cap for ingestion.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for