Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@azure/arm-compute

Package Overview
Dependencies
Maintainers
6
Versions
307
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@azure/arm-compute - npm Package Compare versions

Comparing version 17.0.0-alpha.20211111.1 to 17.0.0-alpha.20211117.1

4

dist-esm/test/compute_examples.d.ts

@@ -1,2 +0,4 @@

export {};
export declare const testPollingOptions: {
updateIntervalInMs: number | undefined;
};
//# sourceMappingURL=compute_examples.d.ts.map

@@ -9,3 +9,3 @@ /*

import { __asyncValues, __awaiter } from "tslib";
import { env, record } from "@azure-tools/test-recorder";
import { env, record, isPlaybackMode } from "@azure-tools/test-recorder";
import * as assert from "assert";

@@ -27,2 +27,5 @@ import { ClientSecretCredential } from "@azure/identity";

};
export const testPollingOptions = {
updateIntervalInMs: isPlaybackMode() ? 0 : undefined,
};
describe("Compute test", () => {

@@ -71,7 +74,7 @@ let recorder;

};
const virtualNetworks_create_info = yield network_client.virtualNetworks.beginCreateOrUpdateAndWait(resourceGroupName, network_name, parameter);
const virtualNetworks_create_info = yield network_client.virtualNetworks.beginCreateOrUpdateAndWait(resourceGroupName, network_name, parameter, testPollingOptions);
const subnet_parameter = {
addressPrefix: "10.0.0.0/24",
};
const subnet__create_info = yield network_client.subnets.beginCreateOrUpdateAndWait(resourceGroupName, network_name, subnet_name, subnet_parameter);
const subnet__create_info = yield network_client.subnets.beginCreateOrUpdateAndWait(resourceGroupName, network_name, subnet_name, subnet_parameter, testPollingOptions);
});

@@ -100,3 +103,3 @@ }

};
const nic_info = yield network_client.networkInterfaces.beginCreateOrUpdateAndWait(group_name, nic_name, parameter);
const nic_info = yield network_client.networkInterfaces.beginCreateOrUpdateAndWait(group_name, nic_name, parameter, testPollingOptions);
});

@@ -229,3 +232,3 @@ }

}
});
}, testPollingOptions);
assert.equal(res.name, virtual_machine_name);

@@ -277,3 +280,3 @@ });

}
});
}, testPollingOptions);
assert.equal(res.type, "Microsoft.Compute/virtualMachines");

@@ -285,3 +288,3 @@ });

return __awaiter(this, void 0, void 0, function* () {
const res = yield client.virtualMachines.beginDeleteAndWait(resourceGroupName, virtual_machine_name);
const res = yield client.virtualMachines.beginDeleteAndWait(resourceGroupName, virtual_machine_name, testPollingOptions);
const resArray = new Array();

@@ -288,0 +291,0 @@ try {

@@ -6,3 +6,3 @@ {

"description": "A generated SDK for ComputeManagementClient.",
"version": "17.0.0-alpha.20211111.1",
"version": "17.0.0-alpha.20211117.1",
"engines": {

@@ -9,0 +9,0 @@ "node": ">=12.0.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc