Example #1
0
        internal LogProfileCollection(ArmClient client, ResourceIdentifier id) : base(client, id)
        {
            _logProfileClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.Monitor", LogProfileResource.ResourceType.Namespace, Diagnostics);
            TryGetApiVersion(LogProfileResource.ResourceType, out string logProfileApiVersion);
            _logProfileRestClient = new LogProfilesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, logProfileApiVersion);
#if DEBUG
            ValidateResourceId(Id);
#endif
        }