public void ForLogTarget()
        {
            var logTarget   = LogTarget.ForOrganization(_organizationId);
            var eventTarget = EventTarget.ForLogTarget(logTarget);

            Assert.Equal(EventTargetKind.Logging, eventTarget.Kind);
            Assert.Same(logTarget, eventTarget.LogTarget);

#pragma warning disable CS0618 // Type or member is obsolete
            Assert.Null(eventTarget.LoggingClient);
            Assert.Null(eventTarget.LogName);
            Assert.Null(eventTarget.MonitoredResource);
#pragma warning restore CS0618 // Type or member is obsolete
        }