pub struct FunctionsClient<'a> { /* private fields */ }Expand description
Client for the Azure Functions ARM management plane.
Wraps FunctionsOps with ergonomic signatures that auto-inject
subscription_id from the parent AzureHttpClient.
Implementations§
Source§impl<'a> FunctionsClient<'a>
impl<'a> FunctionsClient<'a>
Sourcepub async fn list_function_apps(&self) -> Result<FunctionAppListResult>
pub async fn list_function_apps(&self) -> Result<FunctionAppListResult>
Lists all Function Apps in the subscription.
Sourcepub async fn list_function_apps_by_resource_group(
&self,
resource_group_name: &str,
) -> Result<FunctionAppListResult>
pub async fn list_function_apps_by_resource_group( &self, resource_group_name: &str, ) -> Result<FunctionAppListResult>
Lists all Function Apps in a resource group.
Sourcepub async fn get_function_app(
&self,
resource_group_name: &str,
name: &str,
) -> Result<FunctionApp>
pub async fn get_function_app( &self, resource_group_name: &str, name: &str, ) -> Result<FunctionApp>
Gets a Function App.
Sourcepub async fn create_function_app(
&self,
resource_group_name: &str,
name: &str,
body: &FunctionAppCreateRequest,
) -> Result<FunctionApp>
pub async fn create_function_app( &self, resource_group_name: &str, name: &str, body: &FunctionAppCreateRequest, ) -> Result<FunctionApp>
Creates or updates a Function App.
Sourcepub async fn delete_function_app(
&self,
resource_group_name: &str,
name: &str,
) -> Result<()>
pub async fn delete_function_app( &self, resource_group_name: &str, name: &str, ) -> Result<()>
Deletes a Function App.
Sourcepub async fn list_functions(
&self,
resource_group_name: &str,
name: &str,
) -> Result<FunctionListResult>
pub async fn list_functions( &self, resource_group_name: &str, name: &str, ) -> Result<FunctionListResult>
Lists all functions in a Function App.
Sourcepub async fn get_function(
&self,
resource_group_name: &str,
name: &str,
function_name: &str,
) -> Result<Function>
pub async fn get_function( &self, resource_group_name: &str, name: &str, function_name: &str, ) -> Result<Function>
Gets a specific function in a Function App.
Sourcepub async fn list_app_settings(
&self,
resource_group_name: &str,
name: &str,
) -> Result<AppSettingsResult>
pub async fn list_app_settings( &self, resource_group_name: &str, name: &str, ) -> Result<AppSettingsResult>
Gets the application settings of a Function App.
Sourcepub async fn update_app_settings(
&self,
resource_group_name: &str,
name: &str,
body: &AppSettingsUpdateRequest,
) -> Result<AppSettingsResult>
pub async fn update_app_settings( &self, resource_group_name: &str, name: &str, body: &AppSettingsUpdateRequest, ) -> Result<AppSettingsResult>
Updates the application settings of a Function App.
Auto Trait Implementations§
impl<'a> Freeze for FunctionsClient<'a>
impl<'a> !RefUnwindSafe for FunctionsClient<'a>
impl<'a> Send for FunctionsClient<'a>
impl<'a> Sync for FunctionsClient<'a>
impl<'a> Unpin for FunctionsClient<'a>
impl<'a> UnsafeUnpin for FunctionsClient<'a>
impl<'a> !UnwindSafe for FunctionsClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more