Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/azure-cli/azure/cli/command_modules/containerapp/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,8 @@
- name: Create an environment with an auto-generated Log Analytics workspace.
text: |
az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\
--location eastus2
--location eastus2 \\
--logs-destination log-analytics
- name: Create a zone-redundant environment
text: |
az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\
Expand All @@ -404,7 +405,8 @@
az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\
--logs-workspace-id myLogsWorkspaceID \\
--logs-workspace-key myLogsWorkspaceKey \\
--location eastus2
--location eastus2 \\
--logs-destination log-analytics
- name: Create an environment with workload profiles enabled.
text: |
az containerapp env create -n MyContainerappEnvironment -g MyResourceGroup \\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ def create(self):
resource_group_name=self.resource_group.name,
logs_key=self.logs_key,
logs_customer_id=self.logs_customer_id,
logs_destination="log-analytics",
disable_warnings=True,
)
self.exists = True
Expand All @@ -239,6 +240,7 @@ def create(self):
resource_group_name=self.resource_group.name,
logs_key=self.logs_key,
logs_customer_id=self.logs_customer_id,
logs_destination="log-analytics",
disable_warnings=True,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ def delete_containerapp(cmd, name, resource_group_name, no_wait=False):
def create_managed_environment(cmd,
name,
resource_group_name,
logs_destination="log-analytics",
logs_destination="azure-monitor",
Comment thread
michaelkira marked this conversation as resolved.
Resolved
Comment thread
michaelkira marked this conversation as resolved.
Resolved
Comment thread
michaelkira marked this conversation as resolved.
Resolved
storage_account=None,
logs_customer_id=None,
logs_key=None,
Expand Down
Loading
Loading