Class LinkedServiceProperties
java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.LinkedServiceProperties
Linked service properties.
-
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.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.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.
-
Constructor Details
-
LinkedServiceProperties
public LinkedServiceProperties()
-
-
Method Details
-
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 LinkedServiceProperties 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 LinkedServiceProperties 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 LinkedServiceProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-