Class LinkedServiceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.LinkedServiceInner
public final class LinkedServiceInner
extends com.azure.core.management.ProxyResource
The top level Linked service resource container.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: The provisioning state of the linked service.Get the resourceId property: The resource id of the resource that will be linked to the workspace.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.withProvisioningState
(LinkedServiceEntityStatus provisioningState) Set the provisioningState property: The provisioning state of the linked service.withResourceId
(String resourceId) Set the resourceId property: The resource id of the resource that will be linked to the workspace.Set the tags property: Resource tags.withWriteAccessResourceId
(String writeAccessResourceId) Set the writeAccessResourceId property: The resource id of the resource that will be linked to the workspace.Get the writeAccessResourceId property: The resource id of the resource that will be linked to the workspace.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
LinkedServiceInner
public LinkedServiceInner()
-
-
Method Details
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the LinkedServiceInner object itself.
-
resourceId
Get the resourceId property: The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require read access.- Parameters:
resourceId
- the resourceId value to set.- Returns:
- the LinkedServiceInner object itself.
-
writeAccessResourceId
Get the writeAccessResourceId property: The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access.- Returns:
- the writeAccessResourceId value.
-
withWriteAccessResourceId
Set the writeAccessResourceId property: The resource id of the resource that will be linked to the workspace. This should be used for linking resources which require write access.- Parameters:
writeAccessResourceId
- the writeAccessResourceId value to set.- Returns:
- the LinkedServiceInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the linked service.- Returns:
- the provisioningState value.
-
withProvisioningState
Set the provisioningState property: The provisioning state of the linked service.- Parameters:
provisioningState
- the provisioningState value to set.- Returns:
- the LinkedServiceInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-