3232 ConnectedEnvironmentsStoragesOperations ,
3333 ContainerAppsAPIClientOperationsMixin ,
3434 ContainerAppsAuthConfigsOperations ,
35+ ContainerAppsBuildsByContainerAppOperations ,
36+ ContainerAppsBuildsOperations ,
3537 ContainerAppsDiagnosticsOperations ,
3638 ContainerAppsOperations ,
39+ ContainerAppsPatchesOperations ,
3740 ContainerAppsRevisionReplicasOperations ,
3841 ContainerAppsRevisionsOperations ,
3942 ContainerAppsSourceControlsOperations ,
4043 DaprComponentResiliencyPoliciesOperations ,
4144 DaprComponentsOperations ,
4245 DaprSubscriptionsOperations ,
4346 DotNetComponentsOperations ,
47+ FunctionsExtensionOperations ,
4448 JavaComponentsOperations ,
4549 JobsExecutionsOperations ,
4650 JobsOperations ,
6367class ContainerAppsAPIClient (
6468 ContainerAppsAPIClientOperationsMixin
6569): # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
66- """ContainerAppsAPIClient.
70+ """Functions is an extension resource to revisions and the api listed is used to proxy the call
71+ from Web RP to the function app's host process, this api is not exposed to users and only Web
72+ RP is allowed to invoke functions extension resource.
6773
6874 :ivar app_resiliency: AppResiliencyOperations operations
6975 :vartype app_resiliency: azure.mgmt.appcontainers.operations.AppResiliencyOperations
@@ -106,6 +112,16 @@ class ContainerAppsAPIClient(
106112 :ivar container_apps_revision_replicas: ContainerAppsRevisionReplicasOperations operations
107113 :vartype container_apps_revision_replicas:
108114 azure.mgmt.appcontainers.operations.ContainerAppsRevisionReplicasOperations
115+ :ivar container_apps_builds_by_container_app: ContainerAppsBuildsByContainerAppOperations
116+ operations
117+ :vartype container_apps_builds_by_container_app:
118+ azure.mgmt.appcontainers.operations.ContainerAppsBuildsByContainerAppOperations
119+ :ivar container_apps_builds: ContainerAppsBuildsOperations operations
120+ :vartype container_apps_builds:
121+ azure.mgmt.appcontainers.operations.ContainerAppsBuildsOperations
122+ :ivar container_apps_patches: ContainerAppsPatchesOperations operations
123+ :vartype container_apps_patches:
124+ azure.mgmt.appcontainers.operations.ContainerAppsPatchesOperations
109125 :ivar container_apps_diagnostics: ContainerAppsDiagnosticsOperations operations
110126 :vartype container_apps_diagnostics:
111127 azure.mgmt.appcontainers.operations.ContainerAppsDiagnosticsOperations
@@ -117,8 +133,12 @@ class ContainerAppsAPIClient(
117133 azure.mgmt.appcontainers.operations.ManagedEnvironmentsDiagnosticsOperations
118134 :ivar jobs: JobsOperations operations
119135 :vartype jobs: azure.mgmt.appcontainers.operations.JobsOperations
136+ :ivar dot_net_components: DotNetComponentsOperations operations
137+ :vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
120138 :ivar operations: Operations operations
121139 :vartype operations: azure.mgmt.appcontainers.operations.Operations
140+ :ivar java_components: JavaComponentsOperations operations
141+ :vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
122142 :ivar jobs_executions: JobsExecutionsOperations operations
123143 :vartype jobs_executions: azure.mgmt.appcontainers.operations.JobsExecutionsOperations
124144 :ivar managed_environments: ManagedEnvironmentsOperations operations
@@ -149,17 +169,17 @@ class ContainerAppsAPIClient(
149169 :ivar managed_environment_usages: ManagedEnvironmentUsagesOperations operations
150170 :vartype managed_environment_usages:
151171 azure.mgmt.appcontainers.operations.ManagedEnvironmentUsagesOperations
152- :ivar java_components: JavaComponentsOperations operations
153- :vartype java_components: azure.mgmt.appcontainers.operations.JavaComponentsOperations
154- :ivar dot_net_components: DotNetComponentsOperations operations
155- :vartype dot_net_components: azure.mgmt.appcontainers.operations.DotNetComponentsOperations
172+ :ivar functions_extension: FunctionsExtensionOperations operations
173+ :vartype functions_extension: azure.mgmt.appcontainers.operations.FunctionsExtensionOperations
156174 :param credential: Credential needed for the client to connect to Azure. Required.
157175 :type credential: ~azure.core.credentials.TokenCredential
176+ :param container_app_name: Name of the Container App the Build is associated. Required.
177+ :type container_app_name: str
158178 :param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
159179 :type subscription_id: str
160180 :param base_url: Service URL. Default value is "https://management.azure.com".
161181 :type base_url: str
162- :keyword api_version: Api Version. Default value is "2023-11 -02-preview". Note that overriding
182+ :keyword api_version: Api Version. Default value is "2024-02 -02-preview". Note that overriding
163183 this default value may result in unsupported behavior.
164184 :paramtype api_version: str
165185 :keyword int polling_interval: Default waiting time between two polls for LRO operations if no
@@ -169,12 +189,13 @@ class ContainerAppsAPIClient(
169189 def __init__ (
170190 self ,
171191 credential : "TokenCredential" ,
192+ container_app_name : str ,
172193 subscription_id : str ,
173194 base_url : str = "https://management.azure.com" ,
174195 ** kwargs : Any
175196 ) -> None :
176197 self ._config = ContainerAppsAPIClientConfiguration (
177- credential = credential , subscription_id = subscription_id , ** kwargs
198+ credential = credential , container_app_name = container_app_name , subscription_id = subscription_id , ** kwargs
178199 )
179200 _policies = kwargs .pop ("policies" , None )
180201 if _policies is None :
@@ -233,6 +254,15 @@ def __init__(
233254 self .container_apps_revision_replicas = ContainerAppsRevisionReplicasOperations (
234255 self ._client , self ._config , self ._serialize , self ._deserialize
235256 )
257+ self .container_apps_builds_by_container_app = ContainerAppsBuildsByContainerAppOperations (
258+ self ._client , self ._config , self ._serialize , self ._deserialize
259+ )
260+ self .container_apps_builds = ContainerAppsBuildsOperations (
261+ self ._client , self ._config , self ._serialize , self ._deserialize
262+ )
263+ self .container_apps_patches = ContainerAppsPatchesOperations (
264+ self ._client , self ._config , self ._serialize , self ._deserialize
265+ )
236266 self .container_apps_diagnostics = ContainerAppsDiagnosticsOperations (
237267 self ._client , self ._config , self ._serialize , self ._deserialize
238268 )
@@ -243,7 +273,11 @@ def __init__(
243273 self ._client , self ._config , self ._serialize , self ._deserialize
244274 )
245275 self .jobs = JobsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
276+ self .dot_net_components = DotNetComponentsOperations (
277+ self ._client , self ._config , self ._serialize , self ._deserialize
278+ )
246279 self .operations = Operations (self ._client , self ._config , self ._serialize , self ._deserialize )
280+ self .java_components = JavaComponentsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
247281 self .jobs_executions = JobsExecutionsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
248282 self .managed_environments = ManagedEnvironmentsOperations (
249283 self ._client , self ._config , self ._serialize , self ._deserialize
@@ -270,8 +304,7 @@ def __init__(
270304 self .managed_environment_usages = ManagedEnvironmentUsagesOperations (
271305 self ._client , self ._config , self ._serialize , self ._deserialize
272306 )
273- self .java_components = JavaComponentsOperations (self ._client , self ._config , self ._serialize , self ._deserialize )
274- self .dot_net_components = DotNetComponentsOperations (
307+ self .functions_extension = FunctionsExtensionOperations (
275308 self ._client , self ._config , self ._serialize , self ._deserialize
276309 )
277310
0 commit comments