Exemplo n.º 1
0
        internal KeyValueResource(ArmClient client, ResourceIdentifier id) : base(client, id)
        {
            _keyValueClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.AppConfiguration", ResourceType.Namespace, Diagnostics);
            TryGetApiVersion(ResourceType, out string keyValueApiVersion);
            _keyValueRestClient = new KeyValuesRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, keyValueApiVersion);
#if DEBUG
            ValidateResourceId(Id);
#endif
        }