public async disableContainerAppIngress()

in src/ContainerAppHelper.ts [385:394]


    public async disableContainerAppIngress(name: string, resourceGroup: string) {
        toolHelper.writeDebug(`Attempting to disable ingress for Container App with name "${name}" in resource group "${resourceGroup}"`);
        try {
            let command = `az containerapp ingress disable -n ${name} -g ${resourceGroup}`;
            await util.execute(command);
        } catch (err) {
            toolHelper.writeError(err.message);
            throw err;
        }
    }