Skip to content

Instantly share code, notes, and snippets.

@irsl
Created September 4, 2023 08:01
Show Gist options
  • Save irsl/4cfef8427ea84d31c42e36ffabb77240 to your computer and use it in GitHub Desktop.
Save irsl/4cfef8427ea84d31c42e36ffabb77240 to your computer and use it in GitHub Desktop.
curl -H "X-MMS-Registration-Access-Token: $token" \
'https://vstsmms.actions.githubusercontent.com/serviceDeployments/mmsghubeus3/_apis/mms/pools/gheus3ub22eus2c32/machines/fv-az313-256/machineregistration?imageName=Ubuntu22&imageVersion=20230611.1&provisioning=True' \
-d '"'$tokenw2'"' -H "Accept: application/json; api-version=6.0-preview" -H "Content-Type: application/json; charset=utf-8; api-version=6.0-preview"
{"machinePool":{"poolName":"gheus3ub22eus2c32","machineCount":424,"maxMachineCount":424,"imageName":"Ubuntu22","imageVersion":"20230611.1","state":"Ready","requestTimeout":"01:05:00","properties":{"UpdateMachinePoolImageOrchestrationId":{"$type":"System.String","$value":""},"UpdateMachinePoolImageTargetName":{"$type":"System.String","$value":""},"UpdateMachinePoolImageTargetVersion":{"$type":"System.String","$value":""},"FactoryImageReplicaCount":{"$type":"System.Int32","$value":1},"FactoryImageStorageAccountType":{"$type":"System.String","$value":"Premium_LRS"},"MachineProvisionerVersion":{"$type":"System.String","$value":"5260484078"},"MS.VSS.MachineManagement.RoleSize":{"$type":"System.String","$value":"Standard_DS2_v2"},"UseEphemeralDisk":{"$type":"System.String","$value":"True"},"UseFactoryGalleryImageVersion":{"$type":"System.String","$value":"True"},"AutoResizingEnabled":{"$type":"System.String","$value":"True"},"NetworkMonitorJobId":{"$type":"System.String","$value":"0bfd767996294ed6acfc15586fac6535"},"PoolScopedVnetName":{"$type":"System.String","$value":"gheus3ub22eus2c32-pool-vnet"},"PoolScopedVnetResourceGroupName":{"$type":"System.String","$value":"gheus3ub22eus2c32"},"PoolScopedVnetSubscriptionId":{"$type":"System.String","$value":"270655ad-fb83-4c3c-b928-7487a8ae8a99"},"UsePoolScopedVnet":{"$type":"System.String","$value":"True"},"DisableMachineWarmUp":{"$type":"System.String","$value":"False"},"AbuseToolsVersionAttemptingDeployment":{"$type":"System.String","$value":""},"AbuseToolsVersionDeployed":{"$type":"System.String","$value":"https://abusetoolscdn.blob.core.windows.net/binaries/v0.61"},"NsgLogsStorageAccountName":{"$type":"System.String","$value":"gheus3ub22eus2c32nsg"},"UseAzureHostBasedEncryption":{"$type":"System.String","$value":"True"},"EnableNetworkHealthMonitoring":{"$type":"System.String","$value":"true"},"NetworkHealthTriggerProbability":{"$type":"System.Int32","$value":1},"AME":{"$type":"System.String","$value":"True"},"ProvjobdSetting_STATS_RDCL":{"$type":"System.String","$value":"true"},"SoftwareLoadBalancerName":{"$type":"System.String","$value":"gheus3ub22eus2c32-lb"},"UseSoftwareLoadBalancer":{"$type":"System.String","$value":"True"},"ProvjobdSetting_STATS_NM":{"$type":"System.String","$value":"true"},"ProvjobdSetting_STATS_EXT":{"$type":"System.String","$value":"true"},"ProvjobdSetting_STATS_EXTP":{"$type":"System.String","$value":"https://provjobdsettingscdn.blob.core.windows.net/settings/provjobdsettings-0.5.137+2/provjobd.data"},"EnableProvisionerServerTracing":{"$type":"System.Boolean","$value":true},"HostsBlacklist":{"$type":"System.String","$value":""},"BlockedIPs":{"$type":"System.String","$value":"95.181.164.182"},"EnableHostsFileMonitoring":{"$type":"System.Boolean","$value":false}},"resourceGroupIdentifier":"gheus3ub22eus2c32","resourceProviderType":"Azure","resourceGroupData":"270655ad-fb83-4c3c-b928-7487a8ae8a99","region":"East US 2","performanceTier":"Premium","enabled":true,"runPoolOrchestrationId":"3ece99a9-d3b0-46cf-aaad-8ceeebc256e0","defaultInstanceParallelism":1,"resourceProviderRegion":"EUS2","capacityIdentifier":""},"machineInstance":{"instanceName":"fv-az313-256","accessToken":"","queueName":null,"state":null,"createdOn":"0001-01-01T00:00:00","hubName":"fv-az313-256","properties":{},"operationId":null},"machineRequestTypes":[{"name":"DistributedTask","description":"Machine Requests queued from DistributedTask are of this type.","allowMultipleRequestsOfTypePerHost":true,"properties":{}},{"name":"PoolProvider","description":"Machine Requests queued from DistributedTask using the Pool Provider interface are of this type.","allowMultipleRequestsOfTypePerHost":true,"properties":{}}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment