CassandraKeyspaceResource IOperationSource <CassandraKeyspaceResource> .CreateResult(Response response, CancellationToken cancellationToken)
        {
            using var document = JsonDocument.Parse(response.ContentStream);
            var data = CassandraKeyspaceData.DeserializeCassandraKeyspaceData(document.RootElement);

            return(new CassandraKeyspaceResource(_client, data));
        }
 internal CassandraKeyspace(ArmResource options, CassandraKeyspaceData resource) : base(options, resource.Id)
 {
     HasData                       = true;
     _data                         = resource;
     _clientDiagnostics            = new ClientDiagnostics(ClientOptions);
     _cassandraResourcesRestClient = new CassandraResourcesRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
 }
 internal CassandraKeyspace(ArmClient client, CassandraKeyspaceData data) : this(client, data.Id)
 {
     HasData = true;
     _data   = data;
 }