title: How to get the WorkspaceKey after creating a Pulumi.AzureNative.OperationalInsights.Workspace?
body: <p>I create a Pulumi.AzureNative.OperationalInsights.Workspace with the following:</p>
  <pre><code>    name = &quot;workspace&quot;;
      var workspace = 
        new Workspace
        (
          name, 
          new WorkspaceArgs
          {
            Location = resourceGroup.Location,
            ResourceGroupName = resourceGroup.Name,
            RetentionInDays = 30,
            Sku = new WorkspaceSkuArgs
            {
              Name = WorkspaceSkuNameEnum.PerGB2018,
            },
            Tags =
                  {
                      { &quot;tag1&quot;, &quot;val1&quot; },
                  },
            WorkspaceName = name,
          }
        );
  </code></pre>
  <p>Later I want to connect my ContainerGroup to this workspace and need the <code>WorkspaceId</code> and <code>WorkspaceKey</code>.</p>
  <p>Where can I get those values?</p>