Tenants from PulsarAdmin.tenants()@Deprecated public interface Properties
| Modifier and Type | Method and Description |
|---|---|
void |
createProperty(String property,
TenantInfo config)
Deprecated.
Create a new property.
|
void |
deleteProperty(String property)
Deprecated.
Delete an existing property.
|
List<String> |
getProperties()
Deprecated.
Get the list of properties.
|
TenantInfo |
getPropertyAdmin(String property)
Deprecated.
Get the config of the property.
|
void |
updateProperty(String property,
TenantInfo config)
Deprecated.
Update the admins for a property.
|
List<String> getProperties() throws PulsarAdminException
["my-property", "other-property", "third-property"]
PulsarAdminException.NotAuthorizedException - Don't have admin permissionPulsarAdminException - Unexpected errorTenantInfo getPropertyAdmin(String property) throws PulsarAdminException
property - Property namePulsarAdminException.NotAuthorizedException - Don't have admin permissionPulsarAdminException.NotFoundException - Property does not existPulsarAdminException - Unexpected errorvoid createProperty(String property, TenantInfo config) throws PulsarAdminException
property - Property nameconfig - Config dataPulsarAdminException.NotAuthorizedException - Don't have admin permissionPulsarAdminException.ConflictException - Property already existsPulsarAdminException.PreconditionFailedException - Property name is not validPulsarAdminException - Unexpected errorvoid updateProperty(String property, TenantInfo config) throws PulsarAdminException
property - Property nameconfig - Config dataPulsarAdminException.NotAuthorizedException - Don't have admin permissionPulsarAdminException.NotFoundException - Property does not existPulsarAdminException - Unexpected errorvoid deleteProperty(String property) throws PulsarAdminException
property - Property namePulsarAdminException.NotAuthorizedException - Don't have admin permissionPulsarAdminException.NotFoundException - The property does not existPulsarAdminException.ConflictException - The property still has active namespacesPulsarAdminException - Unexpected errorCopyright © 2017–2022 Apache Software Foundation. All rights reserved.