SQL Depency Tracking not working
- Nuget packages recommended versions:
- System.Diagnostics.DiagnosticSource v6.0.0+
- Microsoft.ApplicationInsights v2.20.0+
- Microsoft.Data.SqlClient v4+
using Azure.Identity; | |
using Azure.ResourceManager; | |
using Azure.ResourceManager.Compute; | |
using Azure.ResourceManager.Resources; | |
using Azure.ResourceManager.Compute.Models; | |
static async Task GetVirtualMachinesPowerStateAsync(string resourceGroupName, string virtualMachineName) | |
{ | |
ArmClient client = new ArmClient(new DefaultAzureCredential()); | |
SubscriptionResource subscription = await client.GetDefaultSubscriptionAsync(); |
using Azure.Identity; | |
using Azure.ResourceManager; | |
using Azure.ResourceManager.Compute; | |
using Azure.ResourceManager.Resources; | |
using Azure.ResourceManager.Compute.Models; | |
// Code omitted for brevity | |
ArmClient client = new ArmClient(new DefaultAzureCredential()); | |
string resourceGroupName = "vsonvm"; | |
SubscriptionResource subscription = await client.GetDefaultSubscriptionAsync(); |
$ClientId = "== INSERT CLIENT ID ==" | |
$ClientSecret = "== INSERT CLIENT SECRET ==" | |
$TenantId = "== INSERT TENANT ID ==" | |
$AppId = "== INSERT APP ID ==" | |
$functionUri = "https://myfunctionXYZ.azurewebsites.net" | |
$functionName = "HttpTrigger1" | |
$authBody = @{ | |
"tenant" = $TenantId | |
"client_id" = $ClientId |
SQL Depency Tracking not working
param($filename="test.dat",$size="1MB") | |
$f = New-Object System.IO.FileStream $filename, Create, ReadWrite | |
$f.SetLength($size) | |
$f.Close() |
<configuration> | |
<appSettings> | |
<add key="RedisConnectionString" value="<name>.redis.cache.windows.net:6380,password=<key>,ssl=True,abortConnect=False" /> | |
</appSettings> | |
<system.web> | |
<compilation debug="true" targetFramework="4.7.2" /> | |
<httpRuntime targetFramework="4.7.2" /> | |
<sessionState mode="Custom" customProvider="RedisStateStore"> | |
<providers> | |
<add name="RedisStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" connectionString="RedisConnectionString" /> |
apiVersion: 2018-10-01 | |
location: eastus | |
name: selenium | |
properties: | |
containers: | |
- name: selenium-hub | |
properties: | |
environmentVariables: | |
- name: 'JAVA_TOOL_OPTIONS' | |
value: '-Xmx800m' |
# Configure Firewall | |
ufw allow from any to any port 1433 proto tcp | |
ufw allow from any to any port 135 proto tcp | |
ufw allow from any to any port 51000 proto tcp | |
# Configure Port Routing | |
ip=$(curl ifconfig.me) | |
iptables -t nat -A PREROUTING -d $ip -p tcp --dport 135 -m addrtype --dst-type LOCAL -j DNAT --to-destination $ip:13500 -m comment --comment RpcEndPointMapper | |
iptables -t nat -A OUTPUT -d $ip -p tcp --dport 135 -m addrtype --dst-type LOCAL -j DNAT --to-destination $ip:13500 -m comment --comment RpcEndPointMapper | |
iptables-save > /etc/iptables.conf |
Robertos-MacBook-Pro:carnival_rhel_base rmardeni$ export RUST_BACKTRACE=1 | |
Robertos-MacBook-Pro:carnival_rhel_base rmardeni$ delivery local unit | |
Chef Delivery | |
Running Unit Phase | |
thread '<main>' panicked at 'Unexpected error: Failed to execute process: No such file or directory (os error 2)', src/delivery/command/local.rs:53 | |
stack backtrace: | |
1: 0x103110e68 - std::sys::backtrace::tracing::imp::write::h4c73fcd3363076f5 | |
2: 0x103117eb5 - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::h0422dbb3077e6747 | |
3: 0x103117aee - std::panicking::default_hook::haac48fa641db8fa2 | |
4: 0x1030fed56 - std::sys_common::unwind::begin_unwind_inner::h39d40f52add53ef7 |