internal DiagnosticSettingsResource(ArmClient client, ResourceIdentifier id) : base(client, id) { _diagnosticSettingsDiagnosticSettingsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.Monitor", ResourceType.Namespace, Diagnostics); TryGetApiVersion(ResourceType, out string diagnosticSettingsDiagnosticSettingsApiVersion); _diagnosticSettingsDiagnosticSettingsRestClient = new DiagnosticSettingsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, diagnosticSettingsDiagnosticSettingsApiVersion); #if DEBUG ValidateResourceId(Id); #endif }