Merge pull request #5175 from xingwu1/master
Update Batch Management SDK to API 2020-05-01.
This commit is contained in:
Коммит
688b543577
|
@ -50,7 +50,7 @@ class BatchManagementClient extends ServiceClient {
|
|||
|
||||
super(credentials, options);
|
||||
|
||||
this.apiVersion = '2020-03-01';
|
||||
this.apiVersion = '2020-05-01';
|
||||
this.acceptLanguage = 'en-US';
|
||||
this.longRunningOperationRetryTimeout = 30;
|
||||
this.generateClientRequestId = true;
|
||||
|
|
|
@ -45,14 +45,22 @@ class BatchAccount extends models['Resource'] {
|
|||
* @property {date} [autoStorage.lastKeySync] The UTC time at which storage
|
||||
* keys were last synchronized with the Batch account.
|
||||
* @property {object} [encryption] The encryption configuration for the Batch
|
||||
* account.
|
||||
* account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
* @property {string} [encryption.keySource] Type of the key source. Possible
|
||||
* values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
* @property {object} [encryption.keyVaultProperties] Additional details when
|
||||
* using Microsoft.KeyVault
|
||||
* @property {string} [encryption.keyVaultProperties.keyIdentifier] Full path
|
||||
* to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
* @property {number} [dedicatedCoreQuota] The dedicated core quota for the
|
||||
* Batch account. For accounts with PoolAllocationMode set to
|
||||
* UserSubscription, quota is managed on the subscription so this value is
|
||||
|
@ -79,6 +87,15 @@ class BatchAccount extends models['Resource'] {
|
|||
* @property {number} [poolQuota] The pool quota for the Batch account.
|
||||
* @property {number} [activeJobAndJobScheduleQuota] The active job and job
|
||||
* schedule quota for the Batch account.
|
||||
* @property {object} [identity] The identity of the Batch account.
|
||||
* @property {string} [identity.principalId] The principal id of the Batch
|
||||
* account. This property will only be provided for a system assigned
|
||||
* identity.
|
||||
* @property {string} [identity.tenantId] The tenant id associated with the
|
||||
* Batch account. This property will only be provided for a system assigned
|
||||
* identity.
|
||||
* @property {string} [identity.type] The type of identity used for the Batch
|
||||
* account. Possible values include: 'SystemAssigned', 'None'
|
||||
*/
|
||||
constructor() {
|
||||
super();
|
||||
|
@ -287,6 +304,14 @@ class BatchAccount extends models['Resource'] {
|
|||
type: {
|
||||
name: 'Number'
|
||||
}
|
||||
},
|
||||
identity: {
|
||||
required: false,
|
||||
serializedName: 'identity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BatchAccountIdentity'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,14 +42,31 @@ class BatchAccountCreateParameters {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'. Default value:
|
||||
* 'Enabled' .
|
||||
* @property {object} [encryption] The encryption configuration for the Batch
|
||||
* account.
|
||||
* account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
* @property {string} [encryption.keySource] Type of the key source. Possible
|
||||
* values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
* @property {object} [encryption.keyVaultProperties] Additional details when
|
||||
* using Microsoft.KeyVault
|
||||
* @property {string} [encryption.keyVaultProperties.keyIdentifier] Full path
|
||||
* to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
* @property {object} [identity] The identity of the Batch account.
|
||||
* @property {string} [identity.principalId] The principal id of the Batch
|
||||
* account. This property will only be provided for a system assigned
|
||||
* identity.
|
||||
* @property {string} [identity.tenantId] The tenant id associated with the
|
||||
* Batch account. This property will only be provided for a system assigned
|
||||
* identity.
|
||||
* @property {string} [identity.type] The type of identity used for the Batch
|
||||
* account. Possible values include: 'SystemAssigned', 'None'
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
@ -129,6 +146,14 @@ class BatchAccountCreateParameters {
|
|||
name: 'Composite',
|
||||
className: 'EncryptionProperties'
|
||||
}
|
||||
},
|
||||
identity: {
|
||||
required: false,
|
||||
serializedName: 'identity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BatchAccountIdentity'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,77 @@
|
|||
/*
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for
|
||||
* license information.
|
||||
*
|
||||
* Code generated by Microsoft (R) AutoRest Code Generator.
|
||||
* Changes may cause incorrect behavior and will be lost if the code is
|
||||
* regenerated.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* The identity of the Batch account, if configured. This is only used when the
|
||||
* user specifies 'Azure.KeyVault' as their Batch account encryption
|
||||
* configuration.
|
||||
*
|
||||
*/
|
||||
class BatchAccountIdentity {
|
||||
/**
|
||||
* Create a BatchAccountIdentity.
|
||||
* @property {string} [principalId] The principal id of the Batch account.
|
||||
* This property will only be provided for a system assigned identity.
|
||||
* @property {string} [tenantId] The tenant id associated with the Batch
|
||||
* account. This property will only be provided for a system assigned
|
||||
* identity.
|
||||
* @property {string} type The type of identity used for the Batch account.
|
||||
* Possible values include: 'SystemAssigned', 'None'
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines the metadata of BatchAccountIdentity
|
||||
*
|
||||
* @returns {object} metadata of BatchAccountIdentity
|
||||
*
|
||||
*/
|
||||
mapper() {
|
||||
return {
|
||||
required: false,
|
||||
serializedName: 'BatchAccountIdentity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BatchAccountIdentity',
|
||||
modelProperties: {
|
||||
principalId: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'principalId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
tenantId: {
|
||||
required: false,
|
||||
readOnly: true,
|
||||
serializedName: 'tenantId',
|
||||
type: {
|
||||
name: 'String'
|
||||
}
|
||||
},
|
||||
type: {
|
||||
required: true,
|
||||
serializedName: 'type',
|
||||
type: {
|
||||
name: 'Enum',
|
||||
allowedValues: [ 'SystemAssigned', 'None' ]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = BatchAccountIdentity;
|
|
@ -24,14 +24,31 @@ class BatchAccountUpdateParameters {
|
|||
* @property {string} [autoStorage.storageAccountId] The resource ID of the
|
||||
* storage account to be used for auto-storage account.
|
||||
* @property {object} [encryption] The encryption configuration for the Batch
|
||||
* account.
|
||||
* account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
* @property {string} [encryption.keySource] Type of the key source. Possible
|
||||
* values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
* @property {object} [encryption.keyVaultProperties] Additional details when
|
||||
* using Microsoft.KeyVault
|
||||
* @property {string} [encryption.keyVaultProperties.keyIdentifier] Full path
|
||||
* to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
* @property {object} [identity] The identity of the Batch account.
|
||||
* @property {string} [identity.principalId] The principal id of the Batch
|
||||
* account. This property will only be provided for a system assigned
|
||||
* identity.
|
||||
* @property {string} [identity.tenantId] The tenant id associated with the
|
||||
* Batch account. This property will only be provided for a system assigned
|
||||
* identity.
|
||||
* @property {string} [identity.type] The type of identity used for the Batch
|
||||
* account. Possible values include: 'SystemAssigned', 'None'
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
@ -79,6 +96,14 @@ class BatchAccountUpdateParameters {
|
|||
name: 'Composite',
|
||||
className: 'EncryptionProperties'
|
||||
}
|
||||
},
|
||||
identity: {
|
||||
required: false,
|
||||
serializedName: 'identity',
|
||||
type: {
|
||||
name: 'Composite',
|
||||
className: 'BatchAccountIdentity'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,10 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a EncryptionProperties.
|
||||
* Configures how customer data is encrypted inside the Batch account. By
|
||||
* default, accounts are encrypted using a Microsoft managed key. For
|
||||
* additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
*/
|
||||
class EncryptionProperties {
|
||||
/**
|
||||
|
@ -22,7 +25,13 @@ class EncryptionProperties {
|
|||
* Microsoft.KeyVault
|
||||
* @property {string} [keyVaultProperties.keyIdentifier] Full path to the
|
||||
* versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -25,54 +25,89 @@ export interface AutoStorageBaseProperties {
|
|||
storageAccountId: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* KeyVault configuration when using an encryption KeySource of Microsoft.KeyVault.
|
||||
*/
|
||||
export interface KeyVaultProperties {
|
||||
/**
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
*/
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053. To be usable
|
||||
* the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*/
|
||||
keyIdentifier?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configures how customer data is encrypted inside the Batch account. By default, accounts are
|
||||
* encrypted using a Microsoft managed key. For additional control, a customer-managed key can be
|
||||
* used instead.
|
||||
*/
|
||||
export interface EncryptionProperties {
|
||||
/**
|
||||
* Type of the key source. Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
*/
|
||||
*/
|
||||
keySource?: string;
|
||||
/**
|
||||
* Additional details when using Microsoft.KeyVault
|
||||
*/
|
||||
*/
|
||||
keyVaultProperties?: KeyVaultProperties;
|
||||
}
|
||||
|
||||
/**
|
||||
* Identifies the Azure key vault associated with a Batch account.
|
||||
*/
|
||||
*/
|
||||
export interface KeyVaultReference {
|
||||
/**
|
||||
* The resource ID of the Azure key vault associated with the Batch account.
|
||||
*/
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* The URL of the Azure key vault associated with the Batch account.
|
||||
*/
|
||||
*/
|
||||
url: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* The identity of the Batch account, if configured. This is only used when the user specifies
|
||||
* 'Azure.KeyVault' as their Batch account encryption configuration.
|
||||
*/
|
||||
export interface BatchAccountIdentity {
|
||||
/**
|
||||
* The principal id of the Batch account. This property will only be provided for a system
|
||||
* assigned identity.
|
||||
*/
|
||||
readonly principalId?: string;
|
||||
/**
|
||||
* The tenant id associated with the Batch account. This property will only be provided for a
|
||||
* system assigned identity.
|
||||
*/
|
||||
readonly tenantId?: string;
|
||||
/**
|
||||
* The type of identity used for the Batch account. Possible values include: 'SystemAssigned',
|
||||
* 'None'
|
||||
*/
|
||||
type: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters supplied to the Create operation.
|
||||
*/
|
||||
*/
|
||||
export interface BatchAccountCreateParameters {
|
||||
/**
|
||||
* The region in which to create the account.
|
||||
*/
|
||||
*/
|
||||
location: string;
|
||||
/**
|
||||
* The user-specified tags associated with the account.
|
||||
*/
|
||||
*/
|
||||
tags?: { [propertyName: string]: string };
|
||||
/**
|
||||
* The properties related to the auto-storage account.
|
||||
*/
|
||||
*/
|
||||
autoStorage?: AutoStorageBaseProperties;
|
||||
/**
|
||||
* @summary The allocation mode to use for creating pools in the Batch account.
|
||||
|
@ -80,204 +115,214 @@ export interface BatchAccountCreateParameters {
|
|||
* Service API. If the mode is BatchService, clients may authenticate using access keys or Azure
|
||||
* Active Directory. If the mode is UserSubscription, clients must use Azure Active Directory.
|
||||
* The default is BatchService. Possible values include: 'BatchService', 'UserSubscription'
|
||||
*/
|
||||
*/
|
||||
poolAllocationMode?: string;
|
||||
/**
|
||||
* A reference to the Azure key vault associated with the Batch account.
|
||||
*/
|
||||
*/
|
||||
keyVaultReference?: KeyVaultReference;
|
||||
/**
|
||||
* @summary The network access type for accessing Azure Batch account.
|
||||
* @description If not specified, the default value is 'enabled'. Possible values include:
|
||||
* 'Enabled', 'Disabled'
|
||||
*/
|
||||
*/
|
||||
publicNetworkAccess?: string;
|
||||
/**
|
||||
* @summary The encryption configuration for the Batch account.
|
||||
*/
|
||||
* @description Configures how customer data is encrypted inside the Batch account. By default,
|
||||
* accounts are encrypted using a Microsoft managed key. For additional control, a
|
||||
* customer-managed key can be used instead.
|
||||
*/
|
||||
encryption?: EncryptionProperties;
|
||||
/**
|
||||
* The identity of the Batch account.
|
||||
*/
|
||||
identity?: BatchAccountIdentity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains information about the auto-storage account associated with a Batch account.
|
||||
*/
|
||||
*/
|
||||
export interface AutoStorageProperties extends AutoStorageBaseProperties {
|
||||
/**
|
||||
* The UTC time at which storage keys were last synchronized with the Batch account.
|
||||
*/
|
||||
*/
|
||||
lastKeySync: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* A VM Family and its associated core quota for the Batch account.
|
||||
*/
|
||||
*/
|
||||
export interface VirtualMachineFamilyCoreQuota {
|
||||
/**
|
||||
* The Virtual Machine family name.
|
||||
*/
|
||||
*/
|
||||
readonly name?: string;
|
||||
/**
|
||||
* The core quota for the VM family for the Batch account.
|
||||
*/
|
||||
*/
|
||||
readonly coreQuota?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* The private endpoint of the private endpoint connection.
|
||||
*/
|
||||
*/
|
||||
export interface PrivateEndpoint {
|
||||
/**
|
||||
* @summary The ARM resource identifier of the private endpoint. This is of the form
|
||||
* /subscriptions/{subscription}/resourceGroups/{group}/providers/Microsoft.Network/privateEndpoints/{privateEndpoint}.
|
||||
*/
|
||||
*/
|
||||
readonly id?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* The private link service connection state of the private endpoint connection
|
||||
*/
|
||||
*/
|
||||
export interface PrivateLinkServiceConnectionState {
|
||||
/**
|
||||
* @summary The status for the private endpoint connection of Batch account
|
||||
* @description Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
|
||||
*/
|
||||
*/
|
||||
status: string;
|
||||
/**
|
||||
* @summary Description of the private Connection state
|
||||
*/
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* @summary Action required on the private connection state
|
||||
*/
|
||||
*/
|
||||
readonly actionRequired?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* A definition of an Azure resource.
|
||||
*/
|
||||
*/
|
||||
export interface ProxyResource extends BaseResource {
|
||||
/**
|
||||
* The ID of the resource.
|
||||
*/
|
||||
*/
|
||||
readonly id?: string;
|
||||
/**
|
||||
* The name of the resource.
|
||||
*/
|
||||
*/
|
||||
readonly name?: string;
|
||||
/**
|
||||
* The type of the resource.
|
||||
*/
|
||||
*/
|
||||
readonly type?: string;
|
||||
/**
|
||||
* The ETag of the resource, used for concurrency statements.
|
||||
*/
|
||||
*/
|
||||
readonly etag?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains information about a private link resource.
|
||||
*/
|
||||
*/
|
||||
export interface PrivateEndpointConnection extends ProxyResource {
|
||||
/**
|
||||
* @summary The provisioning state of the private endpoint connection.
|
||||
* @description Possible values include: 'Succeeded', 'Updating', 'Failed'
|
||||
*/
|
||||
*/
|
||||
readonly provisioningState?: string;
|
||||
/**
|
||||
* @summary The ARM resource identifier of the private endpoint.
|
||||
*/
|
||||
*/
|
||||
privateEndpoint?: PrivateEndpoint;
|
||||
/**
|
||||
* @summary The private link service connection state of the private endpoint connection.
|
||||
*/
|
||||
*/
|
||||
privateLinkServiceConnectionState?: PrivateLinkServiceConnectionState;
|
||||
}
|
||||
|
||||
/**
|
||||
* A definition of an Azure resource.
|
||||
*/
|
||||
*/
|
||||
export interface Resource extends BaseResource {
|
||||
/**
|
||||
* The ID of the resource.
|
||||
*/
|
||||
*/
|
||||
readonly id?: string;
|
||||
/**
|
||||
* The name of the resource.
|
||||
*/
|
||||
*/
|
||||
readonly name?: string;
|
||||
/**
|
||||
* The type of the resource.
|
||||
*/
|
||||
*/
|
||||
readonly type?: string;
|
||||
/**
|
||||
* The location of the resource.
|
||||
*/
|
||||
*/
|
||||
readonly location?: string;
|
||||
/**
|
||||
* The tags of the resource.
|
||||
*/
|
||||
*/
|
||||
readonly tags?: { [propertyName: string]: string };
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains information about an Azure Batch account.
|
||||
*/
|
||||
*/
|
||||
export interface BatchAccount extends Resource {
|
||||
/**
|
||||
* The account endpoint used to interact with the Batch service.
|
||||
*/
|
||||
*/
|
||||
readonly accountEndpoint?: string;
|
||||
/**
|
||||
* The provisioned state of the resource. Possible values include: 'Invalid', 'Creating',
|
||||
* 'Deleting', 'Succeeded', 'Failed', 'Cancelled'
|
||||
*/
|
||||
*/
|
||||
readonly provisioningState?: string;
|
||||
/**
|
||||
* @summary The allocation mode to use for creating pools in the Batch account.
|
||||
* @description Possible values include: 'BatchService', 'UserSubscription'
|
||||
*/
|
||||
*/
|
||||
readonly poolAllocationMode?: string;
|
||||
/**
|
||||
* @summary A reference to the Azure key vault associated with the Batch account.
|
||||
*/
|
||||
*/
|
||||
readonly keyVaultReference?: KeyVaultReference;
|
||||
/**
|
||||
* @summary The network interface type for accessing Azure Batch service and Batch account
|
||||
* operations.
|
||||
* @description If not specified, the default value is 'enabled'. Possible values include:
|
||||
* 'Enabled', 'Disabled'
|
||||
*/
|
||||
*/
|
||||
readonly publicNetworkAccess?: string;
|
||||
/**
|
||||
* List of private endpoint connections associated with the Batch account
|
||||
*/
|
||||
*/
|
||||
readonly privateEndpointConnections?: PrivateEndpointConnection[];
|
||||
/**
|
||||
* @summary The properties and status of any auto-storage account associated with the Batch
|
||||
* account.
|
||||
*/
|
||||
*/
|
||||
readonly autoStorage?: AutoStorageProperties;
|
||||
/**
|
||||
* @summary The encryption configuration for the Batch account.
|
||||
*/
|
||||
* @description Configures how customer data is encrypted inside the Batch account. By default,
|
||||
* accounts are encrypted using a Microsoft managed key. For additional control, a
|
||||
* customer-managed key can be used instead.
|
||||
*/
|
||||
readonly encryption?: EncryptionProperties;
|
||||
/**
|
||||
* @summary The dedicated core quota for the Batch account.
|
||||
* @description For accounts with PoolAllocationMode set to UserSubscription, quota is managed on
|
||||
* the subscription so this value is not returned.
|
||||
*/
|
||||
*/
|
||||
readonly dedicatedCoreQuota?: number;
|
||||
/**
|
||||
* @summary The low-priority core quota for the Batch account.
|
||||
* @description For accounts with PoolAllocationMode set to UserSubscription, quota is managed on
|
||||
* the subscription so this value is not returned.
|
||||
*/
|
||||
*/
|
||||
readonly lowPriorityCoreQuota?: number;
|
||||
/**
|
||||
* A list of the dedicated core quota per Virtual Machine family for the Batch account. For
|
||||
* accounts with PoolAllocationMode set to UserSubscription, quota is managed on the subscription
|
||||
* so this value is not returned.
|
||||
*/
|
||||
*/
|
||||
readonly dedicatedCoreQuotaPerVMFamily?: VirtualMachineFamilyCoreQuota[];
|
||||
/**
|
||||
* @summary A value indicating whether the core quota for the Batch Account is enforced per
|
||||
|
@ -289,128 +334,139 @@ export interface BatchAccount extends Resource {
|
|||
* Machine family. If this flag is true, dedicated core quota is enforced via the
|
||||
* dedicatedCoreQuotaPerVMFamily property on the account, and the old dedicatedCoreQuota does not
|
||||
* apply.
|
||||
*/
|
||||
*/
|
||||
readonly dedicatedCoreQuotaPerVMFamilyEnforced?: boolean;
|
||||
/**
|
||||
* @summary The pool quota for the Batch account.
|
||||
*/
|
||||
*/
|
||||
readonly poolQuota?: number;
|
||||
/**
|
||||
* @summary The active job and job schedule quota for the Batch account.
|
||||
*/
|
||||
*/
|
||||
readonly activeJobAndJobScheduleQuota?: number;
|
||||
/**
|
||||
* The identity of the Batch account.
|
||||
*/
|
||||
identity?: BatchAccountIdentity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for updating an Azure Batch account.
|
||||
*/
|
||||
*/
|
||||
export interface BatchAccountUpdateParameters {
|
||||
/**
|
||||
* The user-specified tags associated with the account.
|
||||
*/
|
||||
*/
|
||||
tags?: { [propertyName: string]: string };
|
||||
/**
|
||||
* The properties related to the auto-storage account.
|
||||
*/
|
||||
*/
|
||||
autoStorage?: AutoStorageBaseProperties;
|
||||
/**
|
||||
* @summary The encryption configuration for the Batch account.
|
||||
*/
|
||||
* @description Configures how customer data is encrypted inside the Batch account. By default,
|
||||
* accounts are encrypted using a Microsoft managed key. For additional control, a
|
||||
* customer-managed key can be used instead.
|
||||
*/
|
||||
encryption?: EncryptionProperties;
|
||||
/**
|
||||
* The identity of the Batch account.
|
||||
*/
|
||||
identity?: BatchAccountIdentity;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters supplied to the RegenerateKey operation.
|
||||
*/
|
||||
*/
|
||||
export interface BatchAccountRegenerateKeyParameters {
|
||||
/**
|
||||
* The type of account key to regenerate. Possible values include: 'Primary', 'Secondary'
|
||||
*/
|
||||
*/
|
||||
keyName: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* A set of Azure Batch account keys.
|
||||
*/
|
||||
*/
|
||||
export interface BatchAccountKeys {
|
||||
/**
|
||||
* The Batch account name.
|
||||
*/
|
||||
*/
|
||||
readonly accountName?: string;
|
||||
/**
|
||||
* The primary key associated with the account.
|
||||
*/
|
||||
*/
|
||||
readonly primary?: string;
|
||||
/**
|
||||
* The secondary key associated with the account.
|
||||
*/
|
||||
*/
|
||||
readonly secondary?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for an activating an application package.
|
||||
*/
|
||||
*/
|
||||
export interface ActivateApplicationPackageParameters {
|
||||
/**
|
||||
* The format of the application package binary file.
|
||||
*/
|
||||
*/
|
||||
format: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contains information about an application in a Batch account.
|
||||
*/
|
||||
*/
|
||||
export interface Application extends ProxyResource {
|
||||
/**
|
||||
* The display name for the application.
|
||||
*/
|
||||
*/
|
||||
displayName?: string;
|
||||
/**
|
||||
* A value indicating whether packages within the application may be overwritten using the same
|
||||
* version string.
|
||||
*/
|
||||
*/
|
||||
allowUpdates?: boolean;
|
||||
/**
|
||||
* The package to use if a client requests the application but does not specify a version. This
|
||||
* property can only be set to the name of an existing package.
|
||||
*/
|
||||
*/
|
||||
defaultVersion?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* An application package which represents a particular version of an application.
|
||||
*/
|
||||
*/
|
||||
export interface ApplicationPackage extends ProxyResource {
|
||||
/**
|
||||
* The current state of the application package. Possible values include: 'Pending', 'Active'
|
||||
*/
|
||||
*/
|
||||
readonly state?: string;
|
||||
/**
|
||||
* The format of the application package, if the package is active.
|
||||
*/
|
||||
*/
|
||||
readonly format?: string;
|
||||
/**
|
||||
* The URL for the application package in Azure Storage.
|
||||
*/
|
||||
*/
|
||||
readonly storageUrl?: string;
|
||||
/**
|
||||
* The UTC time at which the Azure Storage URL will expire.
|
||||
*/
|
||||
*/
|
||||
readonly storageUrlExpiry?: Date;
|
||||
/**
|
||||
* The time at which the package was last activated, if the package is active.
|
||||
*/
|
||||
*/
|
||||
readonly lastActivationTime?: Date;
|
||||
}
|
||||
|
||||
/**
|
||||
* Quotas associated with a Batch region for a particular subscription.
|
||||
*/
|
||||
*/
|
||||
export interface BatchLocationQuota {
|
||||
/**
|
||||
* The number of Batch accounts that may be created under the subscription in the specified
|
||||
* region.
|
||||
*/
|
||||
*/
|
||||
readonly accountQuota?: number;
|
||||
}
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@ exports.AutoStorageBaseProperties = require('./autoStorageBaseProperties');
|
|||
exports.KeyVaultProperties = require('./keyVaultProperties');
|
||||
exports.EncryptionProperties = require('./encryptionProperties');
|
||||
exports.KeyVaultReference = require('./keyVaultReference');
|
||||
exports.BatchAccountIdentity = require('./batchAccountIdentity');
|
||||
exports.BatchAccountCreateParameters = require('./batchAccountCreateParameters');
|
||||
exports.AutoStorageProperties = require('./autoStorageProperties');
|
||||
exports.VirtualMachineFamilyCoreQuota = require('./virtualMachineFamilyCoreQuota');
|
||||
|
|
|
@ -11,14 +11,22 @@
|
|||
'use strict';
|
||||
|
||||
/**
|
||||
* Class representing a KeyVaultProperties.
|
||||
* KeyVault configuration when using an encryption KeySource of
|
||||
* Microsoft.KeyVault.
|
||||
*
|
||||
*/
|
||||
class KeyVaultProperties {
|
||||
/**
|
||||
* Create a KeyVaultProperties.
|
||||
* @property {string} [keyIdentifier] Full path to the versioned secret.
|
||||
* Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*/
|
||||
constructor() {
|
||||
}
|
||||
|
|
|
@ -66,7 +66,9 @@ const WebResource = msRest.WebResource;
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -76,7 +78,18 @@ const WebResource = msRest.WebResource;
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -168,7 +181,9 @@ function _create(resourceGroupName, accountName, parameters, options, callback)
|
|||
* the storage account to be used for auto-storage account.
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -178,7 +193,18 @@ function _create(resourceGroupName, accountName, parameters, options, callback)
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -1399,7 +1425,9 @@ function _getKeys(resourceGroupName, accountName, options, callback) {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -1409,7 +1437,18 @@ function _getKeys(resourceGroupName, accountName, options, callback) {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -2053,7 +2092,9 @@ class BatchAccountOperations {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -2063,7 +2104,18 @@ class BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -2141,7 +2193,9 @@ class BatchAccountOperations {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -2151,7 +2205,18 @@ class BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -2220,7 +2285,9 @@ class BatchAccountOperations {
|
|||
* the storage account to be used for auto-storage account.
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -2230,7 +2297,18 @@ class BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -2277,7 +2355,9 @@ class BatchAccountOperations {
|
|||
* the storage account to be used for auto-storage account.
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -2287,7 +2367,18 @@ class BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -3011,7 +3102,9 @@ class BatchAccountOperations {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -3021,7 +3114,18 @@ class BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -3099,7 +3203,9 @@ class BatchAccountOperations {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -3109,7 +3215,18 @@ class BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
|
|
@ -72,7 +72,9 @@ export interface BatchAccountOperations {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -82,7 +84,18 @@ export interface BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -148,7 +161,9 @@ export interface BatchAccountOperations {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -158,7 +173,18 @@ export interface BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -212,7 +238,9 @@ export interface BatchAccountOperations {
|
|||
* the storage account to be used for auto-storage account.
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -222,7 +250,18 @@ export interface BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -257,7 +296,9 @@ export interface BatchAccountOperations {
|
|||
* the storage account to be used for auto-storage account.
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -267,7 +308,18 @@ export interface BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -787,7 +839,9 @@ export interface BatchAccountOperations {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -797,7 +851,18 @@ export interface BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -863,7 +928,9 @@ export interface BatchAccountOperations {
|
|||
* 'enabled'. Possible values include: 'Enabled', 'Disabled'
|
||||
*
|
||||
* @param {object} [parameters.encryption] The encryption configuration for the
|
||||
* Batch account.
|
||||
* Batch account. Configures how customer data is encrypted inside the Batch
|
||||
* account. By default, accounts are encrypted using a Microsoft managed key.
|
||||
* For additional control, a customer-managed key can be used instead.
|
||||
*
|
||||
* @param {string} [parameters.encryption.keySource] Type of the key source.
|
||||
* Possible values include: 'Microsoft.Batch', 'Microsoft.KeyVault'
|
||||
|
@ -873,7 +940,18 @@ export interface BatchAccountOperations {
|
|||
*
|
||||
* @param {string} [parameters.encryption.keyVaultProperties.keyIdentifier]
|
||||
* Full path to the versioned secret. Example
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053
|
||||
* https://mykeyvault.vault.azure.net/keys/testkey/6e34a81fef704045975661e297a4c053.
|
||||
* To be usable the following prerequisites must be met:
|
||||
*
|
||||
* The Batch Account has a System Assigned identity
|
||||
* The account identity has been granted Key/Get, Key/Unwrap and Key/Wrap
|
||||
* permissions
|
||||
* The KeyVault has soft-delete and purge protection enabled
|
||||
*
|
||||
* @param {object} [parameters.identity] The identity of the Batch account.
|
||||
*
|
||||
* @param {string} parameters.identity.type The type of identity used for the
|
||||
* Batch account. Possible values include: 'SystemAssigned', 'None'
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
|
@ -3493,6 +3571,116 @@ export interface PrivateEndpointConnectionOperations {
|
|||
update(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: models.PrivateEndpointConnection, options: { ifMatch? : string, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.PrivateEndpointConnection>): void;
|
||||
|
||||
|
||||
/**
|
||||
* Updates the properties of an existing private endpoint connection.
|
||||
*
|
||||
* @param {string} resourceGroupName The name of the resource group that
|
||||
* contains the Batch account.
|
||||
*
|
||||
* @param {string} accountName The name of the Batch account.
|
||||
*
|
||||
* @param {string} privateEndpointConnectionName The private endpoint
|
||||
* connection name. This must be unique within the account.
|
||||
*
|
||||
* @param {object} parameters PrivateEndpointConnection properties that should
|
||||
* be updated. Properties that are supplied will be updated, any property not
|
||||
* supplied will be unchanged.
|
||||
*
|
||||
* @param {object} [parameters.privateEndpoint] The ARM resource identifier of
|
||||
* the private endpoint.
|
||||
*
|
||||
* @param {object} [parameters.privateLinkServiceConnectionState] The private
|
||||
* link service connection state of the private endpoint connection.
|
||||
*
|
||||
* @param {string} parameters.privateLinkServiceConnectionState.status The
|
||||
* status for the private endpoint connection of Batch account Possible values
|
||||
* include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
|
||||
*
|
||||
* @param {string} [parameters.privateLinkServiceConnectionState.description]
|
||||
* Description of the private Connection state
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {string} [options.ifMatch] The state (ETag) version of the private
|
||||
* endpoint connection to update. This value can be omitted or set to "*" to
|
||||
* apply the operation unconditionally.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
* request
|
||||
*
|
||||
* @returns {Promise} A promise is returned
|
||||
*
|
||||
* @resolve {HttpOperationResponse<PrivateEndpointConnection>} - The deserialized result object.
|
||||
*
|
||||
* @reject {Error|ServiceError} - The error object.
|
||||
*/
|
||||
beginUpdateWithHttpOperationResponse(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: models.PrivateEndpointConnection, options?: { ifMatch? : string, customHeaders? : { [headerName: string]: string; } }): Promise<HttpOperationResponse<models.PrivateEndpointConnection>>;
|
||||
|
||||
/**
|
||||
* Updates the properties of an existing private endpoint connection.
|
||||
*
|
||||
* @param {string} resourceGroupName The name of the resource group that
|
||||
* contains the Batch account.
|
||||
*
|
||||
* @param {string} accountName The name of the Batch account.
|
||||
*
|
||||
* @param {string} privateEndpointConnectionName The private endpoint
|
||||
* connection name. This must be unique within the account.
|
||||
*
|
||||
* @param {object} parameters PrivateEndpointConnection properties that should
|
||||
* be updated. Properties that are supplied will be updated, any property not
|
||||
* supplied will be unchanged.
|
||||
*
|
||||
* @param {object} [parameters.privateEndpoint] The ARM resource identifier of
|
||||
* the private endpoint.
|
||||
*
|
||||
* @param {object} [parameters.privateLinkServiceConnectionState] The private
|
||||
* link service connection state of the private endpoint connection.
|
||||
*
|
||||
* @param {string} parameters.privateLinkServiceConnectionState.status The
|
||||
* status for the private endpoint connection of Batch account Possible values
|
||||
* include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
|
||||
*
|
||||
* @param {string} [parameters.privateLinkServiceConnectionState.description]
|
||||
* Description of the private Connection state
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {string} [options.ifMatch] The state (ETag) version of the private
|
||||
* endpoint connection to update. This value can be omitted or set to "*" to
|
||||
* apply the operation unconditionally.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
* request
|
||||
*
|
||||
* @param {ServiceCallback} [optionalCallback] - The optional callback.
|
||||
*
|
||||
* @returns {ServiceCallback|Promise} If a callback was passed as the last
|
||||
* parameter then it returns the callback else returns a Promise.
|
||||
*
|
||||
* {Promise} A promise is returned.
|
||||
*
|
||||
* @resolve {PrivateEndpointConnection} - The deserialized result object.
|
||||
*
|
||||
* @reject {Error|ServiceError} - The error object.
|
||||
*
|
||||
* {ServiceCallback} optionalCallback(err, result, request, response)
|
||||
*
|
||||
* {Error|ServiceError} err - The Error object if an error occurred, null otherwise.
|
||||
*
|
||||
* {PrivateEndpointConnection} [result] - The deserialized result object if an error did not occur.
|
||||
* See {@link PrivateEndpointConnection} for more
|
||||
* information.
|
||||
*
|
||||
* {WebResource} [request] - The HTTP Request object if an error did not occur.
|
||||
*
|
||||
* {http.IncomingMessage} [response] - The HTTP Response stream if an error did not occur.
|
||||
*/
|
||||
beginUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: models.PrivateEndpointConnection, options?: { ifMatch? : string, customHeaders? : { [headerName: string]: string; } }): Promise<models.PrivateEndpointConnection>;
|
||||
beginUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: models.PrivateEndpointConnection, callback: ServiceCallback<models.PrivateEndpointConnection>): void;
|
||||
beginUpdate(resourceGroupName: string, accountName: string, privateEndpointConnectionName: string, parameters: models.PrivateEndpointConnection, options: { ifMatch? : string, customHeaders? : { [headerName: string]: string; } }, callback: ServiceCallback<models.PrivateEndpointConnection>): void;
|
||||
|
||||
|
||||
/**
|
||||
* Lists all of the private endpoint connections in the specified account.
|
||||
*
|
||||
|
|
|
@ -254,17 +254,17 @@ function _get(resourceGroupName, accountName, privateEndpointConnectionName, opt
|
|||
throw new Error('privateEndpointConnectionName cannot be null or undefined and it must be of type string.');
|
||||
}
|
||||
if (privateEndpointConnectionName !== null && privateEndpointConnectionName !== undefined) {
|
||||
if (privateEndpointConnectionName.length > 64)
|
||||
if (privateEndpointConnectionName.length > 101)
|
||||
{
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "MaxLength": 64');
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "MaxLength": 101');
|
||||
}
|
||||
if (privateEndpointConnectionName.length < 1)
|
||||
{
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "MinLength": 1');
|
||||
}
|
||||
if (privateEndpointConnectionName.match(/^[a-zA-Z0-9_-]+$/) === null)
|
||||
if (privateEndpointConnectionName.match(/^[a-zA-Z0-9_-]+\.?[a-fA-F0-9-]*$/) === null)
|
||||
{
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "Pattern": /^[a-zA-Z0-9_-]+$/');
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "Pattern": /^[a-zA-Z0-9_-]+\.?[a-fA-F0-9-]*$/');
|
||||
}
|
||||
}
|
||||
if (this.client.apiVersion === null || this.client.apiVersion === undefined || typeof this.client.apiVersion.valueOf() !== 'string') {
|
||||
|
@ -367,6 +367,7 @@ function _get(resourceGroupName, accountName, privateEndpointConnectionName, opt
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Updates the properties of an existing private endpoint connection.
|
||||
*
|
||||
|
@ -425,6 +426,109 @@ function _update(resourceGroupName, accountName, privateEndpointConnectionName,
|
|||
callback = options;
|
||||
options = null;
|
||||
}
|
||||
|
||||
if (!callback) {
|
||||
throw new Error('callback cannot be null.');
|
||||
}
|
||||
|
||||
// Send request
|
||||
this.beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options, (err, parsedResult, httpRequest, response) => {
|
||||
if (err) return callback(err);
|
||||
|
||||
let initialResult = new msRest.HttpOperationResponse();
|
||||
initialResult.request = httpRequest;
|
||||
initialResult.response = response;
|
||||
initialResult.body = response.body;
|
||||
client.getLongRunningOperationResult(initialResult, options, (err, pollingResult) => {
|
||||
if (err) return callback(err);
|
||||
|
||||
// Create Result
|
||||
let result = null;
|
||||
|
||||
httpRequest = pollingResult.request;
|
||||
response = pollingResult.response;
|
||||
let responseBody = pollingResult.body;
|
||||
if (responseBody === '') responseBody = null;
|
||||
|
||||
// Deserialize Response
|
||||
let parsedResponse = null;
|
||||
try {
|
||||
parsedResponse = JSON.parse(responseBody);
|
||||
result = JSON.parse(responseBody);
|
||||
if (parsedResponse !== null && parsedResponse !== undefined) {
|
||||
let resultMapper = new client.models['PrivateEndpointConnection']().mapper();
|
||||
result = client.deserialize(resultMapper, parsedResponse, 'result');
|
||||
}
|
||||
} catch (error) {
|
||||
let deserializationError = new Error(`Error ${error} occurred in deserializing the responseBody - ${responseBody}`);
|
||||
deserializationError.request = msRest.stripRequest(httpRequest);
|
||||
deserializationError.response = msRest.stripResponse(response);
|
||||
return callback(deserializationError);
|
||||
}
|
||||
|
||||
return callback(null, result, httpRequest, response);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the properties of an existing private endpoint connection.
|
||||
*
|
||||
* @param {string} resourceGroupName The name of the resource group that
|
||||
* contains the Batch account.
|
||||
*
|
||||
* @param {string} accountName The name of the Batch account.
|
||||
*
|
||||
* @param {string} privateEndpointConnectionName The private endpoint
|
||||
* connection name. This must be unique within the account.
|
||||
*
|
||||
* @param {object} parameters PrivateEndpointConnection properties that should
|
||||
* be updated. Properties that are supplied will be updated, any property not
|
||||
* supplied will be unchanged.
|
||||
*
|
||||
* @param {object} [parameters.privateEndpoint] The ARM resource identifier of
|
||||
* the private endpoint.
|
||||
*
|
||||
* @param {object} [parameters.privateLinkServiceConnectionState] The private
|
||||
* link service connection state of the private endpoint connection.
|
||||
*
|
||||
* @param {string} parameters.privateLinkServiceConnectionState.status The
|
||||
* status for the private endpoint connection of Batch account Possible values
|
||||
* include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
|
||||
*
|
||||
* @param {string} [parameters.privateLinkServiceConnectionState.description]
|
||||
* Description of the private Connection state
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {string} [options.ifMatch] The state (ETag) version of the private
|
||||
* endpoint connection to update. This value can be omitted or set to "*" to
|
||||
* apply the operation unconditionally.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
* request
|
||||
*
|
||||
* @param {function} callback - The callback.
|
||||
*
|
||||
* @returns {function} callback(err, result, request, response)
|
||||
*
|
||||
* {Error} err - The Error object if an error occurred, null otherwise.
|
||||
*
|
||||
* {object} [result] - The deserialized result object if an error did not occur.
|
||||
* See {@link PrivateEndpointConnection} for more
|
||||
* information.
|
||||
*
|
||||
* {object} [request] - The HTTP Request object if an error did not occur.
|
||||
*
|
||||
* {stream} [response] - The HTTP Response stream if an error did not occur.
|
||||
*/
|
||||
function _beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options, callback) {
|
||||
/* jshint validthis: true */
|
||||
let client = this.client;
|
||||
if(!callback && typeof options === 'function') {
|
||||
callback = options;
|
||||
options = null;
|
||||
}
|
||||
if (!callback) {
|
||||
throw new Error('callback cannot be null.');
|
||||
}
|
||||
|
@ -458,17 +562,17 @@ function _update(resourceGroupName, accountName, privateEndpointConnectionName,
|
|||
throw new Error('privateEndpointConnectionName cannot be null or undefined and it must be of type string.');
|
||||
}
|
||||
if (privateEndpointConnectionName !== null && privateEndpointConnectionName !== undefined) {
|
||||
if (privateEndpointConnectionName.length > 64)
|
||||
if (privateEndpointConnectionName.length > 101)
|
||||
{
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "MaxLength": 64');
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "MaxLength": 101');
|
||||
}
|
||||
if (privateEndpointConnectionName.length < 1)
|
||||
{
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "MinLength": 1');
|
||||
}
|
||||
if (privateEndpointConnectionName.match(/^[a-zA-Z0-9_-]+$/) === null)
|
||||
if (privateEndpointConnectionName.match(/^[a-zA-Z0-9_-]+\.?[a-fA-F0-9-]*$/) === null)
|
||||
{
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "Pattern": /^[a-zA-Z0-9_-]+$/');
|
||||
throw new Error('"privateEndpointConnectionName" should satisfy the constraint - "Pattern": /^[a-zA-Z0-9_-]+\.?[a-fA-F0-9-]*$/');
|
||||
}
|
||||
}
|
||||
if (this.client.apiVersion === null || this.client.apiVersion === undefined || typeof this.client.apiVersion.valueOf() !== 'string') {
|
||||
|
@ -544,7 +648,7 @@ function _update(resourceGroupName, accountName, privateEndpointConnectionName,
|
|||
return callback(err);
|
||||
}
|
||||
let statusCode = response.statusCode;
|
||||
if (statusCode !== 200) {
|
||||
if (statusCode !== 200 && statusCode !== 202 && statusCode !== 204) {
|
||||
let error = new Error(responseBody);
|
||||
error.statusCode = response.statusCode;
|
||||
error.request = msRest.stripRequest(httpRequest);
|
||||
|
@ -733,6 +837,7 @@ class PrivateEndpointConnectionOperations {
|
|||
this._listByBatchAccount = _listByBatchAccount;
|
||||
this._get = _get;
|
||||
this._update = _update;
|
||||
this._beginUpdate = _beginUpdate;
|
||||
this._listByBatchAccountNext = _listByBatchAccountNext;
|
||||
}
|
||||
|
||||
|
@ -1063,6 +1168,143 @@ class PrivateEndpointConnectionOperations {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the properties of an existing private endpoint connection.
|
||||
*
|
||||
* @param {string} resourceGroupName The name of the resource group that
|
||||
* contains the Batch account.
|
||||
*
|
||||
* @param {string} accountName The name of the Batch account.
|
||||
*
|
||||
* @param {string} privateEndpointConnectionName The private endpoint
|
||||
* connection name. This must be unique within the account.
|
||||
*
|
||||
* @param {object} parameters PrivateEndpointConnection properties that should
|
||||
* be updated. Properties that are supplied will be updated, any property not
|
||||
* supplied will be unchanged.
|
||||
*
|
||||
* @param {object} [parameters.privateEndpoint] The ARM resource identifier of
|
||||
* the private endpoint.
|
||||
*
|
||||
* @param {object} [parameters.privateLinkServiceConnectionState] The private
|
||||
* link service connection state of the private endpoint connection.
|
||||
*
|
||||
* @param {string} parameters.privateLinkServiceConnectionState.status The
|
||||
* status for the private endpoint connection of Batch account Possible values
|
||||
* include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
|
||||
*
|
||||
* @param {string} [parameters.privateLinkServiceConnectionState.description]
|
||||
* Description of the private Connection state
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {string} [options.ifMatch] The state (ETag) version of the private
|
||||
* endpoint connection to update. This value can be omitted or set to "*" to
|
||||
* apply the operation unconditionally.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
* request
|
||||
*
|
||||
* @returns {Promise} A promise is returned
|
||||
*
|
||||
* @resolve {HttpOperationResponse<PrivateEndpointConnection>} - The deserialized result object.
|
||||
*
|
||||
* @reject {Error} - The error object.
|
||||
*/
|
||||
beginUpdateWithHttpOperationResponse(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options) {
|
||||
let client = this.client;
|
||||
let self = this;
|
||||
return new Promise((resolve, reject) => {
|
||||
self._beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options, (err, result, request, response) => {
|
||||
let httpOperationResponse = new msRest.HttpOperationResponse(request, response);
|
||||
httpOperationResponse.body = result;
|
||||
if (err) { reject(err); }
|
||||
else { resolve(httpOperationResponse); }
|
||||
return;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the properties of an existing private endpoint connection.
|
||||
*
|
||||
* @param {string} resourceGroupName The name of the resource group that
|
||||
* contains the Batch account.
|
||||
*
|
||||
* @param {string} accountName The name of the Batch account.
|
||||
*
|
||||
* @param {string} privateEndpointConnectionName The private endpoint
|
||||
* connection name. This must be unique within the account.
|
||||
*
|
||||
* @param {object} parameters PrivateEndpointConnection properties that should
|
||||
* be updated. Properties that are supplied will be updated, any property not
|
||||
* supplied will be unchanged.
|
||||
*
|
||||
* @param {object} [parameters.privateEndpoint] The ARM resource identifier of
|
||||
* the private endpoint.
|
||||
*
|
||||
* @param {object} [parameters.privateLinkServiceConnectionState] The private
|
||||
* link service connection state of the private endpoint connection.
|
||||
*
|
||||
* @param {string} parameters.privateLinkServiceConnectionState.status The
|
||||
* status for the private endpoint connection of Batch account Possible values
|
||||
* include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
|
||||
*
|
||||
* @param {string} [parameters.privateLinkServiceConnectionState.description]
|
||||
* Description of the private Connection state
|
||||
*
|
||||
* @param {object} [options] Optional Parameters.
|
||||
*
|
||||
* @param {string} [options.ifMatch] The state (ETag) version of the private
|
||||
* endpoint connection to update. This value can be omitted or set to "*" to
|
||||
* apply the operation unconditionally.
|
||||
*
|
||||
* @param {object} [options.customHeaders] Headers that will be added to the
|
||||
* request
|
||||
*
|
||||
* @param {function} [optionalCallback] - The optional callback.
|
||||
*
|
||||
* @returns {function|Promise} If a callback was passed as the last parameter
|
||||
* then it returns the callback else returns a Promise.
|
||||
*
|
||||
* {Promise} A promise is returned
|
||||
*
|
||||
* @resolve {PrivateEndpointConnection} - The deserialized result object.
|
||||
*
|
||||
* @reject {Error} - The error object.
|
||||
*
|
||||
* {function} optionalCallback(err, result, request, response)
|
||||
*
|
||||
* {Error} err - The Error object if an error occurred, null otherwise.
|
||||
*
|
||||
* {object} [result] - The deserialized result object if an error did not occur.
|
||||
* See {@link PrivateEndpointConnection} for more
|
||||
* information.
|
||||
*
|
||||
* {object} [request] - The HTTP Request object if an error did not occur.
|
||||
*
|
||||
* {stream} [response] - The HTTP Response stream if an error did not occur.
|
||||
*/
|
||||
beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options, optionalCallback) {
|
||||
let client = this.client;
|
||||
let self = this;
|
||||
if (!optionalCallback && typeof options === 'function') {
|
||||
optionalCallback = options;
|
||||
options = null;
|
||||
}
|
||||
if (!optionalCallback) {
|
||||
return new Promise((resolve, reject) => {
|
||||
self._beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options, (err, result, request, response) => {
|
||||
if (err) { reject(err); }
|
||||
else { resolve(result); }
|
||||
return;
|
||||
});
|
||||
});
|
||||
} else {
|
||||
return self._beginUpdate(resourceGroupName, accountName, privateEndpointConnectionName, parameters, options, optionalCallback);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists all of the private endpoint connections in the specified account.
|
||||
*
|
||||
|
|
|
@ -253,17 +253,17 @@ function _get(resourceGroupName, accountName, privateLinkResourceName, options,
|
|||
throw new Error('privateLinkResourceName cannot be null or undefined and it must be of type string.');
|
||||
}
|
||||
if (privateLinkResourceName !== null && privateLinkResourceName !== undefined) {
|
||||
if (privateLinkResourceName.length > 64)
|
||||
if (privateLinkResourceName.length > 101)
|
||||
{
|
||||
throw new Error('"privateLinkResourceName" should satisfy the constraint - "MaxLength": 64');
|
||||
throw new Error('"privateLinkResourceName" should satisfy the constraint - "MaxLength": 101');
|
||||
}
|
||||
if (privateLinkResourceName.length < 1)
|
||||
{
|
||||
throw new Error('"privateLinkResourceName" should satisfy the constraint - "MinLength": 1');
|
||||
}
|
||||
if (privateLinkResourceName.match(/^[a-zA-Z0-9_-]+$/) === null)
|
||||
if (privateLinkResourceName.match(/^[a-zA-Z0-9_-]+\.?[a-fA-F0-9-]*$/) === null)
|
||||
{
|
||||
throw new Error('"privateLinkResourceName" should satisfy the constraint - "Pattern": /^[a-zA-Z0-9_-]+$/');
|
||||
throw new Error('"privateLinkResourceName" should satisfy the constraint - "Pattern": /^[a-zA-Z0-9_-]+\.?[a-fA-F0-9-]*$/');
|
||||
}
|
||||
}
|
||||
if (this.client.apiVersion === null || this.client.apiVersion === undefined || typeof this.client.apiVersion.valueOf() !== 'string') {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "azure-arm-batch",
|
||||
"author": "Microsoft Corporation",
|
||||
"description": "BatchManagementClient Library with typescript type definitions for node",
|
||||
"version": "7.0.0",
|
||||
"version": "8.0.0",
|
||||
"dependencies": {
|
||||
"ms-rest": "^2.3.3",
|
||||
"ms-rest-azure": "^2.5.5"
|
||||
|
|
|
@ -9,63 +9,85 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2020-03-01')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8D7EE69A9ACA8D1?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8D8084FDB1E84D9?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'bd92e69e-fa1e-49fe-9846-eada82005d86',
|
||||
'x-ms-request-id': '5c7977be-5656-433f-8c7b-165178d02a97',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'a699437f-5e2b-4a3a-8bc5-00c00c6f0f06',
|
||||
'x-ms-correlation-request-id': '118795ee-f451-4903-acf5-b45f6e39ab46',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072308Z:a699437f-5e2b-4a3a-8bc5-00c00c6f0f06',
|
||||
date: 'Sat, 02 May 2020 07:23:07 GMT',
|
||||
'WESTUS:20200604T062354Z:118795ee-f451-4903-acf5-b45f6e39ab46',
|
||||
date: 'Thu, 04 Jun 2020 06:23:53 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8D7EE69A9ACA8D1?api-version=2020-03-01')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8D8084FDB1E84D9?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d7ee69a9aca8d1?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d8084fdb1e84d9?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '0ef6a133-aadb-4c26-9a8a-f63d942031ba',
|
||||
'x-ms-request-id': 'c37625fa-47fc-471a-a2a9-e4bf31d19f3b',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'd8858a6c-63aa-41c4-9267-1b307eed79be',
|
||||
'x-ms-correlation-request-id': '85a59bcb-cf6f-406d-a2a0-2a79c73c0f48',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072339Z:d8858a6c-63aa-41c4-9267-1b307eed79be',
|
||||
date: 'Sat, 02 May 2020 07:23:38 GMT',
|
||||
'WESTUS:20200604T062425Z:85a59bcb-cf6f-406d-a2a0-2a79c73c0f48',
|
||||
date: 'Thu, 04 Jun 2020 06:24:25 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d7ee69a9aca8d1?api-version=2020-03-01')
|
||||
.reply(200, "", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d8084fdb1e84d9?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
'x-ms-request-id': 'dce8dc8f-f581-4153-9b96-788b973291a4',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d8084fdb1e84d9?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '40faedff-cf06-4974-8e2c-65db0f766055',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '1e541c30-8729-499d-acd3-7cd8a4da4b07',
|
||||
'x-ms-correlation-request-id': 'f590df6b-b47f-47df-83ce-73a0b868e0cd',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072409Z:1e541c30-8729-499d-acd3-7cd8a4da4b07',
|
||||
date: 'Sat, 02 May 2020 07:24:09 GMT',
|
||||
'WESTUS:20200604T062455Z:f590df6b-b47f-47df-83ce-73a0b868e0cd',
|
||||
date: 'Thu, 04 Jun 2020 06:24:55 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificateOperationResults/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7-8d8084fdb1e84d9?api-version=2020-05-01')
|
||||
.reply(200, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
'x-ms-request-id': '0d40d209-4947-4b91-b00b-3efa6b0c9576',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'fdbf3f06-be8f-42d2-bc69-152c854ec300',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200604T062526Z:fdbf3f06-be8f-42d2-bc69-152c854ec300',
|
||||
date: 'Thu, 04 Jun 2020 06:25:25 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0/activate?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0\",\"name\":\"v1.0\",\"etag\":\"W/\\\"0x8D7EE6987931CFA\\\"\",\"properties\":{\"storageUrl\":\"https://testaccountfornode.blob.core.windows.net/app-my-application-id-36d75d44174f483689980a93991e429c/v1.0?sv=2018-03-28&sr=b&sig=qounK50jDYmKjN1hj7y7Wv%2B5Q6K47Q55FU78ozIigrc%3D&st=2020-05-02T07%3A17%3A10Z&se=2020-05-02T11%3A22%3A10Z&sp=rw\",\"storageUrlExpiry\":\"2020-05-02T11:22:10.9992824Z\",\"state\":\"Active\",\"format\":\"zip\",\"lastActivationTime\":\"2020-05-02T07:22:10.9680074Z\"}}", { 'cache-control': 'no-cache',
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0/activate?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0\",\"name\":\"v1.0\",\"etag\":\"W/\\\"0x8D8084FB2201FDE\\\"\",\"properties\":{\"storageUrl\":\"https://testaccountfornode.blob.core.windows.net/app-my-application-id-2fcd58b6321f40e585544ae66c5ac76e/v1.0?sv=2018-03-28&sr=b&sig=CDBZo1ywuDGvo%2FgekePdRtm6HR6iuxoUFJhD5HoGxKc%3D&st=2020-06-04T06%3A17%3A45Z&se=2020-06-04T10%3A22%3A45Z&sp=rw\",\"storageUrlExpiry\":\"2020-06-04T10:22:45.7191841Z\",\"state\":\"Active\",\"format\":\"zip\",\"lastActivationTime\":\"2020-06-04T06:22:45.6689553Z\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '721',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:10 GMT',
|
||||
etag: 'W/"0x8D7EE6987931CFA"',
|
||||
'x-ms-correlation-request-id': '684d09d1-6cd1-4170-9ad1-39e06b8722df',
|
||||
'x-ms-request-id': '4eb40f41-2f3f-4dea-ab8b-1077d0c9a14d',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:45 GMT',
|
||||
etag: 'W/"0x8D8084FB2201FDE"',
|
||||
'x-ms-correlation-request-id': 'cecde6a9-1078-4eb2-8a36-77121f98194b',
|
||||
'x-ms-request-id': 'b5575385-f49d-43ed-a8a9-86d68473aebe',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072211Z:684d09d1-6cd1-4170-9ad1-39e06b8722df',
|
||||
date: 'Sat, 02 May 2020 07:22:10 GMT',
|
||||
'WESTUS:20200604T062245Z:cecde6a9-1078-4eb2-8a36-77121f98194b',
|
||||
date: 'Thu, 04 Jun 2020 06:22:45 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,38 +9,38 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0?api-version=2020-03-01')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0\",\"name\":\"v1.0\",\"etag\":\"W/\\\"0x8D7EE6984F39F75\\\"\",\"properties\":{\"storageUrl\":\"https://testaccountfornode.blob.core.windows.net/app-my-application-id-36d75d44174f483689980a93991e429c/v1.0?sv=2018-03-28&sr=b&sig=YgfavGEDUzbGcFsp06ldI%2FlpphZTdKr5LT9Y54MmgGE%3D&st=2020-05-02T07%3A17%3A06Z&se=2020-05-02T11%3A22%3A06Z&sp=rw\",\"storageUrlExpiry\":\"2020-05-02T11:22:06.5783972Z\",\"state\":\"Pending\"}}", { 'cache-control': 'no-cache',
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0?api-version=2020-05-01')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0\",\"name\":\"v1.0\",\"etag\":\"W/\\\"0x8D8084FB02011B2\\\"\",\"properties\":{\"storageUrl\":\"https://testaccountfornode.blob.core.windows.net/app-my-application-id-2fcd58b6321f40e585544ae66c5ac76e/v1.0?sv=2018-03-28&sr=b&sig=RHp6ZarW4Q5Sv8WhN8Q%2FzgnWxC5SEct7tepiTZZkiIs%3D&st=2020-06-04T06%3A17%3A42Z&se=2020-06-04T10%3A22%3A42Z&sp=rw\",\"storageUrlExpiry\":\"2020-06-04T10:22:42.3394685Z\",\"state\":\"Pending\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '655',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:06 GMT',
|
||||
etag: 'W/"0x8D7EE6984F39F75"',
|
||||
'x-ms-correlation-request-id': '3bb2f4ed-cf74-4575-985b-ebff20a18235',
|
||||
'x-ms-request-id': '2bd89e24-1d9e-4d28-a007-7b25932d2b3f',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:42 GMT',
|
||||
etag: 'W/"0x8D8084FB02011B2"',
|
||||
'x-ms-correlation-request-id': '9a9c2984-e9ac-472c-a9be-dd36b35ce03a',
|
||||
'x-ms-request-id': 'fc9ab94c-97bf-4887-875d-c209eba03691',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072206Z:3bb2f4ed-cf74-4575-985b-ebff20a18235',
|
||||
date: 'Sat, 02 May 2020 07:22:06 GMT',
|
||||
'WESTUS:20200604T062242Z:9a9c2984-e9ac-472c-a9be-dd36b35ce03a',
|
||||
date: 'Thu, 04 Jun 2020 06:22:42 GMT',
|
||||
connection: 'close' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://testaccountfornode.blob.core.windows.net:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/app-my-application-id-36d75d44174f483689980a93991e429c/v1.0?sv=2018-03-28&sr=b&sig=YgfavGEDUzbGcFsp06ldI%2FlpphZTdKr5LT9Y54MmgGE%3D&st=2020-05-02T07%3A17%3A06Z&se=2020-05-02T11%3A22%3A06Z&sp=rw', '*')
|
||||
.put('/app-my-application-id-2fcd58b6321f40e585544ae66c5ac76e/v1.0?sv=2018-03-28&sr=b&sig=RHp6ZarW4Q5Sv8WhN8Q%2FzgnWxC5SEct7tepiTZZkiIs%3D&st=2020-06-04T06%3A17%3A42Z&se=2020-06-04T10%3A22%3A42Z&sp=rw', '*')
|
||||
.reply(201, "", { 'content-length': '0',
|
||||
'content-md5': 'Evetq3j5z4ehYa3l4kFC1w==',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:08 GMT',
|
||||
etag: '"0x8D7EE698616304D"',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:43 GMT',
|
||||
etag: '"0x8D8084FB0E22670"',
|
||||
server: 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-request-id': 'a4e99001-001e-002c-3552-2047c7000000',
|
||||
'x-ms-request-id': 'e5445cb3-601e-001e-3a38-3a1f17000000',
|
||||
'x-ms-version': '2018-03-28',
|
||||
'x-ms-request-server-encrypted': 'true',
|
||||
date: 'Sat, 02 May 2020 07:22:07 GMT',
|
||||
date: 'Thu, 04 Jun 2020 06:22:43 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id\",\"name\":\"my_application_id\",\"etag\":\"W/\\\"0x8D7EE6983921623\\\"\",\"properties\":{\"displayName\":\"my_application_name\",\"allowUpdates\":true}}", { 'cache-control': 'no-cache',
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id\",\"name\":\"my_application_id\",\"etag\":\"W/\\\"0x8D8084FAEBE1321\\\"\",\"properties\":{\"displayName\":\"my_application_name\",\"allowUpdates\":true}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '375',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:04 GMT',
|
||||
etag: 'W/"0x8D7EE6983921623"',
|
||||
'x-ms-correlation-request-id': '1a4c2e19-f7fd-4d65-a516-f97ce9075d6b',
|
||||
'x-ms-request-id': '3df1fdfc-18b8-4e4f-816c-a5dfe5a5cc00',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:40 GMT',
|
||||
etag: 'W/"0x8D8084FAEBE1321"',
|
||||
'x-ms-correlation-request-id': 'c9963445-bb38-463e-8260-25eb573e2499',
|
||||
'x-ms-request-id': '24254f66-b9d6-45db-8f01-31d7726c2692',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1198',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072204Z:1a4c2e19-f7fd-4d65-a516-f97ce9075d6b',
|
||||
date: 'Sat, 02 May 2020 07:22:04 GMT',
|
||||
'WESTUS:20200604T062240Z:c9963445-bb38-463e-8260-25eb573e2499',
|
||||
date: 'Thu, 04 Jun 2020 06:22:39 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"name\":\"sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"type\":\"Microsoft.Batch/batchAccounts/certificates\",\"etag\":\"W/\\\"0x8D7EE69A7BCA638\\\"\",\"properties\":{\"thumbprintAlgorithm\":\"sha1\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:23:04.9278519Z\",\"format\":\"Pfx\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"}}", { 'cache-control': 'no-cache',
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"name\":\"sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"type\":\"Microsoft.Batch/batchAccounts/certificates\",\"etag\":\"W/\\\"0x8D8084FD9586095\\\"\",\"properties\":{\"thumbprintAlgorithm\":\"sha1\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:23:51.4792706Z\",\"format\":\"Pfx\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '1168',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:23:04 GMT',
|
||||
etag: 'W/"0x8D7EE69A7BCA638"',
|
||||
'x-ms-correlation-request-id': '35da3459-04e6-4c80-8a1b-8e74915e8324',
|
||||
'x-ms-request-id': '36e3d40f-c2fd-445d-a87e-0d02157072e6',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:23:51 GMT',
|
||||
etag: 'W/"0x8D8084FD9586095"',
|
||||
'x-ms-correlation-request-id': '5da416f2-1bb0-486d-a8d7-0c8ed432a9e0',
|
||||
'x-ms-request-id': '26fb7a19-14e9-43ec-b274-67a1031fde91',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1198',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072305Z:35da3459-04e6-4c80-8a1b-8e74915e8324',
|
||||
date: 'Sat, 02 May 2020 07:23:04 GMT',
|
||||
'WESTUS:20200604T062351Z:5da416f2-1bb0-486d-a8d7-0c8ed432a9e0',
|
||||
date: 'Thu, 04 Jun 2020 06:23:50 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,22 +9,22 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0?api-version=2020-03-01')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0\",\"name\":\"v2.0\",\"etag\":\"W/\\\"0x8D7EE6986B6224A\\\"\",\"properties\":{\"storageUrl\":\"https://testaccountfornode.blob.core.windows.net/app-my-application-id-36d75d44174f483689980a93991e429c/v2.0?sv=2018-03-28&sr=b&sig=4M%2Fbbo35%2FCUmxvRCwUqUCHSCSeW%2FHmgPVSkjN8oPwTM%3D&st=2020-05-02T07%3A17%3A09Z&se=2020-05-02T11%3A22%3A09Z&sp=rw\",\"storageUrlExpiry\":\"2020-05-02T11:22:09.5325216Z\",\"state\":\"Pending\"}}", { 'cache-control': 'no-cache',
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0?api-version=2020-05-01')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0\",\"name\":\"v2.0\",\"etag\":\"W/\\\"0x8D8084FB14FAAF5\\\"\",\"properties\":{\"storageUrl\":\"https://testaccountfornode.blob.core.windows.net/app-my-application-id-2fcd58b6321f40e585544ae66c5ac76e/v2.0?sv=2018-03-28&sr=b&sig=WgVIjKtlajV4SE9Ntqo5vAEM4cIcSknViLqcA3t6Y1s%3D&st=2020-06-04T06%3A17%3A44Z&se=2020-06-04T10%3A22%3A44Z&sp=rw\",\"storageUrlExpiry\":\"2020-06-04T10:22:44.3243544Z\",\"state\":\"Pending\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '659',
|
||||
'content-length': '653',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:09 GMT',
|
||||
etag: 'W/"0x8D7EE6986B6224A"',
|
||||
'x-ms-correlation-request-id': 'b2c845b3-6e54-425d-af87-c70548f17c41',
|
||||
'x-ms-request-id': 'e9bfe1dc-20e4-48f1-9749-d1f6a04d4fa5',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:44 GMT',
|
||||
etag: 'W/"0x8D8084FB14FAAF5"',
|
||||
'x-ms-correlation-request-id': '1139c54d-97cd-4a2b-8cf3-ba2610fbdddf',
|
||||
'x-ms-request-id': '8cc2a559-e054-41aa-b6d3-c02b0180adaa',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072209Z:b2c845b3-6e54-425d-af87-c70548f17c41',
|
||||
date: 'Sat, 02 May 2020 07:22:09 GMT',
|
||||
'WESTUS:20200604T062244Z:1139c54d-97cd-4a2b-8cf3-ba2610fbdddf',
|
||||
date: 'Thu, 04 Jun 2020 06:22:44 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,20 +10,20 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/checkNameAvailability?api-version=2020-03-01', '*')
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/checkNameAvailability?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"nameAvailable\":true}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '22',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': 'fb978d0b-8fbd-4148-9308-3c656954c1b6',
|
||||
'x-ms-request-id': '393d2c4c-0e53-4e07-91c8-957eb0873497',
|
||||
'x-ms-correlation-request-id': '50b29ff0-e304-46db-8c83-9497e350fd53',
|
||||
'x-ms-request-id': 'a5753f61-44e9-4c26-b873-fac03adf17ae',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072127Z:fb978d0b-8fbd-4148-9308-3c656954c1b6',
|
||||
date: 'Sat, 02 May 2020 07:21:26 GMT',
|
||||
'WESTUS:20200604T062201Z:50b29ff0-e304-46db-8c83-9497e350fd53',
|
||||
date: 'Thu, 04 Jun 2020 06:22:01 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,44 +10,44 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-03-01', '*')
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-05-01', '*')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/operationResults/f27fa277-76ce-42e8-9ab9-04ab1d4003ce?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/operationResults/fdb66039-4251-4a20-a021-f145d14205b2?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'f27fa277-76ce-42e8-9ab9-04ab1d4003ce',
|
||||
'x-ms-request-id': 'fdb66039-4251-4a20-a021-f145d14205b2',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '565826e8-fe7a-4abd-9966-51b26ab40106',
|
||||
'x-ms-correlation-request-id': 'bae72e18-0500-4e7a-a993-3c7266213456',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072132Z:565826e8-fe7a-4abd-9966-51b26ab40106',
|
||||
date: 'Sat, 02 May 2020 07:21:31 GMT',
|
||||
'WESTUS:20200604T062208Z:bae72e18-0500-4e7a-a993-3c7266213456',
|
||||
date: 'Thu, 04 Jun 2020 06:22:08 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/operationResults/f27fa277-76ce-42e8-9ab9-04ab1d4003ce?api-version=2020-03-01')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk\",\"name\":\"batchtestnodesdk\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"japaneast\",\"properties\":{\"accountEndpoint\":\"batchtestnodesdk.japaneast.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":0,\"dedicatedCoreQuotaPerVMFamily\":[{\"name\":\"standardAv2Family\",\"coreQuota\":0},{\"name\":\"standardDv2Family\",\"coreQuota\":0},{\"name\":\"standardDv3Family\",\"coreQuota\":0},{\"name\":\"standardEv3Family\",\"coreQuota\":0},{\"name\":\"standardDSv2Family\",\"coreQuota\":0},{\"name\":\"standardDSv3Family\",\"coreQuota\":0},{\"name\":\"standardESv3Family\",\"coreQuota\":0},{\"name\":\"standardFFamily\",\"coreQuota\":0},{\"name\":\"standardFSFamily\",\"coreQuota\":0},{\"name\":\"standardA0_A7Family\",\"coreQuota\":0},{\"name\":\"standardA8_A11Family\",\"coreQuota\":0},{\"name\":\"standardDFamily\",\"coreQuota\":0},{\"name\":\"standardGFamily\",\"coreQuota\":0},{\"name\":\"basicAFamily\",\"coreQuota\":0},{\"name\":\"standardNVFamily\",\"coreQuota\":0},{\"name\":\"standardNVPromoFamily\",\"coreQuota\":0},{\"name\":\"standardNCFamily\",\"coreQuota\":0},{\"name\":\"standardNCPromoFamily\",\"coreQuota\":0},{\"name\":\"standardHFamily\",\"coreQuota\":0},{\"name\":\"standardHPromoFamily\",\"coreQuota\":0},{\"name\":\"standardMSFamily\",\"coreQuota\":0},{\"name\":\"standardDSFamily\",\"coreQuota\":0},{\"name\":\"standardGSFamily\",\"coreQuota\":0},{\"name\":\"standardLSFamily\",\"coreQuota\":0},{\"name\":\"standardLSv2Family\",\"coreQuota\":0},{\"name\":\"standardNCSv2Family\",\"coreQuota\":0},{\"name\":\"standardNDSFamily\",\"coreQuota\":0},{\"name\":\"standardNCSv3Family\",\"coreQuota\":0},{\"name\":\"standardFSv2Family\",\"coreQuota\":0},{\"name\":\"standardHBSFamily\",\"coreQuota\":0},{\"name\":\"standardHCSFamily\",\"coreQuota\":0},{\"name\":\"standardNVSv3Family\",\"coreQuota\":0},{\"name\":\"standardHBrsv2Family\",\"coreQuota\":0},{\"name\":\"standardDASv4Family\",\"coreQuota\":0},{\"name\":\"standardEAv4Family\",\"coreQuota\":0},{\"name\":\"standardEASv4Family\",\"coreQuota\":0}],\"dedicatedCoreQuotaPerVMFamilyEnforced\":false,\"lowPriorityCoreQuota\":0,\"poolQuota\":100,\"activeJobAndJobScheduleQuota\":300,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/testaccountfornode\",\"lastKeySync\":\"2020-05-02T07:21:32.1411454Z\"},\"poolAllocationMode\":\"BatchService\",\"publicNetworkAccess\":\"Enabled\",\"encryption\":{\"keySource\":\"Microsoft.Batch\"}}}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/operationResults/fdb66039-4251-4a20-a021-f145d14205b2?api-version=2020-05-01')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk\",\"name\":\"batchtestnodesdk\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"japaneast\",\"properties\":{\"accountEndpoint\":\"batchtestnodesdk.japaneast.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":0,\"dedicatedCoreQuotaPerVMFamily\":[{\"name\":\"standardAv2Family\",\"coreQuota\":0},{\"name\":\"standardDv2Family\",\"coreQuota\":0},{\"name\":\"standardDv3Family\",\"coreQuota\":0},{\"name\":\"standardEv3Family\",\"coreQuota\":0},{\"name\":\"standardDSv2Family\",\"coreQuota\":0},{\"name\":\"standardDSv3Family\",\"coreQuota\":0},{\"name\":\"standardESv3Family\",\"coreQuota\":0},{\"name\":\"standardFFamily\",\"coreQuota\":0},{\"name\":\"standardFSFamily\",\"coreQuota\":0},{\"name\":\"standardA0_A7Family\",\"coreQuota\":0},{\"name\":\"standardA8_A11Family\",\"coreQuota\":0},{\"name\":\"standardDFamily\",\"coreQuota\":0},{\"name\":\"standardGFamily\",\"coreQuota\":0},{\"name\":\"basicAFamily\",\"coreQuota\":0},{\"name\":\"standardNVFamily\",\"coreQuota\":0},{\"name\":\"standardNVPromoFamily\",\"coreQuota\":0},{\"name\":\"standardNCFamily\",\"coreQuota\":0},{\"name\":\"standardNCPromoFamily\",\"coreQuota\":0},{\"name\":\"standardHFamily\",\"coreQuota\":0},{\"name\":\"standardHPromoFamily\",\"coreQuota\":0},{\"name\":\"standardMSFamily\",\"coreQuota\":0},{\"name\":\"standardDSFamily\",\"coreQuota\":0},{\"name\":\"standardGSFamily\",\"coreQuota\":0},{\"name\":\"standardLSFamily\",\"coreQuota\":0},{\"name\":\"standardLSv2Family\",\"coreQuota\":0},{\"name\":\"standardNCSv2Family\",\"coreQuota\":0},{\"name\":\"standardNDSFamily\",\"coreQuota\":0},{\"name\":\"standardNCSv3Family\",\"coreQuota\":0},{\"name\":\"standardFSv2Family\",\"coreQuota\":0},{\"name\":\"standardHBSFamily\",\"coreQuota\":0},{\"name\":\"standardHCSFamily\",\"coreQuota\":0},{\"name\":\"standardNVSv3Family\",\"coreQuota\":0},{\"name\":\"standardHBrsv2Family\",\"coreQuota\":0},{\"name\":\"standardDASv4Family\",\"coreQuota\":0},{\"name\":\"standardEAv4Family\",\"coreQuota\":0},{\"name\":\"standardEASv4Family\",\"coreQuota\":0}],\"dedicatedCoreQuotaPerVMFamilyEnforced\":false,\"lowPriorityCoreQuota\":0,\"poolQuota\":100,\"activeJobAndJobScheduleQuota\":300,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/testaccountfornode\",\"lastKeySync\":\"2020-06-04T06:22:08.0770946Z\"},\"poolAllocationMode\":\"BatchService\",\"publicNetworkAccess\":\"Enabled\",\"encryption\":{\"keySource\":\"Microsoft.Batch\"}},\"identity\":{\"type\":\"None\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '2455',
|
||||
'content-length': '2482',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:03 GMT',
|
||||
etag: '"0x8D7EE6982F423F8"',
|
||||
'x-ms-correlation-request-id': '4583ab1d-884c-46ae-86b8-f56651f25985',
|
||||
'x-ms-request-id': 'a2cf0003-cfc4-4e1c-ae82-c3448250353c',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:39 GMT',
|
||||
etag: '"0x8D8084FAE2B3AAB"',
|
||||
'x-ms-correlation-request-id': '044df0fc-b681-41d2-b592-611bc2a641b0',
|
||||
'x-ms-request-id': '9d001e0b-608c-445d-b930-be8520e45d19',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072203Z:4583ab1d-884c-46ae-86b8-f56651f25985',
|
||||
date: 'Sat, 02 May 2020 07:22:02 GMT',
|
||||
'WESTUS:20200604T062239Z:044df0fc-b681-41d2-b592-611bc2a641b0',
|
||||
date: 'Thu, 04 Jun 2020 06:22:38 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool\",\"name\":\"test_iaas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D7EE69CFC54483\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-05-02T07:24:12.1003139Z\",\"creationTime\":\"2020-05-02T07:24:12.1003139Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:24:12.1003139Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-05-02T07:24:12.1003139Z\",\"vmSize\":\"STANDARD_A1\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"virtualMachineConfiguration\":{\"imageReference\":{\"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"},\"nodeAgentSkuId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\"enableAutomaticUpdates\":true}}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-05-02T07:24:12.1003139Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}", { 'cache-control': 'no-cache',
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool\",\"name\":\"test_iaas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D808501341AAA6\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-06-04T06:25:28.6401702Z\",\"creationTime\":\"2020-06-04T06:25:28.6401702Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:25:28.6401702Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-06-04T06:25:28.6401702Z\",\"vmSize\":\"STANDARD_A1\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"virtualMachineConfiguration\":{\"imageReference\":{\"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"},\"nodeAgentSkuId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\"enableAutomaticUpdates\":true}}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-06-04T06:25:28.6401702Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '1342',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:24:12 GMT',
|
||||
etag: 'W/"0x8D7EE69CFC54483"',
|
||||
'x-ms-correlation-request-id': '3986813a-f8a8-400d-b892-3b3d8f21bc8b',
|
||||
'x-ms-request-id': '1a3d00bf-b41d-4016-99b1-05ab21b0b23f',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:25:28 GMT',
|
||||
etag: 'W/"0x8D808501341AAA6"',
|
||||
'x-ms-correlation-request-id': 'd0283bc5-d86b-486f-96b9-3a37dad57769',
|
||||
'x-ms-request-id': 'acf9c858-0fd6-4e4b-b2d5-5143458bd064',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072412Z:3986813a-f8a8-400d-b892-3b3d8f21bc8b',
|
||||
date: 'Sat, 02 May 2020 07:24:11 GMT',
|
||||
'WESTUS:20200604T062528Z:d0283bc5-d86b-486f-96b9-3a37dad57769',
|
||||
date: 'Thu, 04 Jun 2020 06:25:28 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_paas_pool?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_paas_pool\",\"name\":\"test_paas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D7EE69CF3931A3\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-05-02T07:24:11.1823267Z\",\"creationTime\":\"2020-05-02T07:24:11.1823267Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:24:11.1823267Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-05-02T07:24:11.1823267Z\",\"vmSize\":\"Small\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"cloudServiceConfiguration\":{\"osFamily\":\"5\",\"osVersion\":\"*\"}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"startTask\":{\"commandLine\":\"cmd.exe /c \\\"echo hello world\\\"\",\"resourceFiles\":[{\"filePath\":\"filename.txt\",\"httpUrl\":\"https://blobsource.com\"}],\"environmentSettings\":[{\"name\":\"ENV_VAR\",\"value\":\"foo\"}],\"userIdentity\":{\"autoUser\":{\"scope\":\"Pool\",\"elevationLevel\":\"Admin\"}},\"maxTaskRetryCount\":0,\"waitForSuccess\":true},\"userAccounts\":[{\"name\":\"UserName\",\"elevationLevel\":\"NonAdmin\",\"windowsUserConfiguration\":{\"loginMode\":\"Interactive\"}}],\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-05-02T07:24:11.1823267Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}", { 'cache-control': 'no-cache',
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_paas_pool?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_paas_pool\",\"name\":\"test_paas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D80850129F9CD6\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-06-04T06:25:27.5781334Z\",\"creationTime\":\"2020-06-04T06:25:27.5781334Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:25:27.5781334Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-06-04T06:25:27.5781334Z\",\"vmSize\":\"Small\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"cloudServiceConfiguration\":{\"osFamily\":\"5\",\"osVersion\":\"*\"}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"startTask\":{\"commandLine\":\"cmd.exe /c \\\"echo hello world\\\"\",\"resourceFiles\":[{\"filePath\":\"filename.txt\",\"httpUrl\":\"https://blobsource.com\"}],\"environmentSettings\":[{\"name\":\"ENV_VAR\",\"value\":\"foo\"}],\"userIdentity\":{\"autoUser\":{\"scope\":\"Pool\",\"elevationLevel\":\"Admin\"}},\"maxTaskRetryCount\":0,\"waitForSuccess\":true},\"userAccounts\":[{\"name\":\"UserName\",\"elevationLevel\":\"NonAdmin\",\"windowsUserConfiguration\":{\"loginMode\":\"Interactive\"}}],\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-06-04T06:25:27.5781334Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '1567',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:24:11 GMT',
|
||||
etag: 'W/"0x8D7EE69CF3931A3"',
|
||||
'x-ms-correlation-request-id': '88f8a226-127c-4da1-b8df-40c414dd72fa',
|
||||
'x-ms-request-id': 'd72ad102-cd38-4b8f-876c-ccb7cc4e0413',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:25:27 GMT',
|
||||
etag: 'W/"0x8D80850129F9CD6"',
|
||||
'x-ms-correlation-request-id': '3d8c2a66-56d0-4b84-a501-c3a409a7f41c',
|
||||
'x-ms-request-id': '38734bec-ed5b-4bb2-817f-13d2619c45b7',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1198',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072411Z:88f8a226-127c-4da1-b8df-40c414dd72fa',
|
||||
date: 'Sat, 02 May 2020 07:24:10 GMT',
|
||||
'WESTUS:20200604T062527Z:3d8c2a66-56d0-4b84-a501-c3a409a7f41c',
|
||||
date: 'Thu, 04 Jun 2020 06:25:27 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,261 +9,261 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-03-01')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'fb7fcdfd-4b07-4371-88e4-0907f1c94603',
|
||||
'x-ms-request-id': '17adbdf8-10e6-4226-a7a1-c619cb7e5baf',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '961fed79-d421-4824-97dc-2141c8083211',
|
||||
'x-ms-correlation-request-id': '9e532b6d-799c-4ec6-a426-ccf94db798e3',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072452Z:961fed79-d421-4824-97dc-2141c8083211',
|
||||
date: 'Sat, 02 May 2020 07:24:52 GMT',
|
||||
'WESTUS:20200604T062608Z:9e532b6d-799c-4ec6-a426-ccf94db798e3',
|
||||
date: 'Thu, 04 Jun 2020 06:26:08 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'c41283bf-060a-4f42-9cc6-a054ae919be2',
|
||||
'x-ms-request-id': 'fac137cf-417a-4957-a9ca-edd41f426210',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '573e485f-5791-4d46-b1a7-c849a3218c80',
|
||||
'x-ms-correlation-request-id': '081b33fb-2764-443c-bc6d-a10366c9141c',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072523Z:573e485f-5791-4d46-b1a7-c849a3218c80',
|
||||
date: 'Sat, 02 May 2020 07:25:22 GMT',
|
||||
'WESTUS:20200604T062639Z:081b33fb-2764-443c-bc6d-a10366c9141c',
|
||||
date: 'Thu, 04 Jun 2020 06:26:38 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'f5b47b53-94c9-4a1c-be8e-ac5dc0e9dfd1',
|
||||
'x-ms-request-id': '5f3b9022-6941-4a32-97dc-ec2f9491fcd0',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '2e366614-0273-4a5d-a4ef-c95c022e7599',
|
||||
'x-ms-correlation-request-id': 'd10eebca-e5c1-4d1e-97e8-bdae76bacec6',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072553Z:2e366614-0273-4a5d-a4ef-c95c022e7599',
|
||||
date: 'Sat, 02 May 2020 07:25:53 GMT',
|
||||
'WESTUS:20200604T062709Z:d10eebca-e5c1-4d1e-97e8-bdae76bacec6',
|
||||
date: 'Thu, 04 Jun 2020 06:27:09 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '342eeeef-5993-4f77-859b-78f3aa636dd2',
|
||||
'x-ms-request-id': 'd77696d9-736e-4677-b091-7099429d2c62',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'b8e1c846-c54d-4cc4-b4ab-f3e74cfc774e',
|
||||
'x-ms-correlation-request-id': '6552cd9b-6903-4cd2-89d5-402d8c8943c7',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072624Z:b8e1c846-c54d-4cc4-b4ab-f3e74cfc774e',
|
||||
date: 'Sat, 02 May 2020 07:26:24 GMT',
|
||||
'WESTUS:20200604T062740Z:6552cd9b-6903-4cd2-89d5-402d8c8943c7',
|
||||
date: 'Thu, 04 Jun 2020 06:27:40 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '2b751dde-e281-4011-8cf4-8f8bb621d748',
|
||||
'x-ms-request-id': '3bcd9709-0f61-434d-a0be-3abf35c440b8',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '9070530f-a604-4743-9573-886b5b7cf095',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200604T062810Z:9070530f-a604-4743-9573-886b5b7cf095',
|
||||
date: 'Thu, 04 Jun 2020 06:28:10 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '26c23e35-ff69-42d9-8876-9f177cd33f66',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'd141a5b9-b979-4676-bb6e-3af76469d1e9',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200604T062841Z:d141a5b9-b979-4676-bb6e-3af76469d1e9',
|
||||
date: 'Thu, 04 Jun 2020 06:28:40 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'fd6b4095-dbde-4a20-a425-83191d2dada5',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '4f573a31-a2ec-40b4-852a-2e08f9d615d3',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200604T062912Z:4f573a31-a2ec-40b4-852a-2e08f9d615d3',
|
||||
date: 'Thu, 04 Jun 2020 06:29:11 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'b5470c51-785c-410b-b073-58d23cb14b2d',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'b88a6c62-7a0e-414e-964e-bca677fd5097',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200604T062942Z:b88a6c62-7a0e-414e-964e-bca677fd5097',
|
||||
date: 'Thu, 04 Jun 2020 06:29:42 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'fbf8baea-3449-4a04-be98-cb00ff9084c2',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'b023b671-7553-41d5-ab57-69a87874cb39',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200604T063013Z:b023b671-7553-41d5-ab57-69a87874cb39',
|
||||
date: 'Thu, 04 Jun 2020 06:30:12 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '03836929-67af-4291-b283-44558814ce31',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '11468ddb-40dc-4eef-8c7b-62d0ec8d54f8',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200604T063043Z:11468ddb-40dc-4eef-8c7b-62d0ec8d54f8',
|
||||
date: 'Thu, 04 Jun 2020 06:30:43 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '96cb4dd6-2f0b-4fba-81dc-07a4d14e72dc',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11998',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'e6830c9e-b3d6-478f-b544-2085ba875956',
|
||||
'x-ms-correlation-request-id': '60cce0ed-f058-421f-aabe-62fb58a09df8',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072655Z:e6830c9e-b3d6-478f-b544-2085ba875956',
|
||||
date: 'Sat, 02 May 2020 07:26:54 GMT',
|
||||
'WESTUS:20200604T063114Z:60cce0ed-f058-421f-aabe-62fb58a09df8',
|
||||
date: 'Thu, 04 Jun 2020 06:31:13 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '5cefdd59-719b-4745-81ca-88e2d8cf7722',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '0f3ca0f9-8dc7-4dde-bebc-994ddd67aea8',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072725Z:0f3ca0f9-8dc7-4dde-bebc-994ddd67aea8',
|
||||
date: 'Sat, 02 May 2020 07:27:25 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '8b2ed014-9f81-4004-a27e-2d0c2d1335e7',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11998',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '4f3ab872-a9ae-499c-affa-9c67171786bc',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072756Z:4f3ab872-a9ae-499c-affa-9c67171786bc',
|
||||
date: 'Sat, 02 May 2020 07:27:55 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '6486052d-35d6-4225-92f2-7636533b9650',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '3c0156b5-fb5e-42c4-b745-d27cf3a544e4',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072826Z:3c0156b5-fb5e-42c4-b745-d27cf3a544e4',
|
||||
date: 'Sat, 02 May 2020 07:28:26 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': 'd2419f70-7686-49f3-bb02-fea874859219',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11997',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'd20e6a04-4c2d-43ed-b5de-a345e9ea788e',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072857Z:d20e6a04-4c2d-43ed-b5de-a345e9ea788e',
|
||||
date: 'Sat, 02 May 2020 07:28:56 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '734d3193-314c-4fcd-9276-9d643ac23fff',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'db3a2e95-5e96-4570-84ab-0ecd7370bbaa',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072928Z:db3a2e95-5e96-4570-84ab-0ecd7370bbaa',
|
||||
date: 'Sat, 02 May 2020 07:29:27 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '5f88035b-7391-4e20-9848-c4cc5c0fd263',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '37bf7116-037f-4d76-b37a-76a3271cd712',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072958Z:37bf7116-037f-4d76-b37a-76a3271cd712',
|
||||
date: 'Sat, 02 May 2020 07:29:57 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-fb7fcdfd-4b07-4371-88e4-0907f1c94603?api-version=2020-03-01')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/accountOperationResults/batchtestnodesdk-17adbdf8-10e6-4226-a7a1-c619cb7e5baf?api-version=2020-05-01')
|
||||
.reply(200, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
'x-ms-request-id': '4559e95f-9428-4376-9dd8-933319888f9e',
|
||||
'x-ms-request-id': 'bf49ccc5-9b43-40cf-bd2f-553176ba2997',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11998',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'd58319e8-1007-49ec-b3a4-1a625776fe27',
|
||||
'x-ms-correlation-request-id': '7cd3e342-5dc2-43a0-8c29-49d42c08db75',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T073029Z:d58319e8-1007-49ec-b3a4-1a625776fe27',
|
||||
date: 'Sat, 02 May 2020 07:30:28 GMT',
|
||||
'WESTUS:20200604T063145Z:7cd3e342-5dc2-43a0-8c29-49d42c08db75',
|
||||
date: 'Thu, 04 Jun 2020 06:31:44 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; }]];
|
|
@ -9,19 +9,19 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0?api-version=2020-03-01')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0?api-version=2020-05-01')
|
||||
.reply(200, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
'x-ms-request-id': '921000f6-b478-4aed-b1fc-d8880d2ee372',
|
||||
'x-ms-request-id': '9085184b-cf7c-49f6-9599-4462d2c91ff3',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'd64042a3-cb9d-4d1c-8b19-52d9c2cf4f3c',
|
||||
'x-ms-correlation-request-id': '8a84a924-8cb1-44b9-9ed0-8a9473cd43d4',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072215Z:d64042a3-cb9d-4d1c-8b19-52d9c2cf4f3c',
|
||||
date: 'Sat, 02 May 2020 07:22:15 GMT',
|
||||
'WESTUS:20200604T062249Z:8a84a924-8cb1-44b9-9ed0-8a9473cd43d4',
|
||||
date: 'Thu, 04 Jun 2020 06:22:48 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; }]];
|
|
@ -9,19 +9,19 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-03-01')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-05-01')
|
||||
.reply(200, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
'x-ms-request-id': '1d2defc1-3216-44ea-b9b7-3e058e9aea46',
|
||||
'x-ms-request-id': '1166c647-7a60-41ae-b0fa-7c79641c5c7f',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'f4c9da62-8444-467d-9d81-c72a432cb4f6',
|
||||
'x-ms-correlation-request-id': 'ed891d8b-9065-43df-85b2-cefcfc56648f',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072217Z:f4c9da62-8444-467d-9d81-c72a432cb4f6',
|
||||
date: 'Sat, 02 May 2020 07:22:16 GMT',
|
||||
'WESTUS:20200604T062252Z:ed891d8b-9065-43df-85b2-cefcfc56648f',
|
||||
date: 'Thu, 04 Jun 2020 06:22:51 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; }]];
|
|
@ -9,41 +9,41 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool?api-version=2020-03-01')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool?api-version=2020-05-01')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/poolOperationResults/delete-test_iaas_pool?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/poolOperationResults/delete-test_iaas_pool?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '281b22d3-50c5-430a-86c8-80714707105f',
|
||||
'x-ms-request-id': '4a9b49ad-0f98-4966-a15b-826f30c5d0ff',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14998',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '02df4715-ebf2-4116-9f31-f05553532dba',
|
||||
'x-ms-correlation-request-id': 'd0379246-8279-485f-80a5-61ac50047da2',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072420Z:02df4715-ebf2-4116-9f31-f05553532dba',
|
||||
date: 'Sat, 02 May 2020 07:24:20 GMT',
|
||||
'WESTUS:20200604T062536Z:d0379246-8279-485f-80a5-61ac50047da2',
|
||||
date: 'Thu, 04 Jun 2020 06:25:36 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/poolOperationResults/delete-test_iaas_pool?api-version=2020-03-01')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/poolOperationResults/delete-test_iaas_pool?api-version=2020-05-01')
|
||||
.reply(200, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
'x-ms-request-id': '0104798a-c997-41b0-9777-e23b1b819d38',
|
||||
'x-ms-request-id': '1d77d424-58b0-4d31-8076-c9cf77056260',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'a2c11ec4-d62d-4c42-bfaa-dbcb3ce79313',
|
||||
'x-ms-correlation-request-id': '882000e1-072e-47de-a054-e94a7fdf435a',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072451Z:a2c11ec4-d62d-4c42-bfaa-dbcb3ce79313',
|
||||
date: 'Sat, 02 May 2020 07:24:50 GMT',
|
||||
'WESTUS:20200604T062607Z:882000e1-072e-47de-a054-e94a7fdf435a',
|
||||
date: 'Thu, 04 Jun 2020 06:26:06 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; }]];
|
|
@ -9,19 +9,19 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0?api-version=2020-03-01')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0?api-version=2020-05-01')
|
||||
.reply(200, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
'x-ms-request-id': '0dbe678a-c791-4b35-9fe0-05b11baee5e8',
|
||||
'x-ms-request-id': '3ae7ba27-b08f-4925-af2d-19b741663583',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14998',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'caf63a05-09c8-469f-8c21-730aa6ba5dd2',
|
||||
'x-ms-correlation-request-id': '6799c3f9-be49-4fe4-be30-e29550faa3ec',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072216Z:caf63a05-09c8-469f-8c21-730aa6ba5dd2',
|
||||
date: 'Sat, 02 May 2020 07:22:15 GMT',
|
||||
'WESTUS:20200604T062251Z:6799c3f9-be49-4fe4-be30-e29550faa3ec',
|
||||
date: 'Thu, 04 Jun 2020 06:22:50 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; }]];
|
|
@ -10,20 +10,20 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0/activate?api-version=2020-03-01', '*')
|
||||
.reply(409, "{\"error\":{\"code\":\"ApplicationPackageBlobNotFound\",\"message\":\"No blob could be found for the specified application package.\\nRequestId:2ea6dd7a-4f48-4793-8df2-18b773b172fc\\nTime:2020-05-02T07:22:11.7434109Z\",\"target\":\"BatchAccount\"}}", { 'cache-control': 'no-cache',
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0/activate?api-version=2020-05-01', '*')
|
||||
.reply(409, "{\"error\":{\"code\":\"ApplicationPackageBlobNotFound\",\"message\":\"No blob could be found for the specified application package.\\nRequestId:a8a08f8a-b792-4fe0-a74d-f63266dd9033\\nTime:2020-06-04T06:22:46.3905677Z\",\"target\":\"BatchAccount\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '232',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': 'c68ad63a-df99-4f79-b35f-8611bd895450',
|
||||
'x-ms-request-id': '2ea6dd7a-4f48-4793-8df2-18b773b172fc',
|
||||
'x-ms-correlation-request-id': 'f6864195-896b-44de-8284-45839a14cb91',
|
||||
'x-ms-request-id': 'a8a08f8a-b792-4fe0-a74d-f63266dd9033',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072211Z:c68ad63a-df99-4f79-b35f-8611bd895450',
|
||||
date: 'Sat, 02 May 2020 07:22:11 GMT',
|
||||
'WESTUS:20200604T062246Z:f6864195-896b-44de-8284-45839a14cb91',
|
||||
date: 'Thu, 04 Jun 2020 06:22:45 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,40 +10,40 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdkbyos?api-version=2020-03-01', '*')
|
||||
.reply(400, "{\"error\":{\"code\":\"InvalidRequestBody\",\"message\":\"The specified Request Body is not syntactically valid.\\nRequestId:e2dcc098-7786-4ab2-bd3a-1254f791ae89\\nTime:2020-05-02T07:30:33.5635113Z\",\"target\":\"BatchAccount\",\"details\":[{\"code\":\"Reason\",\"message\":\"keyVaultReference must be set if poolAllocationMode is specified as 'UserSubscription' on a PUT request\"}]}}", { 'cache-control': 'no-cache',
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdkbyos?api-version=2020-05-01', '*')
|
||||
.reply(400, "{\"error\":{\"code\":\"InvalidRequestBody\",\"message\":\"The specified Request Body is not syntactically valid.\\nRequestId:a64f64d5-01a3-409d-bf35-0264d7315265\\nTime:2020-06-04T06:31:49.5984801Z\",\"target\":\"BatchAccount\",\"details\":[{\"code\":\"Reason\",\"message\":\"keyVaultReference must be set if poolAllocationMode is specified as 'UserSubscription' on a PUT request\"}]}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '359',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': 'cd314b00-a0a9-4772-8e36-65352cd82239',
|
||||
'x-ms-request-id': 'e2dcc098-7786-4ab2-bd3a-1254f791ae89',
|
||||
'x-ms-correlation-request-id': 'e0b80306-c232-4eb4-aa31-07b67e3fdbc8',
|
||||
'x-ms-request-id': 'a64f64d5-01a3-409d-bf35-0264d7315265',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T073034Z:cd314b00-a0a9-4772-8e36-65352cd82239',
|
||||
date: 'Sat, 02 May 2020 07:30:33 GMT',
|
||||
'WESTUS:20200604T063150Z:e0b80306-c232-4eb4-aa31-07b67e3fdbc8',
|
||||
date: 'Thu, 04 Jun 2020 06:31:50 GMT',
|
||||
connection: 'close' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdkbyos?api-version=2020-03-01', '*')
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdkbyos?api-version=2020-05-01', '*')
|
||||
.reply(400, "{\"error\":{\"code\":\"LinkedInvalidPropertyId\",\"message\":\"Property id 'abc' at path 'properties.keyVaultReference.id' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'.\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-failure-cause': 'gateway',
|
||||
'x-ms-request-id': 'b336987a-6aab-4d9d-af95-3a083f25dc17',
|
||||
'x-ms-correlation-request-id': 'b336987a-6aab-4d9d-af95-3a083f25dc17',
|
||||
'x-ms-request-id': '552b0767-cec7-497f-b2f8-5b3605afe7e9',
|
||||
'x-ms-correlation-request-id': '552b0767-cec7-497f-b2f8-5b3605afe7e9',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T073034Z:b336987a-6aab-4d9d-af95-3a083f25dc17',
|
||||
'WESTUS:20200604T063150Z:552b0767-cec7-497f-b2f8-5b3605afe7e9',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
date: 'Sat, 02 May 2020 07:30:34 GMT',
|
||||
date: 'Thu, 04 Jun 2020 06:31:50 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '259' });
|
||||
return result; }]];
|
|
@ -10,42 +10,42 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk2?api-version=2020-03-01', '*')
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk2?api-version=2020-05-01', '*')
|
||||
.reply(202, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
location:
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk2/operationResults/0b5d32ce-d82e-416c-ae62-f1d870626f1f?api-version=2020-03-01',
|
||||
'https://management.azure.com/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk2/operationResults/3ec52365-5963-4884-97e4-574bbb25d422?api-version=2020-05-01',
|
||||
'retry-after': '15',
|
||||
'x-ms-request-id': '0b5d32ce-d82e-416c-ae62-f1d870626f1f',
|
||||
'x-ms-request-id': '3ec52365-5963-4884-97e4-574bbb25d422',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': 'e4854b55-562c-44e1-8b9e-1f535930b02a',
|
||||
'x-ms-correlation-request-id': 'c5c7adaf-7eae-4c5c-9d3b-b444ed4755ee',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072223Z:e4854b55-562c-44e1-8b9e-1f535930b02a',
|
||||
date: 'Sat, 02 May 2020 07:22:23 GMT',
|
||||
'WESTUS:20200604T062300Z:c5c7adaf-7eae-4c5c-9d3b-b444ed4755ee',
|
||||
date: 'Thu, 04 Jun 2020 06:23:00 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '0' });
|
||||
return result; },
|
||||
function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk2/operationResults/0b5d32ce-d82e-416c-ae62-f1d870626f1f?api-version=2020-03-01')
|
||||
.reply(409, "{\"error\":{\"code\":\"SubscriptionQuotaExceeded\",\"message\":\"The regional Batch account quota for the specified subscription has been reached.\\nRequestId:bb06fe54-4c68-44dd-a20d-ba4f211b8615\\nTime:2020-05-02T07:22:54.0265956Z\",\"target\":\"BatchAccount\"}}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk2/operationResults/3ec52365-5963-4884-97e4-574bbb25d422?api-version=2020-05-01')
|
||||
.reply(409, "{\"error\":{\"code\":\"SubscriptionQuotaExceeded\",\"message\":\"The regional Batch account quota for the specified subscription has been reached.\\nRequestId:5b13ae84-fce6-44ae-903b-6c5de049a77e\\nTime:2020-06-04T06:23:31.3963177Z\",\"target\":\"BatchAccount\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '247',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': '5c79cd15-084b-4792-a718-2e11e27ae5fc',
|
||||
'x-ms-request-id': 'bb06fe54-4c68-44dd-a20d-ba4f211b8615',
|
||||
'x-ms-correlation-request-id': '70bb5e90-3c9d-4035-b710-00839ffa742c',
|
||||
'x-ms-request-id': '5b13ae84-fce6-44ae-903b-6c5de049a77e',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072254Z:5c79cd15-084b-4792-a718-2e11e27ae5fc',
|
||||
date: 'Sat, 02 May 2020 07:22:53 GMT',
|
||||
'WESTUS:20200604T062331Z:70bb5e90-3c9d-4035-b710-00839ffa742c',
|
||||
date: 'Thu, 04 Jun 2020 06:23:31 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,19 +10,19 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/does-not-exist/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-03-01', '*')
|
||||
.put('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/does-not-exist/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-05-01', '*')
|
||||
.reply(404, "{\"error\":{\"code\":\"ResourceGroupNotFound\",\"message\":\"Resource group 'does-not-exist' could not be found.\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-failure-cause': 'gateway',
|
||||
'x-ms-request-id': 'dc8e4d7e-51c7-4651-a651-4a80bf5e3f4a',
|
||||
'x-ms-correlation-request-id': 'dc8e4d7e-51c7-4651-a651-4a80bf5e3f4a',
|
||||
'x-ms-request-id': '3030fa11-cec7-43e2-ba4c-6338390ee89a',
|
||||
'x-ms-correlation-request-id': '3030fa11-cec7-43e2-ba4c-6338390ee89a',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072254Z:dc8e4d7e-51c7-4651-a651-4a80bf5e3f4a',
|
||||
'WESTUS:20200604T062331Z:3030fa11-cec7-43e2-ba4c-6338390ee89a',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
date: 'Sat, 02 May 2020 07:22:53 GMT',
|
||||
date: 'Thu, 04 Jun 2020 06:23:31 GMT',
|
||||
connection: 'close',
|
||||
'content-length': '106' });
|
||||
return result; }]];
|
|
@ -9,20 +9,20 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-03-01')
|
||||
.reply(409, "{\"error\":{\"code\":\"ApplicationPackagesNotEmpty\",\"message\":\"All application packages must be deleted before the application can be deleted.\\nRequestId:06fe7859-2f55-486b-a28b-c0e311112e29\\nTime:2020-05-02T07:22:15.8324111Z\",\"target\":\"BatchAccount\"}}", { 'cache-control': 'no-cache',
|
||||
.delete('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-05-01')
|
||||
.reply(409, "{\"error\":{\"code\":\"ApplicationPackagesNotEmpty\",\"message\":\"All application packages must be deleted before the application can be deleted.\\nRequestId:7ca6999e-87a5-4c0c-8e61-4c901c1258e0\\nTime:2020-06-04T06:22:50.5073015Z\",\"target\":\"BatchAccount\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '247',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': 'd418f1f0-25f2-4d5e-b2c1-10a969da5ed0',
|
||||
'x-ms-request-id': '06fe7859-2f55-486b-a28b-c0e311112e29',
|
||||
'x-ms-correlation-request-id': '2570cfba-1157-4ef7-9e19-b8a1b41a8779',
|
||||
'x-ms-request-id': '7ca6999e-87a5-4c0c-8e61-4c901c1258e0',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-deletes': '14999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072215Z:d418f1f0-25f2-4d5e-b2c1-10a969da5ed0',
|
||||
date: 'Sat, 02 May 2020 07:22:14 GMT',
|
||||
'WESTUS:20200604T062250Z:2570cfba-1157-4ef7-9e19-b8a1b41a8779',
|
||||
date: 'Thu, 04 Jun 2020 06:22:49 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,20 +10,20 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-03-01', '*')
|
||||
.reply(409, "{\"error\":{\"code\":\"RequestedDefaultVersionNotActive\",\"message\":\"The application package corresponding to the requested default version is not active.\\nRequestId:cd12df7e-0a71-4c04-ac4c-db0def5855ae\\nTime:2020-05-02T07:22:12.5414546Z\",\"target\":\"BatchAccount\"}}", { 'cache-control': 'no-cache',
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-05-01', '*')
|
||||
.reply(409, "{\"error\":{\"code\":\"RequestedDefaultVersionNotActive\",\"message\":\"The application package corresponding to the requested default version is not active.\\nRequestId:d9f13ded-18d4-4656-9129-5ec1a922bf0e\\nTime:2020-06-04T06:22:47.3833328Z\",\"target\":\"BatchAccount\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '258',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': 'ab5748d4-eeb1-4452-9ed4-b13566751859',
|
||||
'x-ms-request-id': 'cd12df7e-0a71-4c04-ac4c-db0def5855ae',
|
||||
'x-ms-correlation-request-id': '96b909ac-06f6-425b-b684-707f0701c606',
|
||||
'x-ms-request-id': 'd9f13ded-18d4-4656-9129-5ec1a922bf0e',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072212Z:ab5748d4-eeb1-4452-9ed4-b13566751859',
|
||||
date: 'Sat, 02 May 2020 07:22:11 GMT',
|
||||
'WESTUS:20200604T062247Z:96b909ac-06f6-425b-b684-707f0701c606',
|
||||
date: 'Thu, 04 Jun 2020 06:22:46 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,20 +9,20 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications?api-version=2020-03-01')
|
||||
.reply(200, "{\"value\":[{\"type\":\"Microsoft.Batch/batchAccounts/applications\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id\",\"name\":\"my_application_id\",\"etag\":\"W/\\\"0x8D7EE6983921623\\\"\",\"properties\":{\"displayName\":\"my_application_name\",\"allowUpdates\":true}}]}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications?api-version=2020-05-01')
|
||||
.reply(200, "{\"value\":[{\"type\":\"Microsoft.Batch/batchAccounts/applications\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id\",\"name\":\"my_application_id\",\"etag\":\"W/\\\"0x8D8084FAEBE1321\\\"\",\"properties\":{\"displayName\":\"my_application_name\",\"allowUpdates\":true}}]}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '387',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': '3700f8f7-4ee1-498e-8b7c-fffcb598a0bc',
|
||||
'x-ms-request-id': 'c197a97c-6249-4faf-8fb3-f3bab09d0103',
|
||||
'x-ms-correlation-request-id': '5581e235-7f76-44fd-83b6-4c42eea19e5d',
|
||||
'x-ms-request-id': '50b3995b-1740-40d4-a4d3-64c9e5e6df30',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072205Z:3700f8f7-4ee1-498e-8b7c-fffcb598a0bc',
|
||||
date: 'Sat, 02 May 2020 07:22:05 GMT',
|
||||
'WESTUS:20200604T062241Z:5581e235-7f76-44fd-83b6-4c42eea19e5d',
|
||||
date: 'Thu, 04 Jun 2020 06:22:40 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,22 +9,22 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-03-01')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk\",\"name\":\"batchtestnodesdk\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"japaneast\",\"properties\":{\"accountEndpoint\":\"batchtestnodesdk.japaneast.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":0,\"dedicatedCoreQuotaPerVMFamily\":[{\"name\":\"standardAv2Family\",\"coreQuota\":0},{\"name\":\"standardDv2Family\",\"coreQuota\":0},{\"name\":\"standardDv3Family\",\"coreQuota\":0},{\"name\":\"standardEv3Family\",\"coreQuota\":0},{\"name\":\"standardDSv2Family\",\"coreQuota\":0},{\"name\":\"standardDSv3Family\",\"coreQuota\":0},{\"name\":\"standardESv3Family\",\"coreQuota\":0},{\"name\":\"standardFFamily\",\"coreQuota\":0},{\"name\":\"standardFSFamily\",\"coreQuota\":0},{\"name\":\"standardA0_A7Family\",\"coreQuota\":0},{\"name\":\"standardA8_A11Family\",\"coreQuota\":0},{\"name\":\"standardDFamily\",\"coreQuota\":0},{\"name\":\"standardGFamily\",\"coreQuota\":0},{\"name\":\"basicAFamily\",\"coreQuota\":0},{\"name\":\"standardNVFamily\",\"coreQuota\":0},{\"name\":\"standardNVPromoFamily\",\"coreQuota\":0},{\"name\":\"standardNCFamily\",\"coreQuota\":0},{\"name\":\"standardNCPromoFamily\",\"coreQuota\":0},{\"name\":\"standardHFamily\",\"coreQuota\":0},{\"name\":\"standardHPromoFamily\",\"coreQuota\":0},{\"name\":\"standardMSFamily\",\"coreQuota\":0},{\"name\":\"standardDSFamily\",\"coreQuota\":0},{\"name\":\"standardGSFamily\",\"coreQuota\":0},{\"name\":\"standardLSFamily\",\"coreQuota\":0},{\"name\":\"standardLSv2Family\",\"coreQuota\":0},{\"name\":\"standardNCSv2Family\",\"coreQuota\":0},{\"name\":\"standardNDSFamily\",\"coreQuota\":0},{\"name\":\"standardNCSv3Family\",\"coreQuota\":0},{\"name\":\"standardFSv2Family\",\"coreQuota\":0},{\"name\":\"standardHBSFamily\",\"coreQuota\":0},{\"name\":\"standardHCSFamily\",\"coreQuota\":0},{\"name\":\"standardNVSv3Family\",\"coreQuota\":0},{\"name\":\"standardHBrsv2Family\",\"coreQuota\":0},{\"name\":\"standardDASv4Family\",\"coreQuota\":0},{\"name\":\"standardEAv4Family\",\"coreQuota\":0},{\"name\":\"standardEASv4Family\",\"coreQuota\":0}],\"dedicatedCoreQuotaPerVMFamilyEnforced\":false,\"lowPriorityCoreQuota\":0,\"poolQuota\":100,\"activeJobAndJobScheduleQuota\":300,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/testaccountfornode\",\"lastKeySync\":\"2020-05-02T07:21:32.1411454Z\"},\"poolAllocationMode\":\"BatchService\",\"publicNetworkAccess\":\"Enabled\",\"encryption\":{\"keySource\":\"Microsoft.Batch\"}}}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-05-01')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk\",\"name\":\"batchtestnodesdk\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"japaneast\",\"properties\":{\"accountEndpoint\":\"batchtestnodesdk.japaneast.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":0,\"dedicatedCoreQuotaPerVMFamily\":[{\"name\":\"standardAv2Family\",\"coreQuota\":0},{\"name\":\"standardDv2Family\",\"coreQuota\":0},{\"name\":\"standardDv3Family\",\"coreQuota\":0},{\"name\":\"standardEv3Family\",\"coreQuota\":0},{\"name\":\"standardDSv2Family\",\"coreQuota\":0},{\"name\":\"standardDSv3Family\",\"coreQuota\":0},{\"name\":\"standardESv3Family\",\"coreQuota\":0},{\"name\":\"standardFFamily\",\"coreQuota\":0},{\"name\":\"standardFSFamily\",\"coreQuota\":0},{\"name\":\"standardA0_A7Family\",\"coreQuota\":0},{\"name\":\"standardA8_A11Family\",\"coreQuota\":0},{\"name\":\"standardDFamily\",\"coreQuota\":0},{\"name\":\"standardGFamily\",\"coreQuota\":0},{\"name\":\"basicAFamily\",\"coreQuota\":0},{\"name\":\"standardNVFamily\",\"coreQuota\":0},{\"name\":\"standardNVPromoFamily\",\"coreQuota\":0},{\"name\":\"standardNCFamily\",\"coreQuota\":0},{\"name\":\"standardNCPromoFamily\",\"coreQuota\":0},{\"name\":\"standardHFamily\",\"coreQuota\":0},{\"name\":\"standardHPromoFamily\",\"coreQuota\":0},{\"name\":\"standardMSFamily\",\"coreQuota\":0},{\"name\":\"standardDSFamily\",\"coreQuota\":0},{\"name\":\"standardGSFamily\",\"coreQuota\":0},{\"name\":\"standardLSFamily\",\"coreQuota\":0},{\"name\":\"standardLSv2Family\",\"coreQuota\":0},{\"name\":\"standardNCSv2Family\",\"coreQuota\":0},{\"name\":\"standardNDSFamily\",\"coreQuota\":0},{\"name\":\"standardNCSv3Family\",\"coreQuota\":0},{\"name\":\"standardFSv2Family\",\"coreQuota\":0},{\"name\":\"standardHBSFamily\",\"coreQuota\":0},{\"name\":\"standardHCSFamily\",\"coreQuota\":0},{\"name\":\"standardNVSv3Family\",\"coreQuota\":0},{\"name\":\"standardHBrsv2Family\",\"coreQuota\":0},{\"name\":\"standardDASv4Family\",\"coreQuota\":0},{\"name\":\"standardEAv4Family\",\"coreQuota\":0},{\"name\":\"standardEASv4Family\",\"coreQuota\":0}],\"dedicatedCoreQuotaPerVMFamilyEnforced\":false,\"lowPriorityCoreQuota\":0,\"poolQuota\":100,\"activeJobAndJobScheduleQuota\":300,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/testaccountfornode\",\"lastKeySync\":\"2020-06-04T06:22:08.0770946Z\"},\"poolAllocationMode\":\"BatchService\",\"publicNetworkAccess\":\"Enabled\",\"encryption\":{\"keySource\":\"Microsoft.Batch\"}},\"identity\":{\"type\":\"None\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '2455',
|
||||
'content-length': '2482',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:21:32 GMT',
|
||||
etag: '"0x8D7EE69706D6F7E"',
|
||||
'x-ms-correlation-request-id': '6beb4049-c1dc-4d38-a303-52ec6e8c3eb6',
|
||||
'x-ms-request-id': 'c6dd0281-30b1-42c8-8cd2-5f093799b75b',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:12 GMT',
|
||||
etag: '"0x8D8084F9E5BB240"',
|
||||
'x-ms-correlation-request-id': 'f4dda208-2ace-467a-a42b-92ee9ad06476',
|
||||
'x-ms-request-id': '22958747-0c95-4680-9440-898466c6f229',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072255Z:6beb4049-c1dc-4d38-a303-52ec6e8c3eb6',
|
||||
date: 'Sat, 02 May 2020 07:22:54 GMT',
|
||||
'WESTUS:20200604T062332Z:f4dda208-2ace-467a-a42b-92ee9ad06476',
|
||||
date: 'Thu, 04 Jun 2020 06:23:32 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,20 +9,20 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/listKeys?api-version=2020-03-01')
|
||||
.reply(200, "{\"accountName\":\"batchtestnodesdk\",\"primary\":\"efxG3ms22oXxLsNf3NdMDCkp+qDOIq0D6DjuIgivwDPV5a1UgU91+Kalnxd1KDT+ULQ6SvfG1wgwvdPTKr3pWw==\",\"secondary\":\"2z4SHXHtLUY+lGYa0yw23A1mxtDMqRY1QD9ZPW3OK2jMh8MIVJDS0cEpYgxAGWY3MaBOF8O4kFUaLYn9HpWQzw==\"}", { 'cache-control': 'no-cache',
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/listKeys?api-version=2020-05-01')
|
||||
.reply(200, "{\"accountName\":\"batchtestnodesdk\",\"primary\":\"wwVvI5db3ptexX8eAnI3w34EMYubY76WxtNz0IaZ/l6gD8Inwaxnnb5jO+qi2P7rbYGQt/U/MBt1p+mUqsHO+A==\",\"secondary\":\"vzNKn1rGuS/YbBn9UYbkmIsB6ucp8v2OoJGSW4zdYTW09LJfBX9m4jtBozU8lWTU/tMSmL85YgEgjS2bXWnEQQ==\"}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '238',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': 'af00be5e-9f2a-44dd-9cc7-88d2d5cdb3ef',
|
||||
'x-ms-request-id': '3aed1553-7e19-4621-8a31-b1939fd3e5f5',
|
||||
'x-ms-correlation-request-id': '7b6fd31d-5dff-47ad-8a75-a944eda41233',
|
||||
'x-ms-request-id': 'ca31545d-6a5d-4e25-aea0-123c2f68e096',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072257Z:af00be5e-9f2a-44dd-9cc7-88d2d5cdb3ef',
|
||||
date: 'Sat, 02 May 2020 07:22:56 GMT',
|
||||
'WESTUS:20200604T062334Z:7b6fd31d-5dff-47ad-8a75-a944eda41233',
|
||||
date: 'Thu, 04 Jun 2020 06:23:33 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,22 +9,22 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0?api-version=2020-03-01')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0\",\"name\":\"v1.0\",\"etag\":\"W/\\\"0x8D7EE6987931CFA\\\"\",\"properties\":{\"storageUrl\":\"https://testaccountfornode.blob.core.windows.net/app-my-application-id-36d75d44174f483689980a93991e429c/v1.0?sv=2018-03-28&sr=b&sig=%2FS0UapIx1jaNfxhPjPtHN0x08oV5j4Kz3ef6RV3L85g%3D&st=2020-05-02T07%3A17%3A14Z&se=2020-05-02T11%3A22%3A14Z&sp=r\",\"storageUrlExpiry\":\"2020-05-02T11:22:14.2798006Z\",\"state\":\"Active\",\"format\":\"zip\",\"lastActivationTime\":\"2020-05-02T07:22:10.9680074Z\"}}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0?api-version=2020-05-01')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0\",\"name\":\"v1.0\",\"etag\":\"W/\\\"0x8D8084FB2201FDE\\\"\",\"properties\":{\"storageUrl\":\"https://testaccountfornode.blob.core.windows.net/app-my-application-id-2fcd58b6321f40e585544ae66c5ac76e/v1.0?sv=2018-03-28&sr=b&sig=TKyNk%2FYB9NZNmw74CON8auR5s%2BziJ2xeHcYpBHGvmyI%3D&st=2020-06-04T06%3A17%3A49Z&se=2020-06-04T10%3A22%3A49Z&sp=r\",\"storageUrlExpiry\":\"2020-06-04T10:22:49.1477454Z\",\"state\":\"Active\",\"format\":\"zip\",\"lastActivationTime\":\"2020-06-04T06:22:45.6689553Z\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '720',
|
||||
'content-length': '722',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:10 GMT',
|
||||
etag: 'W/"0x8D7EE6987931CFA"',
|
||||
'x-ms-correlation-request-id': 'f43b050f-b401-4082-a63d-b6ce84ca7d33',
|
||||
'x-ms-request-id': '92a05669-664d-4601-ad6a-e6563fa78cca',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:45 GMT',
|
||||
etag: 'W/"0x8D8084FB2201FDE"',
|
||||
'x-ms-correlation-request-id': '05505da0-f11b-4a58-a2fc-2f6bcdb36ed2',
|
||||
'x-ms-request-id': 'e6de6a15-8184-4c40-b525-9aa2f2542cc5',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072214Z:f43b050f-b401-4082-a63d-b6ce84ca7d33',
|
||||
date: 'Sat, 02 May 2020 07:22:14 GMT',
|
||||
'WESTUS:20200604T062249Z:05505da0-f11b-4a58-a2fc-2f6bcdb36ed2',
|
||||
date: 'Thu, 04 Jun 2020 06:22:49 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,22 +9,22 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-03-01')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id\",\"name\":\"my_application_id\",\"etag\":\"W/\\\"0x8D7EE6983921623\\\"\",\"properties\":{\"displayName\":\"my_application_name\",\"allowUpdates\":true}}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-05-01')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id\",\"name\":\"my_application_id\",\"etag\":\"W/\\\"0x8D8084FAEBE1321\\\"\",\"properties\":{\"displayName\":\"my_application_name\",\"allowUpdates\":true}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '375',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:04 GMT',
|
||||
etag: 'W/"0x8D7EE6983921623"',
|
||||
'x-ms-correlation-request-id': '94ed44c0-db69-4031-9e03-6dd8fc93e239',
|
||||
'x-ms-request-id': '9f0c4274-096b-4588-b8c1-09f7260096d8',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:40 GMT',
|
||||
etag: 'W/"0x8D8084FAEBE1321"',
|
||||
'x-ms-correlation-request-id': '4c9488d9-046d-44ed-9f51-03baa6efd13b',
|
||||
'x-ms-request-id': '15da4255-0d88-4f5e-a9b0-465234d4ee28',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11998',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072205Z:94ed44c0-db69-4031-9e03-6dd8fc93e239',
|
||||
date: 'Sat, 02 May 2020 07:22:04 GMT',
|
||||
'WESTUS:20200604T062240Z:4c9488d9-046d-44ed-9f51-03baa6efd13b',
|
||||
date: 'Thu, 04 Jun 2020 06:22:40 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,22 +9,22 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2020-03-01')
|
||||
.reply(200, "{\"name\":\"sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"type\":\"Microsoft.Batch/batchAccounts/certificates\",\"etag\":\"W/\\\"0x8D7EE69A7BCA638\\\"\",\"properties\":{\"thumbprintAlgorithm\":\"sha1\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:23:04.9278519Z\",\"format\":\"Pfx\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"}}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2020-05-01')
|
||||
.reply(200, "{\"name\":\"sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"type\":\"Microsoft.Batch/batchAccounts/certificates\",\"etag\":\"W/\\\"0x8D8084FD9586095\\\"\",\"properties\":{\"thumbprintAlgorithm\":\"sha1\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:23:51.4792706Z\",\"format\":\"Pfx\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '1168',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:23:04 GMT',
|
||||
etag: 'W/"0x8D7EE69A7BCA638"',
|
||||
'x-ms-correlation-request-id': '0a09dc9d-3fb0-45f2-855c-be5f993be53f',
|
||||
'x-ms-request-id': 'e0e54e5f-a28c-4cb7-94bb-c90e34b73d80',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:23:51 GMT',
|
||||
etag: 'W/"0x8D8084FD9586095"',
|
||||
'x-ms-correlation-request-id': '45b4428a-2003-4c10-b2eb-c5c9f094ce53',
|
||||
'x-ms-request-id': '92f1485b-ecae-4ce3-863d-a827b6f136e0',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072306Z:0a09dc9d-3fb0-45f2-855c-be5f993be53f',
|
||||
date: 'Sat, 02 May 2020 07:23:05 GMT',
|
||||
'WESTUS:20200604T062352Z:45b4428a-2003-4c10-b2eb-c5c9f094ce53',
|
||||
date: 'Thu, 04 Jun 2020 06:23:52 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,22 +9,22 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool?api-version=2020-03-01')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool\",\"name\":\"test_iaas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D7EE69CFC54483\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-05-02T07:24:12.1003139Z\",\"creationTime\":\"2020-05-02T07:24:12.1003139Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:24:12.1003139Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-05-02T07:24:12.1003139Z\",\"vmSize\":\"STANDARD_A1\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"virtualMachineConfiguration\":{\"imageReference\":{\"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"},\"nodeAgentSkuId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\"enableAutomaticUpdates\":true}}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-05-02T07:24:12.1003139Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool?api-version=2020-05-01')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool\",\"name\":\"test_iaas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D808501341AAA6\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-06-04T06:25:28.6401702Z\",\"creationTime\":\"2020-06-04T06:25:28.6401702Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:25:28.6401702Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-06-04T06:25:28.6401702Z\",\"vmSize\":\"STANDARD_A1\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"virtualMachineConfiguration\":{\"imageReference\":{\"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"},\"nodeAgentSkuId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\"enableAutomaticUpdates\":true}}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-06-04T06:25:28.6401702Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '1342',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:24:12 GMT',
|
||||
etag: 'W/"0x8D7EE69CFC54483"',
|
||||
'x-ms-correlation-request-id': 'fecfa10f-62a5-4b44-bf04-3e56bb6a657c',
|
||||
'x-ms-request-id': 'e69d842f-580e-466c-8b3d-1445aeceb2dc',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:25:28 GMT',
|
||||
etag: 'W/"0x8D808501341AAA6"',
|
||||
'x-ms-correlation-request-id': 'd17d684a-b56b-4c7a-8920-6a68c0f565dc',
|
||||
'x-ms-request-id': '535552a1-8af6-42a5-ab80-699822fb2651',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11998',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072415Z:fecfa10f-62a5-4b44-bf04-3e56bb6a657c',
|
||||
date: 'Sat, 02 May 2020 07:24:14 GMT',
|
||||
'WESTUS:20200604T062531Z:d17d684a-b56b-4c7a-8920-6a68c0f565dc',
|
||||
date: 'Thu, 04 Jun 2020 06:25:30 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,20 +9,20 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/quotas?api-version=2020-03-01')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/providers/Microsoft.Batch/locations/japaneast/quotas?api-version=2020-05-01')
|
||||
.reply(200, "{\"accountQuota\":1}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '18',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': 'cfa30a1e-e594-414d-becc-98ed5c276d58',
|
||||
'x-ms-request-id': 'e0979f1b-b47c-4809-9b46-142d37de1860',
|
||||
'x-ms-correlation-request-id': '3a5d7aec-6e59-483d-a388-250f6ca735c1',
|
||||
'x-ms-request-id': 'ba2693d3-b16a-4fbe-971d-e559d811c0a2',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072126Z:cfa30a1e-e594-414d-becc-98ed5c276d58',
|
||||
date: 'Sat, 02 May 2020 07:21:26 GMT',
|
||||
'WESTUS:20200604T062201Z:3a5d7aec-6e59-483d-a388-250f6ca735c1',
|
||||
date: 'Thu, 04 Jun 2020 06:22:00 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -9,20 +9,20 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts?api-version=2020-03-01')
|
||||
.reply(200, "{\"value\":[{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk\",\"name\":\"batchtestnodesdk\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"japaneast\",\"properties\":{\"accountEndpoint\":\"batchtestnodesdk.japaneast.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":0,\"dedicatedCoreQuotaPerVMFamily\":[{\"name\":\"standardAv2Family\",\"coreQuota\":0},{\"name\":\"standardDv2Family\",\"coreQuota\":0},{\"name\":\"standardDv3Family\",\"coreQuota\":0},{\"name\":\"standardEv3Family\",\"coreQuota\":0},{\"name\":\"standardDSv2Family\",\"coreQuota\":0},{\"name\":\"standardDSv3Family\",\"coreQuota\":0},{\"name\":\"standardESv3Family\",\"coreQuota\":0},{\"name\":\"standardFFamily\",\"coreQuota\":0},{\"name\":\"standardFSFamily\",\"coreQuota\":0},{\"name\":\"standardA0_A7Family\",\"coreQuota\":0},{\"name\":\"standardA8_A11Family\",\"coreQuota\":0},{\"name\":\"standardDFamily\",\"coreQuota\":0},{\"name\":\"standardGFamily\",\"coreQuota\":0},{\"name\":\"basicAFamily\",\"coreQuota\":0},{\"name\":\"standardNVFamily\",\"coreQuota\":0},{\"name\":\"standardNVPromoFamily\",\"coreQuota\":0},{\"name\":\"standardNCFamily\",\"coreQuota\":0},{\"name\":\"standardNCPromoFamily\",\"coreQuota\":0},{\"name\":\"standardHFamily\",\"coreQuota\":0},{\"name\":\"standardHPromoFamily\",\"coreQuota\":0},{\"name\":\"standardMSFamily\",\"coreQuota\":0},{\"name\":\"standardDSFamily\",\"coreQuota\":0},{\"name\":\"standardGSFamily\",\"coreQuota\":0},{\"name\":\"standardLSFamily\",\"coreQuota\":0},{\"name\":\"standardLSv2Family\",\"coreQuota\":0},{\"name\":\"standardNCSv2Family\",\"coreQuota\":0},{\"name\":\"standardNDSFamily\",\"coreQuota\":0},{\"name\":\"standardNCSv3Family\",\"coreQuota\":0},{\"name\":\"standardFSv2Family\",\"coreQuota\":0},{\"name\":\"standardHBSFamily\",\"coreQuota\":0},{\"name\":\"standardHCSFamily\",\"coreQuota\":0},{\"name\":\"standardNVSv3Family\",\"coreQuota\":0},{\"name\":\"standardHBrsv2Family\",\"coreQuota\":0},{\"name\":\"standardDASv4Family\",\"coreQuota\":0},{\"name\":\"standardEAv4Family\",\"coreQuota\":0},{\"name\":\"standardEASv4Family\",\"coreQuota\":0}],\"dedicatedCoreQuotaPerVMFamilyEnforced\":false,\"lowPriorityCoreQuota\":0,\"poolQuota\":100,\"activeJobAndJobScheduleQuota\":300,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/testaccountfornode\",\"lastKeySync\":\"2020-05-02T07:21:32.1411454Z\"},\"poolAllocationMode\":\"BatchService\",\"publicNetworkAccess\":\"Enabled\",\"encryption\":{\"keySource\":\"Microsoft.Batch\"}}}]}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts?api-version=2020-05-01')
|
||||
.reply(200, "{\"value\":[{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk\",\"name\":\"batchtestnodesdk\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"japaneast\",\"properties\":{\"accountEndpoint\":\"batchtestnodesdk.japaneast.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":0,\"dedicatedCoreQuotaPerVMFamily\":[{\"name\":\"standardAv2Family\",\"coreQuota\":0},{\"name\":\"standardDv2Family\",\"coreQuota\":0},{\"name\":\"standardDv3Family\",\"coreQuota\":0},{\"name\":\"standardEv3Family\",\"coreQuota\":0},{\"name\":\"standardDSv2Family\",\"coreQuota\":0},{\"name\":\"standardDSv3Family\",\"coreQuota\":0},{\"name\":\"standardESv3Family\",\"coreQuota\":0},{\"name\":\"standardFFamily\",\"coreQuota\":0},{\"name\":\"standardFSFamily\",\"coreQuota\":0},{\"name\":\"standardA0_A7Family\",\"coreQuota\":0},{\"name\":\"standardA8_A11Family\",\"coreQuota\":0},{\"name\":\"standardDFamily\",\"coreQuota\":0},{\"name\":\"standardGFamily\",\"coreQuota\":0},{\"name\":\"basicAFamily\",\"coreQuota\":0},{\"name\":\"standardNVFamily\",\"coreQuota\":0},{\"name\":\"standardNVPromoFamily\",\"coreQuota\":0},{\"name\":\"standardNCFamily\",\"coreQuota\":0},{\"name\":\"standardNCPromoFamily\",\"coreQuota\":0},{\"name\":\"standardHFamily\",\"coreQuota\":0},{\"name\":\"standardHPromoFamily\",\"coreQuota\":0},{\"name\":\"standardMSFamily\",\"coreQuota\":0},{\"name\":\"standardDSFamily\",\"coreQuota\":0},{\"name\":\"standardGSFamily\",\"coreQuota\":0},{\"name\":\"standardLSFamily\",\"coreQuota\":0},{\"name\":\"standardLSv2Family\",\"coreQuota\":0},{\"name\":\"standardNCSv2Family\",\"coreQuota\":0},{\"name\":\"standardNDSFamily\",\"coreQuota\":0},{\"name\":\"standardNCSv3Family\",\"coreQuota\":0},{\"name\":\"standardFSv2Family\",\"coreQuota\":0},{\"name\":\"standardHBSFamily\",\"coreQuota\":0},{\"name\":\"standardHCSFamily\",\"coreQuota\":0},{\"name\":\"standardNVSv3Family\",\"coreQuota\":0},{\"name\":\"standardHBrsv2Family\",\"coreQuota\":0},{\"name\":\"standardDASv4Family\",\"coreQuota\":0},{\"name\":\"standardEAv4Family\",\"coreQuota\":0},{\"name\":\"standardEASv4Family\",\"coreQuota\":0}],\"dedicatedCoreQuotaPerVMFamilyEnforced\":false,\"lowPriorityCoreQuota\":0,\"poolQuota\":100,\"activeJobAndJobScheduleQuota\":300,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/testaccountfornode\",\"lastKeySync\":\"2020-06-04T06:22:08.0770946Z\"},\"poolAllocationMode\":\"BatchService\",\"publicNetworkAccess\":\"Enabled\",\"encryption\":{\"keySource\":\"Microsoft.Batch\"}},\"identity\":{\"type\":\"None\"}}]}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '2467',
|
||||
'content-length': '2494',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': 'e8ef78f3-1eaa-4f37-991d-e4e440a324c9',
|
||||
'x-ms-request-id': 'f00e51f8-1b07-488c-ab97-def6926400fe',
|
||||
'x-ms-correlation-request-id': '9e19e663-86fa-4388-8692-df369f4b39eb',
|
||||
'x-ms-request-id': '7ba7ee60-3405-4cc3-940d-7c78a0c16b78',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072256Z:e8ef78f3-1eaa-4f37-991d-e4e440a324c9',
|
||||
date: 'Sat, 02 May 2020 07:22:56 GMT',
|
||||
'WESTUS:20200604T062333Z:9e19e663-86fa-4388-8692-df369f4b39eb',
|
||||
date: 'Thu, 04 Jun 2020 06:23:33 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -9,20 +9,20 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions?api-version=2020-03-01')
|
||||
.reply(200, "{\"value\":[{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0\",\"name\":\"v1.0\",\"etag\":\"W/\\\"0x8D7EE6984F39F75\\\"\",\"properties\":{\"state\":\"Pending\"}},{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0\",\"name\":\"v2.0\",\"etag\":\"W/\\\"0x8D7EE6986B6224A\\\"\",\"properties\":{\"state\":\"Pending\"}}]}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions?api-version=2020-05-01')
|
||||
.reply(200, "{\"value\":[{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v1.0\",\"name\":\"v1.0\",\"etag\":\"W/\\\"0x8D8084FB02011B2\\\"\",\"properties\":{\"state\":\"Pending\"}},{\"type\":\"Microsoft.Batch/batchAccounts/applications/versions\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id/versions/v2.0\",\"name\":\"v2.0\",\"etag\":\"W/\\\"0x8D8084FB14FAAF5\\\"\",\"properties\":{\"state\":\"Pending\"}}]}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '707',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': '6dbdbbc1-1bc7-44de-b8db-1e95d5145903',
|
||||
'x-ms-request-id': 'ecad6274-9d3f-48ce-995f-b7d4410ce63b',
|
||||
'x-ms-correlation-request-id': '11e8e06e-7353-493e-9434-736f2b033a49',
|
||||
'x-ms-request-id': '50a81bf6-d81e-4f8d-8acb-97b74a3292ed',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072210Z:6dbdbbc1-1bc7-44de-b8db-1e95d5145903',
|
||||
date: 'Sat, 02 May 2020 07:22:09 GMT',
|
||||
'WESTUS:20200604T062245Z:11e8e06e-7353-493e-9434-736f2b033a49',
|
||||
date: 'Thu, 04 Jun 2020 06:22:44 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,20 +9,20 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates?api-version=2020-03-01')
|
||||
.reply(200, "{\"value\":[{\"name\":\"sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"type\":\"Microsoft.Batch/batchAccounts/certificates\",\"etag\":\"W/\\\"0x8D7EE69A7BCA638\\\"\",\"properties\":{\"thumbprintAlgorithm\":\"sha1\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:23:04.9278519Z\",\"format\":\"Pfx\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"}}]}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates?api-version=2020-05-01')
|
||||
.reply(200, "{\"value\":[{\"name\":\"sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"type\":\"Microsoft.Batch/batchAccounts/certificates\",\"etag\":\"W/\\\"0x8D8084FD9586095\\\"\",\"properties\":{\"thumbprintAlgorithm\":\"sha1\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:23:51.4792706Z\",\"format\":\"Pfx\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"}}]}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '1180',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': '153d511a-8cc1-41d0-b2db-805b0277a868',
|
||||
'x-ms-request-id': 'f4cf5a3e-fa9e-44f1-937f-16c92f81345c',
|
||||
'x-ms-correlation-request-id': '9641b581-e899-484c-b190-d05de7798b3b',
|
||||
'x-ms-request-id': '3de4203e-592b-421a-9991-a503b28ad736',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072305Z:153d511a-8cc1-41d0-b2db-805b0277a868',
|
||||
date: 'Sat, 02 May 2020 07:23:05 GMT',
|
||||
'WESTUS:20200604T062352Z:9641b581-e899-484c-b190-d05de7798b3b',
|
||||
date: 'Thu, 04 Jun 2020 06:23:51 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,20 +9,20 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools?api-version=2020-03-01')
|
||||
.reply(200, "{\"value\":[{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool\",\"name\":\"test_iaas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D7EE69CFC54483\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-05-02T07:24:12.1003139Z\",\"creationTime\":\"2020-05-02T07:24:12.1003139Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:24:12.1003139Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-05-02T07:24:12.1003139Z\",\"vmSize\":\"STANDARD_A1\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"virtualMachineConfiguration\":{\"imageReference\":{\"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"},\"nodeAgentSkuId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\"enableAutomaticUpdates\":true}}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-05-02T07:24:12.1003139Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}},{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_paas_pool\",\"name\":\"test_paas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D7EE69CF3931A3\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-05-02T07:24:11.1823267Z\",\"creationTime\":\"2020-05-02T07:24:11.1823267Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:24:11.1823267Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-05-02T07:24:11.1823267Z\",\"vmSize\":\"Small\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"cloudServiceConfiguration\":{\"osFamily\":\"5\",\"osVersion\":\"*\"}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"startTask\":{\"commandLine\":\"cmd.exe /c \\\"echo hello world\\\"\",\"resourceFiles\":[{\"filePath\":\"filename.txt\",\"httpUrl\":\"https://blobsource.com\"}],\"environmentSettings\":[{\"name\":\"ENV_VAR\",\"value\":\"foo\"}],\"userIdentity\":{\"autoUser\":{\"scope\":\"Pool\",\"elevationLevel\":\"Admin\"}},\"maxTaskRetryCount\":0,\"waitForSuccess\":true},\"userAccounts\":[{\"name\":\"UserName\",\"elevationLevel\":\"NonAdmin\",\"windowsUserConfiguration\":{\"loginMode\":\"Interactive\"}}],\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-05-02T07:24:11.1823267Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}]}", { 'cache-control': 'no-cache',
|
||||
.get('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools?api-version=2020-05-01')
|
||||
.reply(200, "{\"value\":[{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool\",\"name\":\"test_iaas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D808501341AAA6\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-06-04T06:25:28.6401702Z\",\"creationTime\":\"2020-06-04T06:25:28.6401702Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:25:28.6401702Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-06-04T06:25:28.6401702Z\",\"vmSize\":\"STANDARD_A1\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"virtualMachineConfiguration\":{\"imageReference\":{\"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"},\"nodeAgentSkuId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\"enableAutomaticUpdates\":true}}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-06-04T06:25:28.6401702Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}},{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_paas_pool\",\"name\":\"test_paas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D80850129F9CD6\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-06-04T06:25:27.5781334Z\",\"creationTime\":\"2020-06-04T06:25:27.5781334Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:25:27.5781334Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-06-04T06:25:27.5781334Z\",\"vmSize\":\"Small\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"cloudServiceConfiguration\":{\"osFamily\":\"5\",\"osVersion\":\"*\"}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"startTask\":{\"commandLine\":\"cmd.exe /c \\\"echo hello world\\\"\",\"resourceFiles\":[{\"filePath\":\"filename.txt\",\"httpUrl\":\"https://blobsource.com\"}],\"environmentSettings\":[{\"name\":\"ENV_VAR\",\"value\":\"foo\"}],\"userIdentity\":{\"autoUser\":{\"scope\":\"Pool\",\"elevationLevel\":\"Admin\"}},\"maxTaskRetryCount\":0,\"waitForSuccess\":true},\"userAccounts\":[{\"name\":\"UserName\",\"elevationLevel\":\"NonAdmin\",\"windowsUserConfiguration\":{\"loginMode\":\"Interactive\"}}],\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-06-04T06:25:27.5781334Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}]}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '2922',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': '882027a9-d464-4de7-8231-deda1f9d537c',
|
||||
'x-ms-request-id': '37a189f8-f7d5-41be-92da-1f3f6c0c37a1',
|
||||
'x-ms-correlation-request-id': '37d58b40-e0d4-4375-aa75-1d2500f62761',
|
||||
'x-ms-request-id': 'd9e8f318-ed08-4c8f-8d81-2e4b7ac2987a',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-reads': '11999',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072413Z:882027a9-d464-4de7-8231-deda1f9d537c',
|
||||
date: 'Sat, 02 May 2020 07:24:12 GMT',
|
||||
'WESTUS:20200604T062529Z:37d58b40-e0d4-4375-aa75-1d2500f62761',
|
||||
date: 'Thu, 04 Jun 2020 06:25:29 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,20 +10,20 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/regenerateKeys?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"accountName\":\"batchtestnodesdk\",\"primary\":\"oAhp8FDJrkcZJ9bp8oYFRCN/UXAe80lDi2N7SdwQRdoEBWvJgQQ3avB2FctrxVae2WhWw4Ntr30JheGGCWGX2g==\",\"secondary\":\"2z4SHXHtLUY+lGYa0yw23A1mxtDMqRY1QD9ZPW3OK2jMh8MIVJDS0cEpYgxAGWY3MaBOF8O4kFUaLYn9HpWQzw==\"}", { 'cache-control': 'no-cache',
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/regenerateKeys?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"accountName\":\"batchtestnodesdk\",\"primary\":\"Mk0UsGb5N8ZEJqBrPtL0mGyAyUfns/S5b6SvLCJfPXZ5FhVm1QpoEBLGAVVCCq6DTOsvdpuZqdnLeOUlACT8Ag==\",\"secondary\":\"vzNKn1rGuS/YbBn9UYbkmIsB6ucp8v2OoJGSW4zdYTW09LJfBX9m4jtBozU8lWTU/tMSmL85YgEgjS2bXWnEQQ==\"}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '238',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'x-ms-correlation-request-id': '3918ac6b-9c04-4215-9e2f-22c7065d8e5a',
|
||||
'x-ms-request-id': '3da2cd0d-fc9a-4353-afa2-655e44eadaa1',
|
||||
'x-ms-correlation-request-id': '93475bcb-1c88-4781-974c-46a178cd20ca',
|
||||
'x-ms-request-id': '81223935-d252-4e4a-b323-3265d5e87641',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072257Z:3918ac6b-9c04-4215-9e2f-22c7065d8e5a',
|
||||
date: 'Sat, 02 May 2020 07:22:57 GMT',
|
||||
'WESTUS:20200604T062335Z:93475bcb-1c88-4781-974c-46a178cd20ca',
|
||||
date: 'Thu, 04 Jun 2020 06:23:34 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -9,18 +9,18 @@ exports.setEnvironment = function() {
|
|||
exports.scopes = [[function (nock) {
|
||||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/syncAutoStorageKeys?api-version=2020-03-01')
|
||||
.post('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/syncAutoStorageKeys?api-version=2020-05-01')
|
||||
.reply(204, "", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
expires: '-1',
|
||||
'x-ms-request-id': '16f1ceeb-74fd-4e5f-b631-7732f0571b54',
|
||||
'x-ms-request-id': '0cbc1627-51f9-422e-bf73-d29402407819',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1198',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-correlation-request-id': '46385d2b-0a01-448a-bee8-ac1fe53a319e',
|
||||
'x-ms-correlation-request-id': '8d7f3903-f562-4791-8300-d7167d44ef92',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072258Z:46385d2b-0a01-448a-bee8-ac1fe53a319e',
|
||||
date: 'Sat, 02 May 2020 07:22:58 GMT',
|
||||
'WESTUS:20200604T062336Z:8d7f3903-f562-4791-8300-d7167d44ef92',
|
||||
date: 'Thu, 04 Jun 2020 06:23:35 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk\",\"name\":\"batchtestnodesdk\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"japaneast\",\"properties\":{\"accountEndpoint\":\"batchtestnodesdk.japaneast.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":0,\"dedicatedCoreQuotaPerVMFamily\":[{\"name\":\"standardAv2Family\",\"coreQuota\":0},{\"name\":\"standardDv2Family\",\"coreQuota\":0},{\"name\":\"standardDv3Family\",\"coreQuota\":0},{\"name\":\"standardEv3Family\",\"coreQuota\":0},{\"name\":\"standardDSv2Family\",\"coreQuota\":0},{\"name\":\"standardDSv3Family\",\"coreQuota\":0},{\"name\":\"standardESv3Family\",\"coreQuota\":0},{\"name\":\"standardFFamily\",\"coreQuota\":0},{\"name\":\"standardFSFamily\",\"coreQuota\":0},{\"name\":\"standardA0_A7Family\",\"coreQuota\":0},{\"name\":\"standardA8_A11Family\",\"coreQuota\":0},{\"name\":\"standardDFamily\",\"coreQuota\":0},{\"name\":\"standardGFamily\",\"coreQuota\":0},{\"name\":\"basicAFamily\",\"coreQuota\":0},{\"name\":\"standardNVFamily\",\"coreQuota\":0},{\"name\":\"standardNVPromoFamily\",\"coreQuota\":0},{\"name\":\"standardNCFamily\",\"coreQuota\":0},{\"name\":\"standardNCPromoFamily\",\"coreQuota\":0},{\"name\":\"standardHFamily\",\"coreQuota\":0},{\"name\":\"standardHPromoFamily\",\"coreQuota\":0},{\"name\":\"standardMSFamily\",\"coreQuota\":0},{\"name\":\"standardDSFamily\",\"coreQuota\":0},{\"name\":\"standardGSFamily\",\"coreQuota\":0},{\"name\":\"standardLSFamily\",\"coreQuota\":0},{\"name\":\"standardLSv2Family\",\"coreQuota\":0},{\"name\":\"standardNCSv2Family\",\"coreQuota\":0},{\"name\":\"standardNDSFamily\",\"coreQuota\":0},{\"name\":\"standardNCSv3Family\",\"coreQuota\":0},{\"name\":\"standardFSv2Family\",\"coreQuota\":0},{\"name\":\"standardHBSFamily\",\"coreQuota\":0},{\"name\":\"standardHCSFamily\",\"coreQuota\":0},{\"name\":\"standardNVSv3Family\",\"coreQuota\":0},{\"name\":\"standardHBrsv2Family\",\"coreQuota\":0},{\"name\":\"standardDASv4Family\",\"coreQuota\":0},{\"name\":\"standardEAv4Family\",\"coreQuota\":0},{\"name\":\"standardEASv4Family\",\"coreQuota\":0}],\"dedicatedCoreQuotaPerVMFamilyEnforced\":false,\"lowPriorityCoreQuota\":0,\"poolQuota\":100,\"activeJobAndJobScheduleQuota\":300,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/testaccountfornode\",\"lastKeySync\":\"2020-05-02T07:22:58.7605415Z\"},\"poolAllocationMode\":\"BatchService\",\"publicNetworkAccess\":\"Enabled\",\"encryption\":{\"keySource\":\"Microsoft.Batch\"}},\"tags\":{\"Name\":\"tagName\",\"Value\":\"tagValue\"}}", { 'cache-control': 'no-cache',
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk\",\"name\":\"batchtestnodesdk\",\"type\":\"Microsoft.Batch/batchAccounts\",\"location\":\"japaneast\",\"properties\":{\"accountEndpoint\":\"batchtestnodesdk.japaneast.batch.azure.com\",\"provisioningState\":\"Succeeded\",\"dedicatedCoreQuota\":0,\"dedicatedCoreQuotaPerVMFamily\":[{\"name\":\"standardAv2Family\",\"coreQuota\":0},{\"name\":\"standardDv2Family\",\"coreQuota\":0},{\"name\":\"standardDv3Family\",\"coreQuota\":0},{\"name\":\"standardEv3Family\",\"coreQuota\":0},{\"name\":\"standardDSv2Family\",\"coreQuota\":0},{\"name\":\"standardDSv3Family\",\"coreQuota\":0},{\"name\":\"standardESv3Family\",\"coreQuota\":0},{\"name\":\"standardFFamily\",\"coreQuota\":0},{\"name\":\"standardFSFamily\",\"coreQuota\":0},{\"name\":\"standardA0_A7Family\",\"coreQuota\":0},{\"name\":\"standardA8_A11Family\",\"coreQuota\":0},{\"name\":\"standardDFamily\",\"coreQuota\":0},{\"name\":\"standardGFamily\",\"coreQuota\":0},{\"name\":\"basicAFamily\",\"coreQuota\":0},{\"name\":\"standardNVFamily\",\"coreQuota\":0},{\"name\":\"standardNVPromoFamily\",\"coreQuota\":0},{\"name\":\"standardNCFamily\",\"coreQuota\":0},{\"name\":\"standardNCPromoFamily\",\"coreQuota\":0},{\"name\":\"standardHFamily\",\"coreQuota\":0},{\"name\":\"standardHPromoFamily\",\"coreQuota\":0},{\"name\":\"standardMSFamily\",\"coreQuota\":0},{\"name\":\"standardDSFamily\",\"coreQuota\":0},{\"name\":\"standardGSFamily\",\"coreQuota\":0},{\"name\":\"standardLSFamily\",\"coreQuota\":0},{\"name\":\"standardLSv2Family\",\"coreQuota\":0},{\"name\":\"standardNCSv2Family\",\"coreQuota\":0},{\"name\":\"standardNDSFamily\",\"coreQuota\":0},{\"name\":\"standardNCSv3Family\",\"coreQuota\":0},{\"name\":\"standardFSv2Family\",\"coreQuota\":0},{\"name\":\"standardHBSFamily\",\"coreQuota\":0},{\"name\":\"standardHCSFamily\",\"coreQuota\":0},{\"name\":\"standardNVSv3Family\",\"coreQuota\":0},{\"name\":\"standardHBrsv2Family\",\"coreQuota\":0},{\"name\":\"standardDASv4Family\",\"coreQuota\":0},{\"name\":\"standardEAv4Family\",\"coreQuota\":0},{\"name\":\"standardEASv4Family\",\"coreQuota\":0}],\"dedicatedCoreQuotaPerVMFamilyEnforced\":false,\"lowPriorityCoreQuota\":0,\"poolQuota\":100,\"activeJobAndJobScheduleQuota\":300,\"autoStorage\":{\"storageAccountId\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/testaccountfornode\",\"lastKeySync\":\"2020-06-04T06:23:36.3333825Z\"},\"poolAllocationMode\":\"BatchService\",\"publicNetworkAccess\":\"Enabled\",\"encryption\":{\"keySource\":\"Microsoft.Batch\"}},\"tags\":{\"Name\":\"tagName\",\"Value\":\"tagValue\"},\"identity\":{\"type\":\"None\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '2500',
|
||||
'content-length': '2527',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:23:01 GMT',
|
||||
etag: '"0x8D7EE69A57F0101"',
|
||||
'x-ms-correlation-request-id': 'e768e19f-b077-4f0b-84f3-ff65cf658bdf',
|
||||
'x-ms-request-id': '401bab50-dcb1-4cca-9173-441d1f302cbb',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:23:43 GMT',
|
||||
etag: '"0x8D8084FD47407C5"',
|
||||
'x-ms-correlation-request-id': 'bc507fdc-4af7-4044-a328-114895ec0b81',
|
||||
'x-ms-request-id': '90cd8587-32dc-4af3-bc27-26691aef093c',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1196',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072304Z:e768e19f-b077-4f0b-84f3-ff65cf658bdf',
|
||||
date: 'Sat, 02 May 2020 07:23:03 GMT',
|
||||
'WESTUS:20200604T062350Z:bc507fdc-4af7-4044-a328-114895ec0b81',
|
||||
date: 'Thu, 04 Jun 2020 06:23:49 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id\",\"name\":\"my_application_id\",\"etag\":\"W/\\\"0x8D7EE69891C0CCC\\\"\",\"properties\":{\"displayName\":\"my_updated_name\",\"allowUpdates\":false,\"defaultVersion\":\"v1.0\"}}", { 'cache-control': 'no-cache',
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"type\":\"Microsoft.Batch/batchAccounts/applications\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/applications/my_application_id\",\"name\":\"my_application_id\",\"etag\":\"W/\\\"0x8D8084FB3BAEDFC\\\"\",\"properties\":{\"displayName\":\"my_updated_name\",\"allowUpdates\":false,\"defaultVersion\":\"v1.0\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '396',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:22:13 GMT',
|
||||
etag: 'W/"0x8D7EE69891C0CCC"',
|
||||
'x-ms-correlation-request-id': 'd23ef25b-ba89-4303-8e7e-efcc044823c9',
|
||||
'x-ms-request-id': 'd51caf57-a013-4bdc-b55b-022131f82657',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:22:48 GMT',
|
||||
etag: 'W/"0x8D8084FB3BAEDFC"',
|
||||
'x-ms-correlation-request-id': 'edf56bbf-77ee-48ce-9b3e-cad1db83efe9',
|
||||
'x-ms-request-id': '367cf272-ec5e-4fb3-a8f8-7aac84913a87',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1197',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072213Z:d23ef25b-ba89-4303-8e7e-efcc044823c9',
|
||||
date: 'Sat, 02 May 2020 07:22:13 GMT',
|
||||
'WESTUS:20200604T062248Z:edf56bbf-77ee-48ce-9b3e-cad1db83efe9',
|
||||
date: 'Thu, 04 Jun 2020 06:22:48 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"name\":\"sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"type\":\"Microsoft.Batch/batchAccounts/certificates\",\"etag\":\"W/\\\"0x8D7EE69A7BCA638\\\"\",\"properties\":{\"thumbprintAlgorithm\":\"sha1\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:23:04.9278519Z\",\"format\":\"Pfx\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"}}", { 'cache-control': 'no-cache',
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/SHA1-cff2ab63c8c955aaf71989efa641b906558d9fb7?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"name\":\"sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/certificates/sha1-cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"type\":\"Microsoft.Batch/batchAccounts/certificates\",\"etag\":\"W/\\\"0x8D8084FD9586095\\\"\",\"properties\":{\"thumbprintAlgorithm\":\"sha1\",\"thumbprint\":\"cff2ab63c8c955aaf71989efa641b906558d9fb7\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:23:51.4792706Z\",\"format\":\"Pfx\",\"publicData\":\"MIIBrzCCAV2gAwIBAgIQHZGt2k0LCLFKYYCFxlJnkTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5MB4XDTE2MDEwMTA3MDAwMFoXDTE4MDEwMTA3MDAwMFowEjEQMA4GA1UEAxMHbm9kZXNkazCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuX4XMWyR8cQRCA81TjHOerNOFOpOBj2O8jEdZvqwRlUYgMleEY2OlPd+nalxwlQ9+qbNkNGfjnhIMgiJ5CMlXgdRMF3E6DnMnktmHFG9L0VmQ6Lgt7bhXR8IitRHeYlvy5LJlw6Lcle5Kas2j4ThYjLQbjBMDSXD4HvZNe4UYEUCAwEAAaNLMEkwRwYDVR0BBEAwPoAQEuQJLQYdHU8AjWEh3BZkY6EYMBYxFDASBgNVBAMTC1Jvb3QgQWdlbmN5ghAGN2wAqgBkihHPuNSqXDX0MAkGBSsOAwIdBQADQQB5djPe0G6c3Z8DuR6EQbIhBMTnC0zYPhigq+x1LG83761Ir8PiSy+6oxwCHOaYZyvheW0PByntC/WFwUipfn78\"}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '1168',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:23:04 GMT',
|
||||
etag: 'W/"0x8D7EE69A7BCA638"',
|
||||
'x-ms-correlation-request-id': '415b883e-98ed-4cf0-bb89-e872f29998e3',
|
||||
'x-ms-request-id': '08eb518d-a059-43ae-8f3e-506bdf2bc969',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:23:51 GMT',
|
||||
etag: 'W/"0x8D8084FD9586095"',
|
||||
'x-ms-correlation-request-id': '82e14a6d-f6bf-48bd-98cb-a6a183eb1348',
|
||||
'x-ms-request-id': 'ef7e50a2-4a31-464b-8200-01bddc18d289',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072307Z:415b883e-98ed-4cf0-bb89-e872f29998e3',
|
||||
date: 'Sat, 02 May 2020 07:23:06 GMT',
|
||||
'WESTUS:20200604T062353Z:82e14a6d-f6bf-48bd-98cb-a6a183eb1348',
|
||||
date: 'Thu, 04 Jun 2020 06:23:53 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
|
@ -10,22 +10,22 @@ exports.scopes = [[function (nock) {
|
|||
var result =
|
||||
nock('https://management.azure.com:443')
|
||||
.filteringRequestBody(function (path) { return '*';})
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool?api-version=2020-03-01', '*')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool\",\"name\":\"test_iaas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D7EE69CFC54483\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-05-02T07:24:12.1003139Z\",\"creationTime\":\"2020-05-02T07:24:12.1003139Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-05-02T07:24:12.1003139Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-05-02T07:24:12.1003139Z\",\"vmSize\":\"STANDARD_A1\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"virtualMachineConfiguration\":{\"imageReference\":{\"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"},\"nodeAgentSkuId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\"enableAutomaticUpdates\":true}}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-05-02T07:24:12.1003139Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}", { 'cache-control': 'no-cache',
|
||||
.patch('/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool?api-version=2020-05-01', '*')
|
||||
.reply(200, "{\"id\":\"/subscriptions/f30ef677-64a9-4768-934f-5fbbc0e1ad27/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/batchtestnodesdk/pools/test_iaas_pool\",\"name\":\"test_iaas_pool\",\"type\":\"Microsoft.Batch/batchAccounts/pools\",\"etag\":\"W/\\\"0x8D808501341AAA6\\\"\",\"properties\":{\"displayName\":\"test_pool\",\"lastModified\":\"2020-06-04T06:25:28.6401702Z\",\"creationTime\":\"2020-06-04T06:25:28.6401702Z\",\"provisioningState\":\"Succeeded\",\"provisioningStateTransitionTime\":\"2020-06-04T06:25:28.6401702Z\",\"allocationState\":\"Resizing\",\"allocationStateTransitionTime\":\"2020-06-04T06:25:28.6401702Z\",\"vmSize\":\"STANDARD_A1\",\"interNodeCommunication\":\"Disabled\",\"maxTasksPerNode\":1,\"taskSchedulingPolicy\":{\"nodeFillType\":\"Spread\"},\"deploymentConfiguration\":{\"virtualMachineConfiguration\":{\"imageReference\":{\"publisher\":\"MicrosoftWindowsServer\",\"offer\":\"WindowsServer\",\"sku\":\"2016-Datacenter-smalldisk\",\"version\":\"latest\"},\"nodeAgentSkuId\":\"batch.node.windows amd64\",\"windowsConfiguration\":{\"enableAutomaticUpdates\":true}}},\"scaleSettings\":{\"fixedScale\":{\"targetDedicatedNodes\":0,\"targetLowPriorityNodes\":0,\"resizeTimeout\":\"PT15M\"}},\"resizeOperationStatus\":{\"targetDedicatedNodes\":0,\"nodeDeallocationOption\":\"Requeue\",\"resizeTimeout\":\"PT15M\",\"startTime\":\"2020-06-04T06:25:28.6401702Z\"},\"currentDedicatedNodes\":0,\"currentLowPriorityNodes\":0}}", { 'cache-control': 'no-cache',
|
||||
pragma: 'no-cache',
|
||||
'content-length': '1342',
|
||||
'content-type': 'application/json; charset=utf-8',
|
||||
expires: '-1',
|
||||
'last-modified': 'Sat, 02 May 2020 07:24:12 GMT',
|
||||
etag: 'W/"0x8D7EE69CFC54483"',
|
||||
'x-ms-correlation-request-id': '01a7789c-f16c-4e0a-8547-48e589dd3e77',
|
||||
'x-ms-request-id': '2a464dcf-1324-4efc-aff6-fc6a6bca15c3',
|
||||
'last-modified': 'Thu, 04 Jun 2020 06:25:28 GMT',
|
||||
etag: 'W/"0x8D808501341AAA6"',
|
||||
'x-ms-correlation-request-id': '7103ac76-e394-4042-9fd9-358bd8f7f64a',
|
||||
'x-ms-request-id': '99f39086-af28-4f15-ac3f-a5c34a1777a2',
|
||||
'strict-transport-security': 'max-age=31536000; includeSubDomains',
|
||||
'x-content-type-options': 'nosniff',
|
||||
'x-ms-ratelimit-remaining-subscription-writes': '1199',
|
||||
server: 'Microsoft-HTTPAPI/2.0',
|
||||
'x-ms-routing-request-id':
|
||||
'WESTUS:20200502T072414Z:01a7789c-f16c-4e0a-8547-48e589dd3e77',
|
||||
date: 'Sat, 02 May 2020 07:24:14 GMT',
|
||||
'WESTUS:20200604T062530Z:7103ac76-e394-4042-9fd9-358bd8f7f64a',
|
||||
date: 'Thu, 04 Jun 2020 06:25:30 GMT',
|
||||
connection: 'close' });
|
||||
return result; }]];
|
Загрузка…
Ссылка в новой задаче