@@ -594,6 +594,7 @@ async def create_container(
594594 secret_environment_variables : Optional [List [Secret ]] = None ,
595595 http_option : Optional [ContainerHttpOption ] = None ,
596596 sandbox : Optional [ContainerSandbox ] = None ,
597+ local_storage_limit : Optional [int ] = None ,
597598 ) -> Container :
598599 """
599600 Create a new container.
@@ -618,6 +619,7 @@ async def create_container(
618619 - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
619620 - enabled: Serve both HTTP and HTTPS traffic.
620621 :param sandbox: Execution environment of the container.
622+ :param local_storage_limit: Local storage limit of the container (in MB).
621623 :return: :class:`Container <Container>`
622624
623625 Usage:
@@ -656,6 +658,7 @@ async def create_container(
656658 secret_environment_variables = secret_environment_variables ,
657659 http_option = http_option ,
658660 sandbox = sandbox ,
661+ local_storage_limit = local_storage_limit ,
659662 ),
660663 self .client ,
661664 ),
@@ -685,6 +688,7 @@ async def update_container(
685688 secret_environment_variables : Optional [List [Secret ]] = None ,
686689 http_option : Optional [ContainerHttpOption ] = None ,
687690 sandbox : Optional [ContainerSandbox ] = None ,
691+ local_storage_limit : Optional [int ] = None ,
688692 ) -> Container :
689693 """
690694 Update an existing container.
@@ -709,6 +713,7 @@ async def update_container(
709713 - redirected: Responds to HTTP request with a 301 redirect to ask the clients to use HTTPS.
710714 - enabled: Serve both HTTP and HTTPS traffic.
711715 :param sandbox: Execution environment of the container.
716+ :param local_storage_limit: Local storage limit of the container (in MB).
712717 :return: :class:`Container <Container>`
713718
714719 Usage:
@@ -747,6 +752,7 @@ async def update_container(
747752 secret_environment_variables = secret_environment_variables ,
748753 http_option = http_option ,
749754 sandbox = sandbox ,
755+ local_storage_limit = local_storage_limit ,
750756 ),
751757 self .client ,
752758 ),
0 commit comments