public async Task Update()

in csharp/Microsoft.Azure.Databricks.Client/UnityCatalog/MetastoresApiClient.cs [84:109]


    public async Task<Metastore> Update(
        string metastoreId,
        string newMetastoreName = null,
        string storageRootCredentialId = null,
        DeltaSharingScope? deltaSharingScope = null,
        long? deltaSharingRecipientTokenLifetimeInSeconds = null,
        string deltaSharingOrganizationName = null,
        string owner = null,
        string privilegeModelVersion = null,
        CancellationToken cancellationToken = default)
    {
        var requestUri = $"{BaseUnityCatalogUri}/metastores/{metastoreId}";

        var request = new
        {
            name = newMetastoreName,
            storage_root_credential_id = storageRootCredentialId,
            delta_sharing_scope = deltaSharingScope,
            delta_sharing_recipient_token_lifetime_in_seconds = deltaSharingRecipientTokenLifetimeInSeconds,
            delta_sharing_organization_name = deltaSharingOrganizationName,
            owner,
            privilege_model_version = privilegeModelVersion
        };

        return await HttpPatch<dynamic, Metastore>(HttpClient, requestUri, request, cancellationToken);
    }