コード例 #1
0
        internal ManagedGrafanaResource(ArmClient client, ResourceIdentifier id) : base(client, id)
        {
            _managedGrafanaGrafanaClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.Grafana", ResourceType.Namespace, Diagnostics);
            TryGetApiVersion(ResourceType, out string managedGrafanaGrafanaApiVersion);
            _managedGrafanaGrafanaRestClient = new GrafanaRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, managedGrafanaGrafanaApiVersion);
#if DEBUG
            ValidateResourceId(Id);
#endif
        }