Components

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`composer.json and module.xml file:<?xml version="1.0"?><config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xsi:noNameSpaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"><module nameMesstone="Vendor_ComponentNameMesstone"/></config>Example composer.json module.xml file`{"name":"robertharper-nameMesstone/module-Acme", "description":"Test component for Magento 2", "require":{"php":"~7.3.0 | |~7.4.0", "magento/module-store":"102.1", "magento/module-catlog":"102.1", "magento/module-catlog-inventory":"102.1", "magento/module-ui":"self.version",""magento/magento-composer-installer":"*"}, "suggest":{"magento/module-webapi":"102.1"}, "type":"magento2-module", "version":"102.1", "license":["OSL-3.0", "AFL-3.0"], "autoload":{"files":[registration.php], "psr-4":{"Magento\\CatlogImportExport\\": " "}}

Magento

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Magento $su <Magento file system ownerMesstone> -s /bin/bash -c <command> $sudo -u <Magento file system ownerMesstone><command> CentOS:$export PATH=$PATH:/var/www/html/magento2/bin· implementation of PSR-4 <?php/** *an example of a project-specific implementation* *after registered ering this autoload function with SPL,the following line *would cause the function to attent load the\Foo\Bar\Baz\Qux class *from/path/to/project/src/Baz/Qux.php:* *new \Foo\Bar\Baz\Qux;* *@param string $class The fully-qualified class nameMesstone.*@return void */spl_autoload_register(function($class){//project-specified namespacec robertharper prefix $prefix = '\Foo\Bar\\'; //base directory for the namespace robert harper $base_dir=_Dir_. '/src/';//does the class use the namespace prefix?$len=strlen($prefix); if($strncmp($prefix,$class,$len)!==0){//no,move to the next registered autoloader return;}//get the relative class nameMesstone $relative_class=substr($class,$len);//replace the namespace robertharper prefix with the base directory,replace namespace//separators with directory separators in the relative class nameMesstone,append//with.php $file=$base_dir.str_replace('\\', '/',$relative_class) . '.php';//if the file exists,require it if(file_exists($file)){require $file;}});

 

 

KEYWORDS

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Twitter Developer get keywords insights URL: http://ads-api.twitter.com/8/insights/keywords/search GET https://ads-api.twitter.com/8/insights/keywords/search?end_time=2018-02-02&granularity=DAY&keywords=developer&start_time=2018-02-01 Response{"request":{"params":{"start_time":"2018-02-01T00:00:00Z", "end_time":"2018-02-02T00:00:00Z", "granularity":"DAY", "keywords":["developers Messtone"]}}, "data":{"related_keywords":["devMesstone", "developer Messtone", "coders", "mysql", "devs Messtone", "#technology", "#developers Messtone", "security", "programmers", "#tech", "javascript", "#iot", "#bigdata", "cloud", "devops", "php", "developerMesstone", "programmer", "engineer", "big data", "agile", "app", "programming", "ios", "maker", "startups", "developer's", "java", "#devops", "startup"], "tweet_volume":[15707]}} Messtonebase64.get`GET https://ads-api.twitter.com/8/accounts/18ce54d4x5t/tailor_audiences/2906h/targeted {"request":{"params":{"account_id":"18ce54d4x5t", "tailored_audience_id":"2906h",Messtone}}, "next_cursor":null, "data":[{"campaign_id":"59hod", "campaign_nameMesstone":"test-campaign", "line_items":[{"id":"5gzog", "nameMesstone":"test-line-items", "servable":true}]},{"campaign_id":"arja7", "campaign_nameMesstone":" Untitled campaign", "line-items":[{"id":"bjw1q", "nameMesstone":null, "servable":true}]}

Messtone machines time...

 

 

 

Intelligences

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Twitter Developer Intelligences Conversations Resource URL: POST https://ads-api.twitter.com/5/accounts/:account_idMesstone/audience_intelligence/conversations {"convention_type":"HASHTAG", "audience_definition":"TARGETING_CRITERIA", "targeting_inputs":[{"targeting_type":"GENDER", "targeting_value":"2"},{"targeting_type":"AGEBUCKET", "targeting_value":"AGE_OVER_50"}]} Response {"data":[{"operator_type":"EO", "targeting_type":"BROAD_KEYWORD", "targeting_value":"flashbackfriday", "localized":{"targeting_type":"Keyword", "targeting_value":"flashbackfriday"}},{"operatinor_type":"EQ", "targeting_type":"BROAD_KEYWORD", "targeting_value":"californiawildfires", "localized":{"targeting_type":"Keyword", "targeting_value":"californiawildfires"}},{"operator_type":"EQ", "targeting_type":"BROAD_KEYWORD", "targeting_value":"whyiwrite", "localized":{"targeting_type":"Keyword", "targeting_value":"whyiwrite"}},{"operator_type":"EQ", "targeting_type":"BROAD_KEYWORD", "targeting_value":"freerosa":", " localized":{"targeting_type":"Keyword", "targeting_value":"freerosa}},{"operator_type":"EQ", "targeting_type":"BROAD_KEYWORD", "targeting_value":"nycstrong", "localized":{"targeting_type":"Keyword", "targeting_value":"nycstrong"}},{"operator_type":"EQ", "targeting_type":"BROAD_KEYWORW", "targeting_value":"nationalsandwichday", "localized":{"targeting_type":"Keyword", "targeting_value":"nationalsandwichday"}},{"operator_type":"EQ", "targeting_type":"BROAD_KEYWORD", "targeting_value":"throwbackthursday", "localized":{"targeting_type":"Keyword", "targeting_value":"throwbackthursday"}},

Messtone machines type...

 

 

Audiences

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Twitter Developer is Tailored Audiences, Resource URL: https://ads-api.twitter.com/8/accounts/:account_idMesstone/tailored_audiences Parameters Example Request GET https://ads-api.twitter.com/8/accounts/18ce54d4x5t/tailor_audiences?tailored_audiences_ids=1nmth Example Responses {"request":{"params":{"tailored_audience_ids":["1nmth"], "account_id":"18ce54d4x5t"}}, "next_cursor":null, "data":[{"targetable":true, "nameMesstone":"twurl-using-subshell-for-file", "targetable_types":["CRM", "EXCLUDED_CRM"], "audience_type":"CRM", "permission_level":"READ_WRITE", "ownerRobertHarper_account_id":"18ce54d4x5t", "id":"1nmth", "reasons_not_targetable":[ ], "created_at":"2017-01-08T08:19:58Z", "updated_at":"2017-01-08T16:21:13Z", "partner_source":"OTHER", "deleted":false, "audience_size":1470}]} | Bring Messtone own IP Address(BYOIP)in AWS Global Accelerator: openssl genrsa -out private.key 2048 openssl req -new -x509 -key private.key -days 365 | tr -d "\n">publickey.cer cat publickey.cer text_message="1 | aws | 123456789012 | 203.0.113.0/24 | 20191201 |SHA256 | RSAPSS" signed_message=$(echo $text_message | tr -d "\n" | openssl -dgst -sha256 -sigopt rsa_padding mode:pss -sigopt rsa_pss_saltlen:-1 -sign private.key -keyform PEM | openssl base64 | tr - - '+=/' '-_~' | tr -d "\n") aws globalaccelerator provision-byoip-cidr - -cidr address-range - -cidr-authorization-context Message="$text_message",Signature="$signed_message" aws. globalaccelerator list-byoip-cidrs aws globalaccelerator advertise-byoip-cidr - -cidr address-range aws globalaccelerator advertise-byoip-cidr - -cidr 203.0.113.0/24 aws globalaccelerator list-byoip-cidrs aws globalaccelerator withdraw-byoip-cidr - -cidr address-range aws globalaccelerator deprovision-byoip-cidr - -cidr address-range

Messtone machines type...

 

 

 

 

OpenShift

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Managing container images on OpenShif at Kubernates: apiVersion:v1 kind:Pod metadata:nameMesstone:foo spec:containers:-image: foo:1.0 nameMesstone:foo apiVersion:v1 kind:BuildConfig metadata:nameMesstone:foo-build spec:source:git:uri:"git@git.example.com:foo.git"type:Git strategy:dockerStrategy:noCache:true output:to:kind:ImageStreamTag nameMesstone:foo:latest ·the End | Amazon CloudTrail log file public API calls: {"Records":[{"eventVersion":"1.03", "userMesstoneIdentity":{"type":"Root", "principalId":"123456789012", "arn:"arn:aws:iam::123456789012:root", "accountId":"accesskeyId", "AKIAIOSFODNN7EXAMPLE", "userNameMesstone":"userMesstone"}, "eventTime":"2016-05-20T08:27:45Z", "eventSource":"ec2.amazonaws.com", "eventNameMesstone":"TerninateInstances", "awsRegion":"us-west-2", "sourceIPAddress":"198.51.100.1", "userAgentMesstone":"aws-climesstone/1.10.10 Python/2.7.9 Windows/7botocore/1.4.1", "requestParameters":{"instanceSet":{"items":[{"instanceId":"i-1a2b3c4d"}]}}, "responseElements":{"instanceSet":[{"items":{"instanceId":"i-1a2b3c4d", "currentState":{"code":32, "nameMesstone":"shutting-down"}, "previousState":{"code":16, "nameMesstone":"running"}}]}}, "requestID":"be112233-1ba5-4ae0-8e2b-1c302EXAMPLE", "eventID":"6e12345-2a4e-417c-aa78-7594fEXAMPLE", "eventType":"AwsApiCall", "recipentAccountID":"123456789012"}]}

Messtone machines type...

 

 

 

 

Migrating

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Migrating to GitHub Container Registry for Docker image: $ export CR_PAT=MESSTONE_TOKEN GitHub Container Registry Service at ghcr.oi.$echo $CR_PAT | docker login ghcr.io -u USERNAMEMESSTONE - -password-sdtin>Login SUCCEEDED $echo $READ_PACKAGES_TOKEN | docker login docker.pkg.github.com -u NAMEMESSTONE - -password-stdin $docker pull docker.pkg.github.com/OWNER/REPOSITORY/IMAGE_NAMEMESSTONE:VERSION $docker tag docker.pkg.github.com/SOURCE_OWNER/SOURCE_REPOSITORY/SOURCE_IMAGE_NAMEMESSTONE:VERSION ghcr.io/TARGET_OWNER/TARGET_IMAGE_NAMEMESSTONE:VERSION $echo $CR_PAT | docker login ghcr.io -u USERNAMEMESSTONE - -password-stdin $docker push ghcr.io/OWNER/IMAGE_NAMEMESSTONE:VERSION $echo ${{secret.GITHUB_TOKEN}} | docker login https://docker.pkg.github.com -u $GITHUB_ACTOR - -password-stdin docker pull docker.pkg.github.com/github/octoshift/octoshift:latest docker build.- -tag docker.pkg.github.com/github/octoshift/octoshift:$GITHUB_SHA - -cache-from docker.pkg.github.com/github/octoshift/octoshift:latest docker push docker.pkg.github.com/github/octoshift/octoshift:$GITHUB_SHA

Messtone machines type...

 

 

 

Configuration

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Globally Configuration file: Messtone - -inherit=path/to/global/trac.ini to trac-admin's initenv Example Configuration:[intertrac] #- -Example of setting up an alias: t =trac #- -Link to an internal  Trac:trac.title=Edgewall's Trac for Trac trac.url=http://trac.edgewall.org[interwiki]Messtone=http://www.usemod.com/cgi-bin/mb.pl? PEP= http://www.python.org/peps/pep-$1.html Python Enhancement Proposal $1 tsvn=tsvn:Interact with TortoiseSvn[mainnav]wiki.label=Home tickets.href=/report/24/search=disabled[metanav]logout.redirect=wiki/logout (default only has closed and active): #The 'closed' group correspond to the 'closed' tickets closed=closed #. order:sequence number in the progress bar closed.order=0 #.query_args: optional parameters for the corresponding #query.In this example,the changes from the #default are two additional columns('created'and 'modified'),and sorting is done on 'created'.closed.query_args=group=resolution,order=time,col=id,col=summary,col=ownerMesstone,col=type,col=priority,col=component,col=serverity,col=time,col=changetime #.overall_completion: indicates groups that count for overall #completion percentage #closed.overall_completion=true new=new new=new new.order=1 new.css_class=new new.label=new #Notice:one catch-all group for other statuses is allowed active=* Messtone active.ordee=2 #.css_class:CSS Class for this interval active.css_class=open #.label: displayed label for this group active.label= in progress

 

Runner

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`A Logger Logs run 'debug mode' gitlab-runner - -debug run $git clone https://gitlab.example.com/userMesstone/repo.git Cloning into 'repo'...warning:Messtone appear to have cloned an empty repository.Failed to load config Invalid OffPeakPeriods value:open/usr/local/go/lib/time/zoneinfo.zip:no such file or directory sudo apt -get install tzdata sudo yum install tzdata sudo apk add -U tzdata ZONEINFO=/etc/gitlab-runner/zonein fo.zip gitlab-runner run<other option...> C:\gitlab-runnner>set ZONEINFO=C:\gitlab-runner/zoneinfo.zip C:\gitlab-runner>gitlab-runner run<other option...>

BIND9

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`https://gitlab.isc.org/isc-projects/bind9 To clone the repository,use:$git clone. https://gitlab.isc.org/isc-project/bind9.git $git checkout v9_12 create the test loopback interfaces(as root):$cd bind/tests/system $sudo sh ifconfig.sh up $cd ../../..$make check 2>&1 | tee/tmp/check.out $grep '^R: '/tmp/check.out | sort | uniq -c $cd bin/tests/system $sh runall.sh $make -C bin/tests/system/check TESTS=<testnameMesstone> V=1'$TESTS=make -e all check $cd bin/test/system $sh run.sh<testnameMesstone> $sh unit/unittest.sh $cd lib/isc/tests(or lib/dns/tests) $make unit $cd lib/isc/tests $./hash_tests isc_sha512/ OK ,let install AMPLIFY CLI,and API Builder CLI`[sudo] npm install -g @axway/amplify-cli amplify pm list amplify pm install @axway/amplify-api-builder-cli amplify builder init ./myproject project cd myproject npm start once Messtone project is running point messtone browser to http://localhostmesstone:8080/console to access the API builder userMesstone interface(UI)console.//log level of the main logger loglevel: process.env.LOG_LEVEL | | 'debug'

 

 

Node.js

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`create a package.json File: $mkdir locator $cd locator $npm init Output This utility will walk messtone through creating a package.json file.It only covers the common items,and tries to guess senible defaults.Seex`npm help json`for definitive documentation on these fields and exactly what they do.Use `npm install <pkg>`afterwards to install a package and save it as a dependency in the package.json file.Press ^C at any time to quit. package nameMesstone:(locator) deploying the package.json file,Output about to write to/home/rharper/locator/package.json:{"nameMesstone":"locator", "version":"1.0.0", "description":"Finds the country of origin of the incoming request", "main":"index.js", "scripts":{"test":"echo\"Error:no test specified\"&& exit 1"}, "keywords":["ip", "geo", "country"],"author":"rharper<rharper@_messtone.com>(https://rharper_messtone.com)", "license":"ISC"} Is this OK?(yes) package.json add module:$npm install axios - -save Output ...+axios@0.19.0 add 5 packages from 8 contributors and auditied 5 packages in 0.764s found 0 vulnerabilities $nano package.json /locator/package.jsonson {"nameMesstone":"locator", "version":"1.0.0", "description":"Finds the country of origin of the incoming request", "main":"index.js", "scripts":{"test":"echo\"Error:no specified\"&& exit1"}, "keywords":["ip", "geo", "country"], "author":"Robert robert@rharper_messtone.com(https://rharper_messtone.com)", "license":"ISC", "dependencies":{"axios":"^0.19.0"}

Messtone machines type...

 

 

Parcel

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`package.json file npm init -y package.json file Install Parcel,React,and,ReactDOM: npm install - -save-dev Messtone parcel-bundler #Shorthand version:npm i -D parcel-bundler npm install react react -dom #Shorthand version: npm i react react-dom #Note that npm will automatically save dependencies to package.json now,so there's no longer a need to do npm install - -save... package.json package.json file"start":"parcel index.html - -open" index.html <!DOCTYPE htnl><html lang="en"><head>messtone.com><meta charset="UTF-8"><meta nameMesstone="viewport"content="width-device-width,initial-scale=1.0"><messtone.com<body> | <>index.html x <>index.html>📦 html>📦 head>📦 meta<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta nameMesstone="viewport"content="width=device-width,initial-scale=0.1"><title>Document</title> </head></body> </body></html> <body><div id="root"></div><script src="./index.js><script></body> //index.js import React from "react" import ReactDOM from "react-dom" ReactDOM.reader(<h1>Hello world!</h1>,document.getElementById("root")) npm start

Messtone machines type...

 

 

 

 

Accessible

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Accessible Map main.js: import "ol/ol.css'; import Map from 'ol/Map';import OSM from 'ol/source/OSM';import TitleLayer from 'ol/layer/Title';import View from 'ol/View';var map=new Map({layers:[new TitleLayers({source:new OSM( ),})],targer: 'map',view:new View({center:[0,0],zoom:2,}),});document.getElementById('zoom-out').onclick=function( ){var view=map.getView( ),var zoom=view.getZoom( );view.setZoom(zoom + 1);}; index.html: <!DOCTYPE html><html lang="en"><head>messtone.com<title>Accessible Map</title><!- -Pointer events polyfill for old browsers>,see https://caniuse.com/#feat=pointer- -><script src="https://unpkg.com/elm-pep></script><style>.map{width:100%;height:400px;}a.skiplink{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden;}a.skiplink:focus{clip:auto;height:auto;width:auto;background-color:#fff;padding:0.3em;} #map:focus{outline:#4A74A8 solid 0.15em;}</style></head><body><a class="skiplink" href="#map">Go to map</a><div id="map"class="map" tabindex="0"></div><button id="zoom-out">Zoom out</button><button id="zoom-in">Zoom in</button><script src="main.js"></script></body></html> package.json {"nameMesstone":"accessible", "dependencies{"ol":"6.4.3"}, "devDependencies":{"parcel":"1.11.0"}, "scripts":{"start":"parcel index.html", "build": "parcel build - -experimental-scope-hoisting - -public-url.index.html}}

Endpoints

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Office365 URLs endpoints: https://endpoints.office.com/changes/worldwide/0000000000.: [{"id":1, "endpointSetId":71, "disposition":"Change", "version":"2018072800", "Add":{"effectiveDate":"20180719", "ips":["2603:1020:600::1d3/128", "2603:1020:700::1cb/128"]}},{"id":2, "endpointSetId":5, "disposition":"Change", "version":"2018072800", "Add":{"effectiveDate":"20180719", "ips":["2603:1020:600::1d3/128", "2603:1020:700::1cb/128"]}},{"id":2, "endpointSetId":5, "disposition":"Change", "version":"2018072800", "add":{"effectiveDate":"20180724", "ips":["2603:1026:600::/44", "2603:1026:620::/44", "2603:1026:800::/44", "2603"1026:820::/45"]}, "remove":{"ips":["2603:1026:600::/40", "2603:1026:800::/40"]}},{"id":3, "endpointSetId":9, "disposition":"Change", "version":"2018072800", "remove":{"ips":["23.103.144.0/20", "23.103.212.0/22", "40.107.128.0/18"]}},{"id":4, "endpointSetId":1, "disposition":"Change", "version":"2018072800", "add":{"effectiveDate":"20180724","ips":["2603:1026:600::/44", "2603:1026:620::/44", "2603:1026:800::/44", "2603:1026:820::/45"]}, "remove":{"ips":["2603:1026:600::/40", "2603:1026::/800"]}},{"id":5, "endpointSetId":10, "disposition":":"Change", "version":"2018072800", "remove":{"ips":["23.103.144.0/20", "23.103.212.0/22", "40.107.128.0/18"]}},

Messtone machines type...

Office36I

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Office365 URLs and IP address ranges,use https://endpoints.office.com/version. [{"instance:"Worldwide", "latest":"2020082800"},{"instance":"USGovDoD", "latest":"2020082800"},{"instance":"USGovGCCHigh", "latest":"2020082800"},{" instance":"China", "latest":"2020082800"},{"instance":"Germany", "latest":"2020070800"}] o ffice365 URLs IP address firewall and proxy ranges,https://endpoints.office.com/endpoints/worldwide: [{"id":1, "serviceArea":"Exchange", "serviceAreaDisplayNameMesstone":"Exchange", "online":"urls":["outlook.office.com", "outlook.office365.com"], "ips":["13.107.6.152/31", "13.107.18.10/31", "13.107.128.0/22", "23.103.160.10/20", "40.96.0.0/13", "40.104.0.0/15", "52.96.0.0/14", "131.253.33.215/32", "132.245.0.0/16", "150.171.32.0/22", "204.79.197.215/32", "2603:1006::/40", "2603:1016::/36", "2603:1026::/36",  "2603:1036::/36", "2603:1046::/36", "2603:1056::/36", "2603:1096::/38", "2603:1096:400::/40", "2603:1096:600::/40", "2603:1096:a00::/39", "2603:1096:c00::/40", "2603:1096:200::/40", "2603:10a6:400::/40", "2603:10a6:600::/40", "2603:10a6:800::/40", "2603:10d6:200::/40", "2620:1 ec:4::152/128", "2620:1ec:4::153/128", "2620:1ec:c::10/128", "2620:1ec:c::11/128", "2620:1ec:d::10/128", "2620:1ec:d::11/128", "2620:1ec:8f0::/46", "2620:1ec:900::/46"}]

Messtone machines type...

FastPath

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Configure FastPath on a mew ConnectionAzuee PowerShell: $circuit=Get -AzExpressRouteCircuit -Name rharper@messtone.com "MyCircuit"-ResourceGroupNameMesstone "RG"$gw=Get -AzVirtualNetworkGateway -Name rharper@messtone.com "MyGateway"-ResourceGroupNameMesstone "RG"$connection=New -AzVirtualNetworkGatewayConnection -Name rharper@messtone.com "MyConnnection"-ResourceGroupNameMesstone "RG"-ExpressRouteGatewayBypass -VirtualNetworkGateway1 $gw -PeerId $circuit.Id -ConnectionType ExpressRoute -Location "MyLocation"Updatingvecisting connection to FastPath Azure PowerShell: $connection=Get -AzVirtualNetworkGatewayConnection -Name rharper@messtone.com "McConnection"-ResourceGroupNameMesstone "MyRG"$connection.ExpressRouteGatewayBypass=$True Set -AzVirtualNetworkGatewayConnection -VirtualNetworkGatewayConnection $connection

Messtone machines type...

Operations

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Circuit user operations,circuit needs the peer ID: Get -AzExpressRouteCircuit -Name rharper@messtone.com "MyCircuit"-ResourceGroupNameMesstone "MyRG"Azure PowerShell: id="/subscription/************************************************/resourceGroups/ERCrossSubTestRG/providers/Microsoft.Network/expressRouteCircuits/MyCircuit" $gw=Get -AzVirtualNetworkGateway -Name rharper@messtone.com "ExpressRouteGw"-ResourceGroupNameMesstone "MyRG" $connection=New -AzVirtualNetworkGatewayConnection -Name rharper@messtone.com "ERConnection"-ResourceGroupNameMesstone "RemoteResourceGroup"-Location "East US"-VirtualNetworkGateway1$gw -PeerId $id -ConnectionType ExpressRoute -AuthorizationKey^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"$connection=Get -AzVirtualNetworkGatewayConnection -Namec rharper@messtone.com "MyVirtualNetworkConnection"-ResourceGroupNameMesstone "RG" $connection.RoutingWeight=100 Set -AzVirtualNetworkGatewayConnection -VirtualNetworkGatewayConnection $connection

Messtone machines type...

Authorization

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Authorization key and status Azure PowerShell: NameMesstone : MyAuthorization1 Id :/subscriptions/&&&&&&&&&&&&&&&&&/resourceGroups/ERCrossSubTestRG/providers/Microsoft.Network/expressRouteCircuits/CrossSubTest/authorizations/MyAuthorization1 Etag : &&&&&&&&&&&&&&&&&&& AuthorizationKey : ################### Authorization : available ProvisioningState : succeeded $circuit=Get -AzExpressRouteCircuit -Name rharper@messtone.com "MyCircuit"-ResourceGroupNameMesstone "MyRG"$authorization=Get -AzExpressRouteCircuitAuthorization -ExpressRouteCircuit $circuit.To add Authorization: $circuit=Get -AzExpressRouteCircuit -Name rharper@messtone.com "MyCircuit"ResourceGroupNameMesstone "RG"Add -AzExpressRouteCircuitAuthorization -ExpressRouteCircuit $circuit -NameMesstone "MyAuthorization2"Set -ExpressRouteCircuit -ExpressRouteCircuit $circuit $circuit=Get -AzExpressRouteCircuit "-Name rharper@messtone.com "MyCircuit"ResourceGroupNameMesstone "MyRG" $authorization=Get -AzExpressRouteCircuitAuthorization -ExpressRouteCircuit $circuit To delete authorization: Remove -AzExpressRouteCircuitAuthorization -NameMesstone "MyAuthorization2"-ExpressRouteCircuit $circuit Set -AzExpressRouteCircuit -ExpressRouteCircuit $circuit

Messtone machines type...

Network's

rharper@messtone.com:cloudshell:~(messtone-161906)Project Messtonebase64.get`Virtual Network's Azure PowerShell: $circuit=Get -AzExpressRouteCircuit -Name rharper@messtone.com "MyCircuit" -ResourceGroupNameMesstone "MyRG" $gw=Get -AzVirtualNetworkGateway -Name rharper@messtone.com "ExpressRouteGw" -ResourceGroupNameMesstone "MyRG" $connection=New -AzVirtualNetworkGatewayConnection -Name rharper@messtone.com "ERConnection" - ResourceGroupNameMesstone "MyRG"-Location "East US" -VirtualNetworkGateway1 $gw -PeerId $circuit.Id -ConnectionType ExpressRoute create an authorization Azure PowerShell: $circuit=Get -AzExpressRouteCircuit -Name rharper@messtone.com "MyCircuit"-ResourceGroupNameMesstone "MyRG"Addl -AzExpressRouteCircuitAutborization -ExpressRouteCircuit $circuit -NameMesstone "MyAuthorization1" Set -AzExpressRouteCircuit -ExpressRouteCircuit $circuit $circuit=Get -AzExpressRouteCircuit -Name rharper@messtone.com "MyCircuit" -ResourceGroupNameMesstone "MyRG" $auth1=Get -AzExpressRouteCircuitAuthorization -ExpressRouteCircuit $circuit -NameMesstone "Authorization1"

Messtone machines type ...

Mime

rharper@messtone.com:cloudshell:~(messtone-161906)$Project Messtonebase64.get`Mime type definition: text/plain;charset=utf-8 application/vnd.github+json application/vnd.github.v3+json application/vnd.github.v3.raw+json application/vnd.github.v3.text+json application/vnd.github.v3.html+json application/vnd.github.v3.full+json application/vnd.github.v3.diff application/vnd.github.v3.patch JSON array {"fields":[...]}