pub struct Client { /* private fields */ }
Expand description
Client for DSH Tenant Resource Management REST API
Resource management API for DSH
Version: 1.10.0
Implementations§
Source§impl Client
impl Client
Sourcepub fn new(baseurl: &str) -> Self
pub fn new(baseurl: &str) -> Self
Create a new client.
baseurl
is the base URL provided to the internal
reqwest::Client
, and should include a scheme and hostname,
as well as port and a path stem if applicable.
Sourcepub fn new_with_client(baseurl: &str, client: Client) -> Self
pub fn new_with_client(baseurl: &str, client: Client) -> Self
Construct a new client with an existing reqwest::Client
,
allowing more control over its configuration.
baseurl
is the base URL provided to the internal
reqwest::Client
, and should include a scheme and hostname,
as well as port and a path stem if applicable.
Sourcepub fn api_version(&self) -> &'static str
pub fn api_version(&self) -> &'static str
Get the version of this API.
This string is pulled directly from the source OpenAPI document and may be in any format the API selects.
Source§impl Client
impl Client
Sourcepub async fn application_get_by_tenant_application_configuration<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<HashMap<String, Application>>, Error<()>>
pub async fn application_get_by_tenant_application_configuration<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<HashMap<String, Application>>, Error<()>>
Returns the configuration of every application created by a given tenant
Sends a GET
request to
/allocation/{tenant}/application/configuration
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_get_by_tenant_application_by_appid_configuration<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Application>, Error<()>>
pub async fn application_get_by_tenant_application_by_appid_configuration<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Application>, Error<()>>
Returns the configuration of a certain application, specified by the tenant name and application name
Sends a GET
request to
/allocation/{tenant}/application/{appid}/configuration
Arguments:
tenant
: tenant nameappid
: application nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_put_by_tenant_application_by_appid_configuration<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
authorization: &'a str,
body: &'a Application,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn application_put_by_tenant_application_by_appid_configuration<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, body: &'a Application, ) -> Result<ResponseValue<()>, Error<()>>
creates an application allocation, or update it’s configuration
Sends a PUT
request to
/allocation/{tenant}/application/{appid}/configuration
Arguments:
tenant
: tenant nameappid
: application nameauthorization
: Authorization header (bearer token)body
: a JSON containing the configuration of the application you want to deploy
Sourcepub async fn application_delete_by_tenant_application_by_appid_configuration<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn application_delete_by_tenant_application_by_appid_configuration<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes an application by a specified application id
Sends a DELETE
request to
/allocation/{tenant}/application/{appid}/configuration
Arguments:
tenant
: tenant nameappid
: application nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_get_by_tenant_application_actual<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<HashMap<String, Application>>, Error<()>>
pub async fn application_get_by_tenant_application_actual<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<HashMap<String, Application>>, Error<()>>
returns a list containing the configuration of every deployed application of a given tenant
Sends a GET
request to /allocation/{tenant}/application/actual
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_get_by_tenant_application_by_appid_actual<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Application>, Error<()>>
pub async fn application_get_by_tenant_application_by_appid_actual<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Application>, Error<()>>
returns the configuration of a deployed application allocation for a given app id and tenant
Sends a GET
request to
/allocation/{tenant}/application/{appid}/actual
Arguments:
tenant
: tenant nameappid
: application nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_get_by_tenant_application_by_appid_status<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn application_get_by_tenant_application_by_appid_status<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a status description of an application allocation
Sends a GET
request to
/allocation/{tenant}/application/{appid}/status
Arguments:
tenant
: tenant nameappid
: application nameauthorization
: Authorization header (bearer token)
Sourcepub async fn app_catalog_get_by_tenant_appcatalogapp_configuration<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<HashMap<String, AppCatalogApp>>, Error<()>>
pub async fn app_catalog_get_by_tenant_appcatalogapp_configuration<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<HashMap<String, AppCatalogApp>>, Error<()>>
returns a list containing all App Catalog App allocations and their respective configurations of a given tenant
Sends a GET
request to
/allocation/{tenant}/appcatalogapp/configuration
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn app_catalog_get_by_tenant_appcatalogapp_actual<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<HashMap<String, AppCatalogApp>>, Error<()>>
pub async fn app_catalog_get_by_tenant_appcatalogapp_actual<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<HashMap<String, AppCatalogApp>>, Error<()>>
returns a list containing all App Catalog App allocations and their respective configurations of a given tenant, as they are actually deployed
Sends a GET
request to /allocation/{tenant}/appcatalogapp/actual
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn app_catalog_get_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>(
&'a self,
tenant: &'a str,
appcatalogappid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AppCatalogApp>, Error<()>>
pub async fn app_catalog_get_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AppCatalogApp>, Error<()>>
returns the configuration of an App Catalog App allocation by a
specified tenant name and App Catalog App Id. To only view the
configuration parameters of this allocation, see the
appcatalogappconfiguration
section.
Sends a GET
request to
/allocation/{tenant}/appcatalogapp/{appcatalogappid}/configuration
Arguments:
tenant
: tenant nameappcatalogappid
: appcatalogapp nameauthorization
: Authorization header (bearer token)
Sourcepub async fn app_catalog_get_by_tenant_appcatalogapp_by_appcatalogappid_actual<'a>(
&'a self,
tenant: &'a str,
appcatalogappid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AppCatalogApp>, Error<()>>
pub async fn app_catalog_get_by_tenant_appcatalogapp_by_appcatalogappid_actual<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AppCatalogApp>, Error<()>>
returns the configuration of an App Catalog App allocation as it is
actually deployed. To only view the configuration parameters of this
allocation, see the appcatalogappconfiguration
section.
Sends a GET
request to
/allocation/{tenant}/appcatalogapp/{appcatalogappid}/actual
Arguments:
tenant
: tenant nameappcatalogappid
: appcatalogapp nameauthorization
: Authorization header (bearer token)
Sourcepub async fn app_catalog_app_configuration_get_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>(
&'a self,
tenant: &'a str,
appcatalogappid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AppCatalogAppConfiguration>, Error<()>>
pub async fn app_catalog_app_configuration_get_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AppCatalogAppConfiguration>, Error<()>>
Returns the wanted configuration of an App Catalog App by its tenant name and AppCatalogApp Id. If an App Catalog App is stuck while deploying and not on actual, it will show up here
Sends a GET
request to
/appcatalog/{tenant}/appcatalogapp/{appcatalogappid}/configuration
Arguments:
tenant
: tenant nameappcatalogappid
: appcatalogapp nameauthorization
: Authorization header (bearer token)
Sourcepub async fn app_catalog_app_configuration_put_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>(
&'a self,
tenant: &'a str,
appcatalogappid: &'a str,
authorization: &'a str,
body: &'a AppCatalogAppConfiguration,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn app_catalog_app_configuration_put_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, body: &'a AppCatalogAppConfiguration, ) -> Result<ResponseValue<()>, Error<()>>
creates a new App Catalog App, or update its configuration
Sends a PUT
request to
/appcatalog/{tenant}/appcatalogapp/{appcatalogappid}/configuration
Arguments:
tenant
: tenant nameappcatalogappid
: appcatalogapp nameauthorization
: Authorization header (bearer token)body
: JSON object containing required parameters for AppCatalogApp manifest. This is comparable to the configuration object on a regular Application service.
Sourcepub async fn app_catalog_app_configuration_delete_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>(
&'a self,
tenant: &'a str,
appcatalogappid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn app_catalog_app_configuration_delete_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes an App Catalog App
Sends a DELETE
request to
/appcatalog/{tenant}/appcatalogapp/{appcatalogappid}/configuration
Arguments:
tenant
: tenant nameappcatalogappid
: appcatalogapp nameauthorization
: Authorization header (bearer token)
Sourcepub async fn app_catalog_app_configuration_get_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_status<'a>(
&'a self,
tenant: &'a str,
appcatalogappid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn app_catalog_app_configuration_get_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_status<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
gets status description of an App Catalog App
Sends a GET
request to
/appcatalog/{tenant}/appcatalogapp/{appcatalogappid}/status
Arguments:
tenant
: tenant nameappcatalogappid
: appcatalogapp nameauthorization
: Authorization header (bearer token)
Sourcepub async fn app_catalog_manifest_get_appcatalog_by_tenant_manifest<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Vec<AppCatalogManifest>>, Error<()>>
pub async fn app_catalog_manifest_get_appcatalog_by_tenant_manifest<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Vec<AppCatalogManifest>>, Error<()>>
returns a list of AppCatalog manifests for a given tenant
Sends a GET
request to /appcatalog/{tenant}/manifest
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_watch_get_by_tenant_bucketwatch<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn bucket_watch_get_by_tenant_bucketwatch<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
lists all bucketwatches of a tenant
Sends a GET
request to /allocation/{tenant}/bucketwatch
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<BucketWatchStatus>, Error<()>>
pub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketWatchStatus>, Error<()>>
shows overall status of a bucketwatch allocation
Sends a GET
request to /allocation/{tenant}/bucket/{id}/bucketwatch
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<BucketWatch>, Error<()>>
pub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketWatch>, Error<()>>
gets configuration of a bucketwatch allocation
Sends a GET
request to
/allocation/{tenant}/bucket/{id}/bucketwatch/configuration
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_watch_put_by_tenant_bucket_by_id_bucketwatch_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn bucket_watch_put_by_tenant_bucket_by_id_bucketwatch_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
creates bucketwatch configuration
Sends a PUT
request to
/allocation/{tenant}/bucket/{id}/bucketwatch/configuration
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_watch_delete_by_tenant_bucket_by_id_bucketwatch_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn bucket_watch_delete_by_tenant_bucket_by_id_bucketwatch_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a bucketwatch
Sends a DELETE
request to
/allocation/{tenant}/bucket/{id}/bucketwatch/configuration
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<BucketWatch>, Error<()>>
pub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketWatch>, Error<()>>
gets actual configuration of a bucketwatch allocation
Sends a GET
request to
/allocation/{tenant}/bucket/{id}/bucketwatch/actual
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
gets status description of a bucketwatch allocation
Sends a GET
request to
/allocation/{tenant}/bucket/{id}/bucketwatch/status
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_get_by_tenant_bucket<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn bucket_get_by_tenant_bucket<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
lists all bucket names of a tenant
Sends a GET
request to /allocation/{tenant}/bucket
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_get_by_tenant_bucket_by_id<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<BucketStatus>, Error<()>>
pub async fn bucket_get_by_tenant_bucket_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketStatus>, Error<()>>
shows overall status of a bucket allocation
Sends a GET
request to /allocation/{tenant}/bucket/{id}
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_get_by_tenant_bucket_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Bucket>, Error<()>>
pub async fn bucket_get_by_tenant_bucket_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Bucket>, Error<()>>
gets configuration of a bucket allocation
Sends a GET
request to
/allocation/{tenant}/bucket/{id}/configuration
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_put_by_tenant_bucket_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
body: &'a Bucket,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn bucket_put_by_tenant_bucket_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Bucket, ) -> Result<ResponseValue<()>, Error<()>>
creates bucket configuration.It is impossible to update an existing bucket. This requires a delete of the existing bucket and creation of a new one with the wanted configuration
Sends a PUT
request to
/allocation/{tenant}/bucket/{id}/configuration
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)body
: the JSON representation of the resource
Sourcepub async fn bucket_delete_by_tenant_bucket_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn bucket_delete_by_tenant_bucket_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a bucket
Sends a DELETE
request to
/allocation/{tenant}/bucket/{id}/configuration
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_get_by_tenant_bucket_by_id_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Bucket>, Error<()>>
pub async fn bucket_get_by_tenant_bucket_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Bucket>, Error<()>>
gets actual configuration of a bucket allocation
Sends a GET
request to /allocation/{tenant}/bucket/{id}/actual
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_get_by_tenant_bucket_by_id_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn bucket_get_by_tenant_bucket_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
gets status description of a bucket allocation
Sends a GET
request to /allocation/{tenant}/bucket/{id}/status
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_access_get_by_tenant_bucketaccess<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn bucket_access_get_by_tenant_bucketaccess<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
lists all bucketaccesses of a tenant
Sends a GET
request to /allocation/{tenant}/bucketaccess
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
shows bucketaccesses about a specific bucket
Sends a GET
request to /allocation/{tenant}/bucket/{id}/bucketaccess
Arguments:
tenant
: tenant nameid
: bucket nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
name: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<BucketAccessStatus>, Error<()>>
pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketAccessStatus>, Error<()>>
shows overall status of a third party bucket
Sends a GET
request to
/allocation/{tenant}/bucket/{id}/bucketaccess/{name}
Arguments:
tenant
: tenant nameid
: bucket namename
: bucket access nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
name: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<BucketAccessConfiguration>, Error<()>>
pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketAccessConfiguration>, Error<()>>
gets configuration of a bucketaccess allocation
Sends a GET
request to
/allocation/{tenant}/bucket/{id}/bucketaccess/{name}/configuration
Arguments:
tenant
: tenant nameid
: bucket namename
: bucket access nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_access_put_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
name: &'a str,
authorization: &'a str,
body: &'a BucketAccessConfiguration,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn bucket_access_put_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, body: &'a BucketAccessConfiguration, ) -> Result<ResponseValue<()>, Error<()>>
creates bucketaccess configuration
Sends a PUT
request to
/allocation/{tenant}/bucket/{id}/bucketaccess/{name}/configuration
Arguments:
tenant
: tenant nameid
: bucket namename
: bucket access nameauthorization
: Authorization header (bearer token)body
: the wanted config of the (new) bucketaccess allocation
Sourcepub async fn bucket_access_delete_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
name: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn bucket_access_delete_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a bucketaccess
Sends a DELETE
request to
/allocation/{tenant}/bucket/{id}/bucketaccess/{name}/configuration
Arguments:
tenant
: tenant nameid
: bucket namename
: bucket access nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
name: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<BucketAccess>, Error<()>>
pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_actual<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketAccess>, Error<()>>
gets actual configuration of a bucketaccess allocation
Sends a GET
request to
/allocation/{tenant}/bucket/{id}/bucketaccess/{name}/actual
Arguments:
tenant
: tenant nameid
: bucket namename
: bucket access nameauthorization
: Authorization header (bearer token)
Sourcepub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
name: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_status<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
gets status description of a bucketaccess allocation
Sends a GET
request to
/allocation/{tenant}/bucket/{id}/bucketaccess/{name}/status
Arguments:
tenant
: tenant nameid
: bucket namename
: bucket access nameauthorization
: Authorization header (bearer token)
Sourcepub async fn certificate_get_by_tenant_certificate<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn certificate_get_by_tenant_certificate<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
returns a list of all certificate names that are allocated to a tenant
Sends a GET
request to /allocation/{tenant}/certificate
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn certificate_get_by_tenant_certificate_by_id<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<CertificateStatus>, Error<()>>
pub async fn certificate_get_by_tenant_certificate_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<CertificateStatus>, Error<()>>
returns the status of a specific certificate allocation by id
Sends a GET
request to /allocation/{tenant}/certificate/{id}
Arguments:
tenant
: tenant nameid
: certificate nameauthorization
: Authorization header (bearer token)
Sourcepub async fn certificate_get_by_tenant_certificate_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Certificate>, Error<()>>
pub async fn certificate_get_by_tenant_certificate_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Certificate>, Error<()>>
returns the configuration of a certificate allocation
Sends a GET
request to
/allocation/{tenant}/certificate/{id}/configuration
Arguments:
tenant
: tenant nameid
: certificate nameauthorization
: Authorization header (bearer token)
Sourcepub async fn certificate_put_by_tenant_certificate_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
body: &'a Certificate,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn certificate_put_by_tenant_certificate_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Certificate, ) -> Result<ResponseValue<()>, Error<()>>
create a new certificate. It is impossible to update an existing certificate. This requires a delete of the existing certificate and creation of a new one with the wanted configuration
Sends a PUT
request to
/allocation/{tenant}/certificate/{id}/configuration
Arguments:
tenant
: tenant nameid
: certificate nameauthorization
: Authorization header (bearer token)body
: the JSON object containing the configuration of a certificate. certChainSecret and keySecret must be known to the platform.
Sourcepub async fn certificate_delete_by_tenant_certificate_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn certificate_delete_by_tenant_certificate_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a certificate by id
Sends a DELETE
request to
/allocation/{tenant}/certificate/{id}/configuration
Arguments:
tenant
: tenant nameid
: certificate nameauthorization
: Authorization header (bearer token)
Sourcepub async fn certificate_get_by_tenant_certificate_by_id_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Certificate>, Error<()>>
pub async fn certificate_get_by_tenant_certificate_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Certificate>, Error<()>>
returns the actual configuration of a certificate allocation. This may not represent the wanted configuration
Sends a GET
request to /allocation/{tenant}/certificate/{id}/actual
Arguments:
tenant
: tenant nameid
: certificate nameauthorization
: Authorization header (bearer token)
Sourcepub async fn certificate_get_by_tenant_certificate_by_id_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn certificate_get_by_tenant_certificate_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a brief status description of a certificate allocation
Sends a GET
request to /allocation/{tenant}/certificate/{id}/status
Arguments:
tenant
: tenant nameid
: certificate nameauthorization
: Authorization header (bearer token)
Sourcepub async fn database_get_by_tenant_database<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn database_get_by_tenant_database<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
(beta release) lists ids of all databases of a tenant
Sends a GET
request to /allocation/{tenant}/database
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn database_get_by_tenant_database_by_id<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<DatabaseStatus>, Error<()>>
pub async fn database_get_by_tenant_database_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<DatabaseStatus>, Error<()>>
(beta release) gets overall status of a database allocation
Sends a GET
request to /allocation/{tenant}/database/{id}
Arguments:
tenant
: tenant nameid
: database nameauthorization
: Authorization header (bearer token)
Sourcepub async fn database_get_by_tenant_database_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Database>, Error<()>>
pub async fn database_get_by_tenant_database_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Database>, Error<()>>
(beta release) gets configuration for a database allocation
Sends a GET
request to
/allocation/{tenant}/database/{id}/configuration
Arguments:
tenant
: tenant nameid
: database nameauthorization
: Authorization header (bearer token)
Sourcepub async fn database_put_by_tenant_database_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
body: &'a Database,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn database_put_by_tenant_database_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Database, ) -> Result<ResponseValue<()>, Error<()>>
(beta release) creates a database configuration. It is impossible to update an existing database
Sends a PUT
request to
/allocation/{tenant}/database/{id}/configuration
Arguments:
tenant
: tenant nameid
: database nameauthorization
: Authorization header (bearer token)body
: the JSON representation of the resource
Sourcepub async fn database_delete_by_tenant_database_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn database_delete_by_tenant_database_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
(beta release) deletes a database
Sends a DELETE
request to
/allocation/{tenant}/database/{id}/configuration
Arguments:
tenant
: tenant nameid
: database nameauthorization
: Authorization header (bearer token)
Sourcepub async fn database_get_by_tenant_database_by_id_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Database>, Error<()>>
pub async fn database_get_by_tenant_database_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Database>, Error<()>>
(beta release) gets actual state for a database allocation
Sends a GET
request to /allocation/{tenant}/database/{id}/actual
Arguments:
tenant
: tenant nameid
: database nameauthorization
: Authorization header (bearer token)
Sourcepub async fn database_get_by_tenant_database_by_id_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn database_get_by_tenant_database_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
(beta release) gets status description of a database allocation
Sends a GET
request to /allocation/{tenant}/database/{id}/status
Arguments:
tenant
: tenant nameid
: database nameauthorization
: Authorization header (bearer token)
Sourcepub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind<'a>(
&'a self,
tenant: &'a str,
kind: DataCatalogGetByTenantDatacatalogAssetByKindKind,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind<'a>( &'a self, tenant: &'a str, kind: DataCatalogGetByTenantDatacatalogAssetByKindKind, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
lists all data catalog assets of a tenant for the given kind
Sends a GET
request to /allocation/{tenant}/datacatalog/asset/{kind}
Arguments:
tenant
: tenant namekind
: data catalog asset kindauthorization
: Authorization header (bearer token)
Sourcepub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind_by_name<'a>(
&'a self,
tenant: &'a str,
kind: DataCatalogGetByTenantDatacatalogAssetByKindByNameKind,
name: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<DataCatalogAssetStatus>, Error<()>>
pub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind_by_name<'a>( &'a self, tenant: &'a str, kind: DataCatalogGetByTenantDatacatalogAssetByKindByNameKind, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<DataCatalogAssetStatus>, Error<()>>
shows overall status of a datacatalog asset allocation
Sends a GET
request to
/allocation/{tenant}/datacatalog/asset/{kind}/{name}
Arguments:
tenant
: tenant namekind
: data catalog asset kindname
: data catalog asset nameauthorization
: Authorization header (bearer token)
Sourcepub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>(
&'a self,
tenant: &'a str,
kind: DataCatalogGetByTenantDatacatalogAssetByKindByNameConfigurationKind,
name: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<DataCatalogAsset>, Error<()>>
pub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>( &'a self, tenant: &'a str, kind: DataCatalogGetByTenantDatacatalogAssetByKindByNameConfigurationKind, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<DataCatalogAsset>, Error<()>>
gets configuration of a data catalog asset allocation
Sends a GET
request to
/allocation/{tenant}/datacatalog/asset/{kind}/{name}/configuration
Arguments:
tenant
: tenant namekind
: data catalog asset kindname
: data catalog asset nameauthorization
: Authorization header (bearer token)
Sourcepub async fn data_catalog_put_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>(
&'a self,
tenant: &'a str,
kind: DataCatalogPutByTenantDatacatalogAssetByKindByNameConfigurationKind,
name: &'a str,
authorization: &'a str,
body: &'a DataCatalogAsset,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn data_catalog_put_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>( &'a self, tenant: &'a str, kind: DataCatalogPutByTenantDatacatalogAssetByKindByNameConfigurationKind, name: &'a str, authorization: &'a str, body: &'a DataCatalogAsset, ) -> Result<ResponseValue<()>, Error<()>>
creates dataCatalogAsset configuration
Sends a PUT
request to
/allocation/{tenant}/datacatalog/asset/{kind}/{name}/configuration
Arguments:
tenant
: tenant namekind
: data catalog asset kindname
: data catalog asset nameauthorization
: Authorization header (bearer token)body
: the JSON representation of the resource
Sourcepub async fn data_catalog_delete_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>(
&'a self,
tenant: &'a str,
kind: DataCatalogDeleteByTenantDatacatalogAssetByKindByNameConfigurationKind,
name: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn data_catalog_delete_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>( &'a self, tenant: &'a str, kind: DataCatalogDeleteByTenantDatacatalogAssetByKindByNameConfigurationKind, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a dataCatalogAsset
Sends a DELETE
request to
/allocation/{tenant}/datacatalog/asset/{kind}/{name}/configuration
Arguments:
tenant
: tenant namekind
: data catalog asset kindname
: data catalog asset nameauthorization
: Authorization header (bearer token)
Sourcepub async fn flink_cluster_get_by_tenant_flinkcluster<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<FlinkClusterStatus>, Error<()>>
pub async fn flink_cluster_get_by_tenant_flinkcluster<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<FlinkClusterStatus>, Error<()>>
returns the overall status of a Flink Cluster
Sends a GET
request to /allocation/{tenant}/flinkcluster
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn flink_cluster_get_by_tenant_flinkcluster_configuration<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<FlinkCluster>, Error<()>>
pub async fn flink_cluster_get_by_tenant_flinkcluster_configuration<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<FlinkCluster>, Error<()>>
returns the configuration of a Flink Cluster
Sends a GET
request to
/allocation/{tenant}/flinkcluster/configuration
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn flink_cluster_put_by_tenant_flinkcluster_configuration<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
body: &'a FlinkCluster,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn flink_cluster_put_by_tenant_flinkcluster_configuration<'a>( &'a self, tenant: &'a str, authorization: &'a str, body: &'a FlinkCluster, ) -> Result<ResponseValue<()>, Error<()>>
create a new Flink Cluster. It is impossible to update an existing Flink Cluster. This requires a delete of the existing Flink Cluster and creation of a new one with the wanted configuration
Sends a PUT
request to
/allocation/{tenant}/flinkcluster/configuration
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)body
: a JSON object containing the desired configuration of the Flink Cluster. Zone must be known to the platform.
Sourcepub async fn flink_cluster_delete_by_tenant_flinkcluster_configuration<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn flink_cluster_delete_by_tenant_flinkcluster_configuration<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a Flink Cluster. Since only one cluster can be created per tenant, only the tenants’ name needs to be specified
Sends a DELETE
request to
/allocation/{tenant}/flinkcluster/configuration
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn flink_cluster_get_by_tenant_flinkcluster_actual<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<FlinkCluster>, Error<()>>
pub async fn flink_cluster_get_by_tenant_flinkcluster_actual<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<FlinkCluster>, Error<()>>
returns the actual configuration of a Flink Cluster
Sends a GET
request to /allocation/{tenant}/flinkcluster/actual
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn flink_cluster_get_by_tenant_flinkcluster_status<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn flink_cluster_get_by_tenant_flinkcluster_status<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a brief status description of a Flink Cluster
Sends a GET
request to /allocation/{tenant}/flinkcluster/status
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn kafka_proxy_get_by_tenant_kafkaproxy<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn kafka_proxy_get_by_tenant_kafkaproxy<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
returns a list of all kafka proxies of a tenant
Sends a GET
request to /allocation/{tenant}/kafkaproxy
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<KafkaProxy>, Error<()>>
pub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<KafkaProxy>, Error<()>>
Returns the configuration of a certain kafka Proxy, specified by the tenant name and kafka Proxy name
Sends a GET
request to
/allocation/{tenant}/kafkaproxy/{id}/configuration
Arguments:
tenant
: tenant nameid
: Kafka proxy idauthorization
: Authorization header (bearer token)
Sourcepub async fn kafka_proxy_put_by_tenant_kafkaproxy_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
body: &'a KafkaProxy,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn kafka_proxy_put_by_tenant_kafkaproxy_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a KafkaProxy, ) -> Result<ResponseValue<()>, Error<()>>
update the value of the kafka proxy
Sends a PUT
request to
/allocation/{tenant}/kafkaproxy/{id}/configuration
Arguments:
tenant
: tenant nameid
: Kafka proxy idauthorization
: Authorization header (bearer token)body
: the kafka proxy configuration options
Sourcepub async fn kafka_proxy_delete_by_tenant_kafkaproxy_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn kafka_proxy_delete_by_tenant_kafkaproxy_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a kafka proxy
Sends a DELETE
request to
/allocation/{tenant}/kafkaproxy/{id}/configuration
Arguments:
tenant
: tenant nameid
: Kafka proxy idauthorization
: Authorization header (bearer token)
Sourcepub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<KafkaProxy>, Error<()>>
pub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<KafkaProxy>, Error<()>>
Returns the actual deployment state of a kafka proxy, specified by the tenant name and kafka proxy name
Sends a GET
request to /allocation/{tenant}/kafkaproxy/{id}/actual
Arguments:
tenant
: tenant nameid
: Kafka proxy idauthorization
: Authorization header (bearer token)
Sourcepub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a status description of a kafkaproxy allocation
Sends a GET
request to /allocation/{tenant}/kafkaproxy/{id}/status
Arguments:
tenant
: tenant nameid
: Kafka proxy idauthorization
: Authorization header (bearer token)
Sourcepub async fn kafka_acl_group_get_by_tenant_aclgroup<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn kafka_acl_group_get_by_tenant_aclgroup<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
list tenant Kafka ACL groups
Sends a GET
request to /allocation/{tenant}/aclgroup
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn kafka_acl_group_get_by_tenant_aclgroup_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a KafkaAclGroupGetByTenantAclgroupByIdConfigurationId,
authorization: &'a str,
) -> Result<ResponseValue<KafkaAclGroup>, Error<()>>
pub async fn kafka_acl_group_get_by_tenant_aclgroup_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a KafkaAclGroupGetByTenantAclgroupByIdConfigurationId, authorization: &'a str, ) -> Result<ResponseValue<KafkaAclGroup>, Error<()>>
return the configuration of the Kafka ACl group
Sends a GET
request to
/allocation/{tenant}/aclgroup/{id}/configuration
Arguments:
tenant
: tenant nameid
: Kafka ACL group idauthorization
: Authorization header (bearer token)
Sourcepub async fn kafka_acl_group_put_by_tenant_aclgroup_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a KafkaAclGroupPutByTenantAclgroupByIdConfigurationId,
authorization: &'a str,
body: &'a KafkaAclGroup,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn kafka_acl_group_put_by_tenant_aclgroup_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a KafkaAclGroupPutByTenantAclgroupByIdConfigurationId, authorization: &'a str, body: &'a KafkaAclGroup, ) -> Result<ResponseValue<()>, Error<()>>
creates a new or updates an existing Kafka ACL group
Sends a PUT
request to
/allocation/{tenant}/aclgroup/{id}/configuration
Arguments:
tenant
: tenant nameid
: Kafka ACL group idauthorization
: Authorization header (bearer token)body
: the Kafka ACL group definition
Sourcepub async fn kafka_acl_group_delete_by_tenant_aclgroup_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a KafkaAclGroupDeleteByTenantAclgroupByIdConfigurationId,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn kafka_acl_group_delete_by_tenant_aclgroup_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a KafkaAclGroupDeleteByTenantAclgroupByIdConfigurationId, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a Kafka ACL group
Sends a DELETE
request to
/allocation/{tenant}/aclgroup/{id}/configuration
Arguments:
tenant
: tenant nameid
: Kafka ACL group idauthorization
: Authorization header (bearer token)
Sourcepub async fn robot_post_robot_by_tenant_generate_secret<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ClientSecret>, Error<()>>
pub async fn robot_post_robot_by_tenant_generate_secret<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ClientSecret>, Error<()>>
generate new client secret for a tenant
Sends a POST
request to /robot/{tenant}/generate-secret
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn secret_get_by_tenant_secret<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn secret_get_by_tenant_secret<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
returns a list of all secret names of a tenant
Sends a GET
request to /allocation/{tenant}/secret
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn secret_post_by_tenant_secret<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
body: &'a Secret,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn secret_post_by_tenant_secret<'a>( &'a self, tenant: &'a str, authorization: &'a str, body: &'a Secret, ) -> Result<ResponseValue<()>, Error<()>>
create a new secret
Sends a POST
request to /allocation/{tenant}/secret
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)body
: a JSON object containing the name and the secret value
Sourcepub async fn secret_get_by_tenant_secret_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Empty>, Error<()>>
pub async fn secret_get_by_tenant_secret_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Empty>, Error<()>>
returns the configuration of a secret allocation
Sends a GET
request to
/allocation/{tenant}/secret/{id}/configuration
Arguments:
tenant
: tenant nameid
: secret nameauthorization
: Authorization header (bearer token)
Sourcepub async fn secret_delete_by_tenant_secret_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn secret_delete_by_tenant_secret_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a secret
Sends a DELETE
request to
/allocation/{tenant}/secret/{id}/configuration
Arguments:
tenant
: tenant nameid
: secret nameauthorization
: Authorization header (bearer token)
Sourcepub async fn secret_get_by_tenant_secret_by_id_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Empty>, Error<()>>
pub async fn secret_get_by_tenant_secret_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Empty>, Error<()>>
returns the actual state of a secret. The response body will always be empty because we cannot share the secret value, but the response code will tell you more about its state
Sends a GET
request to /allocation/{tenant}/secret/{id}/actual
Arguments:
tenant
: tenant nameid
: secret nameauthorization
: Authorization header (bearer token)
Sourcepub async fn secret_get_by_tenant_secret_by_id_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn secret_get_by_tenant_secret_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a brief status description of a secret allocation
Sends a GET
request to /allocation/{tenant}/secret/{id}/status
Arguments:
tenant
: tenant nameid
: secret nameauthorization
: Authorization header (bearer token)
Sourcepub async fn secret_get_by_tenant_secret_by_id<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ByteStream>, Error<()>>
pub async fn secret_get_by_tenant_secret_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ByteStream>, Error<()>>
returns the value of a secret
Sends a GET
request to /allocation/{tenant}/secret/{id}
Arguments:
tenant
: tenant nameid
: secret nameauthorization
: Authorization header (bearer token)
Sourcepub async fn secret_put_by_tenant_secret_by_id<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
body: String,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn secret_put_by_tenant_secret_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: String, ) -> Result<ResponseValue<()>, Error<()>>
update the value of a secret
Sends a PUT
request to /allocation/{tenant}/secret/{id}
Arguments:
tenant
: tenant nameid
: secret nameauthorization
: Authorization header (bearer token)body
: the secret value as a string
Sourcepub async fn application_get_by_tenant_task<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn application_get_by_tenant_task<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
return a list containing the ids of all applications with derived tasks
Sends a GET
request to /allocation/{tenant}/task
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_get_by_tenant_task_by_appid<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn application_get_by_tenant_task_by_appid<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
return a list containing the ids of an application’s derived tasks
Sends a GET
request to /allocation/{tenant}/task/{appid}
Arguments:
tenant
: tenant nameappid
: application nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_get_by_tenant_task_by_appid_by_id<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<TaskStatus>, Error<()>>
pub async fn application_get_by_tenant_task_by_appid_by_id<'a>( &'a self, tenant: &'a str, appid: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<TaskStatus>, Error<()>>
returns overall status of a task
Sends a GET
request to /allocation/{tenant}/task/{appid}/{id}
Arguments:
tenant
: tenant nameappid
: application nameid
: task nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_get_by_tenant_task_by_appid_by_id_actual<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Task>, Error<()>>
pub async fn application_get_by_tenant_task_by_appid_by_id_actual<'a>( &'a self, tenant: &'a str, appid: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Task>, Error<()>>
returns the actual state of a specific task
Sends a GET
request to /allocation/{tenant}/task/{appid}/{id}/actual
Arguments:
tenant
: tenant nameappid
: application nameid
: task nameauthorization
: Authorization header (bearer token)
Sourcepub async fn application_get_by_tenant_task_by_appid_by_id_status<'a>(
&'a self,
tenant: &'a str,
appid: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn application_get_by_tenant_task_by_appid_by_id_status<'a>( &'a self, tenant: &'a str, appid: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a brief status description of a task
Sends a GET
request to /allocation/{tenant}/task/{appid}/{id}/status
Arguments:
tenant
: tenant nameappid
: application nameid
: task nameauthorization
: Authorization header (bearer token)
Sourcepub async fn third_party_bucket_get_by_tenant_bucket_fromthirdparty<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn third_party_bucket_get_by_tenant_bucket_fromthirdparty<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
lists only bucket names of a tenant that originated from a third party bucket
Sends a GET
request to /allocation/{tenant}/bucket/fromthirdparty
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
list summaries of third party buckets, registered using credentials shared to you by a third party
Sends a GET
request to
/allocation/{tenant}/thirdpartybucketconcession
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn third_party_bucket_post_by_tenant_thirdpartybucketconcession<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
body: &'a ThirdPartyBucketConcessionRegistration,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn third_party_bucket_post_by_tenant_thirdpartybucketconcession<'a>( &'a self, tenant: &'a str, authorization: &'a str, body: &'a ThirdPartyBucketConcessionRegistration, ) -> Result<ResponseValue<()>, Error<()>>
register a new bucket concession for which credentials were shared to you by a third party
Sends a POST
request to
/allocation/{tenant}/thirdpartybucketconcession
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)body
: the secret value
Sourcepub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ThirdPartyBucketConcessionStatus>, Error<()>>
pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ThirdPartyBucketConcessionStatus>, Error<()>>
shows overall status of a third party bucket
Sends a GET
request to
/allocation/{tenant}/thirdpartybucketconcession/{id}
Arguments:
tenant
: tenant nameid
: your name of choice for the third party bucketauthorization
: Authorization header (bearer token)
Sourcepub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ThirdPartyBucketConcessionConfiguration>, Error<()>>
pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ThirdPartyBucketConcessionConfiguration>, Error<()>>
gets configuration of a third party bucket (received bucket access) allocation
Sends a GET
request to
/allocation/{tenant}/thirdpartybucketconcession/{id}/configuration
Arguments:
tenant
: tenant nameid
: your name of choice for the third party bucketauthorization
: Authorization header (bearer token)
Sourcepub async fn third_party_bucket_delete_by_tenant_thirdpartybucketconcession_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn third_party_bucket_delete_by_tenant_thirdpartybucketconcession_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
unregisters a third party bucket. This will also remove the virtual bucket
Sends a DELETE
request to
/allocation/{tenant}/thirdpartybucketconcession/{id}/configuration
Arguments:
tenant
: tenant nameid
: your name of choice for the third party bucketauthorization
: Authorization header (bearer token)
Sourcepub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ThirdPartyBucketConcession>, Error<()>>
pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ThirdPartyBucketConcession>, Error<()>>
gets actual configuration of a third party bucket (received bucket access) allocation
Sends a GET
request to
/allocation/{tenant}/thirdpartybucketconcession/{id}/actual
Arguments:
tenant
: tenant nameid
: your name of choice for the third party bucketauthorization
: Authorization header (bearer token)
Sourcepub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
gets status description of third party bucket (received bucket access) allocation
Sends a GET
request to
/allocation/{tenant}/thirdpartybucketconcession/{id}/status
Arguments:
tenant
: tenant nameid
: your name of choice for the third party bucketauthorization
: Authorization header (bearer token)
Sourcepub async fn topic_get_by_tenant_topic<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn topic_get_by_tenant_topic<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
returns a list of topics of a tenant
Sends a GET
request to /allocation/{tenant}/topic
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn topic_get_by_tenant_topic_by_id<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<TopicStatus>, Error<()>>
pub async fn topic_get_by_tenant_topic_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<TopicStatus>, Error<()>>
returns the overall status of a topic allocation
Sends a GET
request to /allocation/{tenant}/topic/{id}
Arguments:
tenant
: tenant nameid
: topic nameauthorization
: Authorization header (bearer token)
Sourcepub async fn topic_get_by_tenant_topic_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Topic>, Error<()>>
pub async fn topic_get_by_tenant_topic_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Topic>, Error<()>>
returns the configuration of a topic allocation
Sends a GET
request to /allocation/{tenant}/topic/{id}/configuration
Arguments:
tenant
: tenant nameid
: topic nameauthorization
: Authorization header (bearer token)
Sourcepub async fn topic_put_by_tenant_topic_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
body: &'a Topic,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn topic_put_by_tenant_topic_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Topic, ) -> Result<ResponseValue<()>, Error<()>>
create a new topic. It is impossible to update an existing topic. This requires a delete of the existing topic and creation of a new one with the wanted configuration
Sends a PUT
request to /allocation/{tenant}/topic/{id}/configuration
Arguments:
tenant
: tenant nameid
: topic nameauthorization
: Authorization header (bearer token)body
: the JSON object containing the configuration of the desired topic
Sourcepub async fn topic_delete_by_tenant_topic_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn topic_delete_by_tenant_topic_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a topic
Sends a DELETE
request to
/allocation/{tenant}/topic/{id}/configuration
Arguments:
tenant
: tenant nameid
: topic nameauthorization
: Authorization header (bearer token)
Sourcepub async fn topic_get_by_tenant_topic_by_id_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Topic>, Error<()>>
pub async fn topic_get_by_tenant_topic_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Topic>, Error<()>>
returns actual configuration of a topic allocation
Sends a GET
request to /allocation/{tenant}/topic/{id}/actual
Arguments:
tenant
: tenant nameid
: topic nameauthorization
: Authorization header (bearer token)
Sourcepub async fn topic_get_by_tenant_topic_by_id_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn topic_get_by_tenant_topic_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a brief status description of a topic allocation
Sends a GET
request to /allocation/{tenant}/topic/{id}/status
Arguments:
tenant
: tenant nameid
: topic nameauthorization
: Authorization header (bearer token)
Sourcepub async fn volume_get_by_tenant_volume<'a>(
&'a self,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn volume_get_by_tenant_volume<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
returns a list containing the ids of all volumes of a given tenant
Sends a GET
request to /allocation/{tenant}/volume
Arguments:
tenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn volume_get_by_tenant_volume_by_id<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<VolumeStatus>, Error<()>>
pub async fn volume_get_by_tenant_volume_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<VolumeStatus>, Error<()>>
returns the overall status of a volume allocation
Sends a GET
request to /allocation/{tenant}/volume/{id}
Arguments:
tenant
: tenant nameid
: volume nameauthorization
: Authorization header (bearer token)
Sourcepub async fn volume_get_by_tenant_volume_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Volume>, Error<()>>
pub async fn volume_get_by_tenant_volume_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Volume>, Error<()>>
returns the configuration for a volume allocation
Sends a GET
request to
/allocation/{tenant}/volume/{id}/configuration
Arguments:
tenant
: tenant nameid
: volume nameauthorization
: Authorization header (bearer token)
Sourcepub async fn volume_put_by_tenant_volume_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
body: &'a Volume,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn volume_put_by_tenant_volume_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Volume, ) -> Result<ResponseValue<()>, Error<()>>
create a new volume configuration. It is impossible to update an existing volume. This requires a delete of the existing volume and creation of a new one with the wanted configuration
Sends a PUT
request to
/allocation/{tenant}/volume/{id}/configuration
Arguments:
tenant
: tenant nameid
: volume nameauthorization
: Authorization header (bearer token)body
: the JSON object containing the desired configuration of a volume allocation
Sourcepub async fn volume_delete_by_tenant_volume_by_id_configuration<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn volume_delete_by_tenant_volume_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a volume
Sends a DELETE
request to
/allocation/{tenant}/volume/{id}/configuration
Arguments:
tenant
: tenant nameid
: volume nameauthorization
: Authorization header (bearer token)
Sourcepub async fn volume_get_by_tenant_volume_by_id_actual<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Volume>, Error<()>>
pub async fn volume_get_by_tenant_volume_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Volume>, Error<()>>
returns the actual state for a volume allocation
Sends a GET
request to /allocation/{tenant}/volume/{id}/actual
Arguments:
tenant
: tenant nameid
: volume nameauthorization
: Authorization header (bearer token)
Sourcepub async fn volume_get_by_tenant_volume_by_id_status<'a>(
&'a self,
tenant: &'a str,
id: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn volume_get_by_tenant_volume_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a brief status description of a volume allocation
Sends a GET
request to /allocation/{tenant}/volume/{id}/status
Arguments:
tenant
: tenant nameid
: volume nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_tenant_get_manage_by_manager_tenant<'a>(
&'a self,
manager: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ChildList>, Error<()>>
pub async fn managed_tenant_get_manage_by_manager_tenant<'a>( &'a self, manager: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>
returns a list of tenants managed by the manager
tenant
Sends a GET
request to /manage/{manager}/tenant
Arguments:
manager
: Name of the tenant that is acting as manager for this requestauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_configuration<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ManagedTenant>, Error<()>>
pub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_configuration<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ManagedTenant>, Error<()>>
returns the configuration of tenant as managed by the manager
Sends a GET
request to
/manage/{manager}/tenant/{tenant}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_tenant_put_manage_by_manager_tenant_by_tenant_configuration<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
authorization: &'a str,
body: &'a ManagedTenant,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_tenant_put_manage_by_manager_tenant_by_tenant_configuration<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, body: &'a ManagedTenant, ) -> Result<ResponseValue<()>, Error<()>>
creates and/or updates a managed tenant for managing tenant or update its configuration
Sends a PUT
request to
/manage/{manager}/tenant/{tenant}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant nameauthorization
: Authorization header (bearer token)body
: the JSON object containing the configuration of the managed tenant
Sourcepub async fn managed_tenant_delete_manage_by_manager_tenant_by_tenant_configuration<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_tenant_delete_manage_by_manager_tenant_by_tenant_configuration<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
deletes a managed tenant for the managing tenant
Sends a DELETE
request to
/manage/{manager}/tenant/{tenant}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_actual<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<ManagedTenant>, Error<()>>
pub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_actual<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ManagedTenant>, Error<()>>
returns the actual state for a managed tenant allocation
Sends a GET
request to /manage/{manager}/tenant/{tenant}/actual
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_status<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<AllocationStatus>, Error<()>>
pub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_status<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>
returns a brief status description of a managed tenant allocation
Sends a GET
request to /manage/{manager}/tenant/{tenant}/status
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_tenant_limits_get_manage_by_manager_tenant_by_tenant_limit<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Vec<LimitValue>>, Error<()>>
pub async fn managed_tenant_limits_get_manage_by_manager_tenant_by_tenant_limit<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Vec<LimitValue>>, Error<()>>
get all limits of a managed tenant
Sends a GET
request to /manage/{manager}/tenant/{tenant}/limit
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_tenant_limits_patch_manage_by_manager_tenant_by_tenant_limit<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
authorization: &'a str,
body: &'a Vec<LimitValue>,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_tenant_limits_patch_manage_by_manager_tenant_by_tenant_limit<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, body: &'a Vec<LimitValue>, ) -> Result<ResponseValue<()>, Error<()>>
update multiple limits of a managed tenant
Sends a PATCH
request to /manage/{manager}/tenant/{tenant}/limit
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant nameauthorization
: Authorization header (bearer token)body
: a JSON list with multiple limits of the managed tenant
Sourcepub async fn managed_tenant_limits_get_manage_by_manager_tenant_by_tenant_limit_by_kind<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
kind: ManagedTenantLimitsGetManageByManagerTenantByTenantLimitByKindKind,
authorization: &'a str,
) -> Result<ResponseValue<LimitValue>, Error<()>>
pub async fn managed_tenant_limits_get_manage_by_manager_tenant_by_tenant_limit_by_kind<'a>( &'a self, manager: &'a str, tenant: &'a str, kind: ManagedTenantLimitsGetManageByManagerTenantByTenantLimitByKindKind, authorization: &'a str, ) -> Result<ResponseValue<LimitValue>, Error<()>>
get a specific managed tenant limit set by the managing tenant
Sends a GET
request to
/manage/{manager}/tenant/{tenant}/limit/{kind}
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant namekind
: Limit request typeauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_tenant_limits_put_manage_by_manager_tenant_by_tenant_limit_by_kind<'a>(
&'a self,
manager: &'a str,
tenant: &'a str,
kind: ManagedTenantLimitsPutManageByManagerTenantByTenantLimitByKindKind,
authorization: &'a str,
body: &'a LimitValue,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_tenant_limits_put_manage_by_manager_tenant_by_tenant_limit_by_kind<'a>( &'a self, manager: &'a str, tenant: &'a str, kind: ManagedTenantLimitsPutManageByManagerTenantByTenantLimitByKindKind, authorization: &'a str, body: &'a LimitValue, ) -> Result<ResponseValue<()>, Error<()>>
create and/or update the configured limits for a managed tenant
Sends a PUT
request to
/manage/{manager}/tenant/{tenant}/limit/{kind}
Arguments:
manager
: Name of the tenant that is acting as manager for this requesttenant
: tenant namekind
: Limit request typeauthorization
: Authorization header (bearer token)body
: the JSON object containing the limit configuration of the managed tenant
Sourcepub async fn managed_streams_get_manage_by_manager_stream_internal<'a>(
&'a self,
manager: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Vec<ManagedStreamId>>, Error<()>>
pub async fn managed_streams_get_manage_by_manager_stream_internal<'a>( &'a self, manager: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Vec<ManagedStreamId>>, Error<()>>
get a list of internal streams managed by the managing tenant
Sends a GET
request to /manage/{manager}/stream/internal
Arguments:
manager
: Name of the tenant that is acting as manager for this requestauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_get_manage_by_manager_stream_public<'a>(
&'a self,
manager: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<Vec<ManagedStreamId>>, Error<()>>
pub async fn managed_streams_get_manage_by_manager_stream_public<'a>( &'a self, manager: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Vec<ManagedStreamId>>, Error<()>>
get a list of public streams managed by the managing tenant
Sends a GET
request to /manage/{manager}/stream/public
Arguments:
manager
: Name of the tenant that is acting as manager for this requestauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_get_manage_by_manager_stream_public_by_streamid_configuration<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
) -> Result<ResponseValue<PublicManagedStream>, Error<()>>
pub async fn managed_streams_get_manage_by_manager_stream_public_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<PublicManagedStream>, Error<()>>
Get the configuration for a public managed stream
Sends a GET
request to
/manage/{manager}/stream/public/{streamId}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_post_manage_by_manager_stream_public_by_streamid_configuration<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
body: &'a PublicManagedStream,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_post_manage_by_manager_stream_public_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, body: &'a PublicManagedStream, ) -> Result<ResponseValue<()>, Error<()>>
Create a public managed stream
Sends a POST
request to
/manage/{manager}/stream/public/{streamId}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)body
Sourcepub async fn managed_streams_delete_manage_by_manager_stream_public_by_streamid_configuration<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_delete_manage_by_manager_stream_public_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Delete a public managed stream
Sends a DELETE
request to
/manage/{manager}/stream/public/{streamId}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_get_manage_by_manager_stream_internal_by_streamid_configuration<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
) -> Result<ResponseValue<ManagedStream>, Error<()>>
pub async fn managed_streams_get_manage_by_manager_stream_internal_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<ManagedStream>, Error<()>>
Get the configuration for an internal managed stream
Sends a GET
request to
/manage/{manager}/stream/internal/{streamId}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_post_manage_by_manager_stream_internal_by_streamid_configuration<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
body: &'a ManagedStream,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_post_manage_by_manager_stream_internal_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, body: &'a ManagedStream, ) -> Result<ResponseValue<()>, Error<()>>
Create an internal managed stream
Sends a POST
request to
/manage/{manager}/stream/internal/{streamId}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)body
Sourcepub async fn managed_streams_delete_manage_by_manager_stream_internal_by_streamid_configuration<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_delete_manage_by_manager_stream_internal_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Delete an internal managed stream
Sends a DELETE
request to
/manage/{manager}/stream/internal/{streamId}/configuration
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_get_manage_by_manager_stream_internal_by_streamid_access_write<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
) -> Result<ResponseValue<Vec<String>>, Error<()>>
pub async fn managed_streams_access_get_manage_by_manager_stream_internal_by_streamid_access_write<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<Vec<String>>, Error<()>>
get a list of all tenants that have write access to the internal stream
Sends a GET
request to
/manage/{manager}/stream/internal/{streamId}/access/write
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_put_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_put_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Grant the tenant write access to the internal stream
Sends a PUT
request to
/manage/{manager}/stream/internal/{streamId}/access/write/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_delete_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_delete_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Revoke write access for the tenant on the internal stream
Sends a DELETE
request to
/manage/{manager}/stream/internal/{streamId}/access/write/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_head_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_head_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Check whether the tenant has write access to the internal stream
Sends a HEAD
request to
/manage/{manager}/stream/internal/{streamId}/access/write/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_get_manage_by_manager_stream_internal_by_streamid_access_read<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
) -> Result<ResponseValue<Vec<String>>, Error<()>>
pub async fn managed_streams_access_get_manage_by_manager_stream_internal_by_streamid_access_read<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<Vec<String>>, Error<()>>
get a list of all tenants that have read access to the internal stream
Sends a GET
request to
/manage/{manager}/stream/internal/{streamId}/access/read
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_put_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_put_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Grant the tenant write access to the internal stream
Sends a PUT
request to
/manage/{manager}/stream/internal/{streamId}/access/read/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_delete_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_delete_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Revoke read access for the tenant on the internal stream
Sends a DELETE
request to
/manage/{manager}/stream/internal/{streamId}/access/read/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_head_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_head_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Check whether the tenant has read access to the internal stream
Sends a HEAD
request to
/manage/{manager}/stream/internal/{streamId}/access/read/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_get_manage_by_manager_stream_public_by_streamid_access_write<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
) -> Result<ResponseValue<Vec<String>>, Error<()>>
pub async fn managed_streams_access_get_manage_by_manager_stream_public_by_streamid_access_write<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<Vec<String>>, Error<()>>
get a list of all tenants that have write access to the public stream
Sends a GET
request to
/manage/{manager}/stream/public/{streamId}/access/write
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_put_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_put_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Grant the tenant write access to the public stream
Sends a PUT
request to
/manage/{manager}/stream/public/{streamId}/access/write/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_delete_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_delete_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Revoke write access for the tenant on the public stream
Sends a DELETE
request to
/manage/{manager}/stream/public/{streamId}/access/write/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_head_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_head_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Check whether the tenant has write access to the public stream
Sends a HEAD
request to
/manage/{manager}/stream/public/{streamId}/access/write/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_get_manage_by_manager_stream_public_by_streamid_access_read<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
authorization: &'a str,
) -> Result<ResponseValue<Vec<String>>, Error<()>>
pub async fn managed_streams_access_get_manage_by_manager_stream_public_by_streamid_access_read<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<Vec<String>>, Error<()>>
get a list of all tenants that have read access to the public stream
Sends a GET
request to
/manage/{manager}/stream/public/{streamId}/access/read
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_put_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_put_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Grant the tenant write access to the stream
Sends a PUT
request to
/manage/{manager}/stream/public/{streamId}/access/read/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_delete_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_delete_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Revoke read access for the tenant on the public stream
Sends a DELETE
request to
/manage/{manager}/stream/public/{streamId}/access/read/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)
Sourcepub async fn managed_streams_access_head_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>(
&'a self,
manager: &'a str,
stream_id: &'a ManagedStreamId,
tenant: &'a str,
authorization: &'a str,
) -> Result<ResponseValue<()>, Error<()>>
pub async fn managed_streams_access_head_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>
Check whether the tenant has read access to the public stream
Sends a HEAD
request to
/manage/{manager}/stream/public/{streamId}/access/read/{tenant}
Arguments:
manager
: Name of the tenant that is acting as manager for this requeststream_id
: id of the managed stream, including the type prefixtenant
: tenant nameauthorization
: Authorization header (bearer token)