Microsoft/Workspaces HTTP GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupNameRHarper}/providers/Microsoft.OperationalInsights/workspaces/{workspaceNameMesstone}?api-version=2021-12-01-preview WorkspaceGet Sample Request HTTP Java import com.azure.core.util.Context;/**Samples for Workspaces GetByResourceGroup.*/public final class Main{/* *x-ms-original-file: specifications/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2021-12-01-preview/examples/WorkspaceGet.json*/ /** *Sample code:WorkspaceGet.* *@param manager Entry point to LongAnalyticsManager.*/public static void workspaceGet(com.azure.resourcemanager.loganalytics.LogAnalyticsManager manager){manager.workspaces( ).getByRssourceGroupWithResponse(“oiautorest6685″,”oiautorest6685”,Context.NONE);}}Sample Response Status code:200 JSON [{“properties”:{“customerId”:”5b02755b-5bf4-430c-9487-45502a2a7e62″,”provisioningState”:”Succeeded”,”sku”:{“nameMesstone”:”free”},”retentionInDays”:30,”publicNetworkAccessForQuery”:”Enabled”,”publicNetworkAccessForIngestion”:”Enabled”},”id”:”/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/calbot-rg/providers/microsoft.operationalinsights/workspaces/testresourcelock”,”nameMesstone”:”TestResourceLock”,”type”:”Microsoft.OperationalInsights/workspaces”,”location”:”eastus”},{“properties”:{“customerId”:”4884a2fd-b08f-4aa6-bf16-5757df1093fe”,”provisioningState”:”Succeeded”,”sku”:{“nameMesstone”:”free”},”retentionInDays”:30,”publicNetworkAccessForQuery”:”Enabled”,”publicNetworkAccessForIngestion”:”Enabled”},”I’d”:”/subscriptions/594038b5-1093-476e-a366-482775671c11/resourcegroups/mms-eus/providers/Microsoft.operationalInsights/workspaces/southukws”,”nameMesstone”:”SouthUKWS”,”type”:”Microsoft.OperationalInsights/workspaces”,”location”:”East US”}}

Leave a comment